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_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxConfigBase swig_types[23]
2486 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2487 #define SWIGTYPE_p_wxControl swig_types[25]
2488 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2489 #define SWIGTYPE_p_wxCursor swig_types[27]
2490 #define SWIGTYPE_p_wxDC swig_types[28]
2491 #define SWIGTYPE_p_wxDateEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[30]
2493 #define SWIGTYPE_p_wxDialog swig_types[31]
2494 #define SWIGTYPE_p_wxDirDialog swig_types[32]
2495 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[33]
2496 #define SWIGTYPE_p_wxDropFilesEvent swig_types[34]
2497 #define SWIGTYPE_p_wxDuplexMode swig_types[35]
2498 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2499 #define SWIGTYPE_p_wxEvent swig_types[37]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2501 #define SWIGTYPE_p_wxFSFile swig_types[39]
2502 #define SWIGTYPE_p_wxFileDialog swig_types[40]
2503 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2504 #define SWIGTYPE_p_wxFindDialogEvent swig_types[42]
2505 #define SWIGTYPE_p_wxFindReplaceData swig_types[43]
2506 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFlexGridSizer swig_types[45]
2508 #define SWIGTYPE_p_wxFocusEvent swig_types[46]
2509 #define SWIGTYPE_p_wxFont swig_types[47]
2510 #define SWIGTYPE_p_wxFontData swig_types[48]
2511 #define SWIGTYPE_p_wxFontDialog swig_types[49]
2512 #define SWIGTYPE_p_wxFrame swig_types[50]
2513 #define SWIGTYPE_p_wxGBSizerItem swig_types[51]
2514 #define SWIGTYPE_p_wxGIFHandler swig_types[52]
2515 #define SWIGTYPE_p_wxGridBagSizer swig_types[53]
2516 #define SWIGTYPE_p_wxGridSizer swig_types[54]
2517 #define SWIGTYPE_p_wxHelpControllerBase swig_types[55]
2518 #define SWIGTYPE_p_wxHelpSearchMode swig_types[56]
2519 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[57]
2520 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[58]
2521 #define SWIGTYPE_p_wxHtmlCell swig_types[59]
2522 #define SWIGTYPE_p_wxHtmlColourCell swig_types[60]
2523 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[61]
2524 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[62]
2525 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[63]
2526 #define SWIGTYPE_p_wxHtmlFilter swig_types[64]
2527 #define SWIGTYPE_p_wxHtmlFontCell swig_types[65]
2528 #define SWIGTYPE_p_wxHtmlHelpController swig_types[66]
2529 #define SWIGTYPE_p_wxHtmlHelpData swig_types[67]
2530 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[68]
2531 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[69]
2532 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[70]
2533 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[71]
2534 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[72]
2535 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[73]
2536 #define SWIGTYPE_p_wxHtmlParser swig_types[74]
2537 #define SWIGTYPE_p_wxHtmlPrintout swig_types[75]
2538 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[76]
2539 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[77]
2540 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[78]
2541 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[79]
2542 #define SWIGTYPE_p_wxHtmlSelection swig_types[80]
2543 #define SWIGTYPE_p_wxHtmlTag swig_types[81]
2544 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[82]
2545 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[83]
2546 #define SWIGTYPE_p_wxHtmlWinParser swig_types[84]
2547 #define SWIGTYPE_p_wxHtmlWindow swig_types[85]
2548 #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[86]
2549 #define SWIGTYPE_p_wxHtmlWindowInterface swig_types[87]
2550 #define SWIGTYPE_p_wxHtmlWordCell swig_types[88]
2551 #define SWIGTYPE_p_wxICOHandler swig_types[89]
2552 #define SWIGTYPE_p_wxIconizeEvent swig_types[90]
2553 #define SWIGTYPE_p_wxIdleEvent swig_types[91]
2554 #define SWIGTYPE_p_wxImage swig_types[92]
2555 #define SWIGTYPE_p_wxImageHandler swig_types[93]
2556 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[94]
2557 #define SWIGTYPE_p_wxInitDialogEvent swig_types[95]
2558 #define SWIGTYPE_p_wxJPEGHandler swig_types[96]
2559 #define SWIGTYPE_p_wxKeyEvent swig_types[97]
2560 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[98]
2561 #define SWIGTYPE_p_wxLayoutConstraints swig_types[99]
2562 #define SWIGTYPE_p_wxMDIChildFrame swig_types[100]
2563 #define SWIGTYPE_p_wxMDIClientWindow swig_types[101]
2564 #define SWIGTYPE_p_wxMDIParentFrame swig_types[102]
2565 #define SWIGTYPE_p_wxMaximizeEvent swig_types[103]
2566 #define SWIGTYPE_p_wxMenu swig_types[104]
2567 #define SWIGTYPE_p_wxMenuBar swig_types[105]
2568 #define SWIGTYPE_p_wxMenuEvent swig_types[106]
2569 #define SWIGTYPE_p_wxMenuItem swig_types[107]
2570 #define SWIGTYPE_p_wxMessageDialog swig_types[108]
2571 #define SWIGTYPE_p_wxMiniFrame swig_types[109]
2572 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[110]
2573 #define SWIGTYPE_p_wxMouseEvent swig_types[111]
2574 #define SWIGTYPE_p_wxMoveEvent swig_types[112]
2575 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[113]
2576 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[114]
2577 #define SWIGTYPE_p_wxNcPaintEvent swig_types[115]
2578 #define SWIGTYPE_p_wxNotifyEvent swig_types[116]
2579 #define SWIGTYPE_p_wxObject swig_types[117]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[118]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[119]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[120]
2583 #define SWIGTYPE_p_wxPageSetupDialog swig_types[121]
2584 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[122]
2585 #define SWIGTYPE_p_wxPaintEvent swig_types[123]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[124]
2587 #define SWIGTYPE_p_wxPanel swig_types[125]
2588 #define SWIGTYPE_p_wxPaperSize swig_types[126]
2589 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[127]
2590 #define SWIGTYPE_p_wxPoint swig_types[128]
2591 #define SWIGTYPE_p_wxPopupWindow swig_types[129]
2592 #define SWIGTYPE_p_wxPreviewCanvas swig_types[130]
2593 #define SWIGTYPE_p_wxPreviewControlBar swig_types[131]
2594 #define SWIGTYPE_p_wxPreviewFrame swig_types[132]
2595 #define SWIGTYPE_p_wxPrintData swig_types[133]
2596 #define SWIGTYPE_p_wxPrintDialog swig_types[134]
2597 #define SWIGTYPE_p_wxPrintDialogData swig_types[135]
2598 #define SWIGTYPE_p_wxPrintPreview swig_types[136]
2599 #define SWIGTYPE_p_wxPrinter swig_types[137]
2600 #define SWIGTYPE_p_wxProgressDialog swig_types[138]
2601 #define SWIGTYPE_p_wxPyApp swig_types[139]
2602 #define SWIGTYPE_p_wxPyCommandEvent swig_types[140]
2603 #define SWIGTYPE_p_wxPyEvent swig_types[141]
2604 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[142]
2605 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[143]
2606 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[144]
2607 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[145]
2608 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[146]
2609 #define SWIGTYPE_p_wxPyImageHandler swig_types[147]
2610 #define SWIGTYPE_p_wxPyPanel swig_types[148]
2611 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[149]
2612 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[150]
2613 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[151]
2614 #define SWIGTYPE_p_wxPyPrintPreview swig_types[152]
2615 #define SWIGTYPE_p_wxPyPrintout swig_types[153]
2616 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[154]
2617 #define SWIGTYPE_p_wxPySizer swig_types[155]
2618 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[156]
2619 #define SWIGTYPE_p_wxPyVListBox swig_types[157]
2620 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[158]
2621 #define SWIGTYPE_p_wxPyValidator swig_types[159]
2622 #define SWIGTYPE_p_wxPyWindow swig_types[160]
2623 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[161]
2624 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[162]
2625 #define SWIGTYPE_p_wxSashEvent swig_types[163]
2626 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[164]
2627 #define SWIGTYPE_p_wxSashWindow swig_types[165]
2628 #define SWIGTYPE_p_wxScrollEvent swig_types[166]
2629 #define SWIGTYPE_p_wxScrollWinEvent swig_types[167]
2630 #define SWIGTYPE_p_wxScrolledWindow swig_types[168]
2631 #define SWIGTYPE_p_wxSetCursorEvent swig_types[169]
2632 #define SWIGTYPE_p_wxShowEvent swig_types[170]
2633 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[171]
2634 #define SWIGTYPE_p_wxSize swig_types[172]
2635 #define SWIGTYPE_p_wxSizeEvent swig_types[173]
2636 #define SWIGTYPE_p_wxSizer swig_types[174]
2637 #define SWIGTYPE_p_wxSizerItem swig_types[175]
2638 #define SWIGTYPE_p_wxSplashScreen swig_types[176]
2639 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[177]
2640 #define SWIGTYPE_p_wxSplitterEvent swig_types[178]
2641 #define SWIGTYPE_p_wxSplitterWindow swig_types[179]
2642 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[180]
2643 #define SWIGTYPE_p_wxStatusBar swig_types[181]
2644 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[182]
2645 #define SWIGTYPE_p_wxString swig_types[183]
2646 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[184]
2647 #define SWIGTYPE_p_wxTIFFHandler swig_types[185]
2648 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[186]
2649 #define SWIGTYPE_p_wxTextEntryDialog swig_types[187]
2650 #define SWIGTYPE_p_wxTipWindow swig_types[188]
2651 #define SWIGTYPE_p_wxTopLevelWindow swig_types[189]
2652 #define SWIGTYPE_p_wxTreeCtrl swig_types[190]
2653 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[191]
2654 #define SWIGTYPE_p_wxValidator swig_types[192]
2655 #define SWIGTYPE_p_wxVisualAttributes swig_types[193]
2656 #define SWIGTYPE_p_wxWindow swig_types[194]
2657 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[195]
2658 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[196]
2659 #define SWIGTYPE_p_wxXPMHandler swig_types[197]
2660 static swig_type_info
*swig_types
[199];
2661 static swig_module_info swig_module
= {swig_types
, 198, 0, 0, 0, 0};
2662 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2663 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2665 /* -------- TYPES TABLE (END) -------- */
2667 #if (PY_VERSION_HEX <= 0x02000000)
2668 # if !defined(SWIG_PYTHON_CLASSIC)
2669 # error "This python version requires to use swig with the '-classic' option"
2672 #if (PY_VERSION_HEX <= 0x02020000)
2673 # error "This python version requires to use swig with the '-nomodern' option"
2675 #if (PY_VERSION_HEX <= 0x02020000)
2676 # error "This python version requires to use swig with the '-nomodernargs' option"
2679 # error "This python version requires to use swig with the '-nofastunpack' option"
2682 /*-----------------------------------------------
2683 @(target):= _html.so
2684 ------------------------------------------------*/
2685 #define SWIG_init init_html
2687 #define SWIG_name "_html"
2689 #define SWIGVERSION 0x010329
2692 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2693 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2696 #include <stdexcept>
2700 class PyObject_ptr
{
2705 PyObject_ptr() :_obj(0)
2709 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2714 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2716 if (initial_ref
) Py_XINCREF(_obj
);
2719 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2721 Py_XINCREF(item
._obj
);
2732 operator PyObject
*() const
2737 PyObject
*operator->() const
2746 struct PyObject_var
: PyObject_ptr
{
2747 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2749 PyObject_var
& operator = (PyObject
* obj
)
2759 #include "wx/wxPython/wxPython.h"
2760 #include "wx/wxPython/pyclasses.h"
2761 #include "wx/wxPython/pyistream.h"
2762 #include "wx/wxPython/printfw.h"
2764 #include <wx/html/htmlwin.h>
2765 #include <wx/html/htmprint.h>
2766 #include <wx/html/helpctrl.h>
2767 #include <wx/html/helpwnd.h>
2768 #include <wx/html/helpfrm.h>
2769 #include <wx/html/helpdlg.h>
2772 static const wxString
wxPyEmptyString(wxEmptyString
);
2773 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2774 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2775 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
2777 #define SWIG_From_long PyInt_FromLong
2780 SWIGINTERNINLINE PyObject
*
2781 SWIG_From_int (int value
)
2783 return SWIG_From_long (value
);
2789 # define LLONG_MIN LONG_LONG_MIN
2792 # define LLONG_MAX LONG_LONG_MAX
2795 # define ULLONG_MAX ULONG_LONG_MAX
2800 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2802 if (PyNumber_Check(obj
)) {
2803 if (val
) *val
= PyInt_AsLong(obj
);
2806 return SWIG_TypeError
;
2811 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2814 int res
= SWIG_AsVal_long (obj
, &v
);
2815 if (SWIG_IsOK(res
)) {
2816 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2817 return SWIG_OverflowError
;
2819 if (val
) *val
= static_cast< int >(v
);
2825 SWIGINTERN
void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2827 if (sizes
) temp
= int_LIST_helper(sizes
);
2828 self
->SetFonts(normal_face
, fixed_face
, temp
);
2833 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
2834 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
)
2836 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2838 wxHtmlParser
* GetParser() { return m_Parser
; }
2839 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
2841 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2842 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2847 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
2849 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
2850 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
2853 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
2854 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
)
2856 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2858 wxHtmlWinParser
* GetParser() { return m_WParser
; }
2859 void ParseInner(const wxHtmlTag
& tag
)
2860 { wxHtmlWinTagHandler::ParseInner(tag
); }
2862 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2863 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2868 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
2870 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
2871 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
2875 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
2877 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
2878 m_tagHandlerClass
= thc
;
2879 Py_INCREF(m_tagHandlerClass
);
2880 RegisterModule(this);
2881 wxHtmlWinParser::AddModule(this);
2885 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2886 Py_DECREF(m_tagHandlerClass
);
2887 m_tagHandlerClass
= NULL
;
2888 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
2889 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
2892 wxPyEndBlockThreads(blocked
);
2895 void FillHandlersTable(wxHtmlWinParser
*parser
) {
2896 // Wave our magic wand... (if it works it's a miracle! ;-)
2898 // First, make a new instance of the tag handler
2899 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2900 PyObject
* arg
= PyTuple_New(0);
2901 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
2904 // now figure out where it's C++ object is...
2905 wxPyHtmlWinTagHandler
* thPtr
;
2906 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
2907 wxPyEndBlockThreads(blocked
);
2910 wxPyEndBlockThreads(blocked
);
2913 parser
->AddTagHandler(thPtr
);
2916 m_objArray
.Add(obj
);
2920 PyObject
* m_tagHandlerClass
;
2921 wxArrayPtrVoid m_objArray
;
2926 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
2927 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2928 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2929 new wxPyHtmlTagsModule(tagHandlerClass
);
2933 SWIGINTERNINLINE PyObject
*
2934 SWIG_From_bool (bool value
)
2936 return PyBool_FromLong(value
? 1 : 0);
2941 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2943 if (obj
== Py_True
) {
2944 if (val
) *val
= true;
2946 } else if (obj
== Py_False
) {
2947 if (val
) *val
= false;
2951 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2952 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2959 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2962 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2963 return SWIG_TypeError
;
2966 *val
= (unsigned long)v
;
2972 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2975 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2976 if (SWIG_IsOK(res
)) {
2977 if ((v
> UINT_MAX
)) {
2978 return SWIG_OverflowError
;
2980 if (val
) *val
= static_cast< unsigned int >(v
);
2987 SWIGINTERNINLINE PyObject
*
2988 SWIG_From_unsigned_SS_long (unsigned long value
)
2990 return (value
> LONG_MAX
) ?
2991 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2995 SWIGINTERNINLINE PyObject
*
2996 SWIG_From_unsigned_SS_int (unsigned int value
)
2998 return SWIG_From_unsigned_SS_long (value
);
3001 // here's the C++ version
3002 class wxPyHtmlFilter
: public wxHtmlFilter
{
3003 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
)
3005 wxPyHtmlFilter() : wxHtmlFilter() {}
3007 // returns True if this filter is able to open&read given file
3008 virtual bool CanRead(const wxFSFile
& file
) const {
3011 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3012 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
3013 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3014 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3017 wxPyEndBlockThreads(blocked
);
3022 // Reads given file and returns HTML document.
3023 // Returns empty string if opening failed
3024 virtual wxString
ReadFile(const wxFSFile
& file
) const {
3027 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3028 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
3029 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3031 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
3034 rval
= Py2wxString(ro
);
3038 wxPyEndBlockThreads(blocked
);
3045 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
3048 class wxPyHtmlWindow
: public wxHtmlWindow
{
3049 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
)
3051 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
3052 const wxPoint
& pos
= wxDefaultPosition
,
3053 const wxSize
& size
= wxDefaultSize
,
3054 long style
= wxHW_DEFAULT_STYLE
,
3055 const wxString
& name
= wxPyHtmlWindowNameStr
)
3056 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
3057 wxPyHtmlWindow() : wxHtmlWindow() {};
3059 bool ScrollToAnchor(const wxString
& anchor
) {
3060 return wxHtmlWindow::ScrollToAnchor(anchor
);
3063 bool HasAnchor(const wxString
& anchor
) {
3064 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
3068 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
3070 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
3071 const wxString
& url
,
3072 wxString
*redirect
) const;
3074 DEC_PYCALLBACK__STRING(OnSetTitle
);
3075 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
3076 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked
);
3081 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
3082 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
3083 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
3084 IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
3087 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
3089 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3090 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3091 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3092 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3095 wxPyEndBlockThreads(blocked
);
3097 wxHtmlWindow::OnLinkClicked(link
);
3101 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
3102 const wxString
& url
,
3103 wxString
*redirect
) const {
3105 wxHtmlOpeningStatus rval
;
3106 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3107 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
3109 PyObject
* s
= wx2PyString(url
);
3110 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
3112 if (PyString_Check(ro
)
3113 #if PYTHON_API_VERSION >= 1009
3114 || PyUnicode_Check(ro
)
3117 *redirect
= Py2wxString(ro
);
3118 rval
= wxHTML_REDIRECT
;
3121 PyObject
* num
= PyNumber_Int(ro
);
3122 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
3127 wxPyEndBlockThreads(blocked
);
3129 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
3135 SWIGINTERN
void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3137 if (sizes
) temp
= int_LIST_helper(sizes
);
3138 self
->SetFonts(normal_face
, fixed_face
, temp
);
3142 SWIGINTERN
void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3144 if (sizes
) temp
= int_LIST_helper(sizes
);
3145 self
->SetFonts(normal_face
, fixed_face
, temp
);
3149 SWIGINTERN
void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3151 if (sizes
) temp
= int_LIST_helper(sizes
);
3152 self
->SetFonts(normal_face
, fixed_face
, temp
);
3161 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3163 if (PyNumber_Check(obj
)) {
3164 if (val
) *val
= PyFloat_AsDouble(obj
);
3167 return SWIG_TypeError
;
3172 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3175 int res
= SWIG_AsVal_double (obj
, &v
);
3176 if (SWIG_IsOK(res
)) {
3177 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3178 return SWIG_OverflowError
;
3180 if (val
) *val
= static_cast< float >(v
);
3186 SWIGINTERN
void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3188 if (sizes
) temp
= int_LIST_helper(sizes
);
3189 self
->SetFonts(normal_face
, fixed_face
, temp
);
3196 SWIGINTERN
int HtmlWindowNameStr_set(PyObject
*) {
3197 SWIG_Error(SWIG_AttributeError
,"Variable HtmlWindowNameStr is read-only.");
3202 SWIGINTERN PyObject
*HtmlWindowNameStr_get(void) {
3203 PyObject
*pyobj
= 0;
3207 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3209 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3216 SWIGINTERN
int HtmlPrintoutTitleStr_set(PyObject
*) {
3217 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintoutTitleStr is read-only.");
3222 SWIGINTERN PyObject
*HtmlPrintoutTitleStr_get(void) {
3223 PyObject
*pyobj
= 0;
3227 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3229 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3236 SWIGINTERN
int HtmlPrintingTitleStr_set(PyObject
*) {
3237 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintingTitleStr is read-only.");
3242 SWIGINTERN PyObject
*HtmlPrintingTitleStr_get(void) {
3243 PyObject
*pyobj
= 0;
3247 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3249 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3256 SWIGINTERN PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
*resultobj
= 0;
3258 wxString
*arg1
= 0 ;
3259 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3260 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3261 wxHtmlLinkInfo
*result
= 0 ;
3262 bool temp1
= false ;
3263 bool temp2
= false ;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3266 char * kwnames
[] = {
3267 (char *) "href",(char *) "target", NULL
3270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3272 arg1
= wxString_in_helper(obj0
);
3273 if (arg1
== NULL
) SWIG_fail
;
3278 arg2
= wxString_in_helper(obj1
);
3279 if (arg2
== NULL
) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_NEW
| 0 );
3312 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3313 PyObject
*resultobj
= 0;
3314 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3318 PyObject
*swig_obj
[1] ;
3320 if (!args
) SWIG_fail
;
3322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3323 if (!SWIG_IsOK(res1
)) {
3324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3326 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 result
= (arg1
)->GetHref();
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3346 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3347 PyObject
*resultobj
= 0;
3348 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3352 PyObject
*swig_obj
[1] ;
3354 if (!args
) SWIG_fail
;
3356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3357 if (!SWIG_IsOK(res1
)) {
3358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3360 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3363 result
= (arg1
)->GetTarget();
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3380 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3381 PyObject
*resultobj
= 0;
3382 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3383 wxMouseEvent
*result
= 0 ;
3386 PyObject
*swig_obj
[1] ;
3388 if (!args
) SWIG_fail
;
3390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3391 if (!SWIG_IsOK(res1
)) {
3392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3394 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3402 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3410 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3411 PyObject
*resultobj
= 0;
3412 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3413 wxHtmlCell
*result
= 0 ;
3416 PyObject
*swig_obj
[1] ;
3418 if (!args
) SWIG_fail
;
3420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3421 if (!SWIG_IsOK(res1
)) {
3422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3424 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3438 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
= 0;
3440 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3441 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
3446 PyObject
* obj0
= 0 ;
3447 PyObject
* obj1
= 0 ;
3448 char * kwnames
[] = {
3449 (char *) "self",(char *) "e", NULL
3452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3454 if (!SWIG_IsOK(res1
)) {
3455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3457 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
3459 if (!SWIG_IsOK(res2
)) {
3460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3462 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= SWIG_Py_Void();
3476 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
= 0;
3478 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3479 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3486 char * kwnames
[] = {
3487 (char *) "self",(char *) "e", NULL
3490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3492 if (!SWIG_IsOK(res1
)) {
3493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3495 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3497 if (!SWIG_IsOK(res2
)) {
3498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3500 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 resultobj
= SWIG_Py_Void();
3514 SWIGINTERN PyObject
*HtmlLinkInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3517 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_NewClientData(obj
));
3518 return SWIG_Py_Void();
3521 SWIGINTERN PyObject
*HtmlLinkInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3522 return SWIG_Python_InitShadowInstance(args
);
3525 SWIGINTERN PyObject
*_wrap_HtmlTag_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3526 PyObject
*resultobj
= 0;
3527 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3531 PyObject
*swig_obj
[1] ;
3533 if (!args
) SWIG_fail
;
3535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3536 if (!SWIG_IsOK(res1
)) {
3537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3539 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (arg1
)->GetName();
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3559 SWIGINTERN PyObject
*_wrap_HtmlTag_HasParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
*resultobj
= 0;
3561 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3562 wxString
*arg2
= 0 ;
3566 bool temp2
= false ;
3567 PyObject
* obj0
= 0 ;
3568 PyObject
* obj1
= 0 ;
3569 char * kwnames
[] = {
3570 (char *) "self",(char *) "par", NULL
3573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3575 if (!SWIG_IsOK(res1
)) {
3576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3578 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3580 arg2
= wxString_in_helper(obj1
);
3581 if (arg2
== NULL
) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3607 SWIGINTERN PyObject
*_wrap_HtmlTag_GetParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
= 0;
3609 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3610 wxString
*arg2
= 0 ;
3611 int arg3
= (int) false ;
3615 bool temp2
= false ;
3618 PyObject
* obj0
= 0 ;
3619 PyObject
* obj1
= 0 ;
3620 PyObject
* obj2
= 0 ;
3621 char * kwnames
[] = {
3622 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3627 if (!SWIG_IsOK(res1
)) {
3628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3630 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3632 arg2
= wxString_in_helper(obj1
);
3633 if (arg2
== NULL
) SWIG_fail
;
3637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3638 if (!SWIG_IsOK(ecode3
)) {
3639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3641 arg3
= static_cast< int >(val3
);
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3645 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3670 SWIGINTERN PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3671 PyObject
*resultobj
= 0;
3672 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3676 PyObject
*swig_obj
[1] ;
3678 if (!args
) SWIG_fail
;
3680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3681 if (!SWIG_IsOK(res1
)) {
3682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3684 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= (arg1
)->GetAllParams();
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3704 SWIGINTERN PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3705 PyObject
*resultobj
= 0;
3706 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3710 PyObject
*swig_obj
[1] ;
3712 if (!args
) SWIG_fail
;
3714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3715 if (!SWIG_IsOK(res1
)) {
3716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3718 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 result
= (bool)(arg1
)->HasEnding();
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3734 SWIGINTERN PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3735 PyObject
*resultobj
= 0;
3736 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3740 PyObject
*swig_obj
[1] ;
3742 if (!args
) SWIG_fail
;
3744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3745 if (!SWIG_IsOK(res1
)) {
3746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3748 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 result
= (int)(arg1
)->GetBeginPos();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 resultobj
= SWIG_From_int(static_cast< int >(result
));
3762 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3763 PyObject
*resultobj
= 0;
3764 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3768 PyObject
*swig_obj
[1] ;
3770 if (!args
) SWIG_fail
;
3772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3773 if (!SWIG_IsOK(res1
)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3776 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 result
= (int)(arg1
)->GetEndPos1();
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) SWIG_fail
;
3783 resultobj
= SWIG_From_int(static_cast< int >(result
));
3790 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3791 PyObject
*resultobj
= 0;
3792 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3796 PyObject
*swig_obj
[1] ;
3798 if (!args
) SWIG_fail
;
3800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3801 if (!SWIG_IsOK(res1
)) {
3802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3804 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 result
= (int)(arg1
)->GetEndPos2();
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3811 resultobj
= SWIG_From_int(static_cast< int >(result
));
3818 SWIGINTERN PyObject
*HtmlTag_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3821 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag
, SWIG_NewClientData(obj
));
3822 return SWIG_Py_Void();
3825 SWIGINTERN PyObject
*_wrap_HtmlParser_SetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
= 0;
3827 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3828 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
3833 PyObject
* obj0
= 0 ;
3834 PyObject
* obj1
= 0 ;
3835 char * kwnames
[] = {
3836 (char *) "self",(char *) "fs", NULL
3839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3841 if (!SWIG_IsOK(res1
)) {
3842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3844 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3845 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
3846 if (!SWIG_IsOK(res2
)) {
3847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3849 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 (arg1
)->SetFS(arg2
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_Py_Void();
3863 SWIGINTERN PyObject
*_wrap_HtmlParser_GetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3864 PyObject
*resultobj
= 0;
3865 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3866 wxFileSystem
*result
= 0 ;
3869 PyObject
*swig_obj
[1] ;
3871 if (!args
) SWIG_fail
;
3873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3874 if (!SWIG_IsOK(res1
)) {
3875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3877 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 result
= (wxFileSystem
*)(arg1
)->GetFS();
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3893 SWIGINTERN PyObject
*_wrap_HtmlParser_Parse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
*resultobj
= 0;
3895 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3896 wxString
*arg2
= 0 ;
3897 wxObject
*result
= 0 ;
3900 bool temp2
= false ;
3901 PyObject
* obj0
= 0 ;
3902 PyObject
* obj1
= 0 ;
3903 char * kwnames
[] = {
3904 (char *) "self",(char *) "source", NULL
3907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3909 if (!SWIG_IsOK(res1
)) {
3910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3912 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3914 arg2
= wxString_in_helper(obj1
);
3915 if (arg2
== NULL
) SWIG_fail
;
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3925 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3941 SWIGINTERN PyObject
*_wrap_HtmlParser_InitParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
= 0;
3943 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3944 wxString
*arg2
= 0 ;
3947 bool temp2
= false ;
3948 PyObject
* obj0
= 0 ;
3949 PyObject
* obj1
= 0 ;
3950 char * kwnames
[] = {
3951 (char *) "self",(char *) "source", NULL
3954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3956 if (!SWIG_IsOK(res1
)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3959 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3961 arg2
= wxString_in_helper(obj1
);
3962 if (arg2
== NULL
) SWIG_fail
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 (arg1
)->InitParser((wxString
const &)*arg2
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 resultobj
= SWIG_Py_Void();
3986 SWIGINTERN PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3987 PyObject
*resultobj
= 0;
3988 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3991 PyObject
*swig_obj
[1] ;
3993 if (!args
) SWIG_fail
;
3995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3996 if (!SWIG_IsOK(res1
)) {
3997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3999 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 (arg1
)->DoneParser();
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 resultobj
= SWIG_Py_Void();
4013 SWIGINTERN PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4014 PyObject
*resultobj
= 0;
4015 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4024 PyObject
* obj0
= 0 ;
4025 PyObject
* obj1
= 0 ;
4026 PyObject
* obj2
= 0 ;
4027 char * kwnames
[] = {
4028 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4033 if (!SWIG_IsOK(res1
)) {
4034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4036 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4038 if (!SWIG_IsOK(ecode2
)) {
4039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4041 arg2
= static_cast< int >(val2
);
4042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4043 if (!SWIG_IsOK(ecode3
)) {
4044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4046 arg3
= static_cast< int >(val3
);
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 (arg1
)->DoParsing(arg2
,arg3
);
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= SWIG_Py_Void();
4060 SWIGINTERN PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4061 PyObject
*resultobj
= 0;
4062 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4065 PyObject
*swig_obj
[1] ;
4067 if (!args
) SWIG_fail
;
4069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4070 if (!SWIG_IsOK(res1
)) {
4071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4073 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 (arg1
)->StopParsing();
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 resultobj
= SWIG_Py_Void();
4087 SWIGINTERN PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
= 0;
4089 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4090 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4095 PyObject
* obj0
= 0 ;
4096 PyObject
* obj1
= 0 ;
4097 char * kwnames
[] = {
4098 (char *) "self",(char *) "handler", NULL
4101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4103 if (!SWIG_IsOK(res1
)) {
4104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4106 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4107 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4108 if (!SWIG_IsOK(res2
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4111 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 (arg1
)->AddTagHandler(arg2
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_Py_Void();
4125 SWIGINTERN PyObject
*_wrap_HtmlParser_GetSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4128 wxString
*result
= 0 ;
4131 PyObject
*swig_obj
[1] ;
4133 if (!args
) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4139 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (wxString
*)(arg1
)->GetSource();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4150 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4159 SWIGINTERN PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
= 0;
4161 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4162 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4168 PyObject
* obj0
= 0 ;
4169 PyObject
* obj1
= 0 ;
4170 PyObject
* obj2
= 0 ;
4171 char * kwnames
[] = {
4172 (char *) "self",(char *) "handler",(char *) "tags", NULL
4175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4177 if (!SWIG_IsOK(res1
)) {
4178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4180 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4182 if (!SWIG_IsOK(res2
)) {
4183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4185 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4187 wxString
* sptr
= wxString_in_helper(obj2
);
4188 if (sptr
== NULL
) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 (arg1
)->PushTagHandler(arg2
,arg3
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 resultobj
= SWIG_Py_Void();
4205 SWIGINTERN PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4206 PyObject
*resultobj
= 0;
4207 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4210 PyObject
*swig_obj
[1] ;
4212 if (!args
) SWIG_fail
;
4214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4215 if (!SWIG_IsOK(res1
)) {
4216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4218 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 (arg1
)->PopTagHandler();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_Py_Void();
4232 SWIGINTERN PyObject
*_wrap_HtmlParser_GetInnerSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
= 0;
4234 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4235 wxHtmlTag
*arg2
= 0 ;
4241 PyObject
* obj0
= 0 ;
4242 PyObject
* obj1
= 0 ;
4243 char * kwnames
[] = {
4244 (char *) "self",(char *) "tag", NULL
4247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_GetInnerSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4249 if (!SWIG_IsOK(res1
)) {
4250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4252 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
4254 if (!SWIG_IsOK(res2
)) {
4255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4260 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 result
= (arg1
)->GetInnerSource((wxHtmlTag
const &)*arg2
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4280 SWIGINTERN PyObject
*HtmlParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4283 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser
, SWIG_NewClientData(obj
));
4284 return SWIG_Py_Void();
4287 SWIGINTERN PyObject
*_wrap_new_HtmlWinParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
= 0;
4289 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
4290 wxHtmlWinParser
*result
= 0 ;
4293 PyObject
* obj0
= 0 ;
4294 char * kwnames
[] = {
4295 (char *) "wnd", NULL
4298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) SWIG_fail
;
4300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
4301 if (!SWIG_IsOK(res1
)) {
4302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4304 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_NEW
| 0 );
4319 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
= 0;
4321 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4322 wxDC
*arg2
= (wxDC
*) 0 ;
4327 PyObject
* obj0
= 0 ;
4328 PyObject
* obj1
= 0 ;
4329 char * kwnames
[] = {
4330 (char *) "self",(char *) "dc", NULL
4333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4335 if (!SWIG_IsOK(res1
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4338 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
4340 if (!SWIG_IsOK(res2
)) {
4341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4343 arg2
= reinterpret_cast< wxDC
* >(argp2
);
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 (arg1
)->SetDC(arg2
);
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= SWIG_Py_Void();
4357 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4358 PyObject
*resultobj
= 0;
4359 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4363 PyObject
*swig_obj
[1] ;
4365 if (!args
) SWIG_fail
;
4367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4368 if (!SWIG_IsOK(res1
)) {
4369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4371 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 result
= (wxDC
*)(arg1
)->GetDC();
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4387 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4388 PyObject
*resultobj
= 0;
4389 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4393 PyObject
*swig_obj
[1] ;
4395 if (!args
) SWIG_fail
;
4397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4398 if (!SWIG_IsOK(res1
)) {
4399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4401 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (int)(arg1
)->GetCharHeight();
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= SWIG_From_int(static_cast< int >(result
));
4415 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4416 PyObject
*resultobj
= 0;
4417 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4421 PyObject
*swig_obj
[1] ;
4423 if (!args
) SWIG_fail
;
4425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4426 if (!SWIG_IsOK(res1
)) {
4427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4429 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 result
= (int)(arg1
)->GetCharWidth();
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= SWIG_From_int(static_cast< int >(result
));
4443 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4444 PyObject
*resultobj
= 0;
4445 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4446 wxPyHtmlWindow
*result
= 0 ;
4449 PyObject
*swig_obj
[1] ;
4451 if (!args
) SWIG_fail
;
4453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4454 if (!SWIG_IsOK(res1
)) {
4455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4457 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4473 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4474 PyObject
*resultobj
= 0;
4475 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4476 wxHtmlWindowInterface
*result
= 0 ;
4479 PyObject
*swig_obj
[1] ;
4481 if (!args
) SWIG_fail
;
4483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4484 if (!SWIG_IsOK(res1
)) {
4485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4487 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= (wxHtmlWindowInterface
*)(arg1
)->GetWindowInterface();
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
4501 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
= 0;
4503 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4506 PyObject
*arg4
= (PyObject
*) NULL
;
4509 PyObject
* obj0
= 0 ;
4510 PyObject
* obj1
= 0 ;
4511 PyObject
* obj2
= 0 ;
4512 PyObject
* obj3
= 0 ;
4513 char * kwnames
[] = {
4514 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4519 if (!SWIG_IsOK(res1
)) {
4520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4522 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4524 wxString
* sptr
= wxString_in_helper(obj1
);
4525 if (sptr
== NULL
) SWIG_fail
;
4530 wxString
* sptr
= wxString_in_helper(obj2
);
4531 if (sptr
== NULL
) SWIG_fail
;
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4544 resultobj
= SWIG_Py_Void();
4551 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
= 0;
4553 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4554 int arg2
= (int) -1 ;
4555 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4556 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4557 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4558 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4563 bool temp3
= false ;
4564 bool temp4
= false ;
4565 PyObject
* obj0
= 0 ;
4566 PyObject
* obj1
= 0 ;
4567 PyObject
* obj2
= 0 ;
4568 PyObject
* obj3
= 0 ;
4569 char * kwnames
[] = {
4570 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4575 if (!SWIG_IsOK(res1
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4578 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4581 if (!SWIG_IsOK(ecode2
)) {
4582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4584 arg2
= static_cast< int >(val2
);
4588 arg3
= wxString_in_helper(obj2
);
4589 if (arg3
== NULL
) SWIG_fail
;
4595 arg4
= wxString_in_helper(obj3
);
4596 if (arg4
== NULL
) SWIG_fail
;
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4606 resultobj
= SWIG_Py_Void();
4629 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4630 PyObject
*resultobj
= 0;
4631 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4632 wxHtmlContainerCell
*result
= 0 ;
4635 PyObject
*swig_obj
[1] ;
4637 if (!args
) SWIG_fail
;
4639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4640 if (!SWIG_IsOK(res1
)) {
4641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4643 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4657 SWIGINTERN PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4658 PyObject
*resultobj
= 0;
4659 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4660 wxHtmlContainerCell
*result
= 0 ;
4663 PyObject
*swig_obj
[1] ;
4665 if (!args
) SWIG_fail
;
4667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4668 if (!SWIG_IsOK(res1
)) {
4669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4671 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4685 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
= 0;
4687 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4688 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4689 wxHtmlContainerCell
*result
= 0 ;
4694 PyObject
* obj0
= 0 ;
4695 PyObject
* obj1
= 0 ;
4696 char * kwnames
[] = {
4697 (char *) "self",(char *) "c", NULL
4700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4702 if (!SWIG_IsOK(res1
)) {
4703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4705 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4707 if (!SWIG_IsOK(res2
)) {
4708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4710 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4724 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4725 PyObject
*resultobj
= 0;
4726 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4727 wxHtmlContainerCell
*result
= 0 ;
4730 PyObject
*swig_obj
[1] ;
4732 if (!args
) SWIG_fail
;
4734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4735 if (!SWIG_IsOK(res1
)) {
4736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4738 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4752 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4753 PyObject
*resultobj
= 0;
4754 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4758 PyObject
*swig_obj
[1] ;
4760 if (!args
) SWIG_fail
;
4762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4763 if (!SWIG_IsOK(res1
)) {
4764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4766 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (int)(arg1
)->GetFontSize();
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= SWIG_From_int(static_cast< int >(result
));
4780 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
= 0;
4782 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4788 PyObject
* obj0
= 0 ;
4789 PyObject
* obj1
= 0 ;
4790 char * kwnames
[] = {
4791 (char *) "self",(char *) "s", NULL
4794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4796 if (!SWIG_IsOK(res1
)) {
4797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4799 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4801 if (!SWIG_IsOK(ecode2
)) {
4802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4804 arg2
= static_cast< int >(val2
);
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 (arg1
)->SetFontSize(arg2
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_Py_Void();
4818 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4819 PyObject
*resultobj
= 0;
4820 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4824 PyObject
*swig_obj
[1] ;
4826 if (!args
) SWIG_fail
;
4828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4829 if (!SWIG_IsOK(res1
)) {
4830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4832 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (int)(arg1
)->GetFontBold();
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 resultobj
= SWIG_From_int(static_cast< int >(result
));
4846 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
= 0;
4848 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4854 PyObject
* obj0
= 0 ;
4855 PyObject
* obj1
= 0 ;
4856 char * kwnames
[] = {
4857 (char *) "self",(char *) "x", NULL
4860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4862 if (!SWIG_IsOK(res1
)) {
4863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4865 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4867 if (!SWIG_IsOK(ecode2
)) {
4868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4870 arg2
= static_cast< int >(val2
);
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 (arg1
)->SetFontBold(arg2
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= SWIG_Py_Void();
4884 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4885 PyObject
*resultobj
= 0;
4886 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4890 PyObject
*swig_obj
[1] ;
4892 if (!args
) SWIG_fail
;
4894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4895 if (!SWIG_IsOK(res1
)) {
4896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4898 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= (int)(arg1
)->GetFontItalic();
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= SWIG_From_int(static_cast< int >(result
));
4912 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
= 0;
4914 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4920 PyObject
* obj0
= 0 ;
4921 PyObject
* obj1
= 0 ;
4922 char * kwnames
[] = {
4923 (char *) "self",(char *) "x", NULL
4926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4928 if (!SWIG_IsOK(res1
)) {
4929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4931 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4933 if (!SWIG_IsOK(ecode2
)) {
4934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4936 arg2
= static_cast< int >(val2
);
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 (arg1
)->SetFontItalic(arg2
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= SWIG_Py_Void();
4950 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4951 PyObject
*resultobj
= 0;
4952 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4956 PyObject
*swig_obj
[1] ;
4958 if (!args
) SWIG_fail
;
4960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4961 if (!SWIG_IsOK(res1
)) {
4962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4964 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 result
= (int)(arg1
)->GetFontUnderlined();
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 resultobj
= SWIG_From_int(static_cast< int >(result
));
4978 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
*resultobj
= 0;
4980 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4986 PyObject
* obj0
= 0 ;
4987 PyObject
* obj1
= 0 ;
4988 char * kwnames
[] = {
4989 (char *) "self",(char *) "x", NULL
4992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4994 if (!SWIG_IsOK(res1
)) {
4995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4997 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4999 if (!SWIG_IsOK(ecode2
)) {
5000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5002 arg2
= static_cast< int >(val2
);
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 (arg1
)->SetFontUnderlined(arg2
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= SWIG_Py_Void();
5016 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5017 PyObject
*resultobj
= 0;
5018 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5022 PyObject
*swig_obj
[1] ;
5024 if (!args
) SWIG_fail
;
5026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5027 if (!SWIG_IsOK(res1
)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5030 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (int)(arg1
)->GetFontFixed();
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 resultobj
= SWIG_From_int(static_cast< int >(result
));
5044 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
= 0;
5046 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5053 PyObject
* obj1
= 0 ;
5054 char * kwnames
[] = {
5055 (char *) "self",(char *) "x", NULL
5058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5060 if (!SWIG_IsOK(res1
)) {
5061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5063 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5065 if (!SWIG_IsOK(ecode2
)) {
5066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5068 arg2
= static_cast< int >(val2
);
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 (arg1
)->SetFontFixed(arg2
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= SWIG_Py_Void();
5082 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5083 PyObject
*resultobj
= 0;
5084 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5088 PyObject
*swig_obj
[1] ;
5090 if (!args
) SWIG_fail
;
5092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5093 if (!SWIG_IsOK(res1
)) {
5094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5096 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= (int)(arg1
)->GetAlign();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_From_int(static_cast< int >(result
));
5110 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
= 0;
5112 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5119 PyObject
* obj1
= 0 ;
5120 char * kwnames
[] = {
5121 (char *) "self",(char *) "a", NULL
5124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5126 if (!SWIG_IsOK(res1
)) {
5127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5129 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5131 if (!SWIG_IsOK(ecode2
)) {
5132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5134 arg2
= static_cast< int >(val2
);
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 (arg1
)->SetAlign(arg2
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_Py_Void();
5148 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5149 PyObject
*resultobj
= 0;
5150 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5154 PyObject
*swig_obj
[1] ;
5156 if (!args
) SWIG_fail
;
5158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5159 if (!SWIG_IsOK(res1
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5162 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (arg1
)->GetLinkColor();
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5176 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
= 0;
5178 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5179 wxColour
*arg2
= 0 ;
5183 PyObject
* obj0
= 0 ;
5184 PyObject
* obj1
= 0 ;
5185 char * kwnames
[] = {
5186 (char *) "self",(char *) "clr", NULL
5189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5191 if (!SWIG_IsOK(res1
)) {
5192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5194 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5197 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= SWIG_Py_Void();
5212 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5213 PyObject
*resultobj
= 0;
5214 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5218 PyObject
*swig_obj
[1] ;
5220 if (!args
) SWIG_fail
;
5222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5223 if (!SWIG_IsOK(res1
)) {
5224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5226 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (arg1
)->GetActualColor();
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5240 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
= 0;
5242 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5243 wxColour
*arg2
= 0 ;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5249 char * kwnames
[] = {
5250 (char *) "self",(char *) "clr", NULL
5253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5255 if (!SWIG_IsOK(res1
)) {
5256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5258 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5261 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_Py_Void();
5276 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
= 0;
5278 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5279 wxString
*arg2
= 0 ;
5282 bool temp2
= false ;
5283 PyObject
* obj0
= 0 ;
5284 PyObject
* obj1
= 0 ;
5285 char * kwnames
[] = {
5286 (char *) "self",(char *) "link", NULL
5289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5291 if (!SWIG_IsOK(res1
)) {
5292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5294 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5296 arg2
= wxString_in_helper(obj1
);
5297 if (arg2
== NULL
) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 (arg1
)->SetLink((wxString
const &)*arg2
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= SWIG_Py_Void();
5321 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5322 PyObject
*resultobj
= 0;
5323 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5324 wxFont
*result
= 0 ;
5327 PyObject
*swig_obj
[1] ;
5329 if (!args
) SWIG_fail
;
5331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5332 if (!SWIG_IsOK(res1
)) {
5333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5335 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
5349 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5350 PyObject
*resultobj
= 0;
5351 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5352 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
5355 PyObject
*swig_obj
[1] ;
5357 if (!args
) SWIG_fail
;
5359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5360 if (!SWIG_IsOK(res1
)) {
5361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5363 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (arg1
)->GetLink();
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo
& >(result
))), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_OWN
| 0 );
5377 SWIGINTERN PyObject
*HtmlWinParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5380 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser
, SWIG_NewClientData(obj
));
5381 return SWIG_Py_Void();
5384 SWIGINTERN PyObject
*HtmlWinParser_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5385 return SWIG_Python_InitShadowInstance(args
);
5388 SWIGINTERN PyObject
*_wrap_new_HtmlTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5389 PyObject
*resultobj
= 0;
5390 wxPyHtmlTagHandler
*result
= 0 ;
5392 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlTagHandler",0,0,0)) SWIG_fail
;
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_NEW
| 0 );
5406 SWIGINTERN PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
= 0;
5408 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5409 PyObject
*arg2
= (PyObject
*) 0 ;
5410 PyObject
*arg3
= (PyObject
*) 0 ;
5413 PyObject
* obj0
= 0 ;
5414 PyObject
* obj1
= 0 ;
5415 PyObject
* obj2
= 0 ;
5416 char * kwnames
[] = {
5417 (char *) "self",(char *) "self",(char *) "_class", NULL
5420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5422 if (!SWIG_IsOK(res1
)) {
5423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5425 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= SWIG_Py_Void();
5441 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
= 0;
5443 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5444 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5451 char * kwnames
[] = {
5452 (char *) "self",(char *) "parser", NULL
5455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5457 if (!SWIG_IsOK(res1
)) {
5458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5460 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5461 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5462 if (!SWIG_IsOK(res2
)) {
5463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5465 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 (arg1
)->SetParser(arg2
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= SWIG_Py_Void();
5479 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5480 PyObject
*resultobj
= 0;
5481 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5482 wxHtmlParser
*result
= 0 ;
5485 PyObject
*swig_obj
[1] ;
5487 if (!args
) SWIG_fail
;
5489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5490 if (!SWIG_IsOK(res1
)) {
5491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5493 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= (wxHtmlParser
*)(arg1
)->GetParser();
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5507 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
= 0;
5509 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5510 wxHtmlTag
*arg2
= 0 ;
5515 PyObject
* obj0
= 0 ;
5516 PyObject
* obj1
= 0 ;
5517 char * kwnames
[] = {
5518 (char *) "self",(char *) "tag", NULL
5521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5523 if (!SWIG_IsOK(res1
)) {
5524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5526 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5527 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5528 if (!SWIG_IsOK(res2
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5534 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= SWIG_Py_Void();
5548 SWIGINTERN PyObject
*HtmlTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5551 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_NewClientData(obj
));
5552 return SWIG_Py_Void();
5555 SWIGINTERN PyObject
*HtmlTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5556 return SWIG_Python_InitShadowInstance(args
);
5559 SWIGINTERN PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5560 PyObject
*resultobj
= 0;
5561 wxPyHtmlWinTagHandler
*result
= 0 ;
5563 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_NEW
| 0 );
5577 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
= 0;
5579 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5580 PyObject
*arg2
= (PyObject
*) 0 ;
5581 PyObject
*arg3
= (PyObject
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5586 PyObject
* obj2
= 0 ;
5587 char * kwnames
[] = {
5588 (char *) "self",(char *) "self",(char *) "_class", NULL
5591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5593 if (!SWIG_IsOK(res1
)) {
5594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5596 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 resultobj
= SWIG_Py_Void();
5612 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
= 0;
5614 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5615 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5620 PyObject
* obj0
= 0 ;
5621 PyObject
* obj1
= 0 ;
5622 char * kwnames
[] = {
5623 (char *) "self",(char *) "parser", NULL
5626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5628 if (!SWIG_IsOK(res1
)) {
5629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5631 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5632 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5633 if (!SWIG_IsOK(res2
)) {
5634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5636 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 (arg1
)->SetParser(arg2
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= SWIG_Py_Void();
5650 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5651 PyObject
*resultobj
= 0;
5652 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5653 wxHtmlWinParser
*result
= 0 ;
5656 PyObject
*swig_obj
[1] ;
5658 if (!args
) SWIG_fail
;
5660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5661 if (!SWIG_IsOK(res1
)) {
5662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5664 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5678 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
= 0;
5680 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5681 wxHtmlTag
*arg2
= 0 ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 char * kwnames
[] = {
5689 (char *) "self",(char *) "tag", NULL
5692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5694 if (!SWIG_IsOK(res1
)) {
5695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5697 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5699 if (!SWIG_IsOK(res2
)) {
5700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5705 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= SWIG_Py_Void();
5719 SWIGINTERN PyObject
*HtmlWinTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5722 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_NewClientData(obj
));
5723 return SWIG_Py_Void();
5726 SWIGINTERN PyObject
*HtmlWinTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5727 return SWIG_Python_InitShadowInstance(args
);
5730 SWIGINTERN PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
*resultobj
= 0;
5732 PyObject
*arg1
= (PyObject
*) 0 ;
5733 PyObject
* obj0
= 0 ;
5734 char * kwnames
[] = {
5735 (char *) "tagHandlerClass", NULL
5738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) SWIG_fail
;
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 wxHtmlWinParser_AddTagHandler(arg1
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 resultobj
= SWIG_Py_Void();
5753 SWIGINTERN PyObject
*_wrap_new_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5754 PyObject
*resultobj
= 0;
5755 wxHtmlSelection
*result
= 0 ;
5757 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlSelection",0,0,0)) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (wxHtmlSelection
*)new wxHtmlSelection();
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_NEW
| 0 );
5771 SWIGINTERN PyObject
*_wrap_delete_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5772 PyObject
*resultobj
= 0;
5773 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5776 PyObject
*swig_obj
[1] ;
5778 if (!args
) SWIG_fail
;
5780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_DISOWN
| 0 );
5781 if (!SWIG_IsOK(res1
)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5784 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= SWIG_Py_Void();
5799 SWIGINTERN PyObject
*_wrap_HtmlSelection_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
= 0;
5801 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5803 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5805 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5816 PyObject
* obj2
= 0 ;
5817 PyObject
* obj3
= 0 ;
5818 PyObject
* obj4
= 0 ;
5819 char * kwnames
[] = {
5820 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5825 if (!SWIG_IsOK(res1
)) {
5826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5828 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5831 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5833 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5834 if (!SWIG_IsOK(res3
)) {
5835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5837 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5840 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5842 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5843 if (!SWIG_IsOK(res5
)) {
5844 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5846 arg5
= reinterpret_cast< wxHtmlCell
* >(argp5
);
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= SWIG_Py_Void();
5860 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
= 0;
5862 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5863 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5864 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5871 PyObject
* obj0
= 0 ;
5872 PyObject
* obj1
= 0 ;
5873 PyObject
* obj2
= 0 ;
5874 char * kwnames
[] = {
5875 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5880 if (!SWIG_IsOK(res1
)) {
5881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5883 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5884 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5885 if (!SWIG_IsOK(res2
)) {
5886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5888 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
5889 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5890 if (!SWIG_IsOK(res3
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5893 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= SWIG_Py_Void();
5907 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5908 PyObject
*resultobj
= 0;
5909 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5910 wxHtmlCell
*result
= 0 ;
5913 PyObject
*swig_obj
[1] ;
5915 if (!args
) SWIG_fail
;
5917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5918 if (!SWIG_IsOK(res1
)) {
5919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5921 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= wxPyMake_wxObject(result
, 0);
5937 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5938 PyObject
*resultobj
= 0;
5939 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5940 wxHtmlCell
*result
= 0 ;
5943 PyObject
*swig_obj
[1] ;
5945 if (!args
) SWIG_fail
;
5947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5948 if (!SWIG_IsOK(res1
)) {
5949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5951 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= wxPyMake_wxObject(result
, 0);
5967 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5968 PyObject
*resultobj
= 0;
5969 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5970 wxPoint
*result
= 0 ;
5973 PyObject
*swig_obj
[1] ;
5975 if (!args
) SWIG_fail
;
5977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5978 if (!SWIG_IsOK(res1
)) {
5979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5981 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
5986 result
= (wxPoint
*) &_result_ref
;
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
5998 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5999 PyObject
*resultobj
= 0;
6000 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6001 wxPoint
*result
= 0 ;
6004 PyObject
*swig_obj
[1] ;
6006 if (!args
) SWIG_fail
;
6008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6009 if (!SWIG_IsOK(res1
)) {
6010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6012 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
6017 result
= (wxPoint
*) &_result_ref
;
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6029 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6030 PyObject
*resultobj
= 0;
6031 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6032 wxPoint
*result
= 0 ;
6035 PyObject
*swig_obj
[1] ;
6037 if (!args
) SWIG_fail
;
6039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6040 if (!SWIG_IsOK(res1
)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6043 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
6048 result
= (wxPoint
*) &_result_ref
;
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6060 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6061 PyObject
*resultobj
= 0;
6062 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6063 wxPoint
*result
= 0 ;
6066 PyObject
*swig_obj
[1] ;
6068 if (!args
) SWIG_fail
;
6070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6071 if (!SWIG_IsOK(res1
)) {
6072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6074 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
6079 result
= (wxPoint
*) &_result_ref
;
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6091 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
= 0;
6093 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6100 char * kwnames
[] = {
6101 (char *) "self",(char *) "pos", NULL
6104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6106 if (!SWIG_IsOK(res1
)) {
6107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6109 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6112 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= SWIG_Py_Void();
6127 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
= 0;
6129 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6135 PyObject
* obj1
= 0 ;
6136 char * kwnames
[] = {
6137 (char *) "self",(char *) "pos", NULL
6140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6142 if (!SWIG_IsOK(res1
)) {
6143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6145 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6148 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6156 resultobj
= SWIG_Py_Void();
6163 SWIGINTERN PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6164 PyObject
*resultobj
= 0;
6165 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6168 PyObject
*swig_obj
[1] ;
6170 if (!args
) SWIG_fail
;
6172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6173 if (!SWIG_IsOK(res1
)) {
6174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6176 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 (arg1
)->ClearPrivPos();
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6183 resultobj
= SWIG_Py_Void();
6190 SWIGINTERN PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6191 PyObject
*resultobj
= 0;
6192 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6196 PyObject
*swig_obj
[1] ;
6198 if (!args
) SWIG_fail
;
6200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6201 if (!SWIG_IsOK(res1
)) {
6202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6204 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
6218 SWIGINTERN PyObject
*HtmlSelection_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6221 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection
, SWIG_NewClientData(obj
));
6222 return SWIG_Py_Void();
6225 SWIGINTERN PyObject
*HtmlSelection_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6226 return SWIG_Python_InitShadowInstance(args
);
6229 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6230 PyObject
*resultobj
= 0;
6231 wxHtmlRenderingState
*result
= 0 ;
6233 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingState",0,0,0)) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_NEW
| 0 );
6247 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6248 PyObject
*resultobj
= 0;
6249 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6252 PyObject
*swig_obj
[1] ;
6254 if (!args
) SWIG_fail
;
6256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_DISOWN
| 0 );
6257 if (!SWIG_IsOK(res1
)) {
6258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6260 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= SWIG_Py_Void();
6275 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
= 0;
6277 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6278 wxHtmlSelectionState arg2
;
6283 PyObject
* obj0
= 0 ;
6284 PyObject
* obj1
= 0 ;
6285 char * kwnames
[] = {
6286 (char *) "self",(char *) "s", NULL
6289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6291 if (!SWIG_IsOK(res1
)) {
6292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6294 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6296 if (!SWIG_IsOK(ecode2
)) {
6297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6299 arg2
= static_cast< wxHtmlSelectionState
>(val2
);
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 (arg1
)->SetSelectionState(arg2
);
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6306 resultobj
= SWIG_Py_Void();
6313 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6314 PyObject
*resultobj
= 0;
6315 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6316 wxHtmlSelectionState result
;
6319 PyObject
*swig_obj
[1] ;
6321 if (!args
) SWIG_fail
;
6323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6324 if (!SWIG_IsOK(res1
)) {
6325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6327 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= SWIG_From_int(static_cast< int >(result
));
6341 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
= 0;
6343 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6344 wxColour
*arg2
= 0 ;
6348 PyObject
* obj0
= 0 ;
6349 PyObject
* obj1
= 0 ;
6350 char * kwnames
[] = {
6351 (char *) "self",(char *) "c", NULL
6354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6356 if (!SWIG_IsOK(res1
)) {
6357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6359 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6362 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_Py_Void();
6377 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6378 PyObject
*resultobj
= 0;
6379 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6380 wxColour
*result
= 0 ;
6383 PyObject
*swig_obj
[1] ;
6385 if (!args
) SWIG_fail
;
6387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6388 if (!SWIG_IsOK(res1
)) {
6389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6391 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
6396 result
= (wxColour
*) &_result_ref
;
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6408 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
= 0;
6410 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6411 wxColour
*arg2
= 0 ;
6415 PyObject
* obj0
= 0 ;
6416 PyObject
* obj1
= 0 ;
6417 char * kwnames
[] = {
6418 (char *) "self",(char *) "c", NULL
6421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6423 if (!SWIG_IsOK(res1
)) {
6424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6426 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6429 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= SWIG_Py_Void();
6444 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6445 PyObject
*resultobj
= 0;
6446 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6447 wxColour
*result
= 0 ;
6450 PyObject
*swig_obj
[1] ;
6452 if (!args
) SWIG_fail
;
6454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6455 if (!SWIG_IsOK(res1
)) {
6456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6458 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
6463 result
= (wxColour
*) &_result_ref
;
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6475 SWIGINTERN PyObject
*HtmlRenderingState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6478 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState
, SWIG_NewClientData(obj
));
6479 return SWIG_Py_Void();
6482 SWIGINTERN PyObject
*HtmlRenderingState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6483 return SWIG_Python_InitShadowInstance(args
);
6486 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
= 0;
6488 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6489 wxColour
*arg2
= 0 ;
6494 PyObject
* obj0
= 0 ;
6495 PyObject
* obj1
= 0 ;
6496 char * kwnames
[] = {
6497 (char *) "self",(char *) "clr", NULL
6500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6502 if (!SWIG_IsOK(res1
)) {
6503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6505 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6508 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6523 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
= 0;
6525 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6526 wxColour
*arg2
= 0 ;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6533 char * kwnames
[] = {
6534 (char *) "self",(char *) "clr", NULL
6537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6539 if (!SWIG_IsOK(res1
)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6542 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6560 SWIGINTERN PyObject
*HtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6563 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6564 return SWIG_Py_Void();
6567 SWIGINTERN PyObject
*DefaultHtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6569 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6570 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6571 return SWIG_Py_Void();
6574 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6575 PyObject
*resultobj
= 0;
6576 wxHtmlRenderingInfo
*result
= 0 ;
6578 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_NEW
| 0 );
6592 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6593 PyObject
*resultobj
= 0;
6594 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6597 PyObject
*swig_obj
[1] ;
6599 if (!args
) SWIG_fail
;
6601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_DISOWN
| 0 );
6602 if (!SWIG_IsOK(res1
)) {
6603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6605 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= SWIG_Py_Void();
6620 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
= 0;
6622 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6623 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6628 PyObject
* obj0
= 0 ;
6629 PyObject
* obj1
= 0 ;
6630 char * kwnames
[] = {
6631 (char *) "self",(char *) "s", NULL
6634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6636 if (!SWIG_IsOK(res1
)) {
6637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6639 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6640 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6641 if (!SWIG_IsOK(res2
)) {
6642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6644 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 (arg1
)->SetSelection(arg2
);
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= SWIG_Py_Void();
6658 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6659 PyObject
*resultobj
= 0;
6660 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6661 wxHtmlSelection
*result
= 0 ;
6664 PyObject
*swig_obj
[1] ;
6666 if (!args
) SWIG_fail
;
6668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6669 if (!SWIG_IsOK(res1
)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6672 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6686 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
= 0;
6688 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6689 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
6694 PyObject
* obj0
= 0 ;
6695 PyObject
* obj1
= 0 ;
6696 char * kwnames
[] = {
6697 (char *) "self",(char *) "style", NULL
6700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6702 if (!SWIG_IsOK(res1
)) {
6703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6705 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6707 if (!SWIG_IsOK(res2
)) {
6708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6710 arg2
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp2
);
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 (arg1
)->SetStyle(arg2
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 resultobj
= SWIG_Py_Void();
6724 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6725 PyObject
*resultobj
= 0;
6726 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6727 wxHtmlRenderingStyle
*result
= 0 ;
6730 PyObject
*swig_obj
[1] ;
6732 if (!args
) SWIG_fail
;
6734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6735 if (!SWIG_IsOK(res1
)) {
6736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6738 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
6743 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6755 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6756 PyObject
*resultobj
= 0;
6757 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6758 wxHtmlRenderingState
*result
= 0 ;
6761 PyObject
*swig_obj
[1] ;
6763 if (!args
) SWIG_fail
;
6765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6766 if (!SWIG_IsOK(res1
)) {
6767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6769 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
6774 result
= (wxHtmlRenderingState
*) &_result_ref
;
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6786 SWIGINTERN PyObject
*HtmlRenderingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6788 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6789 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_NewClientData(obj
));
6790 return SWIG_Py_Void();
6793 SWIGINTERN PyObject
*HtmlRenderingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6794 return SWIG_Python_InitShadowInstance(args
);
6797 SWIGINTERN PyObject
*_wrap_new_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6798 PyObject
*resultobj
= 0;
6799 wxHtmlCell
*result
= 0 ;
6801 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlCell",0,0,0)) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 result
= (wxHtmlCell
*)new wxHtmlCell();
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_NEW
| 0 );
6815 SWIGINTERN PyObject
*_wrap_delete_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6816 PyObject
*resultobj
= 0;
6817 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6820 PyObject
*swig_obj
[1] ;
6822 if (!args
) SWIG_fail
;
6824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
6825 if (!SWIG_IsOK(res1
)) {
6826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6828 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= SWIG_Py_Void();
6843 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6844 PyObject
*resultobj
= 0;
6845 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6849 PyObject
*swig_obj
[1] ;
6851 if (!args
) SWIG_fail
;
6853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6854 if (!SWIG_IsOK(res1
)) {
6855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6857 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 result
= (int)(arg1
)->GetPosX();
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 resultobj
= SWIG_From_int(static_cast< int >(result
));
6871 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6872 PyObject
*resultobj
= 0;
6873 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6877 PyObject
*swig_obj
[1] ;
6879 if (!args
) SWIG_fail
;
6881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6882 if (!SWIG_IsOK(res1
)) {
6883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6885 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 result
= (int)(arg1
)->GetPosY();
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6892 resultobj
= SWIG_From_int(static_cast< int >(result
));
6899 SWIGINTERN PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6900 PyObject
*resultobj
= 0;
6901 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6905 PyObject
*swig_obj
[1] ;
6907 if (!args
) SWIG_fail
;
6909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6910 if (!SWIG_IsOK(res1
)) {
6911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6913 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (int)(arg1
)->GetWidth();
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6920 resultobj
= SWIG_From_int(static_cast< int >(result
));
6927 SWIGINTERN PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6928 PyObject
*resultobj
= 0;
6929 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6933 PyObject
*swig_obj
[1] ;
6935 if (!args
) SWIG_fail
;
6937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6938 if (!SWIG_IsOK(res1
)) {
6939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6941 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 result
= (int)(arg1
)->GetHeight();
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= SWIG_From_int(static_cast< int >(result
));
6955 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6956 PyObject
*resultobj
= 0;
6957 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6961 PyObject
*swig_obj
[1] ;
6963 if (!args
) SWIG_fail
;
6965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6966 if (!SWIG_IsOK(res1
)) {
6967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6969 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (int)(arg1
)->GetDescent();
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6976 resultobj
= SWIG_From_int(static_cast< int >(result
));
6983 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6984 PyObject
*resultobj
= 0;
6985 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6989 PyObject
*swig_obj
[1] ;
6991 if (!args
) SWIG_fail
;
6993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6994 if (!SWIG_IsOK(res1
)) {
6995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
6997 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= SWIG_From_int(static_cast< int >(result
));
7011 SWIGINTERN PyObject
*_wrap_HtmlCell_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7012 PyObject
*resultobj
= 0;
7013 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7014 wxString
*result
= 0 ;
7017 PyObject
*swig_obj
[1] ;
7019 if (!args
) SWIG_fail
;
7021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7022 if (!SWIG_IsOK(res1
)) {
7023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7025 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
7030 result
= (wxString
*) &_result_ref
;
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7039 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7048 SWIGINTERN PyObject
*_wrap_HtmlCell_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
= 0;
7050 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7051 wxString
*arg2
= 0 ;
7054 bool temp2
= false ;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7057 char * kwnames
[] = {
7058 (char *) "self",(char *) "id", NULL
7061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7063 if (!SWIG_IsOK(res1
)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7066 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7068 arg2
= wxString_in_helper(obj1
);
7069 if (arg2
== NULL
) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 (arg1
)->SetId((wxString
const &)*arg2
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= SWIG_Py_Void();
7093 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
= 0;
7095 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7096 int arg2
= (int) 0 ;
7097 int arg3
= (int) 0 ;
7098 wxHtmlLinkInfo
*result
= 0 ;
7105 PyObject
* obj0
= 0 ;
7106 PyObject
* obj1
= 0 ;
7107 PyObject
* obj2
= 0 ;
7108 char * kwnames
[] = {
7109 (char *) "self",(char *) "x",(char *) "y", NULL
7112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7114 if (!SWIG_IsOK(res1
)) {
7115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7117 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7120 if (!SWIG_IsOK(ecode2
)) {
7121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7123 arg2
= static_cast< int >(val2
);
7126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7127 if (!SWIG_IsOK(ecode3
)) {
7128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7130 arg3
= static_cast< int >(val3
);
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
7145 SWIGINTERN PyObject
*_wrap_HtmlCell_GetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7146 PyObject
*resultobj
= 0;
7147 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7148 wxHtmlCell
*result
= 0 ;
7151 PyObject
*swig_obj
[1] ;
7153 if (!args
) SWIG_fail
;
7155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7156 if (!SWIG_IsOK(res1
)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7159 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 result
= (wxHtmlCell
*)(arg1
)->GetNext();
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= wxPyMake_wxObject(result
, 0);
7175 SWIGINTERN PyObject
*_wrap_HtmlCell_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7176 PyObject
*resultobj
= 0;
7177 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7178 wxHtmlContainerCell
*result
= 0 ;
7181 PyObject
*swig_obj
[1] ;
7183 if (!args
) SWIG_fail
;
7185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7186 if (!SWIG_IsOK(res1
)) {
7187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7189 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7203 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7204 PyObject
*resultobj
= 0;
7205 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7206 wxHtmlCell
*result
= 0 ;
7209 PyObject
*swig_obj
[1] ;
7211 if (!args
) SWIG_fail
;
7213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7214 if (!SWIG_IsOK(res1
)) {
7215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7217 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= wxPyMake_wxObject(result
, 0);
7233 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMouseCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
= 0;
7235 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7236 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7242 PyObject
* obj0
= 0 ;
7243 PyObject
* obj1
= 0 ;
7244 char * kwnames
[] = {
7245 (char *) "self",(char *) "window", NULL
7248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_GetMouseCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7250 if (!SWIG_IsOK(res1
)) {
7251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7253 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7255 if (!SWIG_IsOK(res2
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7258 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= ((wxHtmlCell
const *)arg1
)->GetMouseCursor(arg2
);
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7272 SWIGINTERN PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7273 PyObject
*resultobj
= 0;
7274 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7278 PyObject
*swig_obj
[1] ;
7280 if (!args
) SWIG_fail
;
7282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7283 if (!SWIG_IsOK(res1
)) {
7284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7286 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7300 SWIGINTERN PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7301 PyObject
*resultobj
= 0;
7302 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7306 PyObject
*swig_obj
[1] ;
7308 if (!args
) SWIG_fail
;
7310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7311 if (!SWIG_IsOK(res1
)) {
7312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7314 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7330 SWIGINTERN PyObject
*_wrap_HtmlCell_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
*resultobj
= 0;
7332 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7333 wxHtmlLinkInfo
*arg2
= 0 ;
7338 PyObject
* obj0
= 0 ;
7339 PyObject
* obj1
= 0 ;
7340 char * kwnames
[] = {
7341 (char *) "self",(char *) "link", NULL
7344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7346 if (!SWIG_IsOK(res1
)) {
7347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7349 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
7351 if (!SWIG_IsOK(res2
)) {
7352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7357 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_Py_Void();
7371 SWIGINTERN PyObject
*_wrap_HtmlCell_SetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
= 0;
7373 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7374 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7377 PyObject
* obj0
= 0 ;
7378 PyObject
* obj1
= 0 ;
7379 char * kwnames
[] = {
7380 (char *) "self",(char *) "cell", NULL
7383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7384 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7385 if (!SWIG_IsOK(res1
)) {
7386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7388 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7389 if (!SWIG_IsOK(res2
)) {
7390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 (arg1
)->SetNext(arg2
);
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= SWIG_Py_Void();
7405 SWIGINTERN PyObject
*_wrap_HtmlCell_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
= 0;
7407 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7408 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
7413 PyObject
* obj0
= 0 ;
7414 PyObject
* obj1
= 0 ;
7415 char * kwnames
[] = {
7416 (char *) "self",(char *) "p", NULL
7419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7421 if (!SWIG_IsOK(res1
)) {
7422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7424 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7425 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7426 if (!SWIG_IsOK(res2
)) {
7427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7429 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 (arg1
)->SetParent(arg2
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= SWIG_Py_Void();
7443 SWIGINTERN PyObject
*_wrap_HtmlCell_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
= 0;
7445 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7454 PyObject
* obj0
= 0 ;
7455 PyObject
* obj1
= 0 ;
7456 PyObject
* obj2
= 0 ;
7457 char * kwnames
[] = {
7458 (char *) "self",(char *) "x",(char *) "y", NULL
7461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7463 if (!SWIG_IsOK(res1
)) {
7464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7466 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7468 if (!SWIG_IsOK(ecode2
)) {
7469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7471 arg2
= static_cast< int >(val2
);
7472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7473 if (!SWIG_IsOK(ecode3
)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7476 arg3
= static_cast< int >(val3
);
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 (arg1
)->SetPos(arg2
,arg3
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_Py_Void();
7490 SWIGINTERN PyObject
*_wrap_HtmlCell_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
= 0;
7492 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7498 PyObject
* obj0
= 0 ;
7499 PyObject
* obj1
= 0 ;
7500 char * kwnames
[] = {
7501 (char *) "self",(char *) "w", NULL
7504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7506 if (!SWIG_IsOK(res1
)) {
7507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7509 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7511 if (!SWIG_IsOK(ecode2
)) {
7512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7514 arg2
= static_cast< int >(val2
);
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 (arg1
)->Layout(arg2
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= SWIG_Py_Void();
7528 SWIGINTERN PyObject
*_wrap_HtmlCell_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
= 0;
7530 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7536 wxHtmlRenderingInfo
*arg7
= 0 ;
7551 PyObject
* obj0
= 0 ;
7552 PyObject
* obj1
= 0 ;
7553 PyObject
* obj2
= 0 ;
7554 PyObject
* obj3
= 0 ;
7555 PyObject
* obj4
= 0 ;
7556 PyObject
* obj5
= 0 ;
7557 PyObject
* obj6
= 0 ;
7558 char * kwnames
[] = {
7559 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7564 if (!SWIG_IsOK(res1
)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7567 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7568 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7569 if (!SWIG_IsOK(res2
)) {
7570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7575 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7577 if (!SWIG_IsOK(ecode3
)) {
7578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7580 arg3
= static_cast< int >(val3
);
7581 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7582 if (!SWIG_IsOK(ecode4
)) {
7583 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7585 arg4
= static_cast< int >(val4
);
7586 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7587 if (!SWIG_IsOK(ecode5
)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7590 arg5
= static_cast< int >(val5
);
7591 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
7592 if (!SWIG_IsOK(ecode6
)) {
7593 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7595 arg6
= static_cast< int >(val6
);
7596 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7597 if (!SWIG_IsOK(res7
)) {
7598 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7603 arg7
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp7
);
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_Py_Void();
7617 SWIGINTERN PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
= 0;
7619 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7623 wxHtmlRenderingInfo
*arg5
= 0 ;
7634 PyObject
* obj0
= 0 ;
7635 PyObject
* obj1
= 0 ;
7636 PyObject
* obj2
= 0 ;
7637 PyObject
* obj3
= 0 ;
7638 PyObject
* obj4
= 0 ;
7639 char * kwnames
[] = {
7640 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7645 if (!SWIG_IsOK(res1
)) {
7646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7648 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7649 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7650 if (!SWIG_IsOK(res2
)) {
7651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7656 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7658 if (!SWIG_IsOK(ecode3
)) {
7659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7661 arg3
= static_cast< int >(val3
);
7662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7663 if (!SWIG_IsOK(ecode4
)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7666 arg4
= static_cast< int >(val4
);
7667 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7668 if (!SWIG_IsOK(res5
)) {
7669 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7674 arg5
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp5
);
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= SWIG_Py_Void();
7688 SWIGINTERN PyObject
*_wrap_HtmlCell_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
*resultobj
= 0;
7690 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7692 void *arg3
= (void *) 0 ;
7693 wxHtmlCell
*result
= 0 ;
7699 PyObject
* obj0
= 0 ;
7700 PyObject
* obj1
= 0 ;
7701 PyObject
* obj2
= 0 ;
7702 char * kwnames
[] = {
7703 (char *) "self",(char *) "condition",(char *) "param", NULL
7706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7708 if (!SWIG_IsOK(res1
)) {
7709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7711 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7713 if (!SWIG_IsOK(ecode2
)) {
7714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7716 arg2
= static_cast< int >(val2
);
7717 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
7718 if (!SWIG_IsOK(res3
)) {
7719 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= wxPyMake_wxObject(result
, 0);
7736 SWIGINTERN PyObject
*_wrap_HtmlCell_ProcessMouseClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
= 0;
7738 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7739 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7741 wxMouseEvent
*arg4
= 0 ;
7750 PyObject
* obj0
= 0 ;
7751 PyObject
* obj1
= 0 ;
7752 PyObject
* obj2
= 0 ;
7753 PyObject
* obj3
= 0 ;
7754 char * kwnames
[] = {
7755 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7760 if (!SWIG_IsOK(res1
)) {
7761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7763 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7764 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7765 if (!SWIG_IsOK(res2
)) {
7766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7768 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7771 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7773 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
7774 if (!SWIG_IsOK(res4
)) {
7775 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7780 arg4
= reinterpret_cast< wxMouseEvent
* >(argp4
);
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 result
= (bool)(arg1
)->ProcessMouseClick(arg2
,(wxPoint
const &)*arg3
,(wxMouseEvent
const &)*arg4
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7796 SWIGINTERN PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
= 0;
7798 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7806 char * kwnames
[] = {
7807 (char *) "self",(char *) "can", NULL
7810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7812 if (!SWIG_IsOK(res1
)) {
7813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7815 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7816 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7817 if (!SWIG_IsOK(ecode2
)) {
7818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7820 arg2
= static_cast< bool >(val2
);
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 (arg1
)->SetCanLiveOnPagebreak(arg2
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= SWIG_Py_Void();
7834 SWIGINTERN PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7835 PyObject
*resultobj
= 0;
7836 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7840 PyObject
*swig_obj
[1] ;
7842 if (!args
) SWIG_fail
;
7844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7845 if (!SWIG_IsOK(res1
)) {
7846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7848 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7864 SWIGINTERN PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7865 PyObject
*resultobj
= 0;
7866 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7870 PyObject
*swig_obj
[1] ;
7872 if (!args
) SWIG_fail
;
7874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7875 if (!SWIG_IsOK(res1
)) {
7876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7878 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7894 SWIGINTERN PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
= 0;
7896 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7899 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
7900 wxHtmlCell
*result
= 0 ;
7909 PyObject
* obj0
= 0 ;
7910 PyObject
* obj1
= 0 ;
7911 PyObject
* obj2
= 0 ;
7912 PyObject
* obj3
= 0 ;
7913 char * kwnames
[] = {
7914 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7919 if (!SWIG_IsOK(res1
)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7922 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7924 if (!SWIG_IsOK(ecode2
)) {
7925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7927 arg2
= static_cast< int >(val2
);
7928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7929 if (!SWIG_IsOK(ecode3
)) {
7930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7932 arg3
= static_cast< int >(val3
);
7934 ecode4
= SWIG_AsVal_unsigned_SS_int(obj3
, &val4
);
7935 if (!SWIG_IsOK(ecode4
)) {
7936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7938 arg4
= static_cast< unsigned int >(val4
);
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= wxPyMake_wxObject(result
, 0);
7955 SWIGINTERN PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
= 0;
7957 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7958 wxHtmlCell
*arg2
= (wxHtmlCell
*) NULL
;
7964 PyObject
* obj0
= 0 ;
7965 PyObject
* obj1
= 0 ;
7966 char * kwnames
[] = {
7967 (char *) "self",(char *) "rootCell", NULL
7970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlCell_GetAbsPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7972 if (!SWIG_IsOK(res1
)) {
7973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7975 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7978 if (!SWIG_IsOK(res2
)) {
7979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7981 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos(arg2
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7996 SWIGINTERN PyObject
*_wrap_HtmlCell_GetRootCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7997 PyObject
*resultobj
= 0;
7998 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7999 wxHtmlCell
*result
= 0 ;
8002 PyObject
*swig_obj
[1] ;
8004 if (!args
) SWIG_fail
;
8006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8007 if (!SWIG_IsOK(res1
)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8010 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetRootCell();
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8018 resultobj
= wxPyMake_wxObject(result
, 0);
8026 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8027 PyObject
*resultobj
= 0;
8028 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8029 wxHtmlCell
*result
= 0 ;
8032 PyObject
*swig_obj
[1] ;
8034 if (!args
) SWIG_fail
;
8036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8037 if (!SWIG_IsOK(res1
)) {
8038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8040 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8048 resultobj
= wxPyMake_wxObject(result
, 0);
8056 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8057 PyObject
*resultobj
= 0;
8058 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8059 wxHtmlCell
*result
= 0 ;
8062 PyObject
*swig_obj
[1] ;
8064 if (!args
) SWIG_fail
;
8066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8067 if (!SWIG_IsOK(res1
)) {
8068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8070 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= wxPyMake_wxObject(result
, 0);
8086 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8087 PyObject
*resultobj
= 0;
8088 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8089 unsigned int result
;
8092 PyObject
*swig_obj
[1] ;
8094 if (!args
) SWIG_fail
;
8096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8097 if (!SWIG_IsOK(res1
)) {
8098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8100 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
8114 SWIGINTERN PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
= 0;
8116 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8117 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8125 char * kwnames
[] = {
8126 (char *) "self",(char *) "cell", NULL
8129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8131 if (!SWIG_IsOK(res1
)) {
8132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8134 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8135 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8136 if (!SWIG_IsOK(res2
)) {
8137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8139 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8155 SWIGINTERN PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
= 0;
8157 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8158 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8166 char * kwnames
[] = {
8167 (char *) "self",(char *) "sel", NULL
8170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8172 if (!SWIG_IsOK(res1
)) {
8173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8175 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8177 if (!SWIG_IsOK(res2
)) {
8178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8180 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8200 SWIGINTERN PyObject
*HtmlCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8203 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell
, SWIG_NewClientData(obj
));
8204 return SWIG_Py_Void();
8207 SWIGINTERN PyObject
*HtmlCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8208 return SWIG_Python_InitShadowInstance(args
);
8211 SWIGINTERN PyObject
*_wrap_new_HtmlWordCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
= 0;
8213 wxString
*arg1
= 0 ;
8215 wxHtmlWordCell
*result
= 0 ;
8216 bool temp1
= false ;
8219 PyObject
* obj0
= 0 ;
8220 PyObject
* obj1
= 0 ;
8221 char * kwnames
[] = {
8222 (char *) "word",(char *) "dc", NULL
8225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8227 arg1
= wxString_in_helper(obj0
);
8228 if (arg1
== NULL
) SWIG_fail
;
8231 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
8232 if (!SWIG_IsOK(res2
)) {
8233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8238 arg2
= reinterpret_cast< wxDC
* >(argp2
);
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_NEW
| 0 );
8260 SWIGINTERN PyObject
*_wrap_HtmlWordCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
= 0;
8262 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8263 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8269 PyObject
* obj0
= 0 ;
8270 PyObject
* obj1
= 0 ;
8271 char * kwnames
[] = {
8272 (char *) "self",(char *) "sel", NULL
8275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8277 if (!SWIG_IsOK(res1
)) {
8278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8280 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8282 if (!SWIG_IsOK(res2
)) {
8283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8285 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 result
= ((wxHtmlWordCell
const *)arg1
)->ConvertToText(arg2
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8305 SWIGINTERN PyObject
*_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8306 PyObject
*resultobj
= 0;
8307 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8311 PyObject
*swig_obj
[1] ;
8313 if (!args
) SWIG_fail
;
8315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8316 if (!SWIG_IsOK(res1
)) {
8317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8319 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 result
= (bool)((wxHtmlWordCell
const *)arg1
)->IsLinebreakAllowed();
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8335 SWIGINTERN PyObject
*_wrap_HtmlWordCell_SetPreviousWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
= 0;
8337 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8338 wxHtmlWordCell
*arg2
= (wxHtmlWordCell
*) 0 ;
8343 PyObject
* obj0
= 0 ;
8344 PyObject
* obj1
= 0 ;
8345 char * kwnames
[] = {
8346 (char *) "self",(char *) "cell", NULL
8349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8351 if (!SWIG_IsOK(res1
)) {
8352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8354 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8356 if (!SWIG_IsOK(res2
)) {
8357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8359 arg2
= reinterpret_cast< wxHtmlWordCell
* >(argp2
);
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 (arg1
)->SetPreviousWord(arg2
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= SWIG_Py_Void();
8373 SWIGINTERN PyObject
*HtmlWordCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8376 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell
, SWIG_NewClientData(obj
));
8377 return SWIG_Py_Void();
8380 SWIGINTERN PyObject
*HtmlWordCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8381 return SWIG_Python_InitShadowInstance(args
);
8384 SWIGINTERN PyObject
*_wrap_new_HtmlContainerCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
*resultobj
= 0;
8386 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8387 wxHtmlContainerCell
*result
= 0 ;
8390 PyObject
* obj0
= 0 ;
8391 char * kwnames
[] = {
8392 (char *) "parent", NULL
8395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) SWIG_fail
;
8396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8397 if (!SWIG_IsOK(res1
)) {
8398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8400 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_NEW
| 0 );
8414 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
= 0;
8416 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8417 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8421 PyObject
* obj0
= 0 ;
8422 PyObject
* obj1
= 0 ;
8423 char * kwnames
[] = {
8424 (char *) "self",(char *) "cell", NULL
8427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8429 if (!SWIG_IsOK(res1
)) {
8430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8432 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8433 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
8434 if (!SWIG_IsOK(res2
)) {
8435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 (arg1
)->InsertCell(arg2
);
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= SWIG_Py_Void();
8450 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
= 0;
8452 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8459 PyObject
* obj1
= 0 ;
8460 char * kwnames
[] = {
8461 (char *) "self",(char *) "al", NULL
8464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8466 if (!SWIG_IsOK(res1
)) {
8467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8469 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8471 if (!SWIG_IsOK(ecode2
)) {
8472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8474 arg2
= static_cast< int >(val2
);
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 (arg1
)->SetAlignHor(arg2
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= SWIG_Py_Void();
8488 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8489 PyObject
*resultobj
= 0;
8490 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8494 PyObject
*swig_obj
[1] ;
8496 if (!args
) SWIG_fail
;
8498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8499 if (!SWIG_IsOK(res1
)) {
8500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8502 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 result
= (int)(arg1
)->GetAlignHor();
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= SWIG_From_int(static_cast< int >(result
));
8516 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
*resultobj
= 0;
8518 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8525 PyObject
* obj1
= 0 ;
8526 char * kwnames
[] = {
8527 (char *) "self",(char *) "al", NULL
8530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8532 if (!SWIG_IsOK(res1
)) {
8533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8535 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8537 if (!SWIG_IsOK(ecode2
)) {
8538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8540 arg2
= static_cast< int >(val2
);
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 (arg1
)->SetAlignVer(arg2
);
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= SWIG_Py_Void();
8554 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8555 PyObject
*resultobj
= 0;
8556 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8560 PyObject
*swig_obj
[1] ;
8562 if (!args
) SWIG_fail
;
8564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8565 if (!SWIG_IsOK(res1
)) {
8566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8568 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (int)(arg1
)->GetAlignVer();
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= SWIG_From_int(static_cast< int >(result
));
8582 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
= 0;
8584 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8587 int arg4
= (int) wxHTML_UNITS_PIXELS
;
8596 PyObject
* obj0
= 0 ;
8597 PyObject
* obj1
= 0 ;
8598 PyObject
* obj2
= 0 ;
8599 PyObject
* obj3
= 0 ;
8600 char * kwnames
[] = {
8601 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8606 if (!SWIG_IsOK(res1
)) {
8607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8609 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8611 if (!SWIG_IsOK(ecode2
)) {
8612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8614 arg2
= static_cast< int >(val2
);
8615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8616 if (!SWIG_IsOK(ecode3
)) {
8617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8619 arg3
= static_cast< int >(val3
);
8621 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8622 if (!SWIG_IsOK(ecode4
)) {
8623 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8625 arg4
= static_cast< int >(val4
);
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= SWIG_Py_Void();
8640 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
= 0;
8642 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8651 char * kwnames
[] = {
8652 (char *) "self",(char *) "ind", NULL
8655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8657 if (!SWIG_IsOK(res1
)) {
8658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8660 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8662 if (!SWIG_IsOK(ecode2
)) {
8663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8665 arg2
= static_cast< int >(val2
);
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (int)(arg1
)->GetIndent(arg2
);
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= SWIG_From_int(static_cast< int >(result
));
8679 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
= 0;
8681 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8690 char * kwnames
[] = {
8691 (char *) "self",(char *) "ind", NULL
8694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8696 if (!SWIG_IsOK(res1
)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8699 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8701 if (!SWIG_IsOK(ecode2
)) {
8702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8704 arg2
= static_cast< int >(val2
);
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 result
= (int)(arg1
)->GetIndentUnits(arg2
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_From_int(static_cast< int >(result
));
8718 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
= 0;
8720 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8721 wxHtmlTag
*arg2
= 0 ;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8728 char * kwnames
[] = {
8729 (char *) "self",(char *) "tag", NULL
8732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8734 if (!SWIG_IsOK(res1
)) {
8735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8737 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8739 if (!SWIG_IsOK(res2
)) {
8740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8745 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= SWIG_Py_Void();
8759 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
= 0;
8761 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8770 PyObject
* obj0
= 0 ;
8771 PyObject
* obj1
= 0 ;
8772 PyObject
* obj2
= 0 ;
8773 char * kwnames
[] = {
8774 (char *) "self",(char *) "w",(char *) "units", NULL
8777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8779 if (!SWIG_IsOK(res1
)) {
8780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8782 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8784 if (!SWIG_IsOK(ecode2
)) {
8785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8787 arg2
= static_cast< int >(val2
);
8788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8789 if (!SWIG_IsOK(ecode3
)) {
8790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8792 arg3
= static_cast< int >(val3
);
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 (arg1
)->SetWidthFloat(arg2
,arg3
);
8796 wxPyEndAllowThreads(__tstate
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8799 resultobj
= SWIG_Py_Void();
8806 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
= 0;
8808 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8809 wxHtmlTag
*arg2
= 0 ;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8816 char * kwnames
[] = {
8817 (char *) "self",(char *) "tag", NULL
8820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8822 if (!SWIG_IsOK(res1
)) {
8823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8825 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8827 if (!SWIG_IsOK(res2
)) {
8828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8833 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_Py_Void();
8847 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
= 0;
8849 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8851 int arg3
= (int) wxHTML_ALIGN_TOP
;
8858 PyObject
* obj0
= 0 ;
8859 PyObject
* obj1
= 0 ;
8860 PyObject
* obj2
= 0 ;
8861 char * kwnames
[] = {
8862 (char *) "self",(char *) "h",(char *) "align", NULL
8865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8867 if (!SWIG_IsOK(res1
)) {
8868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8870 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8872 if (!SWIG_IsOK(ecode2
)) {
8873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8875 arg2
= static_cast< int >(val2
);
8877 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8878 if (!SWIG_IsOK(ecode3
)) {
8879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8881 arg3
= static_cast< int >(val3
);
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 (arg1
)->SetMinHeight(arg2
,arg3
);
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= SWIG_Py_Void();
8896 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
= 0;
8898 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8899 wxColour
*arg2
= 0 ;
8903 PyObject
* obj0
= 0 ;
8904 PyObject
* obj1
= 0 ;
8905 char * kwnames
[] = {
8906 (char *) "self",(char *) "clr", NULL
8909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8911 if (!SWIG_IsOK(res1
)) {
8912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8914 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8917 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= SWIG_Py_Void();
8932 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8933 PyObject
*resultobj
= 0;
8934 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8938 PyObject
*swig_obj
[1] ;
8940 if (!args
) SWIG_fail
;
8942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8943 if (!SWIG_IsOK(res1
)) {
8944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8946 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 result
= (arg1
)->GetBackgroundColour();
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
8960 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
= 0;
8962 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8963 wxColour
*arg2
= 0 ;
8964 wxColour
*arg3
= 0 ;
8969 PyObject
* obj0
= 0 ;
8970 PyObject
* obj1
= 0 ;
8971 PyObject
* obj2
= 0 ;
8972 char * kwnames
[] = {
8973 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8978 if (!SWIG_IsOK(res1
)) {
8979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8981 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8984 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8988 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 resultobj
= SWIG_Py_Void();
9003 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9004 PyObject
*resultobj
= 0;
9005 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
9006 wxHtmlCell
*result
= 0 ;
9009 PyObject
*swig_obj
[1] ;
9011 if (!args
) SWIG_fail
;
9013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
9014 if (!SWIG_IsOK(res1
)) {
9015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9017 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9025 resultobj
= wxPyMake_wxObject(result
, 0);
9033 SWIGINTERN PyObject
*HtmlContainerCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9036 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell
, SWIG_NewClientData(obj
));
9037 return SWIG_Py_Void();
9040 SWIGINTERN PyObject
*HtmlContainerCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9041 return SWIG_Python_InitShadowInstance(args
);
9044 SWIGINTERN PyObject
*_wrap_new_HtmlColourCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
= 0;
9046 wxColour
*arg1
= 0 ;
9047 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
9048 wxHtmlColourCell
*result
= 0 ;
9052 PyObject
* obj0
= 0 ;
9053 PyObject
* obj1
= 0 ;
9054 char * kwnames
[] = {
9055 (char *) "clr",(char *) "flags", NULL
9058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9061 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
9064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9065 if (!SWIG_IsOK(ecode2
)) {
9066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9068 arg2
= static_cast< int >(val2
);
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlColourCell
, SWIG_POINTER_NEW
| 0 );
9083 SWIGINTERN PyObject
*HtmlColourCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9086 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell
, SWIG_NewClientData(obj
));
9087 return SWIG_Py_Void();
9090 SWIGINTERN PyObject
*HtmlColourCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9091 return SWIG_Python_InitShadowInstance(args
);
9094 SWIGINTERN PyObject
*_wrap_new_HtmlFontCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
= 0;
9096 wxFont
*arg1
= (wxFont
*) 0 ;
9097 wxHtmlFontCell
*result
= 0 ;
9100 PyObject
* obj0
= 0 ;
9101 char * kwnames
[] = {
9102 (char *) "font", NULL
9105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) SWIG_fail
;
9106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
9107 if (!SWIG_IsOK(res1
)) {
9108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9110 arg1
= reinterpret_cast< wxFont
* >(argp1
);
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlFontCell
, SWIG_POINTER_NEW
| 0 );
9124 SWIGINTERN PyObject
*HtmlFontCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9127 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell
, SWIG_NewClientData(obj
));
9128 return SWIG_Py_Void();
9131 SWIGINTERN PyObject
*HtmlFontCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9132 return SWIG_Python_InitShadowInstance(args
);
9135 SWIGINTERN PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
= 0;
9137 wxWindow
*arg1
= (wxWindow
*) 0 ;
9138 int arg2
= (int) 0 ;
9139 wxHtmlWidgetCell
*result
= 0 ;
9144 PyObject
* obj0
= 0 ;
9145 PyObject
* obj1
= 0 ;
9146 char * kwnames
[] = {
9147 (char *) "wnd",(char *) "w", NULL
9150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9152 if (!SWIG_IsOK(res1
)) {
9153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9155 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9158 if (!SWIG_IsOK(ecode2
)) {
9159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9161 arg2
= static_cast< int >(val2
);
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_POINTER_NEW
| 0 );
9176 SWIGINTERN PyObject
*HtmlWidgetCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9179 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_NewClientData(obj
));
9180 return SWIG_Py_Void();
9183 SWIGINTERN PyObject
*HtmlWidgetCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9184 return SWIG_Python_InitShadowInstance(args
);
9187 SWIGINTERN PyObject
*_wrap_new_HtmlFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9188 PyObject
*resultobj
= 0;
9189 wxPyHtmlFilter
*result
= 0 ;
9191 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlFilter",0,0,0)) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_NEW
| 0 );
9205 SWIGINTERN PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
= 0;
9207 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
9208 PyObject
*arg2
= (PyObject
*) 0 ;
9209 PyObject
*arg3
= (PyObject
*) 0 ;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9214 PyObject
* obj2
= 0 ;
9215 char * kwnames
[] = {
9216 (char *) "self",(char *) "self",(char *) "_class", NULL
9219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
9221 if (!SWIG_IsOK(res1
)) {
9222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9224 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= SWIG_Py_Void();
9240 SWIGINTERN PyObject
*HtmlFilter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9243 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter
, SWIG_NewClientData(obj
));
9244 return SWIG_Py_Void();
9247 SWIGINTERN PyObject
*HtmlFilter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9248 return SWIG_Python_InitShadowInstance(args
);
9251 SWIGINTERN PyObject
*_wrap_delete_HtmlWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9252 PyObject
*resultobj
= 0;
9253 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9256 PyObject
*swig_obj
[1] ;
9258 if (!args
) SWIG_fail
;
9260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_POINTER_DISOWN
| 0 );
9261 if (!SWIG_IsOK(res1
)) {
9262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9264 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9272 resultobj
= SWIG_Py_Void();
9279 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
= 0;
9281 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9282 wxString
*arg2
= 0 ;
9285 bool temp2
= false ;
9286 PyObject
* obj0
= 0 ;
9287 PyObject
* obj1
= 0 ;
9288 char * kwnames
[] = {
9289 (char *) "self",(char *) "title", NULL
9292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9294 if (!SWIG_IsOK(res1
)) {
9295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9297 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9299 arg2
= wxString_in_helper(obj1
);
9300 if (arg2
== NULL
) SWIG_fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 (arg1
)->SetHTMLWindowTitle((wxString
const &)*arg2
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= SWIG_Py_Void();
9324 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
= 0;
9326 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9327 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9337 PyObject
* obj2
= 0 ;
9338 char * kwnames
[] = {
9339 (char *) "self",(char *) "cell",(char *) "pos", NULL
9342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames
,&obj0
,&obj1
,&obj2
)) 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_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9347 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
9349 if (!SWIG_IsOK(res2
)) {
9350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9352 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
9355 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= ((wxHtmlWindowInterface
const *)arg1
)->HTMLCoordsToWindow(arg2
,(wxPoint
const &)*arg3
);
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
9370 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9371 PyObject
*resultobj
= 0;
9372 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9373 wxWindow
*result
= 0 ;
9376 PyObject
*swig_obj
[1] ;
9378 if (!args
) SWIG_fail
;
9380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9381 if (!SWIG_IsOK(res1
)) {
9382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9384 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 result
= (wxWindow
*)(arg1
)->GetHTMLWindow();
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= wxPyMake_wxObject(result
, 0);
9400 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9401 PyObject
*resultobj
= 0;
9402 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9406 PyObject
*swig_obj
[1] ;
9408 if (!args
) SWIG_fail
;
9410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9411 if (!SWIG_IsOK(res1
)) {
9412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9414 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= ((wxHtmlWindowInterface
const *)arg1
)->GetHTMLBackgroundColour();
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
9428 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
*resultobj
= 0;
9430 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9431 wxColour
*arg2
= 0 ;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9437 char * kwnames
[] = {
9438 (char *) "self",(char *) "clr", NULL
9441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9443 if (!SWIG_IsOK(res1
)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9446 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9449 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 (arg1
)->SetHTMLBackgroundColour((wxColour
const &)*arg2
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= SWIG_Py_Void();
9464 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
= 0;
9466 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9467 wxBitmap
*arg2
= 0 ;
9472 PyObject
* obj0
= 0 ;
9473 PyObject
* obj1
= 0 ;
9474 char * kwnames
[] = {
9475 (char *) "self",(char *) "bmpBg", NULL
9478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9480 if (!SWIG_IsOK(res1
)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9483 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9485 if (!SWIG_IsOK(res2
)) {
9486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9491 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 (arg1
)->SetHTMLBackgroundImage((wxBitmap
const &)*arg2
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= SWIG_Py_Void();
9505 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
= 0;
9507 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9508 wxString
*arg2
= 0 ;
9511 bool temp2
= false ;
9512 PyObject
* obj0
= 0 ;
9513 PyObject
* obj1
= 0 ;
9514 char * kwnames
[] = {
9515 (char *) "self",(char *) "text", NULL
9518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9520 if (!SWIG_IsOK(res1
)) {
9521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9523 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9525 arg2
= wxString_in_helper(obj1
);
9526 if (arg2
== NULL
) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 (arg1
)->SetHTMLStatusText((wxString
const &)*arg2
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= SWIG_Py_Void();
9550 SWIGINTERN PyObject
*HtmlWindowInterface_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9553 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_NewClientData(obj
));
9554 return SWIG_Py_Void();
9557 SWIGINTERN PyObject
*_wrap_new_HtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
= 0;
9559 wxWindow
*arg1
= (wxWindow
*) 0 ;
9560 int arg2
= (int) -1 ;
9561 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9562 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9563 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9564 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9565 int arg5
= (int) wxHW_DEFAULT_STYLE
;
9566 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
9567 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9568 wxPyHtmlWindow
*result
= 0 ;
9577 bool temp6
= false ;
9578 PyObject
* obj0
= 0 ;
9579 PyObject
* obj1
= 0 ;
9580 PyObject
* obj2
= 0 ;
9581 PyObject
* obj3
= 0 ;
9582 PyObject
* obj4
= 0 ;
9583 PyObject
* obj5
= 0 ;
9584 char * kwnames
[] = {
9585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9590 if (!SWIG_IsOK(res1
)) {
9591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9593 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9596 if (!SWIG_IsOK(ecode2
)) {
9597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9599 arg2
= static_cast< int >(val2
);
9604 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9610 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9614 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9615 if (!SWIG_IsOK(ecode5
)) {
9616 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9618 arg5
= static_cast< int >(val5
);
9622 arg6
= wxString_in_helper(obj5
);
9623 if (arg6
== NULL
) SWIG_fail
;
9628 if (!wxPyCheckForApp()) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_NEW
| 0 );
9649 SWIGINTERN PyObject
*_wrap_new_PreHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9650 PyObject
*resultobj
= 0;
9651 wxPyHtmlWindow
*result
= 0 ;
9653 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlWindow",0,0,0)) SWIG_fail
;
9655 if (!wxPyCheckForApp()) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_OWN
| 0 );
9668 SWIGINTERN PyObject
*_wrap_HtmlWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
= 0;
9670 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9671 wxWindow
*arg2
= (wxWindow
*) 0 ;
9672 int arg3
= (int) -1 ;
9673 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9674 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9675 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9676 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9677 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
9678 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
9679 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9691 bool temp7
= false ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 PyObject
* obj2
= 0 ;
9695 PyObject
* obj3
= 0 ;
9696 PyObject
* obj4
= 0 ;
9697 PyObject
* obj5
= 0 ;
9698 PyObject
* obj6
= 0 ;
9699 char * kwnames
[] = {
9700 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9705 if (!SWIG_IsOK(res1
)) {
9706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9708 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9710 if (!SWIG_IsOK(res2
)) {
9711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9713 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9716 if (!SWIG_IsOK(ecode3
)) {
9717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9719 arg3
= static_cast< int >(val3
);
9724 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9730 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9734 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9735 if (!SWIG_IsOK(ecode6
)) {
9736 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9738 arg6
= static_cast< int >(val6
);
9742 arg7
= wxString_in_helper(obj6
);
9743 if (arg7
== NULL
) SWIG_fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9770 SWIGINTERN PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
= 0;
9772 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9773 PyObject
*arg2
= (PyObject
*) 0 ;
9774 PyObject
*arg3
= (PyObject
*) 0 ;
9777 PyObject
* obj0
= 0 ;
9778 PyObject
* obj1
= 0 ;
9779 PyObject
* obj2
= 0 ;
9780 char * kwnames
[] = {
9781 (char *) "self",(char *) "self",(char *) "_class", NULL
9784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9786 if (!SWIG_IsOK(res1
)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9789 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_Py_Void();
9805 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
= 0;
9807 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9808 wxString
*arg2
= 0 ;
9812 bool temp2
= false ;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9815 char * kwnames
[] = {
9816 (char *) "self",(char *) "source", NULL
9819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9821 if (!SWIG_IsOK(res1
)) {
9822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9824 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9826 arg2
= wxString_in_helper(obj1
);
9827 if (arg2
== NULL
) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9853 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
= 0;
9855 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9856 wxString
*arg2
= 0 ;
9860 bool temp2
= false ;
9861 PyObject
* obj0
= 0 ;
9862 PyObject
* obj1
= 0 ;
9863 char * kwnames
[] = {
9864 (char *) "self",(char *) "location", NULL
9867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9869 if (!SWIG_IsOK(res1
)) {
9870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9872 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9874 arg2
= wxString_in_helper(obj1
);
9875 if (arg2
== NULL
) SWIG_fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9901 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
= 0;
9903 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9904 wxString
*arg2
= 0 ;
9908 bool temp2
= false ;
9909 PyObject
* obj0
= 0 ;
9910 PyObject
* obj1
= 0 ;
9911 char * kwnames
[] = {
9912 (char *) "self",(char *) "filename", NULL
9915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9917 if (!SWIG_IsOK(res1
)) {
9918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9920 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9922 arg2
= wxString_in_helper(obj1
);
9923 if (arg2
== NULL
) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9949 SWIGINTERN PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
= 0;
9951 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9952 wxString
*arg2
= 0 ;
9956 bool temp2
= false ;
9957 PyObject
* obj0
= 0 ;
9958 PyObject
* obj1
= 0 ;
9959 char * kwnames
[] = {
9960 (char *) "self",(char *) "source", NULL
9963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9965 if (!SWIG_IsOK(res1
)) {
9966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9968 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9970 arg2
= wxString_in_helper(obj1
);
9971 if (arg2
== NULL
) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9997 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9998 PyObject
*resultobj
= 0;
9999 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10003 PyObject
*swig_obj
[1] ;
10005 if (!args
) SWIG_fail
;
10006 swig_obj
[0] = args
;
10007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10008 if (!SWIG_IsOK(res1
)) {
10009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10011 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 result
= (arg1
)->GetOpenedPage();
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10031 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10032 PyObject
*resultobj
= 0;
10033 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10037 PyObject
*swig_obj
[1] ;
10039 if (!args
) SWIG_fail
;
10040 swig_obj
[0] = args
;
10041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10042 if (!SWIG_IsOK(res1
)) {
10043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10045 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= (arg1
)->GetOpenedAnchor();
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10065 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10066 PyObject
*resultobj
= 0;
10067 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10071 PyObject
*swig_obj
[1] ;
10073 if (!args
) SWIG_fail
;
10074 swig_obj
[0] = args
;
10075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10076 if (!SWIG_IsOK(res1
)) {
10077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10079 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= (arg1
)->GetOpenedPageTitle();
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10099 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
= 0;
10101 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10102 wxFrame
*arg2
= (wxFrame
*) 0 ;
10103 wxString
*arg3
= 0 ;
10108 bool temp3
= false ;
10109 PyObject
* obj0
= 0 ;
10110 PyObject
* obj1
= 0 ;
10111 PyObject
* obj2
= 0 ;
10112 char * kwnames
[] = {
10113 (char *) "self",(char *) "frame",(char *) "format", NULL
10116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10118 if (!SWIG_IsOK(res1
)) {
10119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10121 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
10123 if (!SWIG_IsOK(res2
)) {
10124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10126 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
10128 arg3
= wxString_in_helper(obj2
);
10129 if (arg3
== NULL
) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= SWIG_Py_Void();
10153 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10154 PyObject
*resultobj
= 0;
10155 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10156 wxFrame
*result
= 0 ;
10159 PyObject
*swig_obj
[1] ;
10161 if (!args
) SWIG_fail
;
10162 swig_obj
[0] = args
;
10163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10164 if (!SWIG_IsOK(res1
)) {
10165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10167 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= wxPyMake_wxObject(result
, 0);
10183 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
= 0;
10185 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 PyObject
* obj1
= 0 ;
10193 char * kwnames
[] = {
10194 (char *) "self",(char *) "bar", NULL
10197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10199 if (!SWIG_IsOK(res1
)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10202 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10204 if (!SWIG_IsOK(ecode2
)) {
10205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10207 arg2
= static_cast< int >(val2
);
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 (arg1
)->SetRelatedStatusBar(arg2
);
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= SWIG_Py_Void();
10221 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
= 0;
10223 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10226 PyObject
*arg4
= (PyObject
*) NULL
;
10229 PyObject
* obj0
= 0 ;
10230 PyObject
* obj1
= 0 ;
10231 PyObject
* obj2
= 0 ;
10232 PyObject
* obj3
= 0 ;
10233 char * kwnames
[] = {
10234 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10239 if (!SWIG_IsOK(res1
)) {
10240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10242 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10244 wxString
* sptr
= wxString_in_helper(obj1
);
10245 if (sptr
== NULL
) SWIG_fail
;
10250 wxString
* sptr
= wxString_in_helper(obj2
);
10251 if (sptr
== NULL
) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 resultobj
= SWIG_Py_Void();
10271 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
= 0;
10273 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10274 int arg2
= (int) -1 ;
10275 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10276 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10277 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10278 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10283 bool temp3
= false ;
10284 bool temp4
= false ;
10285 PyObject
* obj0
= 0 ;
10286 PyObject
* obj1
= 0 ;
10287 PyObject
* obj2
= 0 ;
10288 PyObject
* obj3
= 0 ;
10289 char * kwnames
[] = {
10290 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10295 if (!SWIG_IsOK(res1
)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10298 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10301 if (!SWIG_IsOK(ecode2
)) {
10302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10304 arg2
= static_cast< int >(val2
);
10308 arg3
= wxString_in_helper(obj2
);
10309 if (arg3
== NULL
) SWIG_fail
;
10315 arg4
= wxString_in_helper(obj3
);
10316 if (arg4
== NULL
) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_Py_Void();
10349 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
= 0;
10351 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10357 PyObject
* obj0
= 0 ;
10358 PyObject
* obj1
= 0 ;
10359 char * kwnames
[] = {
10360 (char *) "self",(char *) "b", NULL
10363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10365 if (!SWIG_IsOK(res1
)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10368 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10370 if (!SWIG_IsOK(ecode2
)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10373 arg2
= static_cast< int >(val2
);
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 (arg1
)->SetBorders(arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 resultobj
= SWIG_Py_Void();
10387 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
= 0;
10389 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10390 wxBitmap
*arg2
= 0 ;
10395 PyObject
* obj0
= 0 ;
10396 PyObject
* obj1
= 0 ;
10397 char * kwnames
[] = {
10398 (char *) "self",(char *) "bmpBg", NULL
10401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10403 if (!SWIG_IsOK(res1
)) {
10404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10406 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10407 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10408 if (!SWIG_IsOK(res2
)) {
10409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10414 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 resultobj
= SWIG_Py_Void();
10428 SWIGINTERN PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
= 0;
10430 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10431 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10432 wxString arg3
= (wxString
) wxPyEmptyString
;
10437 PyObject
* obj0
= 0 ;
10438 PyObject
* obj1
= 0 ;
10439 PyObject
* obj2
= 0 ;
10440 char * kwnames
[] = {
10441 (char *) "self",(char *) "cfg",(char *) "path", NULL
10444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10446 if (!SWIG_IsOK(res1
)) {
10447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10449 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10451 if (!SWIG_IsOK(res2
)) {
10452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10454 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10457 wxString
* sptr
= wxString_in_helper(obj2
);
10458 if (sptr
== NULL
) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 (arg1
)->ReadCustomization(arg2
,arg3
);
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= SWIG_Py_Void();
10476 SWIGINTERN PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
= 0;
10478 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10479 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10480 wxString arg3
= (wxString
) wxPyEmptyString
;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10487 PyObject
* obj2
= 0 ;
10488 char * kwnames
[] = {
10489 (char *) "self",(char *) "cfg",(char *) "path", NULL
10492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10494 if (!SWIG_IsOK(res1
)) {
10495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10497 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10499 if (!SWIG_IsOK(res2
)) {
10500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10502 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10505 wxString
* sptr
= wxString_in_helper(obj2
);
10506 if (sptr
== NULL
) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 (arg1
)->WriteCustomization(arg2
,arg3
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_Py_Void();
10524 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10525 PyObject
*resultobj
= 0;
10526 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10530 PyObject
*swig_obj
[1] ;
10532 if (!args
) SWIG_fail
;
10533 swig_obj
[0] = args
;
10534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10535 if (!SWIG_IsOK(res1
)) {
10536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10538 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 result
= (bool)(arg1
)->HistoryBack();
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10554 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10555 PyObject
*resultobj
= 0;
10556 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10560 PyObject
*swig_obj
[1] ;
10562 if (!args
) SWIG_fail
;
10563 swig_obj
[0] = args
;
10564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10565 if (!SWIG_IsOK(res1
)) {
10566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10568 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (bool)(arg1
)->HistoryForward();
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10584 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10585 PyObject
*resultobj
= 0;
10586 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10590 PyObject
*swig_obj
[1] ;
10592 if (!args
) SWIG_fail
;
10593 swig_obj
[0] = args
;
10594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10595 if (!SWIG_IsOK(res1
)) {
10596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10598 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (bool)(arg1
)->HistoryCanBack();
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10614 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10615 PyObject
*resultobj
= 0;
10616 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10620 PyObject
*swig_obj
[1] ;
10622 if (!args
) SWIG_fail
;
10623 swig_obj
[0] = args
;
10624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10625 if (!SWIG_IsOK(res1
)) {
10626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10628 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (bool)(arg1
)->HistoryCanForward();
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10644 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10645 PyObject
*resultobj
= 0;
10646 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10649 PyObject
*swig_obj
[1] ;
10651 if (!args
) SWIG_fail
;
10652 swig_obj
[0] = args
;
10653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10654 if (!SWIG_IsOK(res1
)) {
10655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10657 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 (arg1
)->HistoryClear();
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= SWIG_Py_Void();
10671 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10672 PyObject
*resultobj
= 0;
10673 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10674 wxHtmlContainerCell
*result
= 0 ;
10677 PyObject
*swig_obj
[1] ;
10679 if (!args
) SWIG_fail
;
10680 swig_obj
[0] = args
;
10681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10682 if (!SWIG_IsOK(res1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10685 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
10699 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10700 PyObject
*resultobj
= 0;
10701 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10702 wxHtmlWinParser
*result
= 0 ;
10705 PyObject
*swig_obj
[1] ;
10707 if (!args
) SWIG_fail
;
10708 swig_obj
[0] = args
;
10709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10710 if (!SWIG_IsOK(res1
)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10713 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
10727 SWIGINTERN PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
= 0;
10729 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10730 wxString
*arg2
= 0 ;
10734 bool temp2
= false ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 char * kwnames
[] = {
10738 (char *) "self",(char *) "anchor", NULL
10741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10743 if (!SWIG_IsOK(res1
)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10746 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10748 arg2
= wxString_in_helper(obj1
);
10749 if (arg2
== NULL
) SWIG_fail
;
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10775 SWIGINTERN PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
= 0;
10777 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10778 wxString
*arg2
= 0 ;
10782 bool temp2
= false ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 char * kwnames
[] = {
10786 (char *) "self",(char *) "anchor", NULL
10789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10791 if (!SWIG_IsOK(res1
)) {
10792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10794 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10796 arg2
= wxString_in_helper(obj1
);
10797 if (arg2
== NULL
) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10823 SWIGINTERN PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
= 0;
10825 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
10828 PyObject
* obj0
= 0 ;
10829 char * kwnames
[] = {
10830 (char *) "filter", NULL
10833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
10834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
10835 if (!SWIG_IsOK(res1
)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10838 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 wxPyHtmlWindow::AddFilter(arg1
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= SWIG_Py_Void();
10852 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
= 0;
10854 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10855 wxPoint
*arg2
= 0 ;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 char * kwnames
[] = {
10862 (char *) "self",(char *) "pos", NULL
10865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10867 if (!SWIG_IsOK(res1
)) {
10868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10870 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10873 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
10878 wxPyEndAllowThreads(__tstate
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= SWIG_Py_Void();
10888 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
= 0;
10890 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10891 wxPoint
*arg2
= 0 ;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 char * kwnames
[] = {
10898 (char *) "self",(char *) "pos", NULL
10901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10903 if (!SWIG_IsOK(res1
)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10906 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10909 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 resultobj
= SWIG_Py_Void();
10924 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10925 PyObject
*resultobj
= 0;
10926 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10929 PyObject
*swig_obj
[1] ;
10931 if (!args
) SWIG_fail
;
10932 swig_obj
[0] = args
;
10933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10934 if (!SWIG_IsOK(res1
)) {
10935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10937 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 (arg1
)->SelectAll();
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= SWIG_Py_Void();
10951 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10952 PyObject
*resultobj
= 0;
10953 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10957 PyObject
*swig_obj
[1] ;
10959 if (!args
) SWIG_fail
;
10960 swig_obj
[0] = args
;
10961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10962 if (!SWIG_IsOK(res1
)) {
10963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10965 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (arg1
)->SelectionToText();
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10985 SWIGINTERN PyObject
*_wrap_HtmlWindow_ToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10986 PyObject
*resultobj
= 0;
10987 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10991 PyObject
*swig_obj
[1] ;
10993 if (!args
) SWIG_fail
;
10994 swig_obj
[0] = args
;
10995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10996 if (!SWIG_IsOK(res1
)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10999 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 result
= (arg1
)->ToText();
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11019 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
= 0;
11021 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11022 wxHtmlLinkInfo
*arg2
= 0 ;
11027 PyObject
* obj0
= 0 ;
11028 PyObject
* obj1
= 0 ;
11029 char * kwnames
[] = {
11030 (char *) "self",(char *) "link", NULL
11033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11035 if (!SWIG_IsOK(res1
)) {
11036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11038 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
11040 if (!SWIG_IsOK(res2
)) {
11041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11046 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 (arg1
)->OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 resultobj
= SWIG_Py_Void();
11060 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnSetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
= 0;
11062 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11063 wxString
*arg2
= 0 ;
11066 bool temp2
= false ;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 char * kwnames
[] = {
11070 (char *) "self",(char *) "title", NULL
11073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnSetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11075 if (!SWIG_IsOK(res1
)) {
11076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11078 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11080 arg2
= wxString_in_helper(obj1
);
11081 if (arg2
== NULL
) SWIG_fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 (arg1
)->OnSetTitle((wxString
const &)*arg2
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= SWIG_Py_Void();
11105 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellMouseHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
= 0;
11107 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11108 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11119 PyObject
* obj0
= 0 ;
11120 PyObject
* obj1
= 0 ;
11121 PyObject
* obj2
= 0 ;
11122 PyObject
* obj3
= 0 ;
11123 char * kwnames
[] = {
11124 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11129 if (!SWIG_IsOK(res1
)) {
11130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11132 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11133 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11134 if (!SWIG_IsOK(res2
)) {
11135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11137 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11139 if (!SWIG_IsOK(ecode3
)) {
11140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11142 arg3
= static_cast< int >(val3
);
11143 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11144 if (!SWIG_IsOK(ecode4
)) {
11145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11147 arg4
= static_cast< int >(val4
);
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 (arg1
)->OnCellMouseHover(arg2
,arg3
,arg4
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= SWIG_Py_Void();
11161 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
= 0;
11163 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11164 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11167 wxMouseEvent
*arg5
= 0 ;
11179 PyObject
* obj0
= 0 ;
11180 PyObject
* obj1
= 0 ;
11181 PyObject
* obj2
= 0 ;
11182 PyObject
* obj3
= 0 ;
11183 PyObject
* obj4
= 0 ;
11184 char * kwnames
[] = {
11185 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11190 if (!SWIG_IsOK(res1
)) {
11191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11193 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11195 if (!SWIG_IsOK(res2
)) {
11196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11198 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11200 if (!SWIG_IsOK(ecode3
)) {
11201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11203 arg3
= static_cast< int >(val3
);
11204 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11205 if (!SWIG_IsOK(ecode4
)) {
11206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11208 arg4
= static_cast< int >(val4
);
11209 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
11210 if (!SWIG_IsOK(res5
)) {
11211 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11216 arg5
= reinterpret_cast< wxMouseEvent
* >(argp5
);
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (bool)(arg1
)->OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11232 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnOpeningURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
= 0;
11234 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11235 wxHtmlURLType arg2
;
11236 wxString
*arg3
= 0 ;
11237 wxString
*arg4
= (wxString
*) 0 ;
11238 wxHtmlOpeningStatus result
;
11243 bool temp3
= false ;
11244 bool temp4
= false ;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 PyObject
* obj2
= 0 ;
11248 PyObject
* obj3
= 0 ;
11249 char * kwnames
[] = {
11250 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11255 if (!SWIG_IsOK(res1
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11258 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11260 if (!SWIG_IsOK(ecode2
)) {
11261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11263 arg2
= static_cast< wxHtmlURLType
>(val2
);
11265 arg3
= wxString_in_helper(obj2
);
11266 if (arg3
== NULL
) SWIG_fail
;
11270 arg4
= wxString_in_helper(obj3
);
11271 if (arg4
== NULL
) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (wxHtmlOpeningStatus
)((wxPyHtmlWindow
const *)arg1
)->OnOpeningURL(arg2
,(wxString
const &)*arg3
,arg4
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_From_int(static_cast< int >(result
));
11303 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
= 0;
11305 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11306 SwigValueWrapper
<wxVisualAttributes
> result
;
11309 PyObject
* obj0
= 0 ;
11310 char * kwnames
[] = {
11311 (char *) "variant", NULL
11314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
11316 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11317 if (!SWIG_IsOK(ecode1
)) {
11318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11320 arg1
= static_cast< wxWindowVariant
>(val1
);
11323 if (!wxPyCheckForApp()) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 result
= wxPyHtmlWindow::GetClassDefaultAttributes(arg1
);
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
11336 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
= 0;
11338 wxPyHtmlWindow::HTMLCursor arg1
;
11342 PyObject
* obj0
= 0 ;
11343 char * kwnames
[] = {
11344 (char *) "type", NULL
11347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames
,&obj0
)) SWIG_fail
;
11348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11349 if (!SWIG_IsOK(ecode1
)) {
11350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11352 arg1
= static_cast< wxPyHtmlWindow::HTMLCursor
>(val1
);
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 result
= wxPyHtmlWindow::GetDefaultHTMLCursor(arg1
);
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
11366 SWIGINTERN PyObject
*HtmlWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11369 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow
, SWIG_NewClientData(obj
));
11370 return SWIG_Py_Void();
11373 SWIGINTERN PyObject
*HtmlWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11374 return SWIG_Python_InitShadowInstance(args
);
11377 SWIGINTERN PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11378 PyObject
*resultobj
= 0;
11379 wxHtmlDCRenderer
*result
= 0 ;
11381 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlDCRenderer",0,0,0)) SWIG_fail
;
11383 if (!wxPyCheckForApp()) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_NEW
| 0 );
11396 SWIGINTERN PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11397 PyObject
*resultobj
= 0;
11398 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11401 PyObject
*swig_obj
[1] ;
11403 if (!args
) SWIG_fail
;
11404 swig_obj
[0] = args
;
11405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_DISOWN
| 0 );
11406 if (!SWIG_IsOK(res1
)) {
11407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11409 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= SWIG_Py_Void();
11424 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
= 0;
11426 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11427 wxDC
*arg2
= (wxDC
*) 0 ;
11435 PyObject
* obj0
= 0 ;
11436 PyObject
* obj1
= 0 ;
11437 PyObject
* obj2
= 0 ;
11438 char * kwnames
[] = {
11439 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11444 if (!SWIG_IsOK(res1
)) {
11445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11447 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11448 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
11449 if (!SWIG_IsOK(res2
)) {
11450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11452 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11454 if (!SWIG_IsOK(ecode3
)) {
11455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11457 arg3
= static_cast< int >(val3
);
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 (arg1
)->SetDC(arg2
,arg3
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_Py_Void();
11471 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
= 0;
11473 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 PyObject
* obj2
= 0 ;
11485 char * kwnames
[] = {
11486 (char *) "self",(char *) "width",(char *) "height", NULL
11489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11491 if (!SWIG_IsOK(res1
)) {
11492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11494 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11496 if (!SWIG_IsOK(ecode2
)) {
11497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11499 arg2
= static_cast< int >(val2
);
11500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11501 if (!SWIG_IsOK(ecode3
)) {
11502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11504 arg3
= static_cast< int >(val3
);
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 (arg1
)->SetSize(arg2
,arg3
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= SWIG_Py_Void();
11518 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
= 0;
11520 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11521 wxString
*arg2
= 0 ;
11522 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11523 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11524 bool arg4
= (bool) true ;
11527 bool temp2
= false ;
11528 bool temp3
= false ;
11531 PyObject
* obj0
= 0 ;
11532 PyObject
* obj1
= 0 ;
11533 PyObject
* obj2
= 0 ;
11534 PyObject
* obj3
= 0 ;
11535 char * kwnames
[] = {
11536 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11544 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11546 arg2
= wxString_in_helper(obj1
);
11547 if (arg2
== NULL
) SWIG_fail
;
11552 arg3
= wxString_in_helper(obj2
);
11553 if (arg3
== NULL
) SWIG_fail
;
11558 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11559 if (!SWIG_IsOK(ecode4
)) {
11560 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11562 arg4
= static_cast< bool >(val4
);
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11570 resultobj
= SWIG_Py_Void();
11593 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
= 0;
11595 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11598 PyObject
*arg4
= (PyObject
*) NULL
;
11601 PyObject
* obj0
= 0 ;
11602 PyObject
* obj1
= 0 ;
11603 PyObject
* obj2
= 0 ;
11604 PyObject
* obj3
= 0 ;
11605 char * kwnames
[] = {
11606 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11611 if (!SWIG_IsOK(res1
)) {
11612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11614 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11616 wxString
* sptr
= wxString_in_helper(obj1
);
11617 if (sptr
== NULL
) SWIG_fail
;
11622 wxString
* sptr
= wxString_in_helper(obj2
);
11623 if (sptr
== NULL
) SWIG_fail
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11636 resultobj
= SWIG_Py_Void();
11643 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
= 0;
11645 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11646 int arg2
= (int) -1 ;
11647 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11648 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11649 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11650 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11655 bool temp3
= false ;
11656 bool temp4
= false ;
11657 PyObject
* obj0
= 0 ;
11658 PyObject
* obj1
= 0 ;
11659 PyObject
* obj2
= 0 ;
11660 PyObject
* obj3
= 0 ;
11661 char * kwnames
[] = {
11662 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11667 if (!SWIG_IsOK(res1
)) {
11668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11670 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11673 if (!SWIG_IsOK(ecode2
)) {
11674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11676 arg2
= static_cast< int >(val2
);
11680 arg3
= wxString_in_helper(obj2
);
11681 if (arg3
== NULL
) SWIG_fail
;
11687 arg4
= wxString_in_helper(obj3
);
11688 if (arg4
== NULL
) SWIG_fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_Py_Void();
11721 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
= 0;
11723 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11726 wxArrayInt
*arg4
= 0 ;
11727 int arg5
= (int) 0 ;
11728 int arg6
= (int) FALSE
;
11729 int arg7
= (int) INT_MAX
;
11737 bool temp4
= false ;
11744 PyObject
* obj0
= 0 ;
11745 PyObject
* obj1
= 0 ;
11746 PyObject
* obj2
= 0 ;
11747 PyObject
* obj3
= 0 ;
11748 PyObject
* obj4
= 0 ;
11749 PyObject
* obj5
= 0 ;
11750 PyObject
* obj6
= 0 ;
11751 char * kwnames
[] = {
11752 (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
11755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11757 if (!SWIG_IsOK(res1
)) {
11758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11760 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11762 if (!SWIG_IsOK(ecode2
)) {
11763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11765 arg2
= static_cast< int >(val2
);
11766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11767 if (!SWIG_IsOK(ecode3
)) {
11768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11770 arg3
= static_cast< int >(val3
);
11772 if (! PySequence_Check(obj3
)) {
11773 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11776 arg4
= new wxArrayInt
;
11778 int i
, len
=PySequence_Length(obj3
);
11779 for (i
=0; i
<len
; i
++) {
11780 PyObject
* item
= PySequence_GetItem(obj3
, i
);
11781 PyObject
* number
= PyNumber_Int(item
);
11782 arg4
->Add(PyInt_AS_LONG(number
));
11788 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11789 if (!SWIG_IsOK(ecode5
)) {
11790 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11792 arg5
= static_cast< int >(val5
);
11795 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11796 if (!SWIG_IsOK(ecode6
)) {
11797 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11799 arg6
= static_cast< int >(val6
);
11802 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11803 if (!SWIG_IsOK(ecode7
)) {
11804 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
11806 arg7
= static_cast< int >(val7
);
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (int)(arg1
)->Render(arg2
,arg3
,*arg4
,arg5
,arg6
,arg7
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_From_int(static_cast< int >(result
));
11816 if (temp4
) delete arg4
;
11821 if (temp4
) delete arg4
;
11827 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11828 PyObject
*resultobj
= 0;
11829 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11833 PyObject
*swig_obj
[1] ;
11835 if (!args
) SWIG_fail
;
11836 swig_obj
[0] = args
;
11837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11838 if (!SWIG_IsOK(res1
)) {
11839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11841 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 result
= (int)(arg1
)->GetTotalHeight();
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= SWIG_From_int(static_cast< int >(result
));
11855 SWIGINTERN PyObject
*HtmlDCRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11858 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_NewClientData(obj
));
11859 return SWIG_Py_Void();
11862 SWIGINTERN PyObject
*HtmlDCRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11863 return SWIG_Python_InitShadowInstance(args
);
11866 SWIGINTERN PyObject
*_wrap_new_HtmlPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
= 0;
11868 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
11869 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11870 wxHtmlPrintout
*result
= 0 ;
11871 bool temp1
= false ;
11872 PyObject
* obj0
= 0 ;
11873 char * kwnames
[] = {
11874 (char *) "title", NULL
11877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) SWIG_fail
;
11880 arg1
= wxString_in_helper(obj0
);
11881 if (arg1
== NULL
) SWIG_fail
;
11886 if (!wxPyCheckForApp()) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_NEW
| 0 );
11907 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
= 0;
11909 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11910 wxString
*arg2
= 0 ;
11911 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11912 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11913 bool arg4
= (bool) true ;
11916 bool temp2
= false ;
11917 bool temp3
= false ;
11920 PyObject
* obj0
= 0 ;
11921 PyObject
* obj1
= 0 ;
11922 PyObject
* obj2
= 0 ;
11923 PyObject
* obj3
= 0 ;
11924 char * kwnames
[] = {
11925 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11930 if (!SWIG_IsOK(res1
)) {
11931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11933 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11935 arg2
= wxString_in_helper(obj1
);
11936 if (arg2
== NULL
) SWIG_fail
;
11941 arg3
= wxString_in_helper(obj2
);
11942 if (arg3
== NULL
) SWIG_fail
;
11947 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11948 if (!SWIG_IsOK(ecode4
)) {
11949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11951 arg4
= static_cast< bool >(val4
);
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11959 resultobj
= SWIG_Py_Void();
11982 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
= 0;
11984 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11985 wxString
*arg2
= 0 ;
11988 bool temp2
= false ;
11989 PyObject
* obj0
= 0 ;
11990 PyObject
* obj1
= 0 ;
11991 char * kwnames
[] = {
11992 (char *) "self",(char *) "htmlfile", NULL
11995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11997 if (!SWIG_IsOK(res1
)) {
11998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12000 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12002 arg2
= wxString_in_helper(obj1
);
12003 if (arg2
== NULL
) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_Py_Void();
12027 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
= 0;
12029 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12030 wxString
*arg2
= 0 ;
12031 int arg3
= (int) wxPAGE_ALL
;
12034 bool temp2
= false ;
12037 PyObject
* obj0
= 0 ;
12038 PyObject
* obj1
= 0 ;
12039 PyObject
* obj2
= 0 ;
12040 char * kwnames
[] = {
12041 (char *) "self",(char *) "header",(char *) "pg", NULL
12044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12046 if (!SWIG_IsOK(res1
)) {
12047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12049 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12051 arg2
= wxString_in_helper(obj1
);
12052 if (arg2
== NULL
) SWIG_fail
;
12056 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12057 if (!SWIG_IsOK(ecode3
)) {
12058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12060 arg3
= static_cast< int >(val3
);
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= SWIG_Py_Void();
12083 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
= 0;
12085 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12086 wxString
*arg2
= 0 ;
12087 int arg3
= (int) wxPAGE_ALL
;
12090 bool temp2
= false ;
12093 PyObject
* obj0
= 0 ;
12094 PyObject
* obj1
= 0 ;
12095 PyObject
* obj2
= 0 ;
12096 char * kwnames
[] = {
12097 (char *) "self",(char *) "footer",(char *) "pg", NULL
12100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12102 if (!SWIG_IsOK(res1
)) {
12103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12105 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12107 arg2
= wxString_in_helper(obj1
);
12108 if (arg2
== NULL
) SWIG_fail
;
12112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12113 if (!SWIG_IsOK(ecode3
)) {
12114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12116 arg3
= static_cast< int >(val3
);
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= SWIG_Py_Void();
12139 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
= 0;
12141 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12144 PyObject
*arg4
= (PyObject
*) NULL
;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 PyObject
* obj2
= 0 ;
12150 PyObject
* obj3
= 0 ;
12151 char * kwnames
[] = {
12152 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12157 if (!SWIG_IsOK(res1
)) {
12158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12160 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12162 wxString
* sptr
= wxString_in_helper(obj1
);
12163 if (sptr
== NULL
) SWIG_fail
;
12168 wxString
* sptr
= wxString_in_helper(obj2
);
12169 if (sptr
== NULL
) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= SWIG_Py_Void();
12189 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
= 0;
12191 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12192 int arg2
= (int) -1 ;
12193 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12194 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12195 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12196 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12201 bool temp3
= false ;
12202 bool temp4
= false ;
12203 PyObject
* obj0
= 0 ;
12204 PyObject
* obj1
= 0 ;
12205 PyObject
* obj2
= 0 ;
12206 PyObject
* obj3
= 0 ;
12207 char * kwnames
[] = {
12208 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12216 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12219 if (!SWIG_IsOK(ecode2
)) {
12220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12222 arg2
= static_cast< int >(val2
);
12226 arg3
= wxString_in_helper(obj2
);
12227 if (arg3
== NULL
) SWIG_fail
;
12233 arg4
= wxString_in_helper(obj3
);
12234 if (arg4
== NULL
) SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 resultobj
= SWIG_Py_Void();
12267 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
= 0;
12269 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12270 float arg2
= (float) 25.2 ;
12271 float arg3
= (float) 25.2 ;
12272 float arg4
= (float) 25.2 ;
12273 float arg5
= (float) 25.2 ;
12274 float arg6
= (float) 5 ;
12287 PyObject
* obj0
= 0 ;
12288 PyObject
* obj1
= 0 ;
12289 PyObject
* obj2
= 0 ;
12290 PyObject
* obj3
= 0 ;
12291 PyObject
* obj4
= 0 ;
12292 PyObject
* obj5
= 0 ;
12293 char * kwnames
[] = {
12294 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12299 if (!SWIG_IsOK(res1
)) {
12300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12302 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12304 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
12305 if (!SWIG_IsOK(ecode2
)) {
12306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12308 arg2
= static_cast< float >(val2
);
12311 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
12312 if (!SWIG_IsOK(ecode3
)) {
12313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12315 arg3
= static_cast< float >(val3
);
12318 ecode4
= SWIG_AsVal_float(obj3
, &val4
);
12319 if (!SWIG_IsOK(ecode4
)) {
12320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12322 arg4
= static_cast< float >(val4
);
12325 ecode5
= SWIG_AsVal_float(obj4
, &val5
);
12326 if (!SWIG_IsOK(ecode5
)) {
12327 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12329 arg5
= static_cast< float >(val5
);
12332 ecode6
= SWIG_AsVal_float(obj5
, &val6
);
12333 if (!SWIG_IsOK(ecode6
)) {
12334 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12336 arg6
= static_cast< float >(val6
);
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= SWIG_Py_Void();
12351 SWIGINTERN PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
= 0;
12353 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 char * kwnames
[] = {
12358 (char *) "filter", NULL
12361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
12362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlFilter
, 0 | 0 );
12363 if (!SWIG_IsOK(res1
)) {
12364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12366 arg1
= reinterpret_cast< wxHtmlFilter
* >(argp1
);
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 wxHtmlPrintout::AddFilter(arg1
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= SWIG_Py_Void();
12380 SWIGINTERN PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12381 PyObject
*resultobj
= 0;
12383 if (!SWIG_Python_UnpackTuple(args
,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 wxHtmlPrintout::CleanUpStatics();
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 resultobj
= SWIG_Py_Void();
12397 SWIGINTERN PyObject
*HtmlPrintout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12400 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout
, SWIG_NewClientData(obj
));
12401 return SWIG_Py_Void();
12404 SWIGINTERN PyObject
*HtmlPrintout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12405 return SWIG_Python_InitShadowInstance(args
);
12408 SWIGINTERN PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
= 0;
12410 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
12411 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12412 wxWindow
*arg2
= (wxWindow
*) NULL
;
12413 wxHtmlEasyPrinting
*result
= 0 ;
12414 bool temp1
= false ;
12417 PyObject
* obj0
= 0 ;
12418 PyObject
* obj1
= 0 ;
12419 char * kwnames
[] = {
12420 (char *) "name",(char *) "parentWindow", NULL
12423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12426 arg1
= wxString_in_helper(obj0
);
12427 if (arg1
== NULL
) SWIG_fail
;
12432 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12433 if (!SWIG_IsOK(res2
)) {
12434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12436 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12439 if (!wxPyCheckForApp()) SWIG_fail
;
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_NEW
| 0 );
12460 SWIGINTERN PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12461 PyObject
*resultobj
= 0;
12462 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12465 PyObject
*swig_obj
[1] ;
12467 if (!args
) SWIG_fail
;
12468 swig_obj
[0] = args
;
12469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_DISOWN
| 0 );
12470 if (!SWIG_IsOK(res1
)) {
12471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12473 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= SWIG_Py_Void();
12488 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
= 0;
12490 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12491 wxString
*arg2
= 0 ;
12494 bool temp2
= false ;
12495 PyObject
* obj0
= 0 ;
12496 PyObject
* obj1
= 0 ;
12497 char * kwnames
[] = {
12498 (char *) "self",(char *) "htmlfile", NULL
12501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12503 if (!SWIG_IsOK(res1
)) {
12504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12506 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12508 arg2
= wxString_in_helper(obj1
);
12509 if (arg2
== NULL
) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 (arg1
)->PreviewFile((wxString
const &)*arg2
);
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= SWIG_Py_Void();
12533 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
= 0;
12535 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12536 wxString
*arg2
= 0 ;
12537 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12538 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12541 bool temp2
= false ;
12542 bool temp3
= false ;
12543 PyObject
* obj0
= 0 ;
12544 PyObject
* obj1
= 0 ;
12545 PyObject
* obj2
= 0 ;
12546 char * kwnames
[] = {
12547 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12552 if (!SWIG_IsOK(res1
)) {
12553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12555 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12557 arg2
= wxString_in_helper(obj1
);
12558 if (arg2
== NULL
) SWIG_fail
;
12563 arg3
= wxString_in_helper(obj2
);
12564 if (arg3
== NULL
) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= SWIG_Py_Void();
12597 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
= 0;
12599 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12600 wxString
*arg2
= 0 ;
12603 bool temp2
= false ;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 char * kwnames
[] = {
12607 (char *) "self",(char *) "htmlfile", NULL
12610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12612 if (!SWIG_IsOK(res1
)) {
12613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12615 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12617 arg2
= wxString_in_helper(obj1
);
12618 if (arg2
== NULL
) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 (arg1
)->PrintFile((wxString
const &)*arg2
);
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_Py_Void();
12642 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
= 0;
12644 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12645 wxString
*arg2
= 0 ;
12646 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12647 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12650 bool temp2
= false ;
12651 bool temp3
= false ;
12652 PyObject
* obj0
= 0 ;
12653 PyObject
* obj1
= 0 ;
12654 PyObject
* obj2
= 0 ;
12655 char * kwnames
[] = {
12656 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12661 if (!SWIG_IsOK(res1
)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12664 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12666 arg2
= wxString_in_helper(obj1
);
12667 if (arg2
== NULL
) SWIG_fail
;
12672 arg3
= wxString_in_helper(obj2
);
12673 if (arg3
== NULL
) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 resultobj
= SWIG_Py_Void();
12706 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12707 PyObject
*resultobj
= 0;
12708 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12711 PyObject
*swig_obj
[1] ;
12713 if (!args
) SWIG_fail
;
12714 swig_obj
[0] = args
;
12715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12716 if (!SWIG_IsOK(res1
)) {
12717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12719 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 (arg1
)->PageSetup();
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= SWIG_Py_Void();
12733 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
= 0;
12735 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12736 wxString
*arg2
= 0 ;
12737 int arg3
= (int) wxPAGE_ALL
;
12740 bool temp2
= false ;
12743 PyObject
* obj0
= 0 ;
12744 PyObject
* obj1
= 0 ;
12745 PyObject
* obj2
= 0 ;
12746 char * kwnames
[] = {
12747 (char *) "self",(char *) "header",(char *) "pg", NULL
12750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12752 if (!SWIG_IsOK(res1
)) {
12753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12755 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12757 arg2
= wxString_in_helper(obj1
);
12758 if (arg2
== NULL
) SWIG_fail
;
12762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12763 if (!SWIG_IsOK(ecode3
)) {
12764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12766 arg3
= static_cast< int >(val3
);
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_Py_Void();
12789 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
= 0;
12791 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12792 wxString
*arg2
= 0 ;
12793 int arg3
= (int) wxPAGE_ALL
;
12796 bool temp2
= false ;
12799 PyObject
* obj0
= 0 ;
12800 PyObject
* obj1
= 0 ;
12801 PyObject
* obj2
= 0 ;
12802 char * kwnames
[] = {
12803 (char *) "self",(char *) "footer",(char *) "pg", NULL
12806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12808 if (!SWIG_IsOK(res1
)) {
12809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12811 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12813 arg2
= wxString_in_helper(obj1
);
12814 if (arg2
== NULL
) SWIG_fail
;
12818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12819 if (!SWIG_IsOK(ecode3
)) {
12820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12822 arg3
= static_cast< int >(val3
);
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= SWIG_Py_Void();
12845 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
= 0;
12847 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12850 PyObject
*arg4
= (PyObject
*) NULL
;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 PyObject
* obj2
= 0 ;
12856 PyObject
* obj3
= 0 ;
12857 char * kwnames
[] = {
12858 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12863 if (!SWIG_IsOK(res1
)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12866 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12868 wxString
* sptr
= wxString_in_helper(obj1
);
12869 if (sptr
== NULL
) SWIG_fail
;
12874 wxString
* sptr
= wxString_in_helper(obj2
);
12875 if (sptr
== NULL
) SWIG_fail
;
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12888 resultobj
= SWIG_Py_Void();
12895 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12896 PyObject
*resultobj
= 0;
12897 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12898 int arg2
= (int) -1 ;
12899 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12900 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12901 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12902 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12907 bool temp3
= false ;
12908 bool temp4
= false ;
12909 PyObject
* obj0
= 0 ;
12910 PyObject
* obj1
= 0 ;
12911 PyObject
* obj2
= 0 ;
12912 PyObject
* obj3
= 0 ;
12913 char * kwnames
[] = {
12914 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12919 if (!SWIG_IsOK(res1
)) {
12920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12922 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12925 if (!SWIG_IsOK(ecode2
)) {
12926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12928 arg2
= static_cast< int >(val2
);
12932 arg3
= wxString_in_helper(obj2
);
12933 if (arg3
== NULL
) SWIG_fail
;
12939 arg4
= wxString_in_helper(obj3
);
12940 if (arg4
== NULL
) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= SWIG_Py_Void();
12973 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12974 PyObject
*resultobj
= 0;
12975 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12976 wxPrintData
*result
= 0 ;
12979 PyObject
*swig_obj
[1] ;
12981 if (!args
) SWIG_fail
;
12982 swig_obj
[0] = args
;
12983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12984 if (!SWIG_IsOK(res1
)) {
12985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12987 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (wxPrintData
*)(arg1
)->GetPrintData();
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
13001 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13002 PyObject
*resultobj
= 0;
13003 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
13004 wxPageSetupDialogData
*result
= 0 ;
13007 PyObject
*swig_obj
[1] ;
13009 if (!args
) SWIG_fail
;
13010 swig_obj
[0] = args
;
13011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
13012 if (!SWIG_IsOK(res1
)) {
13013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13015 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
13029 SWIGINTERN PyObject
*HtmlEasyPrinting_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13032 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_NewClientData(obj
));
13033 return SWIG_Py_Void();
13036 SWIGINTERN PyObject
*HtmlEasyPrinting_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13037 return SWIG_Python_InitShadowInstance(args
);
13040 SWIGINTERN PyObject
*_wrap_new_HtmlBookRecord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
= 0;
13042 wxString
*arg1
= 0 ;
13043 wxString
*arg2
= 0 ;
13044 wxString
*arg3
= 0 ;
13045 wxString
*arg4
= 0 ;
13046 wxHtmlBookRecord
*result
= 0 ;
13047 bool temp1
= false ;
13048 bool temp2
= false ;
13049 bool temp3
= false ;
13050 bool temp4
= false ;
13051 PyObject
* obj0
= 0 ;
13052 PyObject
* obj1
= 0 ;
13053 PyObject
* obj2
= 0 ;
13054 PyObject
* obj3
= 0 ;
13055 char * kwnames
[] = {
13056 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13061 arg1
= wxString_in_helper(obj0
);
13062 if (arg1
== NULL
) SWIG_fail
;
13066 arg2
= wxString_in_helper(obj1
);
13067 if (arg2
== NULL
) SWIG_fail
;
13071 arg3
= wxString_in_helper(obj2
);
13072 if (arg3
== NULL
) SWIG_fail
;
13076 arg4
= wxString_in_helper(obj3
);
13077 if (arg4
== NULL
) SWIG_fail
;
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_NEW
| 0 );
13125 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13126 PyObject
*resultobj
= 0;
13127 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13131 PyObject
*swig_obj
[1] ;
13133 if (!args
) SWIG_fail
;
13134 swig_obj
[0] = args
;
13135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13136 if (!SWIG_IsOK(res1
)) {
13137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13139 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 result
= (arg1
)->GetBookFile();
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13159 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13160 PyObject
*resultobj
= 0;
13161 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13165 PyObject
*swig_obj
[1] ;
13167 if (!args
) SWIG_fail
;
13168 swig_obj
[0] = args
;
13169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13170 if (!SWIG_IsOK(res1
)) {
13171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13173 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (arg1
)->GetTitle();
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13193 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13194 PyObject
*resultobj
= 0;
13195 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13199 PyObject
*swig_obj
[1] ;
13201 if (!args
) SWIG_fail
;
13202 swig_obj
[0] = args
;
13203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13204 if (!SWIG_IsOK(res1
)) {
13205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13207 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (arg1
)->GetStart();
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13227 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13228 PyObject
*resultobj
= 0;
13229 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13233 PyObject
*swig_obj
[1] ;
13235 if (!args
) SWIG_fail
;
13236 swig_obj
[0] = args
;
13237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13238 if (!SWIG_IsOK(res1
)) {
13239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13241 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (arg1
)->GetBasePath();
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13261 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
= 0;
13263 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13272 PyObject
* obj0
= 0 ;
13273 PyObject
* obj1
= 0 ;
13274 PyObject
* obj2
= 0 ;
13275 char * kwnames
[] = {
13276 (char *) "self",(char *) "start",(char *) "end", NULL
13279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13281 if (!SWIG_IsOK(res1
)) {
13282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13284 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13286 if (!SWIG_IsOK(ecode2
)) {
13287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13289 arg2
= static_cast< int >(val2
);
13290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13291 if (!SWIG_IsOK(ecode3
)) {
13292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13294 arg3
= static_cast< int >(val3
);
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 (arg1
)->SetContentsRange(arg2
,arg3
);
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= SWIG_Py_Void();
13308 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13309 PyObject
*resultobj
= 0;
13310 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13314 PyObject
*swig_obj
[1] ;
13316 if (!args
) SWIG_fail
;
13317 swig_obj
[0] = args
;
13318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13319 if (!SWIG_IsOK(res1
)) {
13320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13322 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 result
= (int)(arg1
)->GetContentsStart();
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= SWIG_From_int(static_cast< int >(result
));
13336 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13337 PyObject
*resultobj
= 0;
13338 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13342 PyObject
*swig_obj
[1] ;
13344 if (!args
) SWIG_fail
;
13345 swig_obj
[0] = args
;
13346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13347 if (!SWIG_IsOK(res1
)) {
13348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13350 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (int)(arg1
)->GetContentsEnd();
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_From_int(static_cast< int >(result
));
13364 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
= 0;
13366 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13367 wxString
*arg2
= 0 ;
13370 bool temp2
= false ;
13371 PyObject
* obj0
= 0 ;
13372 PyObject
* obj1
= 0 ;
13373 char * kwnames
[] = {
13374 (char *) "self",(char *) "title", NULL
13377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13379 if (!SWIG_IsOK(res1
)) {
13380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13382 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13384 arg2
= wxString_in_helper(obj1
);
13385 if (arg2
== NULL
) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 (arg1
)->SetTitle((wxString
const &)*arg2
);
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_Py_Void();
13409 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
= 0;
13411 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13412 wxString
*arg2
= 0 ;
13415 bool temp2
= false ;
13416 PyObject
* obj0
= 0 ;
13417 PyObject
* obj1
= 0 ;
13418 char * kwnames
[] = {
13419 (char *) "self",(char *) "path", NULL
13422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13424 if (!SWIG_IsOK(res1
)) {
13425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13427 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13429 arg2
= wxString_in_helper(obj1
);
13430 if (arg2
== NULL
) SWIG_fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 (arg1
)->SetBasePath((wxString
const &)*arg2
);
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 resultobj
= SWIG_Py_Void();
13454 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
= 0;
13456 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13457 wxString
*arg2
= 0 ;
13460 bool temp2
= false ;
13461 PyObject
* obj0
= 0 ;
13462 PyObject
* obj1
= 0 ;
13463 char * kwnames
[] = {
13464 (char *) "self",(char *) "start", NULL
13467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13469 if (!SWIG_IsOK(res1
)) {
13470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13472 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13474 arg2
= wxString_in_helper(obj1
);
13475 if (arg2
== NULL
) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 (arg1
)->SetStart((wxString
const &)*arg2
);
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= SWIG_Py_Void();
13499 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
= 0;
13501 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13502 wxString
*arg2
= 0 ;
13506 bool temp2
= false ;
13507 PyObject
* obj0
= 0 ;
13508 PyObject
* obj1
= 0 ;
13509 char * kwnames
[] = {
13510 (char *) "self",(char *) "page", NULL
13513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13515 if (!SWIG_IsOK(res1
)) {
13516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13518 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13520 arg2
= wxString_in_helper(obj1
);
13521 if (arg2
== NULL
) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13551 SWIGINTERN PyObject
*HtmlBookRecord_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13554 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord
, SWIG_NewClientData(obj
));
13555 return SWIG_Py_Void();
13558 SWIGINTERN PyObject
*HtmlBookRecord_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13559 return SWIG_Python_InitShadowInstance(args
);
13562 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13563 PyObject
*resultobj
= 0;
13564 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13568 PyObject
*swig_obj
[1] ;
13570 if (!args
) SWIG_fail
;
13571 swig_obj
[0] = args
;
13572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13573 if (!SWIG_IsOK(res1
)) {
13574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13576 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (bool)(arg1
)->Search();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13592 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13593 PyObject
*resultobj
= 0;
13594 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13598 PyObject
*swig_obj
[1] ;
13600 if (!args
) SWIG_fail
;
13601 swig_obj
[0] = args
;
13602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13603 if (!SWIG_IsOK(res1
)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13606 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 result
= (bool)(arg1
)->IsActive();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13622 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13623 PyObject
*resultobj
= 0;
13624 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13628 PyObject
*swig_obj
[1] ;
13630 if (!args
) SWIG_fail
;
13631 swig_obj
[0] = args
;
13632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13633 if (!SWIG_IsOK(res1
)) {
13634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13636 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 result
= (int)(arg1
)->GetCurIndex();
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= SWIG_From_int(static_cast< int >(result
));
13650 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13651 PyObject
*resultobj
= 0;
13652 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13656 PyObject
*swig_obj
[1] ;
13658 if (!args
) SWIG_fail
;
13659 swig_obj
[0] = args
;
13660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13661 if (!SWIG_IsOK(res1
)) {
13662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13664 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (int)(arg1
)->GetMaxIndex();
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_From_int(static_cast< int >(result
));
13678 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13679 PyObject
*resultobj
= 0;
13680 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13681 wxString
*result
= 0 ;
13684 PyObject
*swig_obj
[1] ;
13686 if (!args
) SWIG_fail
;
13687 swig_obj
[0] = args
;
13688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13689 if (!SWIG_IsOK(res1
)) {
13690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13692 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 wxString
const &_result_ref
= (arg1
)->GetName();
13697 result
= (wxString
*) &_result_ref
;
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13704 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13706 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13715 SWIGINTERN PyObject
*HtmlSearchStatus_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13717 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13718 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_NewClientData(obj
));
13719 return SWIG_Py_Void();
13722 SWIGINTERN PyObject
*_wrap_new_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13723 PyObject
*resultobj
= 0;
13724 wxHtmlHelpData
*result
= 0 ;
13726 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlHelpData",0,0,0)) SWIG_fail
;
13728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13729 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_NEW
| 0 );
13740 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13741 PyObject
*resultobj
= 0;
13742 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13745 PyObject
*swig_obj
[1] ;
13747 if (!args
) SWIG_fail
;
13748 swig_obj
[0] = args
;
13749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_DISOWN
| 0 );
13750 if (!SWIG_IsOK(res1
)) {
13751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13753 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 resultobj
= SWIG_Py_Void();
13768 SWIGINTERN PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
= 0;
13770 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13771 wxString
*arg2
= 0 ;
13774 bool temp2
= false ;
13775 PyObject
* obj0
= 0 ;
13776 PyObject
* obj1
= 0 ;
13777 char * kwnames
[] = {
13778 (char *) "self",(char *) "path", NULL
13781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13783 if (!SWIG_IsOK(res1
)) {
13784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13786 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13788 arg2
= wxString_in_helper(obj1
);
13789 if (arg2
== NULL
) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 (arg1
)->SetTempDir((wxString
const &)*arg2
);
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 resultobj
= SWIG_Py_Void();
13813 SWIGINTERN PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
= 0;
13815 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13816 wxString
*arg2
= 0 ;
13820 bool temp2
= false ;
13821 PyObject
* obj0
= 0 ;
13822 PyObject
* obj1
= 0 ;
13823 char * kwnames
[] = {
13824 (char *) "self",(char *) "book", NULL
13827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13829 if (!SWIG_IsOK(res1
)) {
13830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13832 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13834 arg2
= wxString_in_helper(obj1
);
13835 if (arg2
== NULL
) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
13841 wxPyEndAllowThreads(__tstate
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13861 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
= 0;
13863 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13864 wxString
*arg2
= 0 ;
13868 bool temp2
= false ;
13869 PyObject
* obj0
= 0 ;
13870 PyObject
* obj1
= 0 ;
13871 char * kwnames
[] = {
13872 (char *) "self",(char *) "page", NULL
13875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13877 if (!SWIG_IsOK(res1
)) {
13878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13880 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13882 arg2
= wxString_in_helper(obj1
);
13883 if (arg2
== NULL
) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
13889 wxPyEndAllowThreads(__tstate
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13913 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
= 0;
13915 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13922 PyObject
* obj0
= 0 ;
13923 PyObject
* obj1
= 0 ;
13924 char * kwnames
[] = {
13925 (char *) "self",(char *) "id", NULL
13928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13930 if (!SWIG_IsOK(res1
)) {
13931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13933 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13935 if (!SWIG_IsOK(ecode2
)) {
13936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13938 arg2
= static_cast< int >(val2
);
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 result
= (arg1
)->FindPageById(arg2
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13958 SWIGINTERN PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13959 PyObject
*resultobj
= 0;
13960 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13961 wxHtmlBookRecArray
*result
= 0 ;
13964 PyObject
*swig_obj
[1] ;
13966 if (!args
) SWIG_fail
;
13967 swig_obj
[0] = args
;
13968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13969 if (!SWIG_IsOK(res1
)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13972 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
13977 result
= (wxHtmlBookRecArray
*) &_result_ref
;
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0 | 0 );
13989 SWIGINTERN PyObject
*HtmlHelpData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13991 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13992 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData
, SWIG_NewClientData(obj
));
13993 return SWIG_Py_Void();
13996 SWIGINTERN PyObject
*HtmlHelpData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13997 return SWIG_Python_InitShadowInstance(args
);
14000 SWIGINTERN PyObject
*_wrap_new_HtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
= 0;
14002 wxWindow
*arg1
= (wxWindow
*) 0 ;
14004 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14005 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14006 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14007 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14008 int arg5
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14009 int arg6
= (int) wxHF_DEFAULT_STYLE
;
14010 wxHtmlHelpData
*arg7
= (wxHtmlHelpData
*) NULL
;
14011 wxHtmlHelpWindow
*result
= 0 ;
14024 PyObject
* obj0
= 0 ;
14025 PyObject
* obj1
= 0 ;
14026 PyObject
* obj2
= 0 ;
14027 PyObject
* obj3
= 0 ;
14028 PyObject
* obj4
= 0 ;
14029 PyObject
* obj5
= 0 ;
14030 PyObject
* obj6
= 0 ;
14031 char * kwnames
[] = {
14032 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14037 if (!SWIG_IsOK(res1
)) {
14038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14040 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14042 if (!SWIG_IsOK(ecode2
)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14045 arg2
= static_cast< int >(val2
);
14049 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14055 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14059 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14060 if (!SWIG_IsOK(ecode5
)) {
14061 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14063 arg5
= static_cast< int >(val5
);
14066 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14067 if (!SWIG_IsOK(ecode6
)) {
14068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14070 arg6
= static_cast< int >(val6
);
14073 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14074 if (!SWIG_IsOK(res7
)) {
14075 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14077 arg7
= reinterpret_cast< wxHtmlHelpData
* >(argp7
);
14080 if (!wxPyCheckForApp()) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
14083 wxPyEndAllowThreads(__tstate
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_NEW
| 0 );
14093 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
= 0;
14095 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
14096 wxHtmlHelpWindow
*result
= 0 ;
14099 PyObject
* obj0
= 0 ;
14100 char * kwnames
[] = {
14101 (char *) "data", NULL
14104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpWindow",kwnames
,&obj0
)) SWIG_fail
;
14106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14107 if (!SWIG_IsOK(res1
)) {
14108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14110 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
14113 if (!wxPyCheckForApp()) SWIG_fail
;
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
);
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_OWN
| 0 );
14126 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14127 PyObject
*resultobj
= 0;
14128 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14129 wxWindow
*arg2
= (wxWindow
*) 0 ;
14131 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14132 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14133 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14134 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14135 int arg6
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14136 int arg7
= (int) wxHF_DEFAULT_STYLE
;
14150 PyObject
* obj0
= 0 ;
14151 PyObject
* obj1
= 0 ;
14152 PyObject
* obj2
= 0 ;
14153 PyObject
* obj3
= 0 ;
14154 PyObject
* obj4
= 0 ;
14155 PyObject
* obj5
= 0 ;
14156 PyObject
* obj6
= 0 ;
14157 char * kwnames
[] = {
14158 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14163 if (!SWIG_IsOK(res1
)) {
14164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14166 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14167 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14168 if (!SWIG_IsOK(res2
)) {
14169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14171 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14173 if (!SWIG_IsOK(ecode3
)) {
14174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14176 arg3
= static_cast< int >(val3
);
14180 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14186 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14190 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14191 if (!SWIG_IsOK(ecode6
)) {
14192 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14194 arg6
= static_cast< int >(val6
);
14197 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14198 if (!SWIG_IsOK(ecode7
)) {
14199 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14201 arg7
= static_cast< int >(val7
);
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
);
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14218 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14219 PyObject
*resultobj
= 0;
14220 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14221 wxHtmlHelpData
*result
= 0 ;
14224 PyObject
*swig_obj
[1] ;
14226 if (!args
) SWIG_fail
;
14227 swig_obj
[0] = args
;
14228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14229 if (!SWIG_IsOK(res1
)) {
14230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14232 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14246 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14247 PyObject
*resultobj
= 0;
14248 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14249 wxHtmlHelpController
*result
= 0 ;
14252 PyObject
*swig_obj
[1] ;
14254 if (!args
) SWIG_fail
;
14255 swig_obj
[0] = args
;
14256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14257 if (!SWIG_IsOK(res1
)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14260 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (wxHtmlHelpController
*)((wxHtmlHelpWindow
const *)arg1
)->GetController();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
14274 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
= 0;
14276 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14277 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
14281 PyObject
* obj0
= 0 ;
14282 PyObject
* obj1
= 0 ;
14283 char * kwnames
[] = {
14284 (char *) "self",(char *) "controller", NULL
14287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14289 if (!SWIG_IsOK(res1
)) {
14290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14292 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14293 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
14294 if (!SWIG_IsOK(res2
)) {
14295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14299 (arg1
)->SetController(arg2
);
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 resultobj
= SWIG_Py_Void();
14310 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
= 0;
14312 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14313 wxString
*arg2
= 0 ;
14317 bool temp2
= false ;
14318 PyObject
* obj0
= 0 ;
14319 PyObject
* obj1
= 0 ;
14320 char * kwnames
[] = {
14321 (char *) "self",(char *) "x", NULL
14324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14326 if (!SWIG_IsOK(res1
)) {
14327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14329 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14331 arg2
= wxString_in_helper(obj1
);
14332 if (arg2
== NULL
) SWIG_fail
;
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 result
= (bool)(arg1
)->Display((wxString
const &)*arg2
);
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14358 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
= 0;
14360 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 char * kwnames
[] = {
14370 (char *) "self",(char *) "id", NULL
14373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14375 if (!SWIG_IsOK(res1
)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14378 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14380 if (!SWIG_IsOK(ecode2
)) {
14381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14383 arg2
= static_cast< int >(val2
);
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 result
= (bool)(arg1
)->Display(arg2
);
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14399 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14400 PyObject
*resultobj
= 0;
14401 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14405 PyObject
*swig_obj
[1] ;
14407 if (!args
) SWIG_fail
;
14408 swig_obj
[0] = args
;
14409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14410 if (!SWIG_IsOK(res1
)) {
14411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14413 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 result
= (bool)(arg1
)->DisplayContents();
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14429 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14430 PyObject
*resultobj
= 0;
14431 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14435 PyObject
*swig_obj
[1] ;
14437 if (!args
) SWIG_fail
;
14438 swig_obj
[0] = args
;
14439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14440 if (!SWIG_IsOK(res1
)) {
14441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14443 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (bool)(arg1
)->DisplayIndex();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14459 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
= 0;
14461 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14462 wxString
*arg2
= 0 ;
14463 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
14467 bool temp2
= false ;
14470 PyObject
* obj0
= 0 ;
14471 PyObject
* obj1
= 0 ;
14472 PyObject
* obj2
= 0 ;
14473 char * kwnames
[] = {
14474 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14479 if (!SWIG_IsOK(res1
)) {
14480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14482 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14484 arg2
= wxString_in_helper(obj1
);
14485 if (arg2
== NULL
) SWIG_fail
;
14490 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
14491 if (!SWIG_IsOK(res3
)) {
14492 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14497 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
14499 if (SWIG_IsNewObj(res3
)) delete temp
;
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14526 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
= 0;
14528 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14529 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14530 wxString
const &arg3_defvalue
= wxEmptyString
;
14531 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14536 bool temp3
= false ;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 PyObject
* obj2
= 0 ;
14540 char * kwnames
[] = {
14541 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14546 if (!SWIG_IsOK(res1
)) {
14547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14549 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14550 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14551 if (!SWIG_IsOK(res2
)) {
14552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14554 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14557 arg3
= wxString_in_helper(obj2
);
14558 if (arg3
== NULL
) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= SWIG_Py_Void();
14583 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
= 0;
14585 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14586 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14587 wxString
const &arg3_defvalue
= wxEmptyString
;
14588 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14593 bool temp3
= false ;
14594 PyObject
* obj0
= 0 ;
14595 PyObject
* obj1
= 0 ;
14596 PyObject
* obj2
= 0 ;
14597 char * kwnames
[] = {
14598 (char *) "self",(char *) "cfg",(char *) "path", NULL
14601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14603 if (!SWIG_IsOK(res1
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14606 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14607 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14608 if (!SWIG_IsOK(res2
)) {
14609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14611 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14614 arg3
= wxString_in_helper(obj2
);
14615 if (arg3
== NULL
) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 (arg1
)->ReadCustomization(arg2
,(wxString
const &)*arg3
);
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= SWIG_Py_Void();
14640 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
= 0;
14642 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14643 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14644 wxString
const &arg3_defvalue
= wxEmptyString
;
14645 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14650 bool temp3
= false ;
14651 PyObject
* obj0
= 0 ;
14652 PyObject
* obj1
= 0 ;
14653 PyObject
* obj2
= 0 ;
14654 char * kwnames
[] = {
14655 (char *) "self",(char *) "cfg",(char *) "path", NULL
14658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14660 if (!SWIG_IsOK(res1
)) {
14661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14663 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14665 if (!SWIG_IsOK(res2
)) {
14666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14668 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14671 arg3
= wxString_in_helper(obj2
);
14672 if (arg3
== NULL
) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 (arg1
)->WriteCustomization(arg2
,(wxString
const &)*arg3
);
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14682 resultobj
= SWIG_Py_Void();
14697 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14698 PyObject
*resultobj
= 0;
14699 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14702 PyObject
*swig_obj
[1] ;
14704 if (!args
) SWIG_fail
;
14705 swig_obj
[0] = args
;
14706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14707 if (!SWIG_IsOK(res1
)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14710 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 (arg1
)->NotifyPageChanged();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_Py_Void();
14724 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_RefreshLists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14725 PyObject
*resultobj
= 0;
14726 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14729 PyObject
*swig_obj
[1] ;
14731 if (!args
) SWIG_fail
;
14732 swig_obj
[0] = args
;
14733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14734 if (!SWIG_IsOK(res1
)) {
14735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14737 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 (arg1
)->RefreshLists();
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= SWIG_Py_Void();
14751 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14752 PyObject
*resultobj
= 0;
14753 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14754 wxHtmlWindow
*result
= 0 ;
14757 PyObject
*swig_obj
[1] ;
14759 if (!args
) SWIG_fail
;
14760 swig_obj
[0] = args
;
14761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14762 if (!SWIG_IsOK(res1
)) {
14763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14765 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 result
= (wxHtmlWindow
*)((wxHtmlHelpWindow
const *)arg1
)->GetHtmlWindow();
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindow
, 0 | 0 );
14779 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14780 PyObject
*resultobj
= 0;
14781 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14782 wxSplitterWindow
*result
= 0 ;
14785 PyObject
*swig_obj
[1] ;
14787 if (!args
) SWIG_fail
;
14788 swig_obj
[0] = args
;
14789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14790 if (!SWIG_IsOK(res1
)) {
14791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14793 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (wxSplitterWindow
*)(arg1
)->GetSplitterWindow();
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
14807 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14808 PyObject
*resultobj
= 0;
14809 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14810 wxToolBar
*result
= 0 ;
14813 PyObject
*swig_obj
[1] ;
14815 if (!args
) SWIG_fail
;
14816 swig_obj
[0] = args
;
14817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14818 if (!SWIG_IsOK(res1
)) {
14819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14821 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 result
= (wxToolBar
*)((wxHtmlHelpWindow
const *)arg1
)->GetToolBar();
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14837 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetCfgData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14838 PyObject
*resultobj
= 0;
14839 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14840 wxHtmlHelpFrameCfg
*result
= 0 ;
14843 PyObject
*swig_obj
[1] ;
14845 if (!args
) SWIG_fail
;
14846 swig_obj
[0] = args
;
14847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14848 if (!SWIG_IsOK(res1
)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14851 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 wxHtmlHelpFrameCfg
&_result_ref
= (arg1
)->GetCfgData();
14856 result
= (wxHtmlHelpFrameCfg
*) &_result_ref
;
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrameCfg
, 0 | 0 );
14868 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14869 PyObject
*resultobj
= 0;
14870 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14871 wxTreeCtrl
*result
= 0 ;
14874 PyObject
*swig_obj
[1] ;
14876 if (!args
) SWIG_fail
;
14877 swig_obj
[0] = args
;
14878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14879 if (!SWIG_IsOK(res1
)) {
14880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14882 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (wxTreeCtrl
*)((wxHtmlHelpWindow
const *)arg1
)->GetTreeCtrl();
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
14896 SWIGINTERN PyObject
*HtmlHelpWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14899 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_NewClientData(obj
));
14900 return SWIG_Py_Void();
14903 SWIGINTERN PyObject
*HtmlHelpWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14904 return SWIG_Python_InitShadowInstance(args
);
14907 SWIGINTERN PyObject
*_wrap_new_HtmlWindowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
= 0;
14909 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14910 int arg2
= (int) 0 ;
14911 wxHtmlWindowEvent
*result
= 0 ;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 char * kwnames
[] = {
14919 (char *) "commandType",(char *) "id", NULL
14922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlWindowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14925 if (!SWIG_IsOK(ecode1
)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14928 arg1
= static_cast< wxEventType
>(val1
);
14931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14932 if (!SWIG_IsOK(ecode2
)) {
14933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'");
14935 arg2
= static_cast< int >(val2
);
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (wxHtmlWindowEvent
*)new wxHtmlWindowEvent(arg1
,arg2
);
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_POINTER_NEW
| 0 );
14950 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14951 PyObject
*resultobj
= 0;
14952 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
14953 wxString
*arg2
= 0 ;
14956 bool temp2
= false ;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 char * kwnames
[] = {
14960 (char *) "self",(char *) "url", NULL
14963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
14965 if (!SWIG_IsOK(res1
)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'");
14968 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
14970 arg2
= wxString_in_helper(obj1
);
14971 if (arg2
== NULL
) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 (arg1
)->SetURL((wxString
const &)*arg2
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= SWIG_Py_Void();
14995 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14996 PyObject
*resultobj
= 0;
14997 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
14998 wxString
*result
= 0 ;
15001 PyObject
*swig_obj
[1] ;
15003 if (!args
) SWIG_fail
;
15004 swig_obj
[0] = args
;
15005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
15006 if (!SWIG_IsOK(res1
)) {
15007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'");
15009 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 wxString
const &_result_ref
= ((wxHtmlWindowEvent
const *)arg1
)->GetURL();
15014 result
= (wxString
*) &_result_ref
;
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15023 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15032 SWIGINTERN PyObject
*HtmlWindowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15035 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_NewClientData(obj
));
15036 return SWIG_Py_Void();
15039 SWIGINTERN PyObject
*HtmlWindowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15040 return SWIG_Python_InitShadowInstance(args
);
15043 SWIGINTERN PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
= 0;
15045 wxWindow
*arg1
= (wxWindow
*) 0 ;
15047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15049 int arg4
= (int) wxHF_DEFAULTSTYLE
;
15050 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15051 wxHtmlHelpFrame
*result
= 0 ;
15056 bool temp3
= false ;
15061 PyObject
* obj0
= 0 ;
15062 PyObject
* obj1
= 0 ;
15063 PyObject
* obj2
= 0 ;
15064 PyObject
* obj3
= 0 ;
15065 PyObject
* obj4
= 0 ;
15066 char * kwnames
[] = {
15067 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15072 if (!SWIG_IsOK(res1
)) {
15073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15075 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15077 if (!SWIG_IsOK(ecode2
)) {
15078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15080 arg2
= static_cast< int >(val2
);
15083 arg3
= wxString_in_helper(obj2
);
15084 if (arg3
== NULL
) SWIG_fail
;
15089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15090 if (!SWIG_IsOK(ecode4
)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15093 arg4
= static_cast< int >(val4
);
15096 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15097 if (!SWIG_IsOK(res5
)) {
15098 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15100 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15103 if (!wxPyCheckForApp()) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_NEW
| 0 );
15124 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
= 0;
15126 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15127 wxHtmlHelpFrame
*result
= 0 ;
15130 PyObject
* obj0
= 0 ;
15131 char * kwnames
[] = {
15132 (char *) "data", NULL
15135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpFrame",kwnames
,&obj0
)) SWIG_fail
;
15137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15138 if (!SWIG_IsOK(res1
)) {
15139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15141 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15144 if (!wxPyCheckForApp()) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_OWN
| 0 );
15157 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
= 0;
15159 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15160 wxWindow
*arg2
= (wxWindow
*) 0 ;
15162 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15163 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15164 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15172 bool temp4
= false ;
15175 PyObject
* obj0
= 0 ;
15176 PyObject
* obj1
= 0 ;
15177 PyObject
* obj2
= 0 ;
15178 PyObject
* obj3
= 0 ;
15179 PyObject
* obj4
= 0 ;
15180 char * kwnames
[] = {
15181 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15186 if (!SWIG_IsOK(res1
)) {
15187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15189 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15190 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15191 if (!SWIG_IsOK(res2
)) {
15192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15194 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15195 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15196 if (!SWIG_IsOK(ecode3
)) {
15197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15199 arg3
= static_cast< int >(val3
);
15202 arg4
= wxString_in_helper(obj3
);
15203 if (arg4
== NULL
) SWIG_fail
;
15208 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15209 if (!SWIG_IsOK(ecode5
)) {
15210 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15212 arg5
= static_cast< int >(val5
);
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15237 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15238 PyObject
*resultobj
= 0;
15239 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15240 wxHtmlHelpData
*result
= 0 ;
15243 PyObject
*swig_obj
[1] ;
15245 if (!args
) SWIG_fail
;
15246 swig_obj
[0] = args
;
15247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15248 if (!SWIG_IsOK(res1
)) {
15249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15251 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15255 wxPyEndAllowThreads(__tstate
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15265 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15266 PyObject
*resultobj
= 0;
15267 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15268 wxString
*arg2
= 0 ;
15271 bool temp2
= false ;
15272 PyObject
* obj0
= 0 ;
15273 PyObject
* obj1
= 0 ;
15274 char * kwnames
[] = {
15275 (char *) "self",(char *) "format", NULL
15278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15280 if (!SWIG_IsOK(res1
)) {
15281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15283 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15285 arg2
= wxString_in_helper(obj1
);
15286 if (arg2
== NULL
) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= SWIG_Py_Void();
15310 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15311 PyObject
*resultobj
= 0;
15312 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15315 PyObject
*swig_obj
[1] ;
15317 if (!args
) SWIG_fail
;
15318 swig_obj
[0] = args
;
15319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15320 if (!SWIG_IsOK(res1
)) {
15321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15323 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 (arg1
)->AddGrabIfNeeded();
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15330 resultobj
= SWIG_Py_Void();
15337 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15338 PyObject
*resultobj
= 0;
15339 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15340 wxHtmlHelpController
*result
= 0 ;
15343 PyObject
*swig_obj
[1] ;
15345 if (!args
) SWIG_fail
;
15346 swig_obj
[0] = args
;
15347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15348 if (!SWIG_IsOK(res1
)) {
15349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15351 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15354 result
= (wxHtmlHelpController
*)((wxHtmlHelpFrame
const *)arg1
)->GetController();
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15365 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
= 0;
15367 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15368 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15372 PyObject
* obj0
= 0 ;
15373 PyObject
* obj1
= 0 ;
15374 char * kwnames
[] = {
15375 (char *) "self",(char *) "controller", NULL
15378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15380 if (!SWIG_IsOK(res1
)) {
15381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15383 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15384 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15385 if (!SWIG_IsOK(res2
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 (arg1
)->SetController(arg2
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 resultobj
= SWIG_Py_Void();
15401 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15402 PyObject
*resultobj
= 0;
15403 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15404 wxHtmlHelpWindow
*result
= 0 ;
15407 PyObject
*swig_obj
[1] ;
15409 if (!args
) SWIG_fail
;
15410 swig_obj
[0] = args
;
15411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15412 if (!SWIG_IsOK(res1
)) {
15413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15415 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpFrame
const *)arg1
)->GetHelpWindow();
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= wxPyMake_wxObject(result
, 0);
15431 SWIGINTERN PyObject
*HtmlHelpFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15434 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_NewClientData(obj
));
15435 return SWIG_Py_Void();
15438 SWIGINTERN PyObject
*HtmlHelpFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15439 return SWIG_Python_InitShadowInstance(args
);
15442 SWIGINTERN PyObject
*_wrap_new_HtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
= 0;
15444 wxWindow
*arg1
= (wxWindow
*) 0 ;
15446 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15447 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15448 int arg4
= (int) wxHF_DEFAULT_STYLE
;
15449 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15450 wxHtmlHelpDialog
*result
= 0 ;
15455 bool temp3
= false ;
15460 PyObject
* obj0
= 0 ;
15461 PyObject
* obj1
= 0 ;
15462 PyObject
* obj2
= 0 ;
15463 PyObject
* obj3
= 0 ;
15464 PyObject
* obj4
= 0 ;
15465 char * kwnames
[] = {
15466 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15471 if (!SWIG_IsOK(res1
)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15474 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15476 if (!SWIG_IsOK(ecode2
)) {
15477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15479 arg2
= static_cast< int >(val2
);
15482 arg3
= wxString_in_helper(obj2
);
15483 if (arg3
== NULL
) SWIG_fail
;
15488 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15489 if (!SWIG_IsOK(ecode4
)) {
15490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15492 arg4
= static_cast< int >(val4
);
15495 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15496 if (!SWIG_IsOK(res5
)) {
15497 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15499 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15502 if (!wxPyCheckForApp()) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_NEW
| 0 );
15523 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15524 PyObject
*resultobj
= 0;
15525 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15526 wxHtmlHelpDialog
*result
= 0 ;
15529 PyObject
* obj0
= 0 ;
15530 char * kwnames
[] = {
15531 (char *) "data", NULL
15534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpDialog",kwnames
,&obj0
)) SWIG_fail
;
15536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15537 if (!SWIG_IsOK(res1
)) {
15538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15540 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15543 if (!wxPyCheckForApp()) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
);
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_OWN
| 0 );
15556 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
= 0;
15558 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15559 wxWindow
*arg2
= (wxWindow
*) 0 ;
15561 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15562 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15563 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15571 bool temp4
= false ;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 PyObject
* obj2
= 0 ;
15577 PyObject
* obj3
= 0 ;
15578 PyObject
* obj4
= 0 ;
15579 char * kwnames
[] = {
15580 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15585 if (!SWIG_IsOK(res1
)) {
15586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15588 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15590 if (!SWIG_IsOK(res2
)) {
15591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15593 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15595 if (!SWIG_IsOK(ecode3
)) {
15596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15598 arg3
= static_cast< int >(val3
);
15601 arg4
= wxString_in_helper(obj3
);
15602 if (arg4
== NULL
) SWIG_fail
;
15607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15608 if (!SWIG_IsOK(ecode5
)) {
15609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15611 arg5
= static_cast< int >(val5
);
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15636 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15637 PyObject
*resultobj
= 0;
15638 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15639 wxHtmlHelpData
*result
= 0 ;
15642 PyObject
*swig_obj
[1] ;
15644 if (!args
) SWIG_fail
;
15645 swig_obj
[0] = args
;
15646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15647 if (!SWIG_IsOK(res1
)) {
15648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15650 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15664 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15665 PyObject
*resultobj
= 0;
15666 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15667 wxHtmlHelpController
*result
= 0 ;
15670 PyObject
*swig_obj
[1] ;
15672 if (!args
) SWIG_fail
;
15673 swig_obj
[0] = args
;
15674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15675 if (!SWIG_IsOK(res1
)) {
15676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15678 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 result
= (wxHtmlHelpController
*)((wxHtmlHelpDialog
const *)arg1
)->GetController();
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15692 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
= 0;
15694 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15695 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15699 PyObject
* obj0
= 0 ;
15700 PyObject
* obj1
= 0 ;
15701 char * kwnames
[] = {
15702 (char *) "self",(char *) "controller", NULL
15705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15707 if (!SWIG_IsOK(res1
)) {
15708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15710 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15711 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15712 if (!SWIG_IsOK(res2
)) {
15713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 (arg1
)->SetController(arg2
);
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= SWIG_Py_Void();
15728 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15729 PyObject
*resultobj
= 0;
15730 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15731 wxHtmlHelpWindow
*result
= 0 ;
15734 PyObject
*swig_obj
[1] ;
15736 if (!args
) SWIG_fail
;
15737 swig_obj
[0] = args
;
15738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15739 if (!SWIG_IsOK(res1
)) {
15740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15742 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpDialog
const *)arg1
)->GetHelpWindow();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= wxPyMake_wxObject(result
, 0);
15758 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
= 0;
15760 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15761 wxString
*arg2
= 0 ;
15764 bool temp2
= false ;
15765 PyObject
* obj0
= 0 ;
15766 PyObject
* obj1
= 0 ;
15767 char * kwnames
[] = {
15768 (char *) "self",(char *) "format", NULL
15771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15773 if (!SWIG_IsOK(res1
)) {
15774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15776 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15778 arg2
= wxString_in_helper(obj1
);
15779 if (arg2
== NULL
) SWIG_fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= SWIG_Py_Void();
15803 SWIGINTERN PyObject
*HtmlHelpDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15806 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_NewClientData(obj
));
15807 return SWIG_Py_Void();
15810 SWIGINTERN PyObject
*HtmlHelpDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15811 return SWIG_Python_InitShadowInstance(args
);
15814 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15815 PyObject
*resultobj
= 0;
15816 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15817 wxString
*arg2
= 0 ;
15822 bool temp2
= false ;
15826 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
15827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15828 if (!SWIG_IsOK(res1
)) {
15829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15831 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15833 arg2
= wxString_in_helper(swig_obj
[1]);
15834 if (arg2
== NULL
) SWIG_fail
;
15837 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
15838 if (!SWIG_IsOK(ecode3
)) {
15839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
15841 arg3
= static_cast< int >(val3
);
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
,arg3
);
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15865 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15866 PyObject
*resultobj
= 0;
15867 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15868 wxString
*arg2
= 0 ;
15872 bool temp2
= false ;
15874 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
15875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15876 if (!SWIG_IsOK(res1
)) {
15877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15879 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15881 arg2
= wxString_in_helper(swig_obj
[1]);
15882 if (arg2
== NULL
) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
);
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15908 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize(PyObject
*self
, PyObject
*args
) {
15912 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_Initialize",0,3,argv
))) SWIG_fail
;
15915 return _wrap_HelpControllerBase_Initialize__SWIG_1(self
, argc
, argv
);
15918 return _wrap_HelpControllerBase_Initialize__SWIG_0(self
, argc
, argv
);
15922 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_Initialize'");
15927 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetViewer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15928 PyObject
*resultobj
= 0;
15929 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15930 wxString
*arg2
= 0 ;
15931 long arg3
= (long) 0 ;
15934 bool temp2
= false ;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 PyObject
* obj2
= 0 ;
15940 char * kwnames
[] = {
15941 (char *) "self",(char *) "viewer",(char *) "flags", NULL
15944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15946 if (!SWIG_IsOK(res1
)) {
15947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15949 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15951 arg2
= wxString_in_helper(obj1
);
15952 if (arg2
== NULL
) SWIG_fail
;
15956 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15957 if (!SWIG_IsOK(ecode3
)) {
15958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
15960 arg3
= static_cast< long >(val3
);
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15964 (arg1
)->SetViewer((wxString
const &)*arg2
,arg3
);
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= SWIG_Py_Void();
15983 SWIGINTERN PyObject
*_wrap_HelpControllerBase_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
= 0;
15985 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15986 wxString
const &arg2_defvalue
= wxEmptyString
;
15987 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15991 bool temp2
= false ;
15992 PyObject
* obj0
= 0 ;
15993 PyObject
* obj1
= 0 ;
15994 char * kwnames
[] = {
15995 (char *) "self",(char *) "file", NULL
15998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HelpControllerBase_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16000 if (!SWIG_IsOK(res1
)) {
16001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16003 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16006 arg2
= wxString_in_helper(obj1
);
16007 if (arg2
== NULL
) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16034 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16035 PyObject
*resultobj
= 0;
16036 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16040 PyObject
*swig_obj
[1] ;
16042 if (!args
) SWIG_fail
;
16043 swig_obj
[0] = args
;
16044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16045 if (!SWIG_IsOK(res1
)) {
16046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16048 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16051 result
= (bool)(arg1
)->DisplayContents();
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16064 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16065 PyObject
*resultobj
= 0;
16066 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16074 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16076 if (!SWIG_IsOK(res1
)) {
16077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16079 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16080 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16081 if (!SWIG_IsOK(ecode2
)) {
16082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16084 arg2
= static_cast< int >(val2
);
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 result
= (bool)(arg1
)->DisplaySection(arg2
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16100 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
= 0;
16102 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16109 PyObject
* obj0
= 0 ;
16110 PyObject
* obj1
= 0 ;
16111 char * kwnames
[] = {
16112 (char *) "self",(char *) "contextId", NULL
16115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16117 if (!SWIG_IsOK(res1
)) {
16118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16120 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16122 if (!SWIG_IsOK(ecode2
)) {
16123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16125 arg2
= static_cast< int >(val2
);
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (bool)(arg1
)->DisplayContextPopup(arg2
);
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16141 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayTextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
= 0;
16143 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16144 wxString
*arg2
= 0 ;
16145 wxPoint
*arg3
= 0 ;
16149 bool temp2
= false ;
16151 PyObject
* obj0
= 0 ;
16152 PyObject
* obj1
= 0 ;
16153 PyObject
* obj2
= 0 ;
16154 char * kwnames
[] = {
16155 (char *) "self",(char *) "text",(char *) "pos", NULL
16158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16160 if (!SWIG_IsOK(res1
)) {
16161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16163 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16165 arg2
= wxString_in_helper(obj1
);
16166 if (arg2
== NULL
) SWIG_fail
;
16171 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (bool)(arg1
)->DisplayTextPopup((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16196 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16197 PyObject
*resultobj
= 0;
16198 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16199 wxString
*arg2
= 0 ;
16203 bool temp2
= false ;
16205 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16207 if (!SWIG_IsOK(res1
)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16210 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16212 arg2
= wxString_in_helper(swig_obj
[1]);
16213 if (arg2
== NULL
) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (bool)(arg1
)->DisplaySection((wxString
const &)*arg2
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16239 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection(PyObject
*self
, PyObject
*args
) {
16243 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_DisplaySection",0,2,argv
))) SWIG_fail
;
16249 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
16252 if (!_v
) goto check_1
;
16253 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self
, argc
, argv
);
16258 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self
, argc
, argv
);
16262 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16267 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
= 0;
16269 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 PyObject
* obj1
= 0 ;
16278 char * kwnames
[] = {
16279 (char *) "self",(char *) "blockNo", NULL
16282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16284 if (!SWIG_IsOK(res1
)) {
16285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16287 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16288 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
16289 if (!SWIG_IsOK(ecode2
)) {
16290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16292 arg2
= static_cast< long >(val2
);
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (bool)(arg1
)->DisplayBlock(arg2
);
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16308 SWIGINTERN PyObject
*_wrap_HelpControllerBase_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
= 0;
16310 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16311 wxString
*arg2
= 0 ;
16312 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
16316 bool temp2
= false ;
16319 PyObject
* obj0
= 0 ;
16320 PyObject
* obj1
= 0 ;
16321 PyObject
* obj2
= 0 ;
16322 char * kwnames
[] = {
16323 (char *) "self",(char *) "k",(char *) "mode", NULL
16326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16328 if (!SWIG_IsOK(res1
)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16331 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16333 arg2
= wxString_in_helper(obj1
);
16334 if (arg2
== NULL
) SWIG_fail
;
16339 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
16340 if (!SWIG_IsOK(res3
)) {
16341 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16346 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
16348 if (SWIG_IsNewObj(res3
)) delete temp
;
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16375 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
= 0;
16377 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16378 wxString
*arg2
= 0 ;
16380 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16381 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16382 bool arg5
= (bool) false ;
16385 bool temp2
= false ;
16390 PyObject
* obj0
= 0 ;
16391 PyObject
* obj1
= 0 ;
16392 PyObject
* obj2
= 0 ;
16393 PyObject
* obj3
= 0 ;
16394 PyObject
* obj4
= 0 ;
16395 char * kwnames
[] = {
16396 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16401 if (!SWIG_IsOK(res1
)) {
16402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16404 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16406 arg2
= wxString_in_helper(obj1
);
16407 if (arg2
== NULL
) SWIG_fail
;
16412 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16417 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16421 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16422 if (!SWIG_IsOK(ecode5
)) {
16423 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16425 arg5
= static_cast< bool >(val5
);
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 (arg1
)->SetFrameParameters((wxString
const &)*arg2
,(wxSize
const &)*arg3
,(wxPoint
const &)*arg4
,arg5
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= SWIG_Py_Void();
16448 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
= 0;
16450 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16451 wxSize
*arg2
= (wxSize
*) NULL
;
16452 wxPoint
*arg3
= (wxPoint
*) NULL
;
16453 bool *arg4
= (bool *) NULL
;
16454 wxFrame
*result
= 0 ;
16463 PyObject
* obj0
= 0 ;
16464 PyObject
* obj1
= 0 ;
16465 PyObject
* obj2
= 0 ;
16466 PyObject
* obj3
= 0 ;
16467 char * kwnames
[] = {
16468 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16473 if (!SWIG_IsOK(res1
)) {
16474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16476 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16478 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
16479 if (!SWIG_IsOK(res2
)) {
16480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
16482 arg2
= reinterpret_cast< wxSize
* >(argp2
);
16485 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPoint
, 0 | 0 );
16486 if (!SWIG_IsOK(res3
)) {
16487 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
16489 arg3
= reinterpret_cast< wxPoint
* >(argp3
);
16492 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_bool
, 0 | 0 );
16493 if (!SWIG_IsOK(res4
)) {
16494 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
16496 arg4
= reinterpret_cast< bool * >(argp4
);
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= (wxFrame
*)(arg1
)->GetFrameParameters(arg2
,arg3
,arg4
);
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= wxPyMake_wxObject(result
, 0);
16513 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Quit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16514 PyObject
*resultobj
= 0;
16515 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16519 PyObject
*swig_obj
[1] ;
16521 if (!args
) SWIG_fail
;
16522 swig_obj
[0] = args
;
16523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16524 if (!SWIG_IsOK(res1
)) {
16525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16527 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 result
= (bool)(arg1
)->Quit();
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16543 SWIGINTERN PyObject
*_wrap_HelpControllerBase_OnQuit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16544 PyObject
*resultobj
= 0;
16545 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16548 PyObject
*swig_obj
[1] ;
16550 if (!args
) SWIG_fail
;
16551 swig_obj
[0] = args
;
16552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16553 if (!SWIG_IsOK(res1
)) {
16554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16556 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= SWIG_Py_Void();
16570 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
= 0;
16572 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16573 wxWindow
*arg2
= (wxWindow
*) 0 ;
16578 PyObject
* obj0
= 0 ;
16579 PyObject
* obj1
= 0 ;
16580 char * kwnames
[] = {
16581 (char *) "self",(char *) "win", NULL
16584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16586 if (!SWIG_IsOK(res1
)) {
16587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16589 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16590 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16591 if (!SWIG_IsOK(res2
)) {
16592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16594 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 (arg1
)->SetParentWindow(arg2
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 resultobj
= SWIG_Py_Void();
16608 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16609 PyObject
*resultobj
= 0;
16610 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16611 wxWindow
*result
= 0 ;
16614 PyObject
*swig_obj
[1] ;
16616 if (!args
) SWIG_fail
;
16617 swig_obj
[0] = args
;
16618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16619 if (!SWIG_IsOK(res1
)) {
16620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16622 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= (wxWindow
*)((wxHelpControllerBase
const *)arg1
)->GetParentWindow();
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= wxPyMake_wxObject(result
, 0);
16638 SWIGINTERN PyObject
*HelpControllerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16641 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase
, SWIG_NewClientData(obj
));
16642 return SWIG_Py_Void();
16645 SWIGINTERN PyObject
*_wrap_new_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
= 0;
16647 int arg1
= (int) wxHF_DEFAULT_STYLE
;
16648 wxWindow
*arg2
= (wxWindow
*) NULL
;
16649 wxHtmlHelpController
*result
= 0 ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 char * kwnames
[] = {
16657 (char *) "style",(char *) "parentWindow", NULL
16660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlHelpController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16662 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16663 if (!SWIG_IsOK(ecode1
)) {
16664 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16666 arg1
= static_cast< int >(val1
);
16669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16670 if (!SWIG_IsOK(res2
)) {
16671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16673 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16676 if (!wxPyCheckForApp()) SWIG_fail
;
16677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16678 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
,arg2
);
16679 wxPyEndAllowThreads(__tstate
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_NEW
| 0 );
16689 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16690 PyObject
*resultobj
= 0;
16691 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16694 PyObject
*swig_obj
[1] ;
16696 if (!args
) SWIG_fail
;
16697 swig_obj
[0] = args
;
16698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
16699 if (!SWIG_IsOK(res1
)) {
16700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16702 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16710 resultobj
= SWIG_Py_Void();
16717 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16718 PyObject
*resultobj
= 0;
16719 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16720 wxHtmlHelpWindow
*result
= 0 ;
16723 PyObject
*swig_obj
[1] ;
16725 if (!args
) SWIG_fail
;
16726 swig_obj
[0] = args
;
16727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16728 if (!SWIG_IsOK(res1
)) {
16729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16731 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 result
= (wxHtmlHelpWindow
*)(arg1
)->GetHelpWindow();
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16739 resultobj
= wxPyMake_wxObject(result
, 0);
16747 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
= 0;
16749 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16750 wxHtmlHelpWindow
*arg2
= (wxHtmlHelpWindow
*) 0 ;
16755 PyObject
* obj0
= 0 ;
16756 PyObject
* obj1
= 0 ;
16757 char * kwnames
[] = {
16758 (char *) "self",(char *) "helpWindow", NULL
16761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16763 if (!SWIG_IsOK(res1
)) {
16764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16766 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
16768 if (!SWIG_IsOK(res2
)) {
16769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16771 arg2
= reinterpret_cast< wxHtmlHelpWindow
* >(argp2
);
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 (arg1
)->SetHelpWindow(arg2
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= SWIG_Py_Void();
16785 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16786 PyObject
*resultobj
= 0;
16787 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16788 wxHtmlHelpFrame
*result
= 0 ;
16791 PyObject
*swig_obj
[1] ;
16793 if (!args
) SWIG_fail
;
16794 swig_obj
[0] = args
;
16795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16796 if (!SWIG_IsOK(res1
)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16799 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16807 resultobj
= wxPyMake_wxObject(result
, 0);
16815 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16816 PyObject
*resultobj
= 0;
16817 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16818 wxHtmlHelpDialog
*result
= 0 ;
16821 PyObject
*swig_obj
[1] ;
16823 if (!args
) SWIG_fail
;
16824 swig_obj
[0] = args
;
16825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16826 if (!SWIG_IsOK(res1
)) {
16827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16829 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 result
= (wxHtmlHelpDialog
*)(arg1
)->GetDialog();
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16837 resultobj
= wxPyMake_wxObject(result
, 0);
16845 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
= 0;
16847 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16848 wxString
*arg2
= 0 ;
16851 bool temp2
= false ;
16852 PyObject
* obj0
= 0 ;
16853 PyObject
* obj1
= 0 ;
16854 char * kwnames
[] = {
16855 (char *) "self",(char *) "format", NULL
16858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16860 if (!SWIG_IsOK(res1
)) {
16861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16863 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16865 arg2
= wxString_in_helper(obj1
);
16866 if (arg2
== NULL
) SWIG_fail
;
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= SWIG_Py_Void();
16890 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
= 0;
16892 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16893 wxString
*arg2
= 0 ;
16896 bool temp2
= false ;
16897 PyObject
* obj0
= 0 ;
16898 PyObject
* obj1
= 0 ;
16899 char * kwnames
[] = {
16900 (char *) "self",(char *) "path", NULL
16903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16905 if (!SWIG_IsOK(res1
)) {
16906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16908 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16910 arg2
= wxString_in_helper(obj1
);
16911 if (arg2
== NULL
) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 (arg1
)->SetTempDir((wxString
const &)*arg2
);
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= SWIG_Py_Void();
16935 SWIGINTERN PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
= 0;
16937 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16938 wxString
*arg2
= 0 ;
16939 int arg3
= (int) false ;
16943 bool temp2
= false ;
16946 PyObject
* obj0
= 0 ;
16947 PyObject
* obj1
= 0 ;
16948 PyObject
* obj2
= 0 ;
16949 char * kwnames
[] = {
16950 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
16953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16955 if (!SWIG_IsOK(res1
)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16958 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16960 arg2
= wxString_in_helper(obj1
);
16961 if (arg2
== NULL
) SWIG_fail
;
16965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16966 if (!SWIG_IsOK(ecode3
)) {
16967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
16969 arg3
= static_cast< int >(val3
);
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16994 SWIGINTERN PyObject
*_wrap_HtmlHelpController_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
= 0;
16996 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16997 wxString
*arg2
= 0 ;
17000 bool temp2
= false ;
17001 PyObject
* obj0
= 0 ;
17002 PyObject
* obj1
= 0 ;
17003 char * kwnames
[] = {
17004 (char *) "self",(char *) "x", NULL
17007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17009 if (!SWIG_IsOK(res1
)) {
17010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17012 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17014 arg2
= wxString_in_helper(obj1
);
17015 if (arg2
== NULL
) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 (arg1
)->Display((wxString
const &)*arg2
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= SWIG_Py_Void();
17039 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
= 0;
17041 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17047 PyObject
* obj0
= 0 ;
17048 PyObject
* obj1
= 0 ;
17049 char * kwnames
[] = {
17050 (char *) "self",(char *) "id", NULL
17053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17055 if (!SWIG_IsOK(res1
)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17058 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17060 if (!SWIG_IsOK(ecode2
)) {
17061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17063 arg2
= static_cast< int >(val2
);
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 (arg1
)->Display(arg2
);
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= SWIG_Py_Void();
17077 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17078 PyObject
*resultobj
= 0;
17079 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17082 PyObject
*swig_obj
[1] ;
17084 if (!args
) SWIG_fail
;
17085 swig_obj
[0] = args
;
17086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17087 if (!SWIG_IsOK(res1
)) {
17088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17090 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 (arg1
)->DisplayContents();
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= SWIG_Py_Void();
17104 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17105 PyObject
*resultobj
= 0;
17106 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17109 PyObject
*swig_obj
[1] ;
17111 if (!args
) SWIG_fail
;
17112 swig_obj
[0] = args
;
17113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17114 if (!SWIG_IsOK(res1
)) {
17115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17117 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 (arg1
)->DisplayIndex();
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17124 resultobj
= SWIG_Py_Void();
17131 SWIGINTERN PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17132 PyObject
*resultobj
= 0;
17133 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17134 wxString
*arg2
= 0 ;
17138 bool temp2
= false ;
17139 PyObject
* obj0
= 0 ;
17140 PyObject
* obj1
= 0 ;
17141 char * kwnames
[] = {
17142 (char *) "self",(char *) "keyword", NULL
17145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17147 if (!SWIG_IsOK(res1
)) {
17148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17150 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17152 arg2
= wxString_in_helper(obj1
);
17153 if (arg2
== NULL
) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17179 SWIGINTERN PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
= 0;
17181 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17182 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17183 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17184 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17189 bool temp3
= false ;
17190 PyObject
* obj0
= 0 ;
17191 PyObject
* obj1
= 0 ;
17192 PyObject
* obj2
= 0 ;
17193 char * kwnames
[] = {
17194 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17199 if (!SWIG_IsOK(res1
)) {
17200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17202 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17204 if (!SWIG_IsOK(res2
)) {
17205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17207 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17210 arg3
= wxString_in_helper(obj2
);
17211 if (arg3
== NULL
) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= SWIG_Py_Void();
17236 SWIGINTERN PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
= 0;
17238 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17239 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17240 wxString arg3
= (wxString
) wxPyEmptyString
;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 PyObject
* obj2
= 0 ;
17248 char * kwnames
[] = {
17249 (char *) "self",(char *) "cfg",(char *) "path", NULL
17252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17254 if (!SWIG_IsOK(res1
)) {
17255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17257 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17259 if (!SWIG_IsOK(res2
)) {
17260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17262 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17265 wxString
* sptr
= wxString_in_helper(obj2
);
17266 if (sptr
== NULL
) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 (arg1
)->ReadCustomization(arg2
,arg3
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= SWIG_Py_Void();
17284 SWIGINTERN PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
= 0;
17286 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17287 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17288 wxString arg3
= (wxString
) wxPyEmptyString
;
17293 PyObject
* obj0
= 0 ;
17294 PyObject
* obj1
= 0 ;
17295 PyObject
* obj2
= 0 ;
17296 char * kwnames
[] = {
17297 (char *) "self",(char *) "cfg",(char *) "path", NULL
17300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17302 if (!SWIG_IsOK(res1
)) {
17303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17305 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17307 if (!SWIG_IsOK(res2
)) {
17308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17310 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17313 wxString
* sptr
= wxString_in_helper(obj2
);
17314 if (sptr
== NULL
) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 (arg1
)->WriteCustomization(arg2
,arg3
);
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17325 resultobj
= SWIG_Py_Void();
17332 SWIGINTERN PyObject
*_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17333 PyObject
*resultobj
= 0;
17334 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17337 PyObject
*swig_obj
[1] ;
17339 if (!args
) SWIG_fail
;
17340 swig_obj
[0] = args
;
17341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17342 if (!SWIG_IsOK(res1
)) {
17343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17345 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 (arg1
)->MakeModalIfNeeded();
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 resultobj
= SWIG_Py_Void();
17359 SWIGINTERN PyObject
*_wrap_HtmlHelpController_FindTopLevelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17360 PyObject
*resultobj
= 0;
17361 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17362 wxWindow
*result
= 0 ;
17365 PyObject
*swig_obj
[1] ;
17367 if (!args
) SWIG_fail
;
17368 swig_obj
[0] = args
;
17369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17370 if (!SWIG_IsOK(res1
)) {
17371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17373 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 result
= (wxWindow
*)(arg1
)->FindTopLevelWindow();
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= wxPyMake_wxObject(result
, 0);
17389 SWIGINTERN PyObject
*HtmlHelpController_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17392 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController
, SWIG_NewClientData(obj
));
17393 return SWIG_Py_Void();
17396 SWIGINTERN PyObject
*HtmlHelpController_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17397 return SWIG_Python_InitShadowInstance(args
);
17400 SWIGINTERN PyObject
*_wrap_new_HtmlModalHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
= 0;
17402 wxWindow
*arg1
= (wxWindow
*) 0 ;
17403 wxString
*arg2
= 0 ;
17404 wxString
const &arg3_defvalue
= wxEmptyString
;
17405 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17406 int arg4
= (int) wxHF_DEFAULT_STYLE
|wxHF_DIALOG
|wxHF_MODAL
;
17407 wxHtmlModalHelp
*result
= 0 ;
17410 bool temp2
= false ;
17411 bool temp3
= false ;
17414 PyObject
* obj0
= 0 ;
17415 PyObject
* obj1
= 0 ;
17416 PyObject
* obj2
= 0 ;
17417 PyObject
* obj3
= 0 ;
17418 char * kwnames
[] = {
17419 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_HtmlModalHelp",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17424 if (!SWIG_IsOK(res1
)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17427 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17429 arg2
= wxString_in_helper(obj1
);
17430 if (arg2
== NULL
) SWIG_fail
;
17435 arg3
= wxString_in_helper(obj2
);
17436 if (arg3
== NULL
) SWIG_fail
;
17441 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17442 if (!SWIG_IsOK(ecode4
)) {
17443 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17445 arg4
= static_cast< int >(val4
);
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= (wxHtmlModalHelp
*)new wxHtmlModalHelp(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlModalHelp
, SWIG_POINTER_NEW
| 0 );
17476 SWIGINTERN PyObject
*HtmlModalHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17479 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp
, SWIG_NewClientData(obj
));
17480 return SWIG_Py_Void();
17483 SWIGINTERN PyObject
*HtmlModalHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17484 return SWIG_Python_InitShadowInstance(args
);
17487 static PyMethodDef SwigMethods
[] = {
17488 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17489 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
)_wrap_HtmlLinkInfo_GetHref
, METH_O
, NULL
},
17490 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
)_wrap_HtmlLinkInfo_GetTarget
, METH_O
, NULL
},
17491 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
)_wrap_HtmlLinkInfo_GetEvent
, METH_O
, NULL
},
17492 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
)_wrap_HtmlLinkInfo_GetHtmlCell
, METH_O
, NULL
},
17493 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17494 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17495 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
17496 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit
, METH_VARARGS
, NULL
},
17497 { (char *)"HtmlTag_GetName", (PyCFunction
)_wrap_HtmlTag_GetName
, METH_O
, NULL
},
17498 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17499 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17500 { (char *)"HtmlTag_GetAllParams", (PyCFunction
)_wrap_HtmlTag_GetAllParams
, METH_O
, NULL
},
17501 { (char *)"HtmlTag_HasEnding", (PyCFunction
)_wrap_HtmlTag_HasEnding
, METH_O
, NULL
},
17502 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
)_wrap_HtmlTag_GetBeginPos
, METH_O
, NULL
},
17503 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
)_wrap_HtmlTag_GetEndPos1
, METH_O
, NULL
},
17504 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
)_wrap_HtmlTag_GetEndPos2
, METH_O
, NULL
},
17505 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
17506 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17507 { (char *)"HtmlParser_GetFS", (PyCFunction
)_wrap_HtmlParser_GetFS
, METH_O
, NULL
},
17508 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17509 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17510 { (char *)"HtmlParser_DoneParser", (PyCFunction
)_wrap_HtmlParser_DoneParser
, METH_O
, NULL
},
17511 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17512 { (char *)"HtmlParser_StopParsing", (PyCFunction
)_wrap_HtmlParser_StopParsing
, METH_O
, NULL
},
17513 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17514 { (char *)"HtmlParser_GetSource", (PyCFunction
)_wrap_HtmlParser_GetSource
, METH_O
, NULL
},
17515 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17516 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
)_wrap_HtmlParser_PopTagHandler
, METH_O
, NULL
},
17517 { (char *)"HtmlParser_GetInnerSource", (PyCFunction
) _wrap_HtmlParser_GetInnerSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17518 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
17519 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17520 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17521 { (char *)"HtmlWinParser_GetDC", (PyCFunction
)_wrap_HtmlWinParser_GetDC
, METH_O
, NULL
},
17522 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
)_wrap_HtmlWinParser_GetCharHeight
, METH_O
, NULL
},
17523 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
)_wrap_HtmlWinParser_GetCharWidth
, METH_O
, NULL
},
17524 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
)_wrap_HtmlWinParser_GetWindow
, METH_O
, NULL
},
17525 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction
)_wrap_HtmlWinParser_GetWindowInterface
, METH_O
, NULL
},
17526 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17527 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17528 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
)_wrap_HtmlWinParser_GetContainer
, METH_O
, NULL
},
17529 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
)_wrap_HtmlWinParser_OpenContainer
, METH_O
, NULL
},
17530 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17531 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
)_wrap_HtmlWinParser_CloseContainer
, METH_O
, NULL
},
17532 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
)_wrap_HtmlWinParser_GetFontSize
, METH_O
, NULL
},
17533 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17534 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
)_wrap_HtmlWinParser_GetFontBold
, METH_O
, NULL
},
17535 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17536 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
)_wrap_HtmlWinParser_GetFontItalic
, METH_O
, NULL
},
17537 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17538 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
)_wrap_HtmlWinParser_GetFontUnderlined
, METH_O
, NULL
},
17539 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17540 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
)_wrap_HtmlWinParser_GetFontFixed
, METH_O
, NULL
},
17541 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17542 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
)_wrap_HtmlWinParser_GetAlign
, METH_O
, NULL
},
17543 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17544 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
)_wrap_HtmlWinParser_GetLinkColor
, METH_O
, NULL
},
17545 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17546 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
)_wrap_HtmlWinParser_GetActualColor
, METH_O
, NULL
},
17547 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17548 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17549 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
)_wrap_HtmlWinParser_CreateCurrentFont
, METH_O
, NULL
},
17550 { (char *)"HtmlWinParser_GetLink", (PyCFunction
)_wrap_HtmlWinParser_GetLink
, METH_O
, NULL
},
17551 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
17552 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit
, METH_VARARGS
, NULL
},
17553 { (char *)"new_HtmlTagHandler", (PyCFunction
)_wrap_new_HtmlTagHandler
, METH_NOARGS
, NULL
},
17554 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17555 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17556 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
)_wrap_HtmlTagHandler_GetParser
, METH_O
, NULL
},
17557 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17558 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
17559 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit
, METH_VARARGS
, NULL
},
17560 { (char *)"new_HtmlWinTagHandler", (PyCFunction
)_wrap_new_HtmlWinTagHandler
, METH_NOARGS
, NULL
},
17561 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17562 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17563 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
)_wrap_HtmlWinTagHandler_GetParser
, METH_O
, NULL
},
17564 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17565 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
17566 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit
, METH_VARARGS
, NULL
},
17567 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17568 { (char *)"new_HtmlSelection", (PyCFunction
)_wrap_new_HtmlSelection
, METH_NOARGS
, NULL
},
17569 { (char *)"delete_HtmlSelection", (PyCFunction
)_wrap_delete_HtmlSelection
, METH_O
, NULL
},
17570 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17571 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17572 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
)_wrap_HtmlSelection_GetFromCell
, METH_O
, NULL
},
17573 { (char *)"HtmlSelection_GetToCell", (PyCFunction
)_wrap_HtmlSelection_GetToCell
, METH_O
, NULL
},
17574 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPos
, METH_O
, NULL
},
17575 { (char *)"HtmlSelection_GetToPos", (PyCFunction
)_wrap_HtmlSelection_GetToPos
, METH_O
, NULL
},
17576 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPrivPos
, METH_O
, NULL
},
17577 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetToPrivPos
, METH_O
, NULL
},
17578 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17579 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17580 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
)_wrap_HtmlSelection_ClearPrivPos
, METH_O
, NULL
},
17581 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
)_wrap_HtmlSelection_IsEmpty
, METH_O
, NULL
},
17582 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
17583 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit
, METH_VARARGS
, NULL
},
17584 { (char *)"new_HtmlRenderingState", (PyCFunction
)_wrap_new_HtmlRenderingState
, METH_NOARGS
, NULL
},
17585 { (char *)"delete_HtmlRenderingState", (PyCFunction
)_wrap_delete_HtmlRenderingState
, METH_O
, NULL
},
17586 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17587 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
)_wrap_HtmlRenderingState_GetSelectionState
, METH_O
, NULL
},
17588 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17589 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetFgColour
, METH_O
, NULL
},
17590 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17591 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetBgColour
, METH_O
, NULL
},
17592 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
17593 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit
, METH_VARARGS
, NULL
},
17594 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17595 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17596 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17597 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17598 { (char *)"new_HtmlRenderingInfo", (PyCFunction
)_wrap_new_HtmlRenderingInfo
, METH_NOARGS
, NULL
},
17599 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
)_wrap_delete_HtmlRenderingInfo
, METH_O
, NULL
},
17600 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17601 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
)_wrap_HtmlRenderingInfo_GetSelection
, METH_O
, NULL
},
17602 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17603 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
)_wrap_HtmlRenderingInfo_GetStyle
, METH_O
, NULL
},
17604 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
)_wrap_HtmlRenderingInfo_GetState
, METH_O
, NULL
},
17605 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
17606 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit
, METH_VARARGS
, NULL
},
17607 { (char *)"new_HtmlCell", (PyCFunction
)_wrap_new_HtmlCell
, METH_NOARGS
, NULL
},
17608 { (char *)"delete_HtmlCell", (PyCFunction
)_wrap_delete_HtmlCell
, METH_O
, NULL
},
17609 { (char *)"HtmlCell_GetPosX", (PyCFunction
)_wrap_HtmlCell_GetPosX
, METH_O
, NULL
},
17610 { (char *)"HtmlCell_GetPosY", (PyCFunction
)_wrap_HtmlCell_GetPosY
, METH_O
, NULL
},
17611 { (char *)"HtmlCell_GetWidth", (PyCFunction
)_wrap_HtmlCell_GetWidth
, METH_O
, NULL
},
17612 { (char *)"HtmlCell_GetHeight", (PyCFunction
)_wrap_HtmlCell_GetHeight
, METH_O
, NULL
},
17613 { (char *)"HtmlCell_GetDescent", (PyCFunction
)_wrap_HtmlCell_GetDescent
, METH_O
, NULL
},
17614 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
)_wrap_HtmlCell_GetMaxTotalWidth
, METH_O
, NULL
},
17615 { (char *)"HtmlCell_GetId", (PyCFunction
)_wrap_HtmlCell_GetId
, METH_O
, NULL
},
17616 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17617 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17618 { (char *)"HtmlCell_GetNext", (PyCFunction
)_wrap_HtmlCell_GetNext
, METH_O
, NULL
},
17619 { (char *)"HtmlCell_GetParent", (PyCFunction
)_wrap_HtmlCell_GetParent
, METH_O
, NULL
},
17620 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
)_wrap_HtmlCell_GetFirstChild
, METH_O
, NULL
},
17621 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction
) _wrap_HtmlCell_GetMouseCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17622 { (char *)"HtmlCell_GetCursor", (PyCFunction
)_wrap_HtmlCell_GetCursor
, METH_O
, NULL
},
17623 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
)_wrap_HtmlCell_IsFormattingCell
, METH_O
, NULL
},
17624 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17625 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17626 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17627 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17628 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17629 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17630 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17631 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17632 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction
) _wrap_HtmlCell_ProcessMouseClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17633 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17634 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlCell_IsLinebreakAllowed
, METH_O
, NULL
},
17635 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
)_wrap_HtmlCell_IsTerminalCell
, METH_O
, NULL
},
17636 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17637 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17638 { (char *)"HtmlCell_GetRootCell", (PyCFunction
)_wrap_HtmlCell_GetRootCell
, METH_O
, NULL
},
17639 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
)_wrap_HtmlCell_GetFirstTerminal
, METH_O
, NULL
},
17640 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
)_wrap_HtmlCell_GetLastTerminal
, METH_O
, NULL
},
17641 { (char *)"HtmlCell_GetDepth", (PyCFunction
)_wrap_HtmlCell_GetDepth
, METH_O
, NULL
},
17642 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17643 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17644 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
17645 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit
, METH_VARARGS
, NULL
},
17646 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17647 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction
) _wrap_HtmlWordCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17648 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlWordCell_IsLinebreakAllowed
, METH_O
, NULL
},
17649 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction
) _wrap_HtmlWordCell_SetPreviousWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17650 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
17651 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit
, METH_VARARGS
, NULL
},
17652 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17653 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17654 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17655 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignHor
, METH_O
, NULL
},
17656 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17657 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignVer
, METH_O
, NULL
},
17658 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17659 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17660 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17661 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17662 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17663 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17664 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17665 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17666 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
)_wrap_HtmlContainerCell_GetBackgroundColour
, METH_O
, NULL
},
17667 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17668 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
)_wrap_HtmlContainerCell_GetFirstChild
, METH_O
, NULL
},
17669 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
17670 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit
, METH_VARARGS
, NULL
},
17671 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17672 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
17673 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit
, METH_VARARGS
, NULL
},
17674 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17675 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
17676 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit
, METH_VARARGS
, NULL
},
17677 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17678 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
17679 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit
, METH_VARARGS
, NULL
},
17680 { (char *)"new_HtmlFilter", (PyCFunction
)_wrap_new_HtmlFilter
, METH_NOARGS
, NULL
},
17681 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17682 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
17683 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit
, METH_VARARGS
, NULL
},
17684 { (char *)"delete_HtmlWindowInterface", (PyCFunction
)_wrap_delete_HtmlWindowInterface
, METH_O
, NULL
},
17685 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLWindowTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17686 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction
) _wrap_HtmlWindowInterface_HTMLCoordsToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17687 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLWindow
, METH_O
, NULL
},
17688 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour
, METH_O
, NULL
},
17689 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17690 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17691 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17692 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister
, METH_VARARGS
, NULL
},
17693 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17694 { (char *)"new_PreHtmlWindow", (PyCFunction
)_wrap_new_PreHtmlWindow
, METH_NOARGS
, NULL
},
17695 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17696 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17697 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17698 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17699 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17700 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17701 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPage
, METH_O
, NULL
},
17702 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
)_wrap_HtmlWindow_GetOpenedAnchor
, METH_O
, NULL
},
17703 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPageTitle
, METH_O
, NULL
},
17704 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17705 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
)_wrap_HtmlWindow_GetRelatedFrame
, METH_O
, NULL
},
17706 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17707 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17708 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17709 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17710 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17711 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17712 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17713 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
)_wrap_HtmlWindow_HistoryBack
, METH_O
, NULL
},
17714 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
)_wrap_HtmlWindow_HistoryForward
, METH_O
, NULL
},
17715 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
)_wrap_HtmlWindow_HistoryCanBack
, METH_O
, NULL
},
17716 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
)_wrap_HtmlWindow_HistoryCanForward
, METH_O
, NULL
},
17717 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
)_wrap_HtmlWindow_HistoryClear
, METH_O
, NULL
},
17718 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
)_wrap_HtmlWindow_GetInternalRepresentation
, METH_O
, NULL
},
17719 { (char *)"HtmlWindow_GetParser", (PyCFunction
)_wrap_HtmlWindow_GetParser
, METH_O
, NULL
},
17720 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17721 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17722 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17723 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17724 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17725 { (char *)"HtmlWindow_SelectAll", (PyCFunction
)_wrap_HtmlWindow_SelectAll
, METH_O
, NULL
},
17726 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
)_wrap_HtmlWindow_SelectionToText
, METH_O
, NULL
},
17727 { (char *)"HtmlWindow_ToText", (PyCFunction
)_wrap_HtmlWindow_ToText
, METH_O
, NULL
},
17728 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17729 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17730 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17731 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17732 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction
) _wrap_HtmlWindow_OnOpeningURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17733 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17734 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction
) _wrap_HtmlWindow_GetDefaultHTMLCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17735 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
17736 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit
, METH_VARARGS
, NULL
},
17737 { (char *)"new_HtmlDCRenderer", (PyCFunction
)_wrap_new_HtmlDCRenderer
, METH_NOARGS
, NULL
},
17738 { (char *)"delete_HtmlDCRenderer", (PyCFunction
)_wrap_delete_HtmlDCRenderer
, METH_O
, NULL
},
17739 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17740 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17741 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17742 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17743 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17744 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17745 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
)_wrap_HtmlDCRenderer_GetTotalHeight
, METH_O
, NULL
},
17746 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
17747 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit
, METH_VARARGS
, NULL
},
17748 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17749 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17750 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17751 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17752 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17753 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17754 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17755 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17756 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17757 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
)_wrap_HtmlPrintout_CleanUpStatics
, METH_NOARGS
, NULL
},
17758 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
17759 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit
, METH_VARARGS
, NULL
},
17760 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17761 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
)_wrap_delete_HtmlEasyPrinting
, METH_O
, NULL
},
17762 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17763 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17764 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17765 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17766 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
)_wrap_HtmlEasyPrinting_PageSetup
, METH_O
, NULL
},
17767 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17768 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17769 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17770 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17771 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPrintData
, METH_O
, NULL
},
17772 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPageSetupData
, METH_O
, NULL
},
17773 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
17774 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit
, METH_VARARGS
, NULL
},
17775 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17776 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
)_wrap_HtmlBookRecord_GetBookFile
, METH_O
, NULL
},
17777 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
)_wrap_HtmlBookRecord_GetTitle
, METH_O
, NULL
},
17778 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
)_wrap_HtmlBookRecord_GetStart
, METH_O
, NULL
},
17779 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
)_wrap_HtmlBookRecord_GetBasePath
, METH_O
, NULL
},
17780 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17781 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsStart
, METH_O
, NULL
},
17782 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsEnd
, METH_O
, NULL
},
17783 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17784 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17785 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17786 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17787 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
17788 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit
, METH_VARARGS
, NULL
},
17789 { (char *)"HtmlSearchStatus_Search", (PyCFunction
)_wrap_HtmlSearchStatus_Search
, METH_O
, NULL
},
17790 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
)_wrap_HtmlSearchStatus_IsActive
, METH_O
, NULL
},
17791 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetCurIndex
, METH_O
, NULL
},
17792 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetMaxIndex
, METH_O
, NULL
},
17793 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
)_wrap_HtmlSearchStatus_GetName
, METH_O
, NULL
},
17794 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
17795 { (char *)"new_HtmlHelpData", (PyCFunction
)_wrap_new_HtmlHelpData
, METH_NOARGS
, NULL
},
17796 { (char *)"delete_HtmlHelpData", (PyCFunction
)_wrap_delete_HtmlHelpData
, METH_O
, NULL
},
17797 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17798 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17799 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17800 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17801 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
)_wrap_HtmlHelpData_GetBookRecArray
, METH_O
, NULL
},
17802 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
17803 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit
, METH_VARARGS
, NULL
},
17804 { (char *)"new_HtmlHelpWindow", (PyCFunction
) _wrap_new_HtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17805 { (char *)"new_PreHtmlHelpWindow", (PyCFunction
) _wrap_new_PreHtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17806 { (char *)"HtmlHelpWindow_Create", (PyCFunction
) _wrap_HtmlHelpWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17807 { (char *)"HtmlHelpWindow_GetData", (PyCFunction
)_wrap_HtmlHelpWindow_GetData
, METH_O
, NULL
},
17808 { (char *)"HtmlHelpWindow_GetController", (PyCFunction
)_wrap_HtmlHelpWindow_GetController
, METH_O
, NULL
},
17809 { (char *)"HtmlHelpWindow_SetController", (PyCFunction
) _wrap_HtmlHelpWindow_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17810 { (char *)"HtmlHelpWindow_Display", (PyCFunction
) _wrap_HtmlHelpWindow_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17811 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction
) _wrap_HtmlHelpWindow_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17812 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayContents
, METH_O
, NULL
},
17813 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayIndex
, METH_O
, NULL
},
17814 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpWindow_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17815 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction
) _wrap_HtmlHelpWindow_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17816 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17817 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17818 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction
)_wrap_HtmlHelpWindow_NotifyPageChanged
, METH_O
, NULL
},
17819 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction
)_wrap_HtmlHelpWindow_RefreshLists
, METH_O
, NULL
},
17820 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetHtmlWindow
, METH_O
, NULL
},
17821 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetSplitterWindow
, METH_O
, NULL
},
17822 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction
)_wrap_HtmlHelpWindow_GetToolBar
, METH_O
, NULL
},
17823 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction
)_wrap_HtmlHelpWindow_GetCfgData
, METH_O
, NULL
},
17824 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction
)_wrap_HtmlHelpWindow_GetTreeCtrl
, METH_O
, NULL
},
17825 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister
, METH_VARARGS
, NULL
},
17826 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit
, METH_VARARGS
, NULL
},
17827 { (char *)"new_HtmlWindowEvent", (PyCFunction
) _wrap_new_HtmlWindowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17828 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction
) _wrap_HtmlWindowEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17829 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction
)_wrap_HtmlWindowEvent_GetURL
, METH_O
, NULL
},
17830 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister
, METH_VARARGS
, NULL
},
17831 { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit
, METH_VARARGS
, NULL
},
17832 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17833 { (char *)"new_PreHtmlHelpFrame", (PyCFunction
) _wrap_new_PreHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17834 { (char *)"HtmlHelpFrame_Create", (PyCFunction
) _wrap_HtmlHelpFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17835 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
)_wrap_HtmlHelpFrame_GetData
, METH_O
, NULL
},
17836 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17837 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction
)_wrap_HtmlHelpFrame_AddGrabIfNeeded
, METH_O
, NULL
},
17838 { (char *)"HtmlHelpFrame_GetController", (PyCFunction
)_wrap_HtmlHelpFrame_GetController
, METH_O
, NULL
},
17839 { (char *)"HtmlHelpFrame_SetController", (PyCFunction
) _wrap_HtmlHelpFrame_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17840 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpFrame_GetHelpWindow
, METH_O
, NULL
},
17841 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
17842 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit
, METH_VARARGS
, NULL
},
17843 { (char *)"new_HtmlHelpDialog", (PyCFunction
) _wrap_new_HtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17844 { (char *)"new_PreHtmlHelpDialog", (PyCFunction
) _wrap_new_PreHtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17845 { (char *)"HtmlHelpDialog_Create", (PyCFunction
) _wrap_HtmlHelpDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17846 { (char *)"HtmlHelpDialog_GetData", (PyCFunction
)_wrap_HtmlHelpDialog_GetData
, METH_O
, NULL
},
17847 { (char *)"HtmlHelpDialog_GetController", (PyCFunction
)_wrap_HtmlHelpDialog_GetController
, METH_O
, NULL
},
17848 { (char *)"HtmlHelpDialog_SetController", (PyCFunction
) _wrap_HtmlHelpDialog_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17849 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpDialog_GetHelpWindow
, METH_O
, NULL
},
17850 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpDialog_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17851 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister
, METH_VARARGS
, NULL
},
17852 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit
, METH_VARARGS
, NULL
},
17853 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize
, METH_VARARGS
, NULL
},
17854 { (char *)"HelpControllerBase_SetViewer", (PyCFunction
) _wrap_HelpControllerBase_SetViewer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17855 { (char *)"HelpControllerBase_LoadFile", (PyCFunction
) _wrap_HelpControllerBase_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17856 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction
)_wrap_HelpControllerBase_DisplayContents
, METH_O
, NULL
},
17857 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayContextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17858 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayTextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17859 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection
, METH_VARARGS
, NULL
},
17860 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction
) _wrap_HelpControllerBase_DisplayBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17861 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction
) _wrap_HelpControllerBase_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17862 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_SetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17863 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_GetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17864 { (char *)"HelpControllerBase_Quit", (PyCFunction
)_wrap_HelpControllerBase_Quit
, METH_O
, NULL
},
17865 { (char *)"HelpControllerBase_OnQuit", (PyCFunction
)_wrap_HelpControllerBase_OnQuit
, METH_O
, NULL
},
17866 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction
) _wrap_HelpControllerBase_SetParentWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17867 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction
)_wrap_HelpControllerBase_GetParentWindow
, METH_O
, NULL
},
17868 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister
, METH_VARARGS
, NULL
},
17869 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17870 { (char *)"delete_HtmlHelpController", (PyCFunction
)_wrap_delete_HtmlHelpController
, METH_O
, NULL
},
17871 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpController_GetHelpWindow
, METH_O
, NULL
},
17872 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction
) _wrap_HtmlHelpController_SetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17873 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
)_wrap_HtmlHelpController_GetFrame
, METH_O
, NULL
},
17874 { (char *)"HtmlHelpController_GetDialog", (PyCFunction
)_wrap_HtmlHelpController_GetDialog
, METH_O
, NULL
},
17875 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17876 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17877 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17878 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17879 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17880 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
)_wrap_HtmlHelpController_DisplayContents
, METH_O
, NULL
},
17881 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpController_DisplayIndex
, METH_O
, NULL
},
17882 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17883 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17884 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17885 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17886 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction
)_wrap_HtmlHelpController_MakeModalIfNeeded
, METH_O
, NULL
},
17887 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction
)_wrap_HtmlHelpController_FindTopLevelWindow
, METH_O
, NULL
},
17888 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
17889 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit
, METH_VARARGS
, NULL
},
17890 { (char *)"new_HtmlModalHelp", (PyCFunction
) _wrap_new_HtmlModalHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17891 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister
, METH_VARARGS
, NULL
},
17892 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit
, METH_VARARGS
, NULL
},
17893 { NULL
, NULL
, 0, NULL
}
17897 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17899 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
17900 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
17902 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
17903 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17905 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
17906 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
17908 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
17909 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
17911 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
17912 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
17914 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
17915 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
17917 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
17918 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
17920 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
17921 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17923 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
17924 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
17926 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
17927 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
17929 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
17930 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
17932 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
17933 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17935 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
17936 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
17938 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
17939 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
17941 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
17942 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
17944 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
17945 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17947 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
17948 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
17950 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
17951 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
17953 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
17954 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
17956 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
17957 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
17959 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
17960 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
17962 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
17963 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
17965 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
17966 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
17968 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
17969 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
17971 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
17972 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
17974 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
17975 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
17977 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
17978 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17980 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
17981 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
17983 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
17984 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
17986 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
17987 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
17989 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
17990 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
17992 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
17993 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
17995 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
17996 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
17998 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
17999 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18001 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18002 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18004 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18005 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18007 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18008 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18010 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x
) {
18011 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18013 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18014 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18016 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18017 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18019 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18020 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18022 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18023 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18025 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18026 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18028 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18029 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18031 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18032 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18034 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
18035 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18037 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
18038 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18040 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
18041 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18043 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
18044 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18046 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
18047 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18049 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x
) {
18050 return (void *)((wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18052 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
18053 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18055 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
18056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18058 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
18059 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18061 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
18062 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18064 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
18065 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
18067 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
18068 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
18070 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
18071 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
18073 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
18074 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
18076 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
18077 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18079 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
18080 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18082 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
18083 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18085 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
18086 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18088 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
18089 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18091 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
18092 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18094 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
18095 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18097 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
18098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18100 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
18101 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
18103 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
18104 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
18106 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
18107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18109 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
18110 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18112 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
18113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18115 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
18116 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
18118 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
18119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18121 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
18122 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
18124 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
18125 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
18127 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
18128 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
18130 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
18131 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
18133 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
18134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18136 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
18137 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
18139 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
18140 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
18142 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
18143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18145 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
18146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18148 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x
) {
18149 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18151 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
18152 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
18154 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
18155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18157 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
18158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18160 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
18161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18163 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
18164 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
18166 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
18167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18169 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
18170 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
18172 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
18173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18175 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
18176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18178 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
18179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18181 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18184 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18187 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
18188 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18190 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
18191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18193 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
18194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18196 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
18197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18199 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
18200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18202 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
18203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18205 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
18206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18208 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x
) {
18209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18211 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
18212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18214 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
18215 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18217 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
18218 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
18220 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
18221 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
18223 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
18224 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
18226 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
18227 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18229 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
18230 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
18232 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
18233 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18235 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
18236 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
18238 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
18239 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
18241 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
18242 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18244 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18247 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
18248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18250 static void *_p_wxEventTo_p_wxObject(void *x
) {
18251 return (void *)((wxObject
*) ((wxEvent
*) x
));
18253 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
18254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18256 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18257 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18259 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18260 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18262 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
18263 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18265 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18268 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18271 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
18272 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
18274 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18275 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18277 static void *_p_wxImageTo_p_wxObject(void *x
) {
18278 return (void *)((wxObject
*) ((wxImage
*) x
));
18280 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18281 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18283 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
18284 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
18286 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
18287 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18289 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
18290 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
18292 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18293 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18295 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
18296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18298 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
18299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18301 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
18302 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
18304 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18305 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18307 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18310 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18311 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18313 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18314 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18316 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18317 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18319 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
18320 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
18322 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18323 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18325 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
18326 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
18328 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
18329 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
18331 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
18332 return (void *)((wxObject
*) ((wxPrinter
*) x
));
18334 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18337 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
18338 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
18340 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
18341 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
18343 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18344 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18346 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18347 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18349 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18350 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18352 static void *_p_wxControlTo_p_wxObject(void *x
) {
18353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18355 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
18356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18358 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
18359 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18361 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
18362 return (void *)((wxObject
*) ((wxColourData
*) x
));
18364 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18365 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18367 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18368 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18370 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18371 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18373 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18374 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18376 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18377 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18379 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18380 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18382 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18383 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18385 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18386 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18388 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
18389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
18391 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
18392 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18394 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
18395 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18397 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
18398 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
18400 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
18401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18403 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
18404 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
18406 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18407 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18409 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18410 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18412 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18413 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18415 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
18416 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
18418 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
18419 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18421 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
18422 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18424 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
18425 return (void *)((wxObject
*) ((wxPrintData
*) x
));
18427 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
18428 return (void *)((wxObject
*) ((wxFontData
*) x
));
18430 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
18431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18433 static void *_p_wxFrameTo_p_wxObject(void *x
) {
18434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18436 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18439 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18440 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18442 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
18443 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18445 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18446 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18448 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
18449 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
18451 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
18452 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
18454 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18455 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18457 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18458 return (void *)((wxObject
*) ((wxSizer
*) x
));
18460 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18461 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18463 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18464 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18466 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18467 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18469 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
18470 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18472 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18473 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18475 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18476 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18478 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
18479 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
18481 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18482 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18484 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
18485 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18487 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18488 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18490 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18491 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18493 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18494 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18496 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18497 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18499 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x
) {
18500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18502 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
18503 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
18505 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
18506 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
18508 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
18509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18511 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
18512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18514 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
18515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18517 static void *_p_wxDialogTo_p_wxObject(void *x
) {
18518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18520 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18523 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18524 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18526 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
18527 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18529 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
18530 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
18532 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18533 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18535 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18536 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18538 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18539 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18541 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18542 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18544 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
18545 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
18547 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18548 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18550 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18551 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18553 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18554 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18556 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18557 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18559 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18560 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18562 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18563 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18565 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18566 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18568 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18569 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18571 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18572 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18574 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x
) {
18575 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18577 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18578 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18580 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x
) {
18581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18583 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
18584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18586 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
18587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18589 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
18590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
18592 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
18593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18595 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
18596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18598 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
18599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18601 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
18602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
18604 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
18605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18607 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
18608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
18610 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
18611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
18613 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
18614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
18616 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
18617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
18619 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
18620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18622 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18623 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18625 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x
) {
18626 return (void *)((wxObject
*) ((wxHelpControllerBase
*) x
));
18628 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
18629 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
18631 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
18632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18634 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
18635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18637 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
18638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18640 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
18641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18643 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
18644 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18646 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
18647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18649 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
18650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18652 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
18653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18655 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
18656 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
18658 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
18659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
18661 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18662 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18664 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18665 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18667 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18668 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18670 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18671 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18673 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
18674 return (void *)((wxObject
*) (wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
18676 static void *_p_wxPanelTo_p_wxObject(void *x
) {
18677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
18679 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
18680 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18682 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18683 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18685 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
18686 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
18688 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18689 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18691 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18692 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18694 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18695 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18697 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18698 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18700 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
18701 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18703 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
18704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
18706 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18707 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18709 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18710 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18712 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18713 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18715 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
18716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18718 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
18719 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18721 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18724 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
18725 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18727 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
18728 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18730 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
18731 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
18733 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18734 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18736 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
18737 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18739 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
18740 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18742 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
18743 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18745 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
18746 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18748 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
18749 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18751 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
18752 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18754 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
18755 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18757 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
18758 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18760 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
18761 return (void *)((wxWindow
*) ((wxPanel
*) x
));
18763 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
18764 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
18766 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
18767 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18769 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
18770 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18772 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
18773 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18775 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
18776 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
18778 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
18779 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18781 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
18782 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
18784 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
18785 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
18787 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
18788 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
18790 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
18791 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
18793 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
18794 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
18796 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
18797 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
18799 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
18800 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18802 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
18803 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18805 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x
) {
18806 return (void *)((wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18808 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18809 return (void *)((wxWindow
*) ((wxControl
*) x
));
18811 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
18812 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18814 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
18815 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18817 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
18818 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18820 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18821 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18823 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
18824 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
18826 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
18827 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18829 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
18830 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18832 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
18833 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18835 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
18836 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
18838 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
18839 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18841 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
18842 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18844 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
18845 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
18847 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
18848 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18850 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
18851 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18853 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
18854 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18856 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
18857 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
18859 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x
) {
18860 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18862 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
18863 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18865 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
18866 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18868 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
18869 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18871 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
18872 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18874 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
18875 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
18877 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
18878 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
18880 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
18881 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
18883 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
18884 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
18886 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
18887 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
18889 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
18890 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
18892 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x
) {
18893 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18895 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
18896 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
18898 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
18899 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
18901 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
18902 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
18904 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
18905 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
18907 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
18908 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
18910 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18911 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18913 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18914 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
18916 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
18917 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18919 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
18920 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18922 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
18923 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
18925 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
18926 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
18928 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
18929 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18931 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
18932 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
18934 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
18935 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18937 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
18938 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
18940 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
18941 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
18943 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
18944 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
18946 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x
) {
18947 return (void *)((wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18949 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
18950 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
18952 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
18953 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18955 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
18956 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18958 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
18959 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
18961 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
18962 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18964 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
18965 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
18967 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
18968 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
18970 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
18971 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
18973 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
18974 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18976 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
18977 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18979 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
18980 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18982 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
18983 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18985 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
18986 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18988 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
18989 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
18991 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
18992 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18994 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
18995 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
18997 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
18998 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19000 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
19001 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
19003 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x
) {
19004 return (void *)((wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
19006 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19007 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19009 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19010 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19012 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19013 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19015 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
19016 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
19018 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19019 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19021 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19022 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19024 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19025 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19027 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19028 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19030 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
19031 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
19033 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19034 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19036 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19037 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19039 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x
) {
19040 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
19042 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19043 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19045 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19046 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19048 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19049 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
19050 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};
19051 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
19052 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19053 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19054 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19055 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
19056 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19057 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19058 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19059 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19060 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19061 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19062 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
19063 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19064 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19065 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19066 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19067 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19068 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19069 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19070 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19071 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19072 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19073 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19074 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
= {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19075 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19076 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19077 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19078 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19079 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19080 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19081 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19082 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19083 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19084 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19085 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19086 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19087 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19088 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19089 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19090 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19091 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19092 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19093 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19094 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19095 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19096 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19097 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19098 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19099 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19100 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19101 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19102 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19103 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19104 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19105 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19106 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19107 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19108 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19109 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19110 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19111 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19112 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19113 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19114 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19115 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19116 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19117 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19118 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19119 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19120 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19121 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
19122 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19123 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19124 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19125 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19126 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19127 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19128 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19129 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19130 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19131 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19132 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19133 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19134 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19135 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19136 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
19137 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19138 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
19139 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19140 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19141 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19142 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19143 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19144 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19145 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19146 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19147 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
19148 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19149 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19150 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19151 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19152 static swig_type_info _swigt__p_wxHelpControllerBase
= {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19153 static swig_type_info _swigt__p_wxHelpSearchMode
= {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19154 static swig_type_info _swigt__p_wxHtmlBookRecArray
= {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19155 static swig_type_info _swigt__p_wxHtmlBookRecord
= {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19156 static swig_type_info _swigt__p_wxHtmlCell
= {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19157 static swig_type_info _swigt__p_wxHtmlColourCell
= {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19158 static swig_type_info _swigt__p_wxHtmlContainerCell
= {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19159 static swig_type_info _swigt__p_wxHtmlDCRenderer
= {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19160 static swig_type_info _swigt__p_wxHtmlEasyPrinting
= {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19161 static swig_type_info _swigt__p_wxHtmlFilter
= {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19162 static swig_type_info _swigt__p_wxHtmlFontCell
= {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19163 static swig_type_info _swigt__p_wxHtmlHelpController
= {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19164 static swig_type_info _swigt__p_wxHtmlHelpData
= {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19165 static swig_type_info _swigt__p_wxHtmlHelpDialog
= {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19166 static swig_type_info _swigt__p_wxHtmlHelpFrame
= {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19167 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg
= {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19168 static swig_type_info _swigt__p_wxHtmlHelpWindow
= {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19169 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19170 static swig_type_info _swigt__p_wxHtmlModalHelp
= {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19171 static swig_type_info _swigt__p_wxHtmlParser
= {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19172 static swig_type_info _swigt__p_wxHtmlPrintout
= {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19173 static swig_type_info _swigt__p_wxHtmlRenderingInfo
= {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19174 static swig_type_info _swigt__p_wxHtmlRenderingState
= {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19175 static swig_type_info _swigt__p_wxHtmlRenderingStyle
= {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19176 static swig_type_info _swigt__p_wxHtmlSearchStatus
= {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19177 static swig_type_info _swigt__p_wxHtmlSelection
= {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19178 static swig_type_info _swigt__p_wxHtmlTag
= {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19179 static swig_type_info _swigt__p_wxHtmlTagHandler
= {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19180 static swig_type_info _swigt__p_wxHtmlWidgetCell
= {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19181 static swig_type_info _swigt__p_wxHtmlWinParser
= {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19182 static swig_type_info _swigt__p_wxHtmlWindow
= {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
19183 static swig_type_info _swigt__p_wxHtmlWindowEvent
= {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0};
19184 static swig_type_info _swigt__p_wxHtmlWindowInterface
= {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19185 static swig_type_info _swigt__p_wxHtmlWordCell
= {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19186 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19187 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
19188 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19189 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19190 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19191 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
19192 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
19193 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19194 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19195 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19196 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
19197 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19198 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19199 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19200 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
19201 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19202 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
19203 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19204 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19205 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19206 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19207 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
19208 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19209 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19210 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
19211 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19212 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19213 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19214 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19215 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19216 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19217 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19218 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19219 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19220 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19221 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19222 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19223 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19224 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19225 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19226 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19227 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19228 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19229 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19230 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19231 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19232 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19233 static swig_type_info _swigt__p_wxPyHtmlFilter
= {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19234 static swig_type_info _swigt__p_wxPyHtmlTagHandler
= {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19235 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
= {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19236 static swig_type_info _swigt__p_wxPyHtmlWindow
= {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19237 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19238 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19239 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19240 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19241 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19242 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19243 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
19244 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19245 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19247 static swig_type_info
*swig_type_initial
[] = {
19250 &_swigt__p_form_ops_t
,
19252 &_swigt__p_unsigned_char
,
19253 &_swigt__p_unsigned_int
,
19254 &_swigt__p_unsigned_long
,
19255 &_swigt__p_wxANIHandler
,
19256 &_swigt__p_wxAcceleratorTable
,
19257 &_swigt__p_wxActivateEvent
,
19258 &_swigt__p_wxArrayInt
,
19259 &_swigt__p_wxBMPHandler
,
19260 &_swigt__p_wxBitmap
,
19261 &_swigt__p_wxBoxSizer
,
19262 &_swigt__p_wxCURHandler
,
19263 &_swigt__p_wxCalculateLayoutEvent
,
19264 &_swigt__p_wxChildFocusEvent
,
19265 &_swigt__p_wxClipboardTextEvent
,
19266 &_swigt__p_wxCloseEvent
,
19267 &_swigt__p_wxColour
,
19268 &_swigt__p_wxColourData
,
19269 &_swigt__p_wxColourDialog
,
19270 &_swigt__p_wxCommandEvent
,
19271 &_swigt__p_wxConfigBase
,
19272 &_swigt__p_wxContextMenuEvent
,
19273 &_swigt__p_wxControl
,
19274 &_swigt__p_wxControlWithItems
,
19275 &_swigt__p_wxCursor
,
19277 &_swigt__p_wxDateEvent
,
19278 &_swigt__p_wxDefaultHtmlRenderingStyle
,
19279 &_swigt__p_wxDialog
,
19280 &_swigt__p_wxDirDialog
,
19281 &_swigt__p_wxDisplayChangedEvent
,
19282 &_swigt__p_wxDropFilesEvent
,
19283 &_swigt__p_wxDuplexMode
,
19284 &_swigt__p_wxEraseEvent
,
19285 &_swigt__p_wxEvent
,
19286 &_swigt__p_wxEvtHandler
,
19287 &_swigt__p_wxFSFile
,
19288 &_swigt__p_wxFileDialog
,
19289 &_swigt__p_wxFileSystem
,
19290 &_swigt__p_wxFindDialogEvent
,
19291 &_swigt__p_wxFindReplaceData
,
19292 &_swigt__p_wxFindReplaceDialog
,
19293 &_swigt__p_wxFlexGridSizer
,
19294 &_swigt__p_wxFocusEvent
,
19296 &_swigt__p_wxFontData
,
19297 &_swigt__p_wxFontDialog
,
19298 &_swigt__p_wxFrame
,
19299 &_swigt__p_wxGBSizerItem
,
19300 &_swigt__p_wxGIFHandler
,
19301 &_swigt__p_wxGridBagSizer
,
19302 &_swigt__p_wxGridSizer
,
19303 &_swigt__p_wxHelpControllerBase
,
19304 &_swigt__p_wxHelpSearchMode
,
19305 &_swigt__p_wxHtmlBookRecArray
,
19306 &_swigt__p_wxHtmlBookRecord
,
19307 &_swigt__p_wxHtmlCell
,
19308 &_swigt__p_wxHtmlColourCell
,
19309 &_swigt__p_wxHtmlContainerCell
,
19310 &_swigt__p_wxHtmlDCRenderer
,
19311 &_swigt__p_wxHtmlEasyPrinting
,
19312 &_swigt__p_wxHtmlFilter
,
19313 &_swigt__p_wxHtmlFontCell
,
19314 &_swigt__p_wxHtmlHelpController
,
19315 &_swigt__p_wxHtmlHelpData
,
19316 &_swigt__p_wxHtmlHelpDialog
,
19317 &_swigt__p_wxHtmlHelpFrame
,
19318 &_swigt__p_wxHtmlHelpFrameCfg
,
19319 &_swigt__p_wxHtmlHelpWindow
,
19320 &_swigt__p_wxHtmlLinkInfo
,
19321 &_swigt__p_wxHtmlModalHelp
,
19322 &_swigt__p_wxHtmlParser
,
19323 &_swigt__p_wxHtmlPrintout
,
19324 &_swigt__p_wxHtmlRenderingInfo
,
19325 &_swigt__p_wxHtmlRenderingState
,
19326 &_swigt__p_wxHtmlRenderingStyle
,
19327 &_swigt__p_wxHtmlSearchStatus
,
19328 &_swigt__p_wxHtmlSelection
,
19329 &_swigt__p_wxHtmlTag
,
19330 &_swigt__p_wxHtmlTagHandler
,
19331 &_swigt__p_wxHtmlWidgetCell
,
19332 &_swigt__p_wxHtmlWinParser
,
19333 &_swigt__p_wxHtmlWindow
,
19334 &_swigt__p_wxHtmlWindowEvent
,
19335 &_swigt__p_wxHtmlWindowInterface
,
19336 &_swigt__p_wxHtmlWordCell
,
19337 &_swigt__p_wxICOHandler
,
19338 &_swigt__p_wxIconizeEvent
,
19339 &_swigt__p_wxIdleEvent
,
19340 &_swigt__p_wxImage
,
19341 &_swigt__p_wxImageHandler
,
19342 &_swigt__p_wxIndividualLayoutConstraint
,
19343 &_swigt__p_wxInitDialogEvent
,
19344 &_swigt__p_wxJPEGHandler
,
19345 &_swigt__p_wxKeyEvent
,
19346 &_swigt__p_wxLayoutAlgorithm
,
19347 &_swigt__p_wxLayoutConstraints
,
19348 &_swigt__p_wxMDIChildFrame
,
19349 &_swigt__p_wxMDIClientWindow
,
19350 &_swigt__p_wxMDIParentFrame
,
19351 &_swigt__p_wxMaximizeEvent
,
19353 &_swigt__p_wxMenuBar
,
19354 &_swigt__p_wxMenuEvent
,
19355 &_swigt__p_wxMenuItem
,
19356 &_swigt__p_wxMessageDialog
,
19357 &_swigt__p_wxMiniFrame
,
19358 &_swigt__p_wxMouseCaptureChangedEvent
,
19359 &_swigt__p_wxMouseEvent
,
19360 &_swigt__p_wxMoveEvent
,
19361 &_swigt__p_wxMultiChoiceDialog
,
19362 &_swigt__p_wxNavigationKeyEvent
,
19363 &_swigt__p_wxNcPaintEvent
,
19364 &_swigt__p_wxNotifyEvent
,
19365 &_swigt__p_wxObject
,
19366 &_swigt__p_wxPCXHandler
,
19367 &_swigt__p_wxPNGHandler
,
19368 &_swigt__p_wxPNMHandler
,
19369 &_swigt__p_wxPageSetupDialog
,
19370 &_swigt__p_wxPageSetupDialogData
,
19371 &_swigt__p_wxPaintEvent
,
19372 &_swigt__p_wxPaletteChangedEvent
,
19373 &_swigt__p_wxPanel
,
19374 &_swigt__p_wxPaperSize
,
19375 &_swigt__p_wxPasswordEntryDialog
,
19376 &_swigt__p_wxPoint
,
19377 &_swigt__p_wxPopupWindow
,
19378 &_swigt__p_wxPreviewCanvas
,
19379 &_swigt__p_wxPreviewControlBar
,
19380 &_swigt__p_wxPreviewFrame
,
19381 &_swigt__p_wxPrintData
,
19382 &_swigt__p_wxPrintDialog
,
19383 &_swigt__p_wxPrintDialogData
,
19384 &_swigt__p_wxPrintPreview
,
19385 &_swigt__p_wxPrinter
,
19386 &_swigt__p_wxProgressDialog
,
19387 &_swigt__p_wxPyApp
,
19388 &_swigt__p_wxPyCommandEvent
,
19389 &_swigt__p_wxPyEvent
,
19390 &_swigt__p_wxPyHtmlFilter
,
19391 &_swigt__p_wxPyHtmlListBox
,
19392 &_swigt__p_wxPyHtmlTagHandler
,
19393 &_swigt__p_wxPyHtmlWinTagHandler
,
19394 &_swigt__p_wxPyHtmlWindow
,
19395 &_swigt__p_wxPyImageHandler
,
19396 &_swigt__p_wxPyPanel
,
19397 &_swigt__p_wxPyPopupTransientWindow
,
19398 &_swigt__p_wxPyPreviewControlBar
,
19399 &_swigt__p_wxPyPreviewFrame
,
19400 &_swigt__p_wxPyPrintPreview
,
19401 &_swigt__p_wxPyPrintout
,
19402 &_swigt__p_wxPyScrolledWindow
,
19403 &_swigt__p_wxPySizer
,
19404 &_swigt__p_wxPyTaskBarIcon
,
19405 &_swigt__p_wxPyVListBox
,
19406 &_swigt__p_wxPyVScrolledWindow
,
19407 &_swigt__p_wxPyValidator
,
19408 &_swigt__p_wxPyWindow
,
19409 &_swigt__p_wxQueryLayoutInfoEvent
,
19410 &_swigt__p_wxQueryNewPaletteEvent
,
19411 &_swigt__p_wxSashEvent
,
19412 &_swigt__p_wxSashLayoutWindow
,
19413 &_swigt__p_wxSashWindow
,
19414 &_swigt__p_wxScrollEvent
,
19415 &_swigt__p_wxScrollWinEvent
,
19416 &_swigt__p_wxScrolledWindow
,
19417 &_swigt__p_wxSetCursorEvent
,
19418 &_swigt__p_wxShowEvent
,
19419 &_swigt__p_wxSingleChoiceDialog
,
19421 &_swigt__p_wxSizeEvent
,
19422 &_swigt__p_wxSizer
,
19423 &_swigt__p_wxSizerItem
,
19424 &_swigt__p_wxSplashScreen
,
19425 &_swigt__p_wxSplashScreenWindow
,
19426 &_swigt__p_wxSplitterEvent
,
19427 &_swigt__p_wxSplitterWindow
,
19428 &_swigt__p_wxStaticBoxSizer
,
19429 &_swigt__p_wxStatusBar
,
19430 &_swigt__p_wxStdDialogButtonSizer
,
19431 &_swigt__p_wxString
,
19432 &_swigt__p_wxSysColourChangedEvent
,
19433 &_swigt__p_wxTIFFHandler
,
19434 &_swigt__p_wxTaskBarIconEvent
,
19435 &_swigt__p_wxTextEntryDialog
,
19436 &_swigt__p_wxTipWindow
,
19437 &_swigt__p_wxTopLevelWindow
,
19438 &_swigt__p_wxTreeCtrl
,
19439 &_swigt__p_wxUpdateUIEvent
,
19440 &_swigt__p_wxValidator
,
19441 &_swigt__p_wxVisualAttributes
,
19442 &_swigt__p_wxWindow
,
19443 &_swigt__p_wxWindowCreateEvent
,
19444 &_swigt__p_wxWindowDestroyEvent
,
19445 &_swigt__p_wxXPMHandler
,
19448 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
19449 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
19450 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
19451 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
19452 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
19453 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
19454 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
19455 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
19456 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
19457 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
19458 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
19459 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19460 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
19461 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
19462 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
19463 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
19464 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19465 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19466 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19467 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19468 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19469 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
19470 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
19471 static swig_cast_info _swigc__p_wxConfigBase
[] = { {&_swigt__p_wxConfigBase
, 0, 0, 0},{0, 0, 0, 0}};
19472 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
19473 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
19474 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle
[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle
, 0, 0, 0},{0, 0, 0, 0}};
19475 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
19476 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
19477 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
19478 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
19479 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19480 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19481 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19482 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19483 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
19484 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19485 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}};
19486 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
19487 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19488 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19489 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19490 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
19491 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19492 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19493 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
19494 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
19495 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
19496 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19497 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19498 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19499 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19500 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
19501 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19502 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19503 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19504 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19505 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19506 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19507 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19508 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
19509 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
19510 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19511 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19512 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19513 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
19514 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
19515 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_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}};
19516 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
19517 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
19518 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
19519 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
19520 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
19521 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
19522 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
19523 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
19524 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19525 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19526 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19527 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
19528 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
19529 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
19530 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
19531 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19532 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
19533 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19534 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19535 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
19536 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
19537 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
19538 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
19539 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
19540 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
19541 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
19542 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
19543 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19544 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19545 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
19546 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
19547 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
19548 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}};
19549 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
19550 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
19551 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}};
19552 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}};
19553 static swig_cast_info _swigc__p_wxHelpSearchMode
[] = { {&_swigt__p_wxHelpSearchMode
, 0, 0, 0},{0, 0, 0, 0}};
19554 static swig_cast_info _swigc__p_wxHtmlBookRecArray
[] = { {&_swigt__p_wxHtmlBookRecArray
, 0, 0, 0},{0, 0, 0, 0}};
19555 static swig_cast_info _swigc__p_wxHtmlBookRecord
[] = { {&_swigt__p_wxHtmlBookRecord
, 0, 0, 0},{0, 0, 0, 0}};
19556 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}};
19557 static swig_cast_info _swigc__p_wxHtmlColourCell
[] = { {&_swigt__p_wxHtmlColourCell
, 0, 0, 0},{0, 0, 0, 0}};
19558 static swig_cast_info _swigc__p_wxHtmlContainerCell
[] = { {&_swigt__p_wxHtmlContainerCell
, 0, 0, 0},{0, 0, 0, 0}};
19559 static swig_cast_info _swigc__p_wxHtmlDCRenderer
[] = { {&_swigt__p_wxHtmlDCRenderer
, 0, 0, 0},{0, 0, 0, 0}};
19560 static swig_cast_info _swigc__p_wxHtmlEasyPrinting
[] = { {&_swigt__p_wxHtmlEasyPrinting
, 0, 0, 0},{0, 0, 0, 0}};
19561 static swig_cast_info _swigc__p_wxHtmlFilter
[] = { {&_swigt__p_wxHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19562 static swig_cast_info _swigc__p_wxHtmlFontCell
[] = { {&_swigt__p_wxHtmlFontCell
, 0, 0, 0},{0, 0, 0, 0}};
19563 static swig_cast_info _swigc__p_wxHtmlHelpController
[] = { {&_swigt__p_wxHtmlHelpController
, 0, 0, 0},{0, 0, 0, 0}};
19564 static swig_cast_info _swigc__p_wxHtmlHelpData
[] = { {&_swigt__p_wxHtmlHelpData
, 0, 0, 0},{0, 0, 0, 0}};
19565 static swig_cast_info _swigc__p_wxHtmlHelpDialog
[] = { {&_swigt__p_wxHtmlHelpDialog
, 0, 0, 0},{0, 0, 0, 0}};
19566 static swig_cast_info _swigc__p_wxHtmlHelpFrame
[] = { {&_swigt__p_wxHtmlHelpFrame
, 0, 0, 0},{0, 0, 0, 0}};
19567 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg
[] = { {&_swigt__p_wxHtmlHelpFrameCfg
, 0, 0, 0},{0, 0, 0, 0}};
19568 static swig_cast_info _swigc__p_wxHtmlHelpWindow
[] = { {&_swigt__p_wxHtmlHelpWindow
, 0, 0, 0},{0, 0, 0, 0}};
19569 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
19570 static swig_cast_info _swigc__p_wxHtmlModalHelp
[] = { {&_swigt__p_wxHtmlModalHelp
, 0, 0, 0},{0, 0, 0, 0}};
19571 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}};
19572 static swig_cast_info _swigc__p_wxHtmlPrintout
[] = { {&_swigt__p_wxHtmlPrintout
, 0, 0, 0},{0, 0, 0, 0}};
19573 static swig_cast_info _swigc__p_wxHtmlRenderingInfo
[] = { {&_swigt__p_wxHtmlRenderingInfo
, 0, 0, 0},{0, 0, 0, 0}};
19574 static swig_cast_info _swigc__p_wxHtmlRenderingState
[] = { {&_swigt__p_wxHtmlRenderingState
, 0, 0, 0},{0, 0, 0, 0}};
19575 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}};
19576 static swig_cast_info _swigc__p_wxHtmlSearchStatus
[] = { {&_swigt__p_wxHtmlSearchStatus
, 0, 0, 0},{0, 0, 0, 0}};
19577 static swig_cast_info _swigc__p_wxHtmlSelection
[] = { {&_swigt__p_wxHtmlSelection
, 0, 0, 0},{0, 0, 0, 0}};
19578 static swig_cast_info _swigc__p_wxHtmlTag
[] = { {&_swigt__p_wxHtmlTag
, 0, 0, 0},{0, 0, 0, 0}};
19579 static swig_cast_info _swigc__p_wxHtmlTagHandler
[] = { {&_swigt__p_wxHtmlTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19580 static swig_cast_info _swigc__p_wxHtmlWidgetCell
[] = { {&_swigt__p_wxHtmlWidgetCell
, 0, 0, 0},{0, 0, 0, 0}};
19581 static swig_cast_info _swigc__p_wxHtmlWinParser
[] = { {&_swigt__p_wxHtmlWinParser
, 0, 0, 0},{0, 0, 0, 0}};
19582 static swig_cast_info _swigc__p_wxHtmlWindow
[] = { {&_swigt__p_wxHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19583 static swig_cast_info _swigc__p_wxHtmlWindowEvent
[] = { {&_swigt__p_wxHtmlWindowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19584 static swig_cast_info _swigc__p_wxHtmlWindowInterface
[] = { {&_swigt__p_wxHtmlWindowInterface
, 0, 0, 0},{0, 0, 0, 0}};
19585 static swig_cast_info _swigc__p_wxHtmlWordCell
[] = { {&_swigt__p_wxHtmlWordCell
, 0, 0, 0},{0, 0, 0, 0}};
19586 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19587 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}};
19588 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
19589 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
19590 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
19591 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
19592 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
19593 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
19594 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19595 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
19596 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19597 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19598 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
19599 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
19600 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
19601 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
19602 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19603 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19604 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
19605 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19606 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19607 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19608 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
19609 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
19610 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19611 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19612 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
19613 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
19614 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19615 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19616 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19617 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19618 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
19619 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
19620 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
19621 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
19622 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19623 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19624 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
19625 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19626 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19627 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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler
, _p_wxPyHtmlWinTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler
, _p_wxPyHtmlTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpControllerBase
, _p_wxHelpControllerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlDCRenderer
, _p_wxHtmlDCRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
19628 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19629 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}};
19630 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
19631 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
19632 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
19633 static swig_cast_info _swigc__p_wxPyHtmlFilter
[] = { {&_swigt__p_wxPyHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19634 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}};
19635 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler
[] = { {&_swigt__p_wxPyHtmlWinTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19636 static swig_cast_info _swigc__p_wxPyHtmlWindow
[] = { {&_swigt__p_wxPyHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19637 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}};
19638 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}};
19639 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
19640 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
19641 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
19642 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}};
19643 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
19644 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
19645 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}};
19647 static swig_cast_info
*swig_cast_initial
[] = {
19650 _swigc__p_form_ops_t
,
19652 _swigc__p_unsigned_char
,
19653 _swigc__p_unsigned_int
,
19654 _swigc__p_unsigned_long
,
19655 _swigc__p_wxANIHandler
,
19656 _swigc__p_wxAcceleratorTable
,
19657 _swigc__p_wxActivateEvent
,
19658 _swigc__p_wxArrayInt
,
19659 _swigc__p_wxBMPHandler
,
19660 _swigc__p_wxBitmap
,
19661 _swigc__p_wxBoxSizer
,
19662 _swigc__p_wxCURHandler
,
19663 _swigc__p_wxCalculateLayoutEvent
,
19664 _swigc__p_wxChildFocusEvent
,
19665 _swigc__p_wxClipboardTextEvent
,
19666 _swigc__p_wxCloseEvent
,
19667 _swigc__p_wxColour
,
19668 _swigc__p_wxColourData
,
19669 _swigc__p_wxColourDialog
,
19670 _swigc__p_wxCommandEvent
,
19671 _swigc__p_wxConfigBase
,
19672 _swigc__p_wxContextMenuEvent
,
19673 _swigc__p_wxControl
,
19674 _swigc__p_wxControlWithItems
,
19675 _swigc__p_wxCursor
,
19677 _swigc__p_wxDateEvent
,
19678 _swigc__p_wxDefaultHtmlRenderingStyle
,
19679 _swigc__p_wxDialog
,
19680 _swigc__p_wxDirDialog
,
19681 _swigc__p_wxDisplayChangedEvent
,
19682 _swigc__p_wxDropFilesEvent
,
19683 _swigc__p_wxDuplexMode
,
19684 _swigc__p_wxEraseEvent
,
19686 _swigc__p_wxEvtHandler
,
19687 _swigc__p_wxFSFile
,
19688 _swigc__p_wxFileDialog
,
19689 _swigc__p_wxFileSystem
,
19690 _swigc__p_wxFindDialogEvent
,
19691 _swigc__p_wxFindReplaceData
,
19692 _swigc__p_wxFindReplaceDialog
,
19693 _swigc__p_wxFlexGridSizer
,
19694 _swigc__p_wxFocusEvent
,
19696 _swigc__p_wxFontData
,
19697 _swigc__p_wxFontDialog
,
19699 _swigc__p_wxGBSizerItem
,
19700 _swigc__p_wxGIFHandler
,
19701 _swigc__p_wxGridBagSizer
,
19702 _swigc__p_wxGridSizer
,
19703 _swigc__p_wxHelpControllerBase
,
19704 _swigc__p_wxHelpSearchMode
,
19705 _swigc__p_wxHtmlBookRecArray
,
19706 _swigc__p_wxHtmlBookRecord
,
19707 _swigc__p_wxHtmlCell
,
19708 _swigc__p_wxHtmlColourCell
,
19709 _swigc__p_wxHtmlContainerCell
,
19710 _swigc__p_wxHtmlDCRenderer
,
19711 _swigc__p_wxHtmlEasyPrinting
,
19712 _swigc__p_wxHtmlFilter
,
19713 _swigc__p_wxHtmlFontCell
,
19714 _swigc__p_wxHtmlHelpController
,
19715 _swigc__p_wxHtmlHelpData
,
19716 _swigc__p_wxHtmlHelpDialog
,
19717 _swigc__p_wxHtmlHelpFrame
,
19718 _swigc__p_wxHtmlHelpFrameCfg
,
19719 _swigc__p_wxHtmlHelpWindow
,
19720 _swigc__p_wxHtmlLinkInfo
,
19721 _swigc__p_wxHtmlModalHelp
,
19722 _swigc__p_wxHtmlParser
,
19723 _swigc__p_wxHtmlPrintout
,
19724 _swigc__p_wxHtmlRenderingInfo
,
19725 _swigc__p_wxHtmlRenderingState
,
19726 _swigc__p_wxHtmlRenderingStyle
,
19727 _swigc__p_wxHtmlSearchStatus
,
19728 _swigc__p_wxHtmlSelection
,
19729 _swigc__p_wxHtmlTag
,
19730 _swigc__p_wxHtmlTagHandler
,
19731 _swigc__p_wxHtmlWidgetCell
,
19732 _swigc__p_wxHtmlWinParser
,
19733 _swigc__p_wxHtmlWindow
,
19734 _swigc__p_wxHtmlWindowEvent
,
19735 _swigc__p_wxHtmlWindowInterface
,
19736 _swigc__p_wxHtmlWordCell
,
19737 _swigc__p_wxICOHandler
,
19738 _swigc__p_wxIconizeEvent
,
19739 _swigc__p_wxIdleEvent
,
19741 _swigc__p_wxImageHandler
,
19742 _swigc__p_wxIndividualLayoutConstraint
,
19743 _swigc__p_wxInitDialogEvent
,
19744 _swigc__p_wxJPEGHandler
,
19745 _swigc__p_wxKeyEvent
,
19746 _swigc__p_wxLayoutAlgorithm
,
19747 _swigc__p_wxLayoutConstraints
,
19748 _swigc__p_wxMDIChildFrame
,
19749 _swigc__p_wxMDIClientWindow
,
19750 _swigc__p_wxMDIParentFrame
,
19751 _swigc__p_wxMaximizeEvent
,
19753 _swigc__p_wxMenuBar
,
19754 _swigc__p_wxMenuEvent
,
19755 _swigc__p_wxMenuItem
,
19756 _swigc__p_wxMessageDialog
,
19757 _swigc__p_wxMiniFrame
,
19758 _swigc__p_wxMouseCaptureChangedEvent
,
19759 _swigc__p_wxMouseEvent
,
19760 _swigc__p_wxMoveEvent
,
19761 _swigc__p_wxMultiChoiceDialog
,
19762 _swigc__p_wxNavigationKeyEvent
,
19763 _swigc__p_wxNcPaintEvent
,
19764 _swigc__p_wxNotifyEvent
,
19765 _swigc__p_wxObject
,
19766 _swigc__p_wxPCXHandler
,
19767 _swigc__p_wxPNGHandler
,
19768 _swigc__p_wxPNMHandler
,
19769 _swigc__p_wxPageSetupDialog
,
19770 _swigc__p_wxPageSetupDialogData
,
19771 _swigc__p_wxPaintEvent
,
19772 _swigc__p_wxPaletteChangedEvent
,
19774 _swigc__p_wxPaperSize
,
19775 _swigc__p_wxPasswordEntryDialog
,
19777 _swigc__p_wxPopupWindow
,
19778 _swigc__p_wxPreviewCanvas
,
19779 _swigc__p_wxPreviewControlBar
,
19780 _swigc__p_wxPreviewFrame
,
19781 _swigc__p_wxPrintData
,
19782 _swigc__p_wxPrintDialog
,
19783 _swigc__p_wxPrintDialogData
,
19784 _swigc__p_wxPrintPreview
,
19785 _swigc__p_wxPrinter
,
19786 _swigc__p_wxProgressDialog
,
19788 _swigc__p_wxPyCommandEvent
,
19789 _swigc__p_wxPyEvent
,
19790 _swigc__p_wxPyHtmlFilter
,
19791 _swigc__p_wxPyHtmlListBox
,
19792 _swigc__p_wxPyHtmlTagHandler
,
19793 _swigc__p_wxPyHtmlWinTagHandler
,
19794 _swigc__p_wxPyHtmlWindow
,
19795 _swigc__p_wxPyImageHandler
,
19796 _swigc__p_wxPyPanel
,
19797 _swigc__p_wxPyPopupTransientWindow
,
19798 _swigc__p_wxPyPreviewControlBar
,
19799 _swigc__p_wxPyPreviewFrame
,
19800 _swigc__p_wxPyPrintPreview
,
19801 _swigc__p_wxPyPrintout
,
19802 _swigc__p_wxPyScrolledWindow
,
19803 _swigc__p_wxPySizer
,
19804 _swigc__p_wxPyTaskBarIcon
,
19805 _swigc__p_wxPyVListBox
,
19806 _swigc__p_wxPyVScrolledWindow
,
19807 _swigc__p_wxPyValidator
,
19808 _swigc__p_wxPyWindow
,
19809 _swigc__p_wxQueryLayoutInfoEvent
,
19810 _swigc__p_wxQueryNewPaletteEvent
,
19811 _swigc__p_wxSashEvent
,
19812 _swigc__p_wxSashLayoutWindow
,
19813 _swigc__p_wxSashWindow
,
19814 _swigc__p_wxScrollEvent
,
19815 _swigc__p_wxScrollWinEvent
,
19816 _swigc__p_wxScrolledWindow
,
19817 _swigc__p_wxSetCursorEvent
,
19818 _swigc__p_wxShowEvent
,
19819 _swigc__p_wxSingleChoiceDialog
,
19821 _swigc__p_wxSizeEvent
,
19823 _swigc__p_wxSizerItem
,
19824 _swigc__p_wxSplashScreen
,
19825 _swigc__p_wxSplashScreenWindow
,
19826 _swigc__p_wxSplitterEvent
,
19827 _swigc__p_wxSplitterWindow
,
19828 _swigc__p_wxStaticBoxSizer
,
19829 _swigc__p_wxStatusBar
,
19830 _swigc__p_wxStdDialogButtonSizer
,
19831 _swigc__p_wxString
,
19832 _swigc__p_wxSysColourChangedEvent
,
19833 _swigc__p_wxTIFFHandler
,
19834 _swigc__p_wxTaskBarIconEvent
,
19835 _swigc__p_wxTextEntryDialog
,
19836 _swigc__p_wxTipWindow
,
19837 _swigc__p_wxTopLevelWindow
,
19838 _swigc__p_wxTreeCtrl
,
19839 _swigc__p_wxUpdateUIEvent
,
19840 _swigc__p_wxValidator
,
19841 _swigc__p_wxVisualAttributes
,
19842 _swigc__p_wxWindow
,
19843 _swigc__p_wxWindowCreateEvent
,
19844 _swigc__p_wxWindowDestroyEvent
,
19845 _swigc__p_wxXPMHandler
,
19849 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19851 static swig_const_info swig_const_table
[] = {
19852 {0, 0, 0, 0.0, 0, 0}};
19857 /* -----------------------------------------------------------------------------
19858 * Type initialization:
19859 * This problem is tough by the requirement that no dynamic
19860 * memory is used. Also, since swig_type_info structures store pointers to
19861 * swig_cast_info structures and swig_cast_info structures store pointers back
19862 * to swig_type_info structures, we need some lookup code at initialization.
19863 * The idea is that swig generates all the structures that are needed.
19864 * The runtime then collects these partially filled structures.
19865 * The SWIG_InitializeModule function takes these initial arrays out of
19866 * swig_module, and does all the lookup, filling in the swig_module.types
19867 * array with the correct data and linking the correct swig_cast_info
19868 * structures together.
19870 * The generated swig_type_info structures are assigned staticly to an initial
19871 * array. We just loop though that array, and handle each type individually.
19872 * First we lookup if this type has been already loaded, and if so, use the
19873 * loaded structure instead of the generated one. Then we have to fill in the
19874 * cast linked list. The cast data is initially stored in something like a
19875 * two-dimensional array. Each row corresponds to a type (there are the same
19876 * number of rows as there are in the swig_type_initial array). Each entry in
19877 * a column is one of the swig_cast_info structures for that type.
19878 * The cast_initial array is actually an array of arrays, because each row has
19879 * a variable number of columns. So to actually build the cast linked list,
19880 * we find the array of casts associated with the type, and loop through it
19881 * adding the casts to the list. The one last trick we need to do is making
19882 * sure the type pointer in the swig_cast_info struct is correct.
19884 * First off, we lookup the cast->type name to see if it is already loaded.
19885 * There are three cases to handle:
19886 * 1) If the cast->type has already been loaded AND the type we are adding
19887 * casting info to has not been loaded (it is in this module), THEN we
19888 * replace the cast->type pointer with the type pointer that has already
19890 * 2) If BOTH types (the one we are adding casting info to, and the
19891 * cast->type) are loaded, THEN the cast info has already been loaded by
19892 * the previous module so we just ignore it.
19893 * 3) Finally, if cast->type has not already been loaded, then we add that
19894 * swig_cast_info to the linked list (because the cast->type) pointer will
19896 * ----------------------------------------------------------------------------- */
19906 #define SWIGRUNTIME_DEBUG
19910 SWIG_InitializeModule(void *clientdata
) {
19912 swig_module_info
*module_head
;
19913 static int init_run
= 0;
19915 clientdata
= clientdata
;
19917 if (init_run
) return;
19920 /* Initialize the swig_module */
19921 swig_module
.type_initial
= swig_type_initial
;
19922 swig_module
.cast_initial
= swig_cast_initial
;
19924 /* Try and load any already created modules */
19925 module_head
= SWIG_GetModule(clientdata
);
19927 swig_module
.next
= module_head
->next
;
19928 module_head
->next
= &swig_module
;
19930 /* This is the first module loaded */
19931 swig_module
.next
= &swig_module
;
19932 SWIG_SetModule(clientdata
, &swig_module
);
19935 /* Now work on filling in swig_module.types */
19936 #ifdef SWIGRUNTIME_DEBUG
19937 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
19939 for (i
= 0; i
< swig_module
.size
; ++i
) {
19940 swig_type_info
*type
= 0;
19941 swig_type_info
*ret
;
19942 swig_cast_info
*cast
;
19944 #ifdef SWIGRUNTIME_DEBUG
19945 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
19948 /* if there is another module already loaded */
19949 if (swig_module
.next
!= &swig_module
) {
19950 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
19953 /* Overwrite clientdata field */
19954 #ifdef SWIGRUNTIME_DEBUG
19955 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
19957 if (swig_module
.type_initial
[i
]->clientdata
) {
19958 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
19959 #ifdef SWIGRUNTIME_DEBUG
19960 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
19964 type
= swig_module
.type_initial
[i
];
19967 /* Insert casting types */
19968 cast
= swig_module
.cast_initial
[i
];
19969 while (cast
->type
) {
19970 /* Don't need to add information already in the list */
19972 #ifdef SWIGRUNTIME_DEBUG
19973 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
19975 if (swig_module
.next
!= &swig_module
) {
19976 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
19977 #ifdef SWIGRUNTIME_DEBUG
19978 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
19982 if (type
== swig_module
.type_initial
[i
]) {
19983 #ifdef SWIGRUNTIME_DEBUG
19984 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
19989 /* Check for casting already in the list */
19990 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
19991 #ifdef SWIGRUNTIME_DEBUG
19992 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
19994 if (!ocast
) ret
= 0;
19999 #ifdef SWIGRUNTIME_DEBUG
20000 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
20003 type
->cast
->prev
= cast
;
20004 cast
->next
= type
->cast
;
20010 /* Set entry in modules->types array equal to the type */
20011 swig_module
.types
[i
] = type
;
20013 swig_module
.types
[i
] = 0;
20015 #ifdef SWIGRUNTIME_DEBUG
20016 printf("**** SWIG_InitializeModule: Cast List ******\n");
20017 for (i
= 0; i
< swig_module
.size
; ++i
) {
20019 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
20020 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20021 while (cast
->type
) {
20022 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
20026 printf("---- Total casts: %d\n",j
);
20028 printf("**** SWIG_InitializeModule: Cast List ******\n");
20032 /* This function will propagate the clientdata field of type to
20033 * any new swig_type_info structures that have been added into the list
20034 * of equivalent types. It is like calling
20035 * SWIG_TypeClientData(type, clientdata) a second time.
20038 SWIG_PropagateClientData(void) {
20040 swig_cast_info
*equiv
;
20041 static int init_run
= 0;
20043 if (init_run
) return;
20046 for (i
= 0; i
< swig_module
.size
; i
++) {
20047 if (swig_module
.types
[i
]->clientdata
) {
20048 equiv
= swig_module
.types
[i
]->cast
;
20050 if (!equiv
->converter
) {
20051 if (equiv
->type
&& !equiv
->type
->clientdata
)
20052 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
20054 equiv
= equiv
->next
;
20074 /* Python-specific SWIG API */
20075 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20076 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20077 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20079 /* -----------------------------------------------------------------------------
20080 * global variable support code.
20081 * ----------------------------------------------------------------------------- */
20083 typedef struct swig_globalvar
{
20084 char *name
; /* Name of global variable */
20085 PyObject
*(*get_attr
)(void); /* Return the current value */
20086 int (*set_attr
)(PyObject
*); /* Set the value */
20087 struct swig_globalvar
*next
;
20090 typedef struct swig_varlinkobject
{
20092 swig_globalvar
*vars
;
20093 } swig_varlinkobject
;
20095 SWIGINTERN PyObject
*
20096 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
20097 return PyString_FromString("<Swig global variables>");
20100 SWIGINTERN PyObject
*
20101 swig_varlink_str(swig_varlinkobject
*v
) {
20102 PyObject
*str
= PyString_FromString("(");
20103 swig_globalvar
*var
;
20104 for (var
= v
->vars
; var
; var
=var
->next
) {
20105 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
20106 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
20108 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
20113 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
20114 PyObject
*str
= swig_varlink_str(v
);
20115 fprintf(fp
,"Swig global variables ");
20116 fprintf(fp
,"%s\n", PyString_AsString(str
));
20122 swig_varlink_dealloc(swig_varlinkobject
*v
) {
20123 swig_globalvar
*var
= v
->vars
;
20125 swig_globalvar
*n
= var
->next
;
20132 SWIGINTERN PyObject
*
20133 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
20134 PyObject
*res
= NULL
;
20135 swig_globalvar
*var
= v
->vars
;
20137 if (strcmp(var
->name
,n
) == 0) {
20138 res
= (*var
->get_attr
)();
20143 if (res
== NULL
&& !PyErr_Occurred()) {
20144 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20150 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
20152 swig_globalvar
*var
= v
->vars
;
20154 if (strcmp(var
->name
,n
) == 0) {
20155 res
= (*var
->set_attr
)(p
);
20160 if (res
== 1 && !PyErr_Occurred()) {
20161 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20166 SWIGINTERN PyTypeObject
*
20167 swig_varlink_type(void) {
20168 static char varlink__doc__
[] = "Swig var link object";
20169 static PyTypeObject varlink_type
;
20170 static int type_init
= 0;
20172 const PyTypeObject tmp
20174 PyObject_HEAD_INIT(NULL
)
20175 0, /* Number of items in variable part (ob_size) */
20176 (char *)"swigvarlink", /* Type name (tp_name) */
20177 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
20178 0, /* Itemsize (tp_itemsize) */
20179 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
20180 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
20181 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
20182 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
20183 0, /* tp_compare */
20184 (reprfunc
) swig_varlink_repr
, /* tp_repr */
20185 0, /* tp_as_number */
20186 0, /* tp_as_sequence */
20187 0, /* tp_as_mapping */
20190 (reprfunc
)swig_varlink_str
, /* tp_str */
20191 0, /* tp_getattro */
20192 0, /* tp_setattro */
20193 0, /* tp_as_buffer */
20195 varlink__doc__
, /* tp_doc */
20196 0, /* tp_traverse */
20198 0, /* tp_richcompare */
20199 0, /* tp_weaklistoffset */
20200 #if PY_VERSION_HEX >= 0x02020000
20201 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20203 #if PY_VERSION_HEX >= 0x02030000
20206 #ifdef COUNT_ALLOCS
20207 0,0,0,0 /* tp_alloc -> tp_next */
20210 varlink_type
= tmp
;
20211 varlink_type
.ob_type
= &PyType_Type
;
20214 return &varlink_type
;
20217 /* Create a variable linking object for use later */
20218 SWIGINTERN PyObject
*
20219 SWIG_Python_newvarlink(void) {
20220 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
20224 return ((PyObject
*) result
);
20228 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
20229 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
20230 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
20232 size_t size
= strlen(name
)+1;
20233 gv
->name
= (char *)malloc(size
);
20235 strncpy(gv
->name
,name
,size
);
20236 gv
->get_attr
= get_attr
;
20237 gv
->set_attr
= set_attr
;
20238 gv
->next
= v
->vars
;
20244 SWIGINTERN PyObject
*
20246 static PyObject
*_SWIG_globals
= 0;
20247 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
20248 return _SWIG_globals
;
20251 /* -----------------------------------------------------------------------------
20252 * constants/methods manipulation
20253 * ----------------------------------------------------------------------------- */
20255 /* Install Constants */
20257 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
20260 for (i
= 0; constants
[i
].type
; ++i
) {
20261 switch(constants
[i
].type
) {
20262 case SWIG_PY_POINTER
:
20263 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
20265 case SWIG_PY_BINARY
:
20266 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
20273 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
20279 /* -----------------------------------------------------------------------------*/
20280 /* Fix SwigMethods to carry the callback ptrs when needed */
20281 /* -----------------------------------------------------------------------------*/
20284 SWIG_Python_FixMethods(PyMethodDef
*methods
,
20285 swig_const_info
*const_table
,
20286 swig_type_info
**types
,
20287 swig_type_info
**types_initial
) {
20289 for (i
= 0; methods
[i
].ml_name
; ++i
) {
20290 char *c
= methods
[i
].ml_doc
;
20291 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
20293 swig_const_info
*ci
= 0;
20294 char *name
= c
+ 10;
20295 for (j
= 0; const_table
[j
].type
; ++j
) {
20296 if (strncmp(const_table
[j
].name
, name
,
20297 strlen(const_table
[j
].name
)) == 0) {
20298 ci
= &(const_table
[j
]);
20303 size_t shift
= (ci
->ptype
) - types
;
20304 swig_type_info
*ty
= types_initial
[shift
];
20305 size_t ldoc
= (c
- methods
[i
].ml_doc
);
20306 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
20307 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
20310 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
20312 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
20314 strncpy(buff
, "swig_ptr: ", 10);
20316 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
20317 methods
[i
].ml_doc
= ndoc
;
20329 /* -----------------------------------------------------------------------------*
20330 * Partial Init method
20331 * -----------------------------------------------------------------------------*/
20336 SWIGEXPORT
void SWIG_init(void) {
20339 /* Fix SwigMethods to carry the callback ptrs when needed */
20340 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
20342 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20343 d
= PyModule_GetDict(m
);
20345 SWIG_InitializeModule(0);
20346 SWIG_InstallConstants(d
,swig_const_table
);
20349 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
20350 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get
, HtmlWindowNameStr_set
);
20351 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get
, HtmlPrintoutTitleStr_set
);
20352 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get
, HtmlPrintingTitleStr_set
);
20353 SWIG_Python_SetConstant(d
, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT
)));
20354 SWIG_Python_SetConstant(d
, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER
)));
20355 SWIG_Python_SetConstant(d
, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT
)));
20356 SWIG_Python_SetConstant(d
, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM
)));
20357 SWIG_Python_SetConstant(d
, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP
)));
20358 SWIG_Python_SetConstant(d
, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND
)));
20359 SWIG_Python_SetConstant(d
, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND
)));
20360 SWIG_Python_SetConstant(d
, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS
)));
20361 SWIG_Python_SetConstant(d
, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT
)));
20362 SWIG_Python_SetConstant(d
, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT
)));
20363 SWIG_Python_SetConstant(d
, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT
)));
20364 SWIG_Python_SetConstant(d
, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP
)));
20365 SWIG_Python_SetConstant(d
, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM
)));
20366 SWIG_Python_SetConstant(d
, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL
)));
20367 SWIG_Python_SetConstant(d
, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL
)));
20368 SWIG_Python_SetConstant(d
, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL
)));
20369 SWIG_Python_SetConstant(d
, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR
)));
20370 SWIG_Python_SetConstant(d
, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP
)));
20371 SWIG_Python_SetConstant(d
, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER
)));
20372 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_1",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_1
)));
20373 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_2",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_2
)));
20374 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_3",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_3
)));
20375 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_4",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_4
)));
20376 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_5",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_5
)));
20377 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_6",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_6
)));
20378 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_7",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_7
)));
20379 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER
)));
20380 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO
)));
20381 SWIG_Python_SetConstant(d
, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION
)));
20382 SWIG_Python_SetConstant(d
, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE
)));
20383 SWIG_Python_SetConstant(d
, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN
)));
20384 SWIG_Python_SetConstant(d
, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK
)));
20385 SWIG_Python_SetConstant(d
, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT
)));
20386 SWIG_Python_SetConstant(d
, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE
)));
20387 SWIG_Python_SetConstant(d
, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE
)));
20388 SWIG_Python_SetConstant(d
, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER
)));
20389 SWIG_Python_SetConstant(d
, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT
)));
20390 SWIG_Python_SetConstant(d
, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN
)));
20391 SWIG_Python_SetConstant(d
, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING
)));
20392 SWIG_Python_SetConstant(d
, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT
)));
20393 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE
)));
20394 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER
)));
20395 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default
)));
20396 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link
)));
20397 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text
)));
20398 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default
)));
20399 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link
)));
20400 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text
)));
20401 SWIG_Python_SetConstant(d
, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD
)));
20402 SWIG_Python_SetConstant(d
, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN
)));
20403 SWIG_Python_SetConstant(d
, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL
)));
20404 SWIG_Python_SetConstant(d
, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR
)));
20405 SWIG_Python_SetConstant(d
, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS
)));
20406 SWIG_Python_SetConstant(d
, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX
)));
20407 SWIG_Python_SetConstant(d
, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH
)));
20408 SWIG_Python_SetConstant(d
, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS
)));
20409 SWIG_Python_SetConstant(d
, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES
)));
20410 SWIG_Python_SetConstant(d
, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT
)));
20411 SWIG_Python_SetConstant(d
, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR
)));
20412 SWIG_Python_SetConstant(d
, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS
)));
20413 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK
)));
20414 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER
)));
20415 SWIG_Python_SetConstant(d
, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER
)));
20416 SWIG_Python_SetConstant(d
, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE
)));
20417 SWIG_Python_SetConstant(d
, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED
)));
20418 SWIG_Python_SetConstant(d
, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG
)));
20419 SWIG_Python_SetConstant(d
, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME
)));
20420 SWIG_Python_SetConstant(d
, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL
)));
20421 SWIG_Python_SetConstant(d
, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL
)));
20422 SWIG_Python_SetConstant(d
, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK
)));
20423 SWIG_Python_SetConstant(d
, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD
)));
20424 SWIG_Python_SetConstant(d
, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE
)));
20425 SWIG_Python_SetConstant(d
, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP
)));
20426 SWIG_Python_SetConstant(d
, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN
)));
20427 SWIG_Python_SetConstant(d
, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT
)));
20428 SWIG_Python_SetConstant(d
, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE
)));
20429 SWIG_Python_SetConstant(d
, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS
)));
20430 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST
)));
20431 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD
)));
20432 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE
)));
20433 SWIG_Python_SetConstant(d
, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL
)));
20434 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE
)));
20435 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST
)));
20436 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT
)));
20437 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON
)));
20438 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL
)));
20439 SWIG_Python_SetConstant(d
, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK
)));
20440 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE
)));
20441 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT
)));
20442 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST
)));
20443 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON
)));
20444 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE
)));
20445 SWIG_Python_SetConstant(d
, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO
)));
20447 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20448 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20449 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20450 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");