1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxConfigBase swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxCursor swig_types[27]
2494 #define SWIGTYPE_p_wxDC swig_types[28]
2495 #define SWIGTYPE_p_wxDateEvent swig_types[29]
2496 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[30]
2497 #define SWIGTYPE_p_wxDialog swig_types[31]
2498 #define SWIGTYPE_p_wxDirDialog swig_types[32]
2499 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[33]
2500 #define SWIGTYPE_p_wxDropFilesEvent swig_types[34]
2501 #define SWIGTYPE_p_wxDuplexMode swig_types[35]
2502 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2503 #define SWIGTYPE_p_wxEvent swig_types[37]
2504 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2505 #define SWIGTYPE_p_wxFSFile swig_types[39]
2506 #define SWIGTYPE_p_wxFileDialog swig_types[40]
2507 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2508 #define SWIGTYPE_p_wxFindDialogEvent swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceData swig_types[43]
2510 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[44]
2511 #define SWIGTYPE_p_wxFlexGridSizer swig_types[45]
2512 #define SWIGTYPE_p_wxFocusEvent swig_types[46]
2513 #define SWIGTYPE_p_wxFont swig_types[47]
2514 #define SWIGTYPE_p_wxFontData swig_types[48]
2515 #define SWIGTYPE_p_wxFontDialog swig_types[49]
2516 #define SWIGTYPE_p_wxFrame swig_types[50]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[51]
2518 #define SWIGTYPE_p_wxGIFHandler swig_types[52]
2519 #define SWIGTYPE_p_wxGridBagSizer swig_types[53]
2520 #define SWIGTYPE_p_wxGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxHelpControllerBase swig_types[55]
2522 #define SWIGTYPE_p_wxHelpSearchMode swig_types[56]
2523 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[57]
2524 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[58]
2525 #define SWIGTYPE_p_wxHtmlCell swig_types[59]
2526 #define SWIGTYPE_p_wxHtmlColourCell swig_types[60]
2527 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[61]
2528 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[62]
2529 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[63]
2530 #define SWIGTYPE_p_wxHtmlFilter swig_types[64]
2531 #define SWIGTYPE_p_wxHtmlFontCell swig_types[65]
2532 #define SWIGTYPE_p_wxHtmlHelpController swig_types[66]
2533 #define SWIGTYPE_p_wxHtmlHelpData swig_types[67]
2534 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[68]
2535 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[69]
2536 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[70]
2537 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[71]
2538 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[72]
2539 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[73]
2540 #define SWIGTYPE_p_wxHtmlParser swig_types[74]
2541 #define SWIGTYPE_p_wxHtmlPrintout swig_types[75]
2542 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[76]
2543 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[77]
2544 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[78]
2545 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[79]
2546 #define SWIGTYPE_p_wxHtmlSelection swig_types[80]
2547 #define SWIGTYPE_p_wxHtmlTag swig_types[81]
2548 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[82]
2549 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[83]
2550 #define SWIGTYPE_p_wxHtmlWinParser swig_types[84]
2551 #define SWIGTYPE_p_wxHtmlWindow swig_types[85]
2552 #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[86]
2553 #define SWIGTYPE_p_wxHtmlWindowInterface swig_types[87]
2554 #define SWIGTYPE_p_wxHtmlWordCell swig_types[88]
2555 #define SWIGTYPE_p_wxICOHandler swig_types[89]
2556 #define SWIGTYPE_p_wxIconizeEvent swig_types[90]
2557 #define SWIGTYPE_p_wxIdleEvent swig_types[91]
2558 #define SWIGTYPE_p_wxImage swig_types[92]
2559 #define SWIGTYPE_p_wxImageHandler swig_types[93]
2560 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[94]
2561 #define SWIGTYPE_p_wxInitDialogEvent swig_types[95]
2562 #define SWIGTYPE_p_wxJPEGHandler swig_types[96]
2563 #define SWIGTYPE_p_wxKeyEvent swig_types[97]
2564 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[98]
2565 #define SWIGTYPE_p_wxLayoutConstraints swig_types[99]
2566 #define SWIGTYPE_p_wxMDIChildFrame swig_types[100]
2567 #define SWIGTYPE_p_wxMDIClientWindow swig_types[101]
2568 #define SWIGTYPE_p_wxMDIParentFrame swig_types[102]
2569 #define SWIGTYPE_p_wxMaximizeEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMenu swig_types[104]
2571 #define SWIGTYPE_p_wxMenuBar swig_types[105]
2572 #define SWIGTYPE_p_wxMenuEvent swig_types[106]
2573 #define SWIGTYPE_p_wxMenuItem swig_types[107]
2574 #define SWIGTYPE_p_wxMessageDialog swig_types[108]
2575 #define SWIGTYPE_p_wxMiniFrame swig_types[109]
2576 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxMouseEvent swig_types[111]
2578 #define SWIGTYPE_p_wxMoveEvent swig_types[112]
2579 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[113]
2580 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[114]
2581 #define SWIGTYPE_p_wxNcPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxNotifyEvent swig_types[116]
2583 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[117]
2584 #define SWIGTYPE_p_wxObject swig_types[118]
2585 #define SWIGTYPE_p_wxPCXHandler swig_types[119]
2586 #define SWIGTYPE_p_wxPNGHandler swig_types[120]
2587 #define SWIGTYPE_p_wxPNMHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPageSetupDialog swig_types[122]
2589 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[123]
2590 #define SWIGTYPE_p_wxPaintEvent swig_types[124]
2591 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[125]
2592 #define SWIGTYPE_p_wxPanel swig_types[126]
2593 #define SWIGTYPE_p_wxPaperSize swig_types[127]
2594 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[128]
2595 #define SWIGTYPE_p_wxPoint swig_types[129]
2596 #define SWIGTYPE_p_wxPopupWindow swig_types[130]
2597 #define SWIGTYPE_p_wxPreviewCanvas swig_types[131]
2598 #define SWIGTYPE_p_wxPreviewControlBar swig_types[132]
2599 #define SWIGTYPE_p_wxPreviewFrame swig_types[133]
2600 #define SWIGTYPE_p_wxPrintData swig_types[134]
2601 #define SWIGTYPE_p_wxPrintDialog swig_types[135]
2602 #define SWIGTYPE_p_wxPrintDialogData swig_types[136]
2603 #define SWIGTYPE_p_wxPrintPreview swig_types[137]
2604 #define SWIGTYPE_p_wxPrinter swig_types[138]
2605 #define SWIGTYPE_p_wxProgressDialog swig_types[139]
2606 #define SWIGTYPE_p_wxPyApp swig_types[140]
2607 #define SWIGTYPE_p_wxPyCommandEvent swig_types[141]
2608 #define SWIGTYPE_p_wxPyEvent swig_types[142]
2609 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[143]
2610 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[144]
2611 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[145]
2612 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[146]
2613 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[147]
2614 #define SWIGTYPE_p_wxPyImageHandler swig_types[148]
2615 #define SWIGTYPE_p_wxPyPanel swig_types[149]
2616 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[150]
2617 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[151]
2618 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[152]
2619 #define SWIGTYPE_p_wxPyPrintPreview swig_types[153]
2620 #define SWIGTYPE_p_wxPyPrintout swig_types[154]
2621 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[155]
2622 #define SWIGTYPE_p_wxPySizer swig_types[156]
2623 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[157]
2624 #define SWIGTYPE_p_wxPyVListBox swig_types[158]
2625 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[159]
2626 #define SWIGTYPE_p_wxPyValidator swig_types[160]
2627 #define SWIGTYPE_p_wxPyWindow swig_types[161]
2628 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[162]
2629 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[163]
2630 #define SWIGTYPE_p_wxSashEvent swig_types[164]
2631 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[165]
2632 #define SWIGTYPE_p_wxSashWindow swig_types[166]
2633 #define SWIGTYPE_p_wxScrollEvent swig_types[167]
2634 #define SWIGTYPE_p_wxScrollWinEvent swig_types[168]
2635 #define SWIGTYPE_p_wxScrolledWindow swig_types[169]
2636 #define SWIGTYPE_p_wxSetCursorEvent swig_types[170]
2637 #define SWIGTYPE_p_wxShowEvent swig_types[171]
2638 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[172]
2639 #define SWIGTYPE_p_wxSize swig_types[173]
2640 #define SWIGTYPE_p_wxSizeEvent swig_types[174]
2641 #define SWIGTYPE_p_wxSizer swig_types[175]
2642 #define SWIGTYPE_p_wxSizerItem swig_types[176]
2643 #define SWIGTYPE_p_wxSplashScreen swig_types[177]
2644 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[178]
2645 #define SWIGTYPE_p_wxSplitterEvent swig_types[179]
2646 #define SWIGTYPE_p_wxSplitterWindow swig_types[180]
2647 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[181]
2648 #define SWIGTYPE_p_wxStatusBar swig_types[182]
2649 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[183]
2650 #define SWIGTYPE_p_wxString swig_types[184]
2651 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[185]
2652 #define SWIGTYPE_p_wxTIFFHandler swig_types[186]
2653 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[187]
2654 #define SWIGTYPE_p_wxTextEntryDialog swig_types[188]
2655 #define SWIGTYPE_p_wxTipWindow swig_types[189]
2656 #define SWIGTYPE_p_wxTopLevelWindow swig_types[190]
2657 #define SWIGTYPE_p_wxTreeCtrl swig_types[191]
2658 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[192]
2659 #define SWIGTYPE_p_wxValidator swig_types[193]
2660 #define SWIGTYPE_p_wxVisualAttributes swig_types[194]
2661 #define SWIGTYPE_p_wxWindow swig_types[195]
2662 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[196]
2663 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[197]
2664 #define SWIGTYPE_p_wxXPMHandler swig_types[198]
2665 static swig_type_info
*swig_types
[200];
2666 static swig_module_info swig_module
= {swig_types
, 199, 0, 0, 0, 0};
2667 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2668 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2670 /* -------- TYPES TABLE (END) -------- */
2672 #if (PY_VERSION_HEX <= 0x02000000)
2673 # if !defined(SWIG_PYTHON_CLASSIC)
2674 # error "This python version requires to use swig with the '-classic' option"
2677 #if (PY_VERSION_HEX <= 0x02020000)
2678 # error "This python version requires to use swig with the '-nomodern' option"
2680 #if (PY_VERSION_HEX <= 0x02020000)
2681 # error "This python version requires to use swig with the '-nomodernargs' option"
2684 # error "This python version requires to use swig with the '-nofastunpack' option"
2687 /*-----------------------------------------------
2688 @(target):= _html.so
2689 ------------------------------------------------*/
2690 #define SWIG_init init_html
2692 #define SWIG_name "_html"
2694 #define SWIGVERSION 0x010329
2697 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2698 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2701 #include <stdexcept>
2705 class PyObject_ptr
{
2710 PyObject_ptr() :_obj(0)
2714 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2719 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2721 if (initial_ref
) Py_XINCREF(_obj
);
2724 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2726 Py_XINCREF(item
._obj
);
2737 operator PyObject
*() const
2742 PyObject
*operator->() const
2751 struct PyObject_var
: PyObject_ptr
{
2752 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2754 PyObject_var
& operator = (PyObject
* obj
)
2764 #include "wx/wxPython/wxPython.h"
2765 #include "wx/wxPython/pyclasses.h"
2766 #include "wx/wxPython/pyistream.h"
2767 #include "wx/wxPython/printfw.h"
2769 #include <wx/html/htmlwin.h>
2770 #include <wx/html/htmprint.h>
2771 #include <wx/html/helpctrl.h>
2772 #include <wx/html/helpwnd.h>
2773 #include <wx/html/helpfrm.h>
2774 #include <wx/html/helpdlg.h>
2777 static const wxString
wxPyEmptyString(wxEmptyString
);
2778 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2779 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2780 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
2782 #define SWIG_From_long PyInt_FromLong
2785 SWIGINTERNINLINE PyObject
*
2786 SWIG_From_int (int value
)
2788 return SWIG_From_long (value
);
2794 # define LLONG_MIN LONG_LONG_MIN
2797 # define LLONG_MAX LONG_LONG_MAX
2800 # define ULLONG_MAX ULONG_LONG_MAX
2805 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2807 if (PyNumber_Check(obj
)) {
2808 if (val
) *val
= PyInt_AsLong(obj
);
2811 return SWIG_TypeError
;
2816 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2819 int res
= SWIG_AsVal_long (obj
, &v
);
2820 if (SWIG_IsOK(res
)) {
2821 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2822 return SWIG_OverflowError
;
2824 if (val
) *val
= static_cast< int >(v
);
2830 SWIGINTERN
void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2832 if (sizes
) temp
= int_LIST_helper(sizes
);
2833 self
->SetFonts(normal_face
, fixed_face
, temp
);
2838 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
2839 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
)
2841 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2843 wxHtmlParser
* GetParser() { return m_Parser
; }
2844 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
2846 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2847 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2852 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
2854 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
2855 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
2858 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
2859 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
)
2861 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2863 wxHtmlWinParser
* GetParser() { return m_WParser
; }
2864 void ParseInner(const wxHtmlTag
& tag
)
2865 { wxHtmlWinTagHandler::ParseInner(tag
); }
2867 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2868 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2873 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
2875 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
2876 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
2880 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
2882 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
2883 m_tagHandlerClass
= thc
;
2884 Py_INCREF(m_tagHandlerClass
);
2885 RegisterModule(this);
2886 wxHtmlWinParser::AddModule(this);
2890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2891 Py_DECREF(m_tagHandlerClass
);
2892 m_tagHandlerClass
= NULL
;
2893 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
2894 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
2897 wxPyEndBlockThreads(blocked
);
2900 void FillHandlersTable(wxHtmlWinParser
*parser
) {
2901 // Wave our magic wand... (if it works it's a miracle! ;-)
2903 // First, make a new instance of the tag handler
2904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2905 PyObject
* arg
= PyTuple_New(0);
2906 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
2909 // now figure out where it's C++ object is...
2910 wxPyHtmlWinTagHandler
* thPtr
;
2911 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
2912 wxPyEndBlockThreads(blocked
);
2915 wxPyEndBlockThreads(blocked
);
2918 parser
->AddTagHandler(thPtr
);
2921 m_objArray
.Add(obj
);
2925 PyObject
* m_tagHandlerClass
;
2926 wxArrayPtrVoid m_objArray
;
2931 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
2932 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2933 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2934 new wxPyHtmlTagsModule(tagHandlerClass
);
2938 SWIGINTERNINLINE PyObject
*
2939 SWIG_From_bool (bool value
)
2941 return PyBool_FromLong(value
? 1 : 0);
2946 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2948 if (obj
== Py_True
) {
2949 if (val
) *val
= true;
2951 } else if (obj
== Py_False
) {
2952 if (val
) *val
= false;
2956 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2957 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2964 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2967 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2968 return SWIG_TypeError
;
2971 *val
= (unsigned long)v
;
2977 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2980 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2981 if (SWIG_IsOK(res
)) {
2982 if ((v
> UINT_MAX
)) {
2983 return SWIG_OverflowError
;
2985 if (val
) *val
= static_cast< unsigned int >(v
);
2992 SWIGINTERNINLINE PyObject
*
2993 SWIG_From_unsigned_SS_long (unsigned long value
)
2995 return (value
> LONG_MAX
) ?
2996 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3000 SWIGINTERNINLINE PyObject
*
3001 SWIG_From_unsigned_SS_int (unsigned int value
)
3003 return SWIG_From_unsigned_SS_long (value
);
3006 // here's the C++ version
3007 class wxPyHtmlFilter
: public wxHtmlFilter
{
3008 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
)
3010 wxPyHtmlFilter() : wxHtmlFilter() {}
3012 // returns True if this filter is able to open&read given file
3013 virtual bool CanRead(const wxFSFile
& file
) const {
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3017 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
3018 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3019 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3022 wxPyEndBlockThreads(blocked
);
3027 // Reads given file and returns HTML document.
3028 // Returns empty string if opening failed
3029 virtual wxString
ReadFile(const wxFSFile
& file
) const {
3032 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3033 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
3034 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3036 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
3039 rval
= Py2wxString(ro
);
3043 wxPyEndBlockThreads(blocked
);
3050 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
3053 class wxPyHtmlWindow
: public wxHtmlWindow
{
3054 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
)
3056 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
3057 const wxPoint
& pos
= wxDefaultPosition
,
3058 const wxSize
& size
= wxDefaultSize
,
3059 long style
= wxHW_DEFAULT_STYLE
,
3060 const wxString
& name
= wxPyHtmlWindowNameStr
)
3061 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
3062 wxPyHtmlWindow() : wxHtmlWindow() {};
3064 bool ScrollToAnchor(const wxString
& anchor
) {
3065 return wxHtmlWindow::ScrollToAnchor(anchor
);
3068 bool HasAnchor(const wxString
& anchor
) {
3069 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
3073 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
3075 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
3076 const wxString
& url
,
3077 wxString
*redirect
) const;
3079 DEC_PYCALLBACK__STRING(OnSetTitle
);
3080 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
3081 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked
);
3086 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
3087 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
3088 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
3089 IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
3092 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
3094 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3095 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3096 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3097 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3100 wxPyEndBlockThreads(blocked
);
3102 wxHtmlWindow::OnLinkClicked(link
);
3106 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
3107 const wxString
& url
,
3108 wxString
*redirect
) const {
3110 wxHtmlOpeningStatus rval
;
3111 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3112 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
3114 PyObject
* s
= wx2PyString(url
);
3115 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
3117 if (PyString_Check(ro
)
3118 #if PYTHON_API_VERSION >= 1009
3119 || PyUnicode_Check(ro
)
3122 *redirect
= Py2wxString(ro
);
3123 rval
= wxHTML_REDIRECT
;
3126 PyObject
* num
= PyNumber_Int(ro
);
3127 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
3132 wxPyEndBlockThreads(blocked
);
3134 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
3140 SWIGINTERN
void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3142 if (sizes
) temp
= int_LIST_helper(sizes
);
3143 self
->SetFonts(normal_face
, fixed_face
, temp
);
3147 SWIGINTERN
void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3149 if (sizes
) temp
= int_LIST_helper(sizes
);
3150 self
->SetFonts(normal_face
, fixed_face
, temp
);
3154 SWIGINTERN
void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3156 if (sizes
) temp
= int_LIST_helper(sizes
);
3157 self
->SetFonts(normal_face
, fixed_face
, temp
);
3166 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3168 if (PyNumber_Check(obj
)) {
3169 if (val
) *val
= PyFloat_AsDouble(obj
);
3172 return SWIG_TypeError
;
3177 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3180 int res
= SWIG_AsVal_double (obj
, &v
);
3181 if (SWIG_IsOK(res
)) {
3182 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3183 return SWIG_OverflowError
;
3185 if (val
) *val
= static_cast< float >(v
);
3191 SWIGINTERN
void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3193 if (sizes
) temp
= int_LIST_helper(sizes
);
3194 self
->SetFonts(normal_face
, fixed_face
, temp
);
3201 SWIGINTERN
int HtmlWindowNameStr_set(PyObject
*) {
3202 SWIG_Error(SWIG_AttributeError
,"Variable HtmlWindowNameStr is read-only.");
3207 SWIGINTERN PyObject
*HtmlWindowNameStr_get(void) {
3208 PyObject
*pyobj
= 0;
3212 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3214 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3221 SWIGINTERN
int HtmlPrintoutTitleStr_set(PyObject
*) {
3222 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintoutTitleStr is read-only.");
3227 SWIGINTERN PyObject
*HtmlPrintoutTitleStr_get(void) {
3228 PyObject
*pyobj
= 0;
3232 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3234 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3241 SWIGINTERN
int HtmlPrintingTitleStr_set(PyObject
*) {
3242 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintingTitleStr is read-only.");
3247 SWIGINTERN PyObject
*HtmlPrintingTitleStr_get(void) {
3248 PyObject
*pyobj
= 0;
3252 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3254 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3261 SWIGINTERN PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
= 0;
3263 wxString
*arg1
= 0 ;
3264 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3265 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3266 wxHtmlLinkInfo
*result
= 0 ;
3267 bool temp1
= false ;
3268 bool temp2
= false ;
3269 PyObject
* obj0
= 0 ;
3270 PyObject
* obj1
= 0 ;
3271 char * kwnames
[] = {
3272 (char *) "href",(char *) "target", NULL
3275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3277 arg1
= wxString_in_helper(obj0
);
3278 if (arg1
== NULL
) SWIG_fail
;
3283 arg2
= wxString_in_helper(obj1
);
3284 if (arg2
== NULL
) SWIG_fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_NEW
| 0 );
3317 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3318 PyObject
*resultobj
= 0;
3319 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3323 PyObject
*swig_obj
[1] ;
3325 if (!args
) SWIG_fail
;
3327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3328 if (!SWIG_IsOK(res1
)) {
3329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3331 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 result
= (arg1
)->GetHref();
3335 wxPyEndAllowThreads(__tstate
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3351 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3352 PyObject
*resultobj
= 0;
3353 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3357 PyObject
*swig_obj
[1] ;
3359 if (!args
) SWIG_fail
;
3361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3362 if (!SWIG_IsOK(res1
)) {
3363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3365 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 result
= (arg1
)->GetTarget();
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3385 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3386 PyObject
*resultobj
= 0;
3387 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3388 wxMouseEvent
*result
= 0 ;
3391 PyObject
*swig_obj
[1] ;
3393 if (!args
) SWIG_fail
;
3395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3396 if (!SWIG_IsOK(res1
)) {
3397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3399 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3407 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3415 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3416 PyObject
*resultobj
= 0;
3417 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3418 wxHtmlCell
*result
= 0 ;
3421 PyObject
*swig_obj
[1] ;
3423 if (!args
) SWIG_fail
;
3425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3426 if (!SWIG_IsOK(res1
)) {
3427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3429 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3443 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
= 0;
3445 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3446 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
3451 PyObject
* obj0
= 0 ;
3452 PyObject
* obj1
= 0 ;
3453 char * kwnames
[] = {
3454 (char *) "self",(char *) "e", NULL
3457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3459 if (!SWIG_IsOK(res1
)) {
3460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3462 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3463 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
3464 if (!SWIG_IsOK(res2
)) {
3465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3467 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= SWIG_Py_Void();
3481 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
= 0;
3483 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3484 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
3489 PyObject
* obj0
= 0 ;
3490 PyObject
* obj1
= 0 ;
3491 char * kwnames
[] = {
3492 (char *) "self",(char *) "e", NULL
3495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3497 if (!SWIG_IsOK(res1
)) {
3498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3500 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3501 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3502 if (!SWIG_IsOK(res2
)) {
3503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3505 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 resultobj
= SWIG_Py_Void();
3519 SWIGINTERN PyObject
*HtmlLinkInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3522 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_NewClientData(obj
));
3523 return SWIG_Py_Void();
3526 SWIGINTERN PyObject
*HtmlLinkInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3527 return SWIG_Python_InitShadowInstance(args
);
3530 SWIGINTERN PyObject
*_wrap_HtmlTag_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3531 PyObject
*resultobj
= 0;
3532 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3536 PyObject
*swig_obj
[1] ;
3538 if (!args
) SWIG_fail
;
3540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3541 if (!SWIG_IsOK(res1
)) {
3542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3544 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 result
= (arg1
)->GetName();
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3564 SWIGINTERN PyObject
*_wrap_HtmlTag_HasParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
= 0;
3566 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3567 wxString
*arg2
= 0 ;
3571 bool temp2
= false ;
3572 PyObject
* obj0
= 0 ;
3573 PyObject
* obj1
= 0 ;
3574 char * kwnames
[] = {
3575 (char *) "self",(char *) "par", NULL
3578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3580 if (!SWIG_IsOK(res1
)) {
3581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3583 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3585 arg2
= wxString_in_helper(obj1
);
3586 if (arg2
== NULL
) SWIG_fail
;
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3612 SWIGINTERN PyObject
*_wrap_HtmlTag_GetParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
*resultobj
= 0;
3614 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3615 wxString
*arg2
= 0 ;
3616 int arg3
= (int) false ;
3620 bool temp2
= false ;
3623 PyObject
* obj0
= 0 ;
3624 PyObject
* obj1
= 0 ;
3625 PyObject
* obj2
= 0 ;
3626 char * kwnames
[] = {
3627 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3632 if (!SWIG_IsOK(res1
)) {
3633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3635 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3637 arg2
= wxString_in_helper(obj1
);
3638 if (arg2
== NULL
) SWIG_fail
;
3642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3643 if (!SWIG_IsOK(ecode3
)) {
3644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3646 arg3
= static_cast< int >(val3
);
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3675 SWIGINTERN PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3676 PyObject
*resultobj
= 0;
3677 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3681 PyObject
*swig_obj
[1] ;
3683 if (!args
) SWIG_fail
;
3685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3686 if (!SWIG_IsOK(res1
)) {
3687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3689 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 result
= (arg1
)->GetAllParams();
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3709 SWIGINTERN PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3710 PyObject
*resultobj
= 0;
3711 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3715 PyObject
*swig_obj
[1] ;
3717 if (!args
) SWIG_fail
;
3719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3720 if (!SWIG_IsOK(res1
)) {
3721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3723 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 result
= (bool)(arg1
)->HasEnding();
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3739 SWIGINTERN PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3740 PyObject
*resultobj
= 0;
3741 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3745 PyObject
*swig_obj
[1] ;
3747 if (!args
) SWIG_fail
;
3749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3750 if (!SWIG_IsOK(res1
)) {
3751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3753 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 result
= (int)(arg1
)->GetBeginPos();
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 resultobj
= SWIG_From_int(static_cast< int >(result
));
3767 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3768 PyObject
*resultobj
= 0;
3769 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3773 PyObject
*swig_obj
[1] ;
3775 if (!args
) SWIG_fail
;
3777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3778 if (!SWIG_IsOK(res1
)) {
3779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3781 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 result
= (int)(arg1
)->GetEndPos1();
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3788 resultobj
= SWIG_From_int(static_cast< int >(result
));
3795 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3796 PyObject
*resultobj
= 0;
3797 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3801 PyObject
*swig_obj
[1] ;
3803 if (!args
) SWIG_fail
;
3805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3806 if (!SWIG_IsOK(res1
)) {
3807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3809 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (int)(arg1
)->GetEndPos2();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= SWIG_From_int(static_cast< int >(result
));
3823 SWIGINTERN PyObject
*HtmlTag_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3826 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag
, SWIG_NewClientData(obj
));
3827 return SWIG_Py_Void();
3830 SWIGINTERN PyObject
*_wrap_HtmlParser_SetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
= 0;
3832 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3833 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
3838 PyObject
* obj0
= 0 ;
3839 PyObject
* obj1
= 0 ;
3840 char * kwnames
[] = {
3841 (char *) "self",(char *) "fs", NULL
3844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3846 if (!SWIG_IsOK(res1
)) {
3847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3849 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
3851 if (!SWIG_IsOK(res2
)) {
3852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3854 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 (arg1
)->SetFS(arg2
);
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3861 resultobj
= SWIG_Py_Void();
3868 SWIGINTERN PyObject
*_wrap_HtmlParser_GetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3869 PyObject
*resultobj
= 0;
3870 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3871 wxFileSystem
*result
= 0 ;
3874 PyObject
*swig_obj
[1] ;
3876 if (!args
) SWIG_fail
;
3878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3879 if (!SWIG_IsOK(res1
)) {
3880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3882 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (wxFileSystem
*)(arg1
)->GetFS();
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3898 SWIGINTERN PyObject
*_wrap_HtmlParser_Parse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
*resultobj
= 0;
3900 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3901 wxString
*arg2
= 0 ;
3902 wxObject
*result
= 0 ;
3905 bool temp2
= false ;
3906 PyObject
* obj0
= 0 ;
3907 PyObject
* obj1
= 0 ;
3908 char * kwnames
[] = {
3909 (char *) "self",(char *) "source", NULL
3912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3914 if (!SWIG_IsOK(res1
)) {
3915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3917 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3919 arg2
= wxString_in_helper(obj1
);
3920 if (arg2
== NULL
) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3946 SWIGINTERN PyObject
*_wrap_HtmlParser_InitParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
= 0;
3948 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3949 wxString
*arg2
= 0 ;
3952 bool temp2
= false ;
3953 PyObject
* obj0
= 0 ;
3954 PyObject
* obj1
= 0 ;
3955 char * kwnames
[] = {
3956 (char *) "self",(char *) "source", NULL
3959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3961 if (!SWIG_IsOK(res1
)) {
3962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3964 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3966 arg2
= wxString_in_helper(obj1
);
3967 if (arg2
== NULL
) SWIG_fail
;
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 (arg1
)->InitParser((wxString
const &)*arg2
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3976 resultobj
= SWIG_Py_Void();
3991 SWIGINTERN PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3992 PyObject
*resultobj
= 0;
3993 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3996 PyObject
*swig_obj
[1] ;
3998 if (!args
) SWIG_fail
;
4000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4001 if (!SWIG_IsOK(res1
)) {
4002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4004 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 (arg1
)->DoneParser();
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_Py_Void();
4018 SWIGINTERN PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
*resultobj
= 0;
4020 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4029 PyObject
* obj0
= 0 ;
4030 PyObject
* obj1
= 0 ;
4031 PyObject
* obj2
= 0 ;
4032 char * kwnames
[] = {
4033 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4038 if (!SWIG_IsOK(res1
)) {
4039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4041 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4043 if (!SWIG_IsOK(ecode2
)) {
4044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4046 arg2
= static_cast< int >(val2
);
4047 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4048 if (!SWIG_IsOK(ecode3
)) {
4049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4051 arg3
= static_cast< int >(val3
);
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 (arg1
)->DoParsing(arg2
,arg3
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 resultobj
= SWIG_Py_Void();
4065 SWIGINTERN PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4066 PyObject
*resultobj
= 0;
4067 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4070 PyObject
*swig_obj
[1] ;
4072 if (!args
) SWIG_fail
;
4074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4075 if (!SWIG_IsOK(res1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4078 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 (arg1
)->StopParsing();
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= SWIG_Py_Void();
4092 SWIGINTERN PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
= 0;
4094 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4095 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4100 PyObject
* obj0
= 0 ;
4101 PyObject
* obj1
= 0 ;
4102 char * kwnames
[] = {
4103 (char *) "self",(char *) "handler", NULL
4106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4111 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4112 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4113 if (!SWIG_IsOK(res2
)) {
4114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4116 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 (arg1
)->AddTagHandler(arg2
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= SWIG_Py_Void();
4130 SWIGINTERN PyObject
*_wrap_HtmlParser_GetSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4131 PyObject
*resultobj
= 0;
4132 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4133 wxString
*result
= 0 ;
4136 PyObject
*swig_obj
[1] ;
4138 if (!args
) SWIG_fail
;
4140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4141 if (!SWIG_IsOK(res1
)) {
4142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4144 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 result
= (wxString
*)(arg1
)->GetSource();
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4155 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4164 SWIGINTERN PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
= 0;
4166 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4167 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4175 PyObject
* obj2
= 0 ;
4176 char * kwnames
[] = {
4177 (char *) "self",(char *) "handler",(char *) "tags", NULL
4180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4182 if (!SWIG_IsOK(res1
)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4185 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4187 if (!SWIG_IsOK(res2
)) {
4188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4190 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4192 wxString
* sptr
= wxString_in_helper(obj2
);
4193 if (sptr
== NULL
) SWIG_fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 (arg1
)->PushTagHandler(arg2
,arg3
);
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= SWIG_Py_Void();
4210 SWIGINTERN PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4211 PyObject
*resultobj
= 0;
4212 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4215 PyObject
*swig_obj
[1] ;
4217 if (!args
) SWIG_fail
;
4219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4220 if (!SWIG_IsOK(res1
)) {
4221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4223 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 (arg1
)->PopTagHandler();
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_Py_Void();
4237 SWIGINTERN PyObject
*_wrap_HtmlParser_GetInnerSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
= 0;
4239 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4240 wxHtmlTag
*arg2
= 0 ;
4246 PyObject
* obj0
= 0 ;
4247 PyObject
* obj1
= 0 ;
4248 char * kwnames
[] = {
4249 (char *) "self",(char *) "tag", NULL
4252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_GetInnerSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4254 if (!SWIG_IsOK(res1
)) {
4255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4257 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
4259 if (!SWIG_IsOK(res2
)) {
4260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4265 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 result
= (arg1
)->GetInnerSource((wxHtmlTag
const &)*arg2
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4285 SWIGINTERN PyObject
*HtmlParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4288 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser
, SWIG_NewClientData(obj
));
4289 return SWIG_Py_Void();
4292 SWIGINTERN PyObject
*_wrap_new_HtmlWinParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
= 0;
4294 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
4295 wxHtmlWinParser
*result
= 0 ;
4298 PyObject
* obj0
= 0 ;
4299 char * kwnames
[] = {
4300 (char *) "wnd", NULL
4303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) SWIG_fail
;
4305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
4306 if (!SWIG_IsOK(res1
)) {
4307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4309 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_NEW
| 0 );
4324 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
= 0;
4326 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4327 wxDC
*arg2
= (wxDC
*) 0 ;
4332 PyObject
* obj0
= 0 ;
4333 PyObject
* obj1
= 0 ;
4334 char * kwnames
[] = {
4335 (char *) "self",(char *) "dc", NULL
4338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4340 if (!SWIG_IsOK(res1
)) {
4341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4343 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
4345 if (!SWIG_IsOK(res2
)) {
4346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4348 arg2
= reinterpret_cast< wxDC
* >(argp2
);
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 (arg1
)->SetDC(arg2
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4355 resultobj
= SWIG_Py_Void();
4362 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4363 PyObject
*resultobj
= 0;
4364 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4368 PyObject
*swig_obj
[1] ;
4370 if (!args
) SWIG_fail
;
4372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4373 if (!SWIG_IsOK(res1
)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4376 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 result
= (wxDC
*)(arg1
)->GetDC();
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4384 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4392 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4393 PyObject
*resultobj
= 0;
4394 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4398 PyObject
*swig_obj
[1] ;
4400 if (!args
) SWIG_fail
;
4402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4403 if (!SWIG_IsOK(res1
)) {
4404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4406 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 result
= (int)(arg1
)->GetCharHeight();
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= SWIG_From_int(static_cast< int >(result
));
4420 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4421 PyObject
*resultobj
= 0;
4422 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4426 PyObject
*swig_obj
[1] ;
4428 if (!args
) SWIG_fail
;
4430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4431 if (!SWIG_IsOK(res1
)) {
4432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4434 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (int)(arg1
)->GetCharWidth();
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 resultobj
= SWIG_From_int(static_cast< int >(result
));
4448 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4449 PyObject
*resultobj
= 0;
4450 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4451 wxPyHtmlWindow
*result
= 0 ;
4454 PyObject
*swig_obj
[1] ;
4456 if (!args
) SWIG_fail
;
4458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4459 if (!SWIG_IsOK(res1
)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4462 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4478 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4479 PyObject
*resultobj
= 0;
4480 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4481 wxHtmlWindowInterface
*result
= 0 ;
4484 PyObject
*swig_obj
[1] ;
4486 if (!args
) SWIG_fail
;
4488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4489 if (!SWIG_IsOK(res1
)) {
4490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4492 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 result
= (wxHtmlWindowInterface
*)(arg1
)->GetWindowInterface();
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
4506 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
= 0;
4508 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4511 PyObject
*arg4
= (PyObject
*) NULL
;
4514 PyObject
* obj0
= 0 ;
4515 PyObject
* obj1
= 0 ;
4516 PyObject
* obj2
= 0 ;
4517 PyObject
* obj3
= 0 ;
4518 char * kwnames
[] = {
4519 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4524 if (!SWIG_IsOK(res1
)) {
4525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4527 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4529 wxString
* sptr
= wxString_in_helper(obj1
);
4530 if (sptr
== NULL
) SWIG_fail
;
4535 wxString
* sptr
= wxString_in_helper(obj2
);
4536 if (sptr
== NULL
) SWIG_fail
;
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4549 resultobj
= SWIG_Py_Void();
4556 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
= 0;
4558 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4559 int arg2
= (int) -1 ;
4560 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4561 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4562 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4563 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4568 bool temp3
= false ;
4569 bool temp4
= false ;
4570 PyObject
* obj0
= 0 ;
4571 PyObject
* obj1
= 0 ;
4572 PyObject
* obj2
= 0 ;
4573 PyObject
* obj3
= 0 ;
4574 char * kwnames
[] = {
4575 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4580 if (!SWIG_IsOK(res1
)) {
4581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4583 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4586 if (!SWIG_IsOK(ecode2
)) {
4587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4589 arg2
= static_cast< int >(val2
);
4593 arg3
= wxString_in_helper(obj2
);
4594 if (arg3
== NULL
) SWIG_fail
;
4600 arg4
= wxString_in_helper(obj3
);
4601 if (arg4
== NULL
) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4611 resultobj
= SWIG_Py_Void();
4634 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4635 PyObject
*resultobj
= 0;
4636 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4637 wxHtmlContainerCell
*result
= 0 ;
4640 PyObject
*swig_obj
[1] ;
4642 if (!args
) SWIG_fail
;
4644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4645 if (!SWIG_IsOK(res1
)) {
4646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4648 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4662 SWIGINTERN PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4663 PyObject
*resultobj
= 0;
4664 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4665 wxHtmlContainerCell
*result
= 0 ;
4668 PyObject
*swig_obj
[1] ;
4670 if (!args
) SWIG_fail
;
4672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4673 if (!SWIG_IsOK(res1
)) {
4674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4676 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4690 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
= 0;
4692 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4693 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4694 wxHtmlContainerCell
*result
= 0 ;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4701 char * kwnames
[] = {
4702 (char *) "self",(char *) "c", NULL
4705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4707 if (!SWIG_IsOK(res1
)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4710 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4712 if (!SWIG_IsOK(res2
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4715 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4729 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4730 PyObject
*resultobj
= 0;
4731 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4732 wxHtmlContainerCell
*result
= 0 ;
4735 PyObject
*swig_obj
[1] ;
4737 if (!args
) SWIG_fail
;
4739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4740 if (!SWIG_IsOK(res1
)) {
4741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4743 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4757 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4758 PyObject
*resultobj
= 0;
4759 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4763 PyObject
*swig_obj
[1] ;
4765 if (!args
) SWIG_fail
;
4767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4768 if (!SWIG_IsOK(res1
)) {
4769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4771 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 result
= (int)(arg1
)->GetFontSize();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4778 resultobj
= SWIG_From_int(static_cast< int >(result
));
4785 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
*resultobj
= 0;
4787 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4793 PyObject
* obj0
= 0 ;
4794 PyObject
* obj1
= 0 ;
4795 char * kwnames
[] = {
4796 (char *) "self",(char *) "s", NULL
4799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4801 if (!SWIG_IsOK(res1
)) {
4802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4804 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4806 if (!SWIG_IsOK(ecode2
)) {
4807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4809 arg2
= static_cast< int >(val2
);
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 (arg1
)->SetFontSize(arg2
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 resultobj
= SWIG_Py_Void();
4823 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4824 PyObject
*resultobj
= 0;
4825 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4829 PyObject
*swig_obj
[1] ;
4831 if (!args
) SWIG_fail
;
4833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4834 if (!SWIG_IsOK(res1
)) {
4835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4837 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 result
= (int)(arg1
)->GetFontBold();
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= SWIG_From_int(static_cast< int >(result
));
4851 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
= 0;
4853 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4859 PyObject
* obj0
= 0 ;
4860 PyObject
* obj1
= 0 ;
4861 char * kwnames
[] = {
4862 (char *) "self",(char *) "x", NULL
4865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4867 if (!SWIG_IsOK(res1
)) {
4868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4870 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4872 if (!SWIG_IsOK(ecode2
)) {
4873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4875 arg2
= static_cast< int >(val2
);
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 (arg1
)->SetFontBold(arg2
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= SWIG_Py_Void();
4889 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4890 PyObject
*resultobj
= 0;
4891 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4895 PyObject
*swig_obj
[1] ;
4897 if (!args
) SWIG_fail
;
4899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4900 if (!SWIG_IsOK(res1
)) {
4901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4903 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (int)(arg1
)->GetFontItalic();
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= SWIG_From_int(static_cast< int >(result
));
4917 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
= 0;
4919 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4925 PyObject
* obj0
= 0 ;
4926 PyObject
* obj1
= 0 ;
4927 char * kwnames
[] = {
4928 (char *) "self",(char *) "x", NULL
4931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4933 if (!SWIG_IsOK(res1
)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4936 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4938 if (!SWIG_IsOK(ecode2
)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4941 arg2
= static_cast< int >(val2
);
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 (arg1
)->SetFontItalic(arg2
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 resultobj
= SWIG_Py_Void();
4955 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4956 PyObject
*resultobj
= 0;
4957 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4961 PyObject
*swig_obj
[1] ;
4963 if (!args
) SWIG_fail
;
4965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4966 if (!SWIG_IsOK(res1
)) {
4967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4969 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= (int)(arg1
)->GetFontUnderlined();
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 resultobj
= SWIG_From_int(static_cast< int >(result
));
4983 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
= 0;
4985 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4991 PyObject
* obj0
= 0 ;
4992 PyObject
* obj1
= 0 ;
4993 char * kwnames
[] = {
4994 (char *) "self",(char *) "x", NULL
4997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4999 if (!SWIG_IsOK(res1
)) {
5000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5002 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5004 if (!SWIG_IsOK(ecode2
)) {
5005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5007 arg2
= static_cast< int >(val2
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 (arg1
)->SetFontUnderlined(arg2
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_Py_Void();
5021 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5022 PyObject
*resultobj
= 0;
5023 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5027 PyObject
*swig_obj
[1] ;
5029 if (!args
) SWIG_fail
;
5031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5032 if (!SWIG_IsOK(res1
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5035 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (int)(arg1
)->GetFontFixed();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_From_int(static_cast< int >(result
));
5049 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
= 0;
5051 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5057 PyObject
* obj0
= 0 ;
5058 PyObject
* obj1
= 0 ;
5059 char * kwnames
[] = {
5060 (char *) "self",(char *) "x", NULL
5063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5065 if (!SWIG_IsOK(res1
)) {
5066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5068 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5070 if (!SWIG_IsOK(ecode2
)) {
5071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5073 arg2
= static_cast< int >(val2
);
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 (arg1
)->SetFontFixed(arg2
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= SWIG_Py_Void();
5087 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5088 PyObject
*resultobj
= 0;
5089 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5093 PyObject
*swig_obj
[1] ;
5095 if (!args
) SWIG_fail
;
5097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5098 if (!SWIG_IsOK(res1
)) {
5099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5101 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (int)(arg1
)->GetAlign();
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 resultobj
= SWIG_From_int(static_cast< int >(result
));
5115 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
= 0;
5117 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5123 PyObject
* obj0
= 0 ;
5124 PyObject
* obj1
= 0 ;
5125 char * kwnames
[] = {
5126 (char *) "self",(char *) "a", NULL
5129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5131 if (!SWIG_IsOK(res1
)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5134 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5136 if (!SWIG_IsOK(ecode2
)) {
5137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5139 arg2
= static_cast< int >(val2
);
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 (arg1
)->SetAlign(arg2
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 resultobj
= SWIG_Py_Void();
5153 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5154 PyObject
*resultobj
= 0;
5155 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5159 PyObject
*swig_obj
[1] ;
5161 if (!args
) SWIG_fail
;
5163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5164 if (!SWIG_IsOK(res1
)) {
5165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5167 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 result
= (arg1
)->GetLinkColor();
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5181 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
= 0;
5183 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5184 wxColour
*arg2
= 0 ;
5188 PyObject
* obj0
= 0 ;
5189 PyObject
* obj1
= 0 ;
5190 char * kwnames
[] = {
5191 (char *) "self",(char *) "clr", NULL
5194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5196 if (!SWIG_IsOK(res1
)) {
5197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5199 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5202 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= SWIG_Py_Void();
5217 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5218 PyObject
*resultobj
= 0;
5219 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5223 PyObject
*swig_obj
[1] ;
5225 if (!args
) SWIG_fail
;
5227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5228 if (!SWIG_IsOK(res1
)) {
5229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5231 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (arg1
)->GetActualColor();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5245 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
= 0;
5247 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5248 wxColour
*arg2
= 0 ;
5252 PyObject
* obj0
= 0 ;
5253 PyObject
* obj1
= 0 ;
5254 char * kwnames
[] = {
5255 (char *) "self",(char *) "clr", NULL
5258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5260 if (!SWIG_IsOK(res1
)) {
5261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5263 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5266 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= SWIG_Py_Void();
5281 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
= 0;
5283 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5284 wxString
*arg2
= 0 ;
5287 bool temp2
= false ;
5288 PyObject
* obj0
= 0 ;
5289 PyObject
* obj1
= 0 ;
5290 char * kwnames
[] = {
5291 (char *) "self",(char *) "link", NULL
5294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5296 if (!SWIG_IsOK(res1
)) {
5297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5299 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5301 arg2
= wxString_in_helper(obj1
);
5302 if (arg2
== NULL
) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 (arg1
)->SetLink((wxString
const &)*arg2
);
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5311 resultobj
= SWIG_Py_Void();
5326 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5327 PyObject
*resultobj
= 0;
5328 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5329 wxFont
*result
= 0 ;
5332 PyObject
*swig_obj
[1] ;
5334 if (!args
) SWIG_fail
;
5336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5337 if (!SWIG_IsOK(res1
)) {
5338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5340 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
5354 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5355 PyObject
*resultobj
= 0;
5356 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5357 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
5360 PyObject
*swig_obj
[1] ;
5362 if (!args
) SWIG_fail
;
5364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5365 if (!SWIG_IsOK(res1
)) {
5366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5368 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 result
= (arg1
)->GetLink();
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo
& >(result
))), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_OWN
| 0 );
5382 SWIGINTERN PyObject
*HtmlWinParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5385 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser
, SWIG_NewClientData(obj
));
5386 return SWIG_Py_Void();
5389 SWIGINTERN PyObject
*HtmlWinParser_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5390 return SWIG_Python_InitShadowInstance(args
);
5393 SWIGINTERN PyObject
*_wrap_new_HtmlTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5394 PyObject
*resultobj
= 0;
5395 wxPyHtmlTagHandler
*result
= 0 ;
5397 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlTagHandler",0,0,0)) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_NEW
| 0 );
5411 SWIGINTERN PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
= 0;
5413 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5414 PyObject
*arg2
= (PyObject
*) 0 ;
5415 PyObject
*arg3
= (PyObject
*) 0 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5420 PyObject
* obj2
= 0 ;
5421 char * kwnames
[] = {
5422 (char *) "self",(char *) "self",(char *) "_class", NULL
5425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5427 if (!SWIG_IsOK(res1
)) {
5428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5430 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5439 resultobj
= SWIG_Py_Void();
5446 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
= 0;
5448 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5449 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5456 char * kwnames
[] = {
5457 (char *) "self",(char *) "parser", NULL
5460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5462 if (!SWIG_IsOK(res1
)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5465 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5466 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5467 if (!SWIG_IsOK(res2
)) {
5468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5470 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 (arg1
)->SetParser(arg2
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5477 resultobj
= SWIG_Py_Void();
5484 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5485 PyObject
*resultobj
= 0;
5486 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5487 wxHtmlParser
*result
= 0 ;
5490 PyObject
*swig_obj
[1] ;
5492 if (!args
) SWIG_fail
;
5494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5495 if (!SWIG_IsOK(res1
)) {
5496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5498 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (wxHtmlParser
*)(arg1
)->GetParser();
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5512 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
= 0;
5514 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5515 wxHtmlTag
*arg2
= 0 ;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj1
= 0 ;
5522 char * kwnames
[] = {
5523 (char *) "self",(char *) "tag", NULL
5526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5531 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5532 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5533 if (!SWIG_IsOK(res2
)) {
5534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5539 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 resultobj
= SWIG_Py_Void();
5553 SWIGINTERN PyObject
*HtmlTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5556 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_NewClientData(obj
));
5557 return SWIG_Py_Void();
5560 SWIGINTERN PyObject
*HtmlTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5561 return SWIG_Python_InitShadowInstance(args
);
5564 SWIGINTERN PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5565 PyObject
*resultobj
= 0;
5566 wxPyHtmlWinTagHandler
*result
= 0 ;
5568 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail
;
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_NEW
| 0 );
5582 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
= 0;
5584 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5585 PyObject
*arg2
= (PyObject
*) 0 ;
5586 PyObject
*arg3
= (PyObject
*) 0 ;
5589 PyObject
* obj0
= 0 ;
5590 PyObject
* obj1
= 0 ;
5591 PyObject
* obj2
= 0 ;
5592 char * kwnames
[] = {
5593 (char *) "self",(char *) "self",(char *) "_class", NULL
5596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5598 if (!SWIG_IsOK(res1
)) {
5599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5601 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5610 resultobj
= SWIG_Py_Void();
5617 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
= 0;
5619 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5620 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5625 PyObject
* obj0
= 0 ;
5626 PyObject
* obj1
= 0 ;
5627 char * kwnames
[] = {
5628 (char *) "self",(char *) "parser", NULL
5631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5633 if (!SWIG_IsOK(res1
)) {
5634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5636 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5638 if (!SWIG_IsOK(res2
)) {
5639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5641 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 (arg1
)->SetParser(arg2
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_Py_Void();
5655 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5656 PyObject
*resultobj
= 0;
5657 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5658 wxHtmlWinParser
*result
= 0 ;
5661 PyObject
*swig_obj
[1] ;
5663 if (!args
) SWIG_fail
;
5665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5666 if (!SWIG_IsOK(res1
)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5669 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5683 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
= 0;
5685 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5686 wxHtmlTag
*arg2
= 0 ;
5691 PyObject
* obj0
= 0 ;
5692 PyObject
* obj1
= 0 ;
5693 char * kwnames
[] = {
5694 (char *) "self",(char *) "tag", NULL
5697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5699 if (!SWIG_IsOK(res1
)) {
5700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5702 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5704 if (!SWIG_IsOK(res2
)) {
5705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5710 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= SWIG_Py_Void();
5724 SWIGINTERN PyObject
*HtmlWinTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5727 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_NewClientData(obj
));
5728 return SWIG_Py_Void();
5731 SWIGINTERN PyObject
*HtmlWinTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5732 return SWIG_Python_InitShadowInstance(args
);
5735 SWIGINTERN PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
= 0;
5737 PyObject
*arg1
= (PyObject
*) 0 ;
5738 PyObject
* obj0
= 0 ;
5739 char * kwnames
[] = {
5740 (char *) "tagHandlerClass", NULL
5743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 wxHtmlWinParser_AddTagHandler(arg1
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= SWIG_Py_Void();
5758 SWIGINTERN PyObject
*_wrap_new_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5759 PyObject
*resultobj
= 0;
5760 wxHtmlSelection
*result
= 0 ;
5762 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlSelection",0,0,0)) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (wxHtmlSelection
*)new wxHtmlSelection();
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_NEW
| 0 );
5776 SWIGINTERN PyObject
*_wrap_delete_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5777 PyObject
*resultobj
= 0;
5778 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5781 PyObject
*swig_obj
[1] ;
5783 if (!args
) SWIG_fail
;
5785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_DISOWN
| 0 );
5786 if (!SWIG_IsOK(res1
)) {
5787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5789 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 resultobj
= SWIG_Py_Void();
5804 SWIGINTERN PyObject
*_wrap_HtmlSelection_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
= 0;
5806 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5808 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5810 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5820 PyObject
* obj1
= 0 ;
5821 PyObject
* obj2
= 0 ;
5822 PyObject
* obj3
= 0 ;
5823 PyObject
* obj4
= 0 ;
5824 char * kwnames
[] = {
5825 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5830 if (!SWIG_IsOK(res1
)) {
5831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5833 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5838 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5839 if (!SWIG_IsOK(res3
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5842 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5845 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5847 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5848 if (!SWIG_IsOK(res5
)) {
5849 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5851 arg5
= reinterpret_cast< wxHtmlCell
* >(argp5
);
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= SWIG_Py_Void();
5865 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
= 0;
5867 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5868 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5869 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5877 PyObject
* obj1
= 0 ;
5878 PyObject
* obj2
= 0 ;
5879 char * kwnames
[] = {
5880 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5885 if (!SWIG_IsOK(res1
)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5888 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5890 if (!SWIG_IsOK(res2
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5893 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
5894 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5895 if (!SWIG_IsOK(res3
)) {
5896 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5898 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= SWIG_Py_Void();
5912 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5913 PyObject
*resultobj
= 0;
5914 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5915 wxHtmlCell
*result
= 0 ;
5918 PyObject
*swig_obj
[1] ;
5920 if (!args
) SWIG_fail
;
5922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5923 if (!SWIG_IsOK(res1
)) {
5924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5926 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5934 resultobj
= wxPyMake_wxObject(result
, 0);
5942 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5943 PyObject
*resultobj
= 0;
5944 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5945 wxHtmlCell
*result
= 0 ;
5948 PyObject
*swig_obj
[1] ;
5950 if (!args
) SWIG_fail
;
5952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5953 if (!SWIG_IsOK(res1
)) {
5954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5956 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= wxPyMake_wxObject(result
, 0);
5972 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5973 PyObject
*resultobj
= 0;
5974 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5975 wxPoint
*result
= 0 ;
5978 PyObject
*swig_obj
[1] ;
5980 if (!args
) SWIG_fail
;
5982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5983 if (!SWIG_IsOK(res1
)) {
5984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5986 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
5991 result
= (wxPoint
*) &_result_ref
;
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6003 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6004 PyObject
*resultobj
= 0;
6005 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6006 wxPoint
*result
= 0 ;
6009 PyObject
*swig_obj
[1] ;
6011 if (!args
) SWIG_fail
;
6013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6014 if (!SWIG_IsOK(res1
)) {
6015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6017 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
6022 result
= (wxPoint
*) &_result_ref
;
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6034 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6035 PyObject
*resultobj
= 0;
6036 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6037 wxPoint
*result
= 0 ;
6040 PyObject
*swig_obj
[1] ;
6042 if (!args
) SWIG_fail
;
6044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6045 if (!SWIG_IsOK(res1
)) {
6046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6048 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
6053 result
= (wxPoint
*) &_result_ref
;
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6065 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6066 PyObject
*resultobj
= 0;
6067 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6068 wxPoint
*result
= 0 ;
6071 PyObject
*swig_obj
[1] ;
6073 if (!args
) SWIG_fail
;
6075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6076 if (!SWIG_IsOK(res1
)) {
6077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6079 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
6084 result
= (wxPoint
*) &_result_ref
;
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6096 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
*resultobj
= 0;
6098 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6103 PyObject
* obj0
= 0 ;
6104 PyObject
* obj1
= 0 ;
6105 char * kwnames
[] = {
6106 (char *) "self",(char *) "pos", NULL
6109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6111 if (!SWIG_IsOK(res1
)) {
6112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6114 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6117 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= SWIG_Py_Void();
6132 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
= 0;
6134 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6141 char * kwnames
[] = {
6142 (char *) "self",(char *) "pos", NULL
6145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6147 if (!SWIG_IsOK(res1
)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6150 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6153 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= SWIG_Py_Void();
6168 SWIGINTERN PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6169 PyObject
*resultobj
= 0;
6170 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6173 PyObject
*swig_obj
[1] ;
6175 if (!args
) SWIG_fail
;
6177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6178 if (!SWIG_IsOK(res1
)) {
6179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6181 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 (arg1
)->ClearPrivPos();
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= SWIG_Py_Void();
6195 SWIGINTERN PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6196 PyObject
*resultobj
= 0;
6197 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6201 PyObject
*swig_obj
[1] ;
6203 if (!args
) SWIG_fail
;
6205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6206 if (!SWIG_IsOK(res1
)) {
6207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6209 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
6223 SWIGINTERN PyObject
*HtmlSelection_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6225 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6226 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection
, SWIG_NewClientData(obj
));
6227 return SWIG_Py_Void();
6230 SWIGINTERN PyObject
*HtmlSelection_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6231 return SWIG_Python_InitShadowInstance(args
);
6234 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6235 PyObject
*resultobj
= 0;
6236 wxHtmlRenderingState
*result
= 0 ;
6238 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingState",0,0,0)) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_NEW
| 0 );
6252 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6253 PyObject
*resultobj
= 0;
6254 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6257 PyObject
*swig_obj
[1] ;
6259 if (!args
) SWIG_fail
;
6261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_DISOWN
| 0 );
6262 if (!SWIG_IsOK(res1
)) {
6263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6265 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= SWIG_Py_Void();
6280 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
= 0;
6282 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6283 wxHtmlSelectionState arg2
;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6290 char * kwnames
[] = {
6291 (char *) "self",(char *) "s", NULL
6294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6299 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6301 if (!SWIG_IsOK(ecode2
)) {
6302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6304 arg2
= static_cast< wxHtmlSelectionState
>(val2
);
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 (arg1
)->SetSelectionState(arg2
);
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 resultobj
= SWIG_Py_Void();
6318 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6319 PyObject
*resultobj
= 0;
6320 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6321 wxHtmlSelectionState result
;
6324 PyObject
*swig_obj
[1] ;
6326 if (!args
) SWIG_fail
;
6328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6329 if (!SWIG_IsOK(res1
)) {
6330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6332 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= SWIG_From_int(static_cast< int >(result
));
6346 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
*resultobj
= 0;
6348 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6349 wxColour
*arg2
= 0 ;
6353 PyObject
* obj0
= 0 ;
6354 PyObject
* obj1
= 0 ;
6355 char * kwnames
[] = {
6356 (char *) "self",(char *) "c", NULL
6359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6361 if (!SWIG_IsOK(res1
)) {
6362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6364 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6367 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= SWIG_Py_Void();
6382 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6383 PyObject
*resultobj
= 0;
6384 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6385 wxColour
*result
= 0 ;
6388 PyObject
*swig_obj
[1] ;
6390 if (!args
) SWIG_fail
;
6392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6393 if (!SWIG_IsOK(res1
)) {
6394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6396 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
6401 result
= (wxColour
*) &_result_ref
;
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6413 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
= 0;
6415 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6416 wxColour
*arg2
= 0 ;
6420 PyObject
* obj0
= 0 ;
6421 PyObject
* obj1
= 0 ;
6422 char * kwnames
[] = {
6423 (char *) "self",(char *) "c", NULL
6426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6428 if (!SWIG_IsOK(res1
)) {
6429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6431 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6434 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6438 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 resultobj
= SWIG_Py_Void();
6449 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6450 PyObject
*resultobj
= 0;
6451 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6452 wxColour
*result
= 0 ;
6455 PyObject
*swig_obj
[1] ;
6457 if (!args
) SWIG_fail
;
6459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6460 if (!SWIG_IsOK(res1
)) {
6461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6463 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
6468 result
= (wxColour
*) &_result_ref
;
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6480 SWIGINTERN PyObject
*HtmlRenderingState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6483 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState
, SWIG_NewClientData(obj
));
6484 return SWIG_Py_Void();
6487 SWIGINTERN PyObject
*HtmlRenderingState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6488 return SWIG_Python_InitShadowInstance(args
);
6491 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
= 0;
6493 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6494 wxColour
*arg2
= 0 ;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6501 char * kwnames
[] = {
6502 (char *) "self",(char *) "clr", NULL
6505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6510 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6513 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6528 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
= 0;
6530 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6531 wxColour
*arg2
= 0 ;
6536 PyObject
* obj0
= 0 ;
6537 PyObject
* obj1
= 0 ;
6538 char * kwnames
[] = {
6539 (char *) "self",(char *) "clr", NULL
6542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6544 if (!SWIG_IsOK(res1
)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6547 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6550 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6565 SWIGINTERN PyObject
*HtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6568 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6569 return SWIG_Py_Void();
6572 SWIGINTERN PyObject
*DefaultHtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6575 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6576 return SWIG_Py_Void();
6579 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6580 PyObject
*resultobj
= 0;
6581 wxHtmlRenderingInfo
*result
= 0 ;
6583 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_NEW
| 0 );
6597 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6598 PyObject
*resultobj
= 0;
6599 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6602 PyObject
*swig_obj
[1] ;
6604 if (!args
) SWIG_fail
;
6606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_DISOWN
| 0 );
6607 if (!SWIG_IsOK(res1
)) {
6608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6610 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= SWIG_Py_Void();
6625 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
= 0;
6627 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6628 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6633 PyObject
* obj0
= 0 ;
6634 PyObject
* obj1
= 0 ;
6635 char * kwnames
[] = {
6636 (char *) "self",(char *) "s", NULL
6639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6641 if (!SWIG_IsOK(res1
)) {
6642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6644 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6646 if (!SWIG_IsOK(res2
)) {
6647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6649 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 (arg1
)->SetSelection(arg2
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_Py_Void();
6663 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6664 PyObject
*resultobj
= 0;
6665 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6666 wxHtmlSelection
*result
= 0 ;
6669 PyObject
*swig_obj
[1] ;
6671 if (!args
) SWIG_fail
;
6673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6674 if (!SWIG_IsOK(res1
)) {
6675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6677 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6691 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
= 0;
6693 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6694 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6700 PyObject
* obj1
= 0 ;
6701 char * kwnames
[] = {
6702 (char *) "self",(char *) "style", NULL
6705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6707 if (!SWIG_IsOK(res1
)) {
6708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6710 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6712 if (!SWIG_IsOK(res2
)) {
6713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6715 arg2
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp2
);
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 (arg1
)->SetStyle(arg2
);
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6722 resultobj
= SWIG_Py_Void();
6729 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6730 PyObject
*resultobj
= 0;
6731 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6732 wxHtmlRenderingStyle
*result
= 0 ;
6735 PyObject
*swig_obj
[1] ;
6737 if (!args
) SWIG_fail
;
6739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6740 if (!SWIG_IsOK(res1
)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6743 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
6748 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6760 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6761 PyObject
*resultobj
= 0;
6762 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6763 wxHtmlRenderingState
*result
= 0 ;
6766 PyObject
*swig_obj
[1] ;
6768 if (!args
) SWIG_fail
;
6770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6771 if (!SWIG_IsOK(res1
)) {
6772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6774 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
6779 result
= (wxHtmlRenderingState
*) &_result_ref
;
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6791 SWIGINTERN PyObject
*HtmlRenderingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6793 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6794 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_NewClientData(obj
));
6795 return SWIG_Py_Void();
6798 SWIGINTERN PyObject
*HtmlRenderingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6799 return SWIG_Python_InitShadowInstance(args
);
6802 SWIGINTERN PyObject
*_wrap_new_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6803 PyObject
*resultobj
= 0;
6804 wxHtmlCell
*result
= 0 ;
6806 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlCell",0,0,0)) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= (wxHtmlCell
*)new wxHtmlCell();
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_NEW
| 0 );
6820 SWIGINTERN PyObject
*_wrap_delete_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6821 PyObject
*resultobj
= 0;
6822 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6825 PyObject
*swig_obj
[1] ;
6827 if (!args
) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6833 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_Py_Void();
6848 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6849 PyObject
*resultobj
= 0;
6850 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6854 PyObject
*swig_obj
[1] ;
6856 if (!args
) SWIG_fail
;
6858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6859 if (!SWIG_IsOK(res1
)) {
6860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6862 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (int)(arg1
)->GetPosX();
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= SWIG_From_int(static_cast< int >(result
));
6876 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6877 PyObject
*resultobj
= 0;
6878 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6882 PyObject
*swig_obj
[1] ;
6884 if (!args
) SWIG_fail
;
6886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6887 if (!SWIG_IsOK(res1
)) {
6888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6890 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 result
= (int)(arg1
)->GetPosY();
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= SWIG_From_int(static_cast< int >(result
));
6904 SWIGINTERN PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6905 PyObject
*resultobj
= 0;
6906 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6910 PyObject
*swig_obj
[1] ;
6912 if (!args
) SWIG_fail
;
6914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6915 if (!SWIG_IsOK(res1
)) {
6916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6918 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (int)(arg1
)->GetWidth();
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_From_int(static_cast< int >(result
));
6932 SWIGINTERN PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6933 PyObject
*resultobj
= 0;
6934 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6938 PyObject
*swig_obj
[1] ;
6940 if (!args
) SWIG_fail
;
6942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6943 if (!SWIG_IsOK(res1
)) {
6944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6946 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 result
= (int)(arg1
)->GetHeight();
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= SWIG_From_int(static_cast< int >(result
));
6960 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6961 PyObject
*resultobj
= 0;
6962 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6966 PyObject
*swig_obj
[1] ;
6968 if (!args
) SWIG_fail
;
6970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6971 if (!SWIG_IsOK(res1
)) {
6972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6974 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 result
= (int)(arg1
)->GetDescent();
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= SWIG_From_int(static_cast< int >(result
));
6988 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6989 PyObject
*resultobj
= 0;
6990 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6994 PyObject
*swig_obj
[1] ;
6996 if (!args
) SWIG_fail
;
6998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6999 if (!SWIG_IsOK(res1
)) {
7000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7002 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_From_int(static_cast< int >(result
));
7016 SWIGINTERN PyObject
*_wrap_HtmlCell_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7017 PyObject
*resultobj
= 0;
7018 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7019 wxString
*result
= 0 ;
7022 PyObject
*swig_obj
[1] ;
7024 if (!args
) SWIG_fail
;
7026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7027 if (!SWIG_IsOK(res1
)) {
7028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7030 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
7035 result
= (wxString
*) &_result_ref
;
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7044 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7053 SWIGINTERN PyObject
*_wrap_HtmlCell_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
= 0;
7055 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7056 wxString
*arg2
= 0 ;
7059 bool temp2
= false ;
7060 PyObject
* obj0
= 0 ;
7061 PyObject
* obj1
= 0 ;
7062 char * kwnames
[] = {
7063 (char *) "self",(char *) "id", NULL
7066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7068 if (!SWIG_IsOK(res1
)) {
7069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7071 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7073 arg2
= wxString_in_helper(obj1
);
7074 if (arg2
== NULL
) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 (arg1
)->SetId((wxString
const &)*arg2
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= SWIG_Py_Void();
7098 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
= 0;
7100 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7101 int arg2
= (int) 0 ;
7102 int arg3
= (int) 0 ;
7103 wxHtmlLinkInfo
*result
= 0 ;
7110 PyObject
* obj0
= 0 ;
7111 PyObject
* obj1
= 0 ;
7112 PyObject
* obj2
= 0 ;
7113 char * kwnames
[] = {
7114 (char *) "self",(char *) "x",(char *) "y", NULL
7117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7119 if (!SWIG_IsOK(res1
)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7122 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7125 if (!SWIG_IsOK(ecode2
)) {
7126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7128 arg2
= static_cast< int >(val2
);
7131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7132 if (!SWIG_IsOK(ecode3
)) {
7133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7135 arg3
= static_cast< int >(val3
);
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
7150 SWIGINTERN PyObject
*_wrap_HtmlCell_GetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7151 PyObject
*resultobj
= 0;
7152 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7153 wxHtmlCell
*result
= 0 ;
7156 PyObject
*swig_obj
[1] ;
7158 if (!args
) SWIG_fail
;
7160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7161 if (!SWIG_IsOK(res1
)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7164 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 result
= (wxHtmlCell
*)(arg1
)->GetNext();
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= wxPyMake_wxObject(result
, 0);
7180 SWIGINTERN PyObject
*_wrap_HtmlCell_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7181 PyObject
*resultobj
= 0;
7182 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7183 wxHtmlContainerCell
*result
= 0 ;
7186 PyObject
*swig_obj
[1] ;
7188 if (!args
) SWIG_fail
;
7190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7191 if (!SWIG_IsOK(res1
)) {
7192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7194 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7208 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7209 PyObject
*resultobj
= 0;
7210 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7211 wxHtmlCell
*result
= 0 ;
7214 PyObject
*swig_obj
[1] ;
7216 if (!args
) SWIG_fail
;
7218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7219 if (!SWIG_IsOK(res1
)) {
7220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7222 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7225 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7230 resultobj
= wxPyMake_wxObject(result
, 0);
7238 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMouseCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
*resultobj
= 0;
7240 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7241 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7247 PyObject
* obj0
= 0 ;
7248 PyObject
* obj1
= 0 ;
7249 char * kwnames
[] = {
7250 (char *) "self",(char *) "window", NULL
7253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_GetMouseCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7258 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7259 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7260 if (!SWIG_IsOK(res2
)) {
7261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7263 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= ((wxHtmlCell
const *)arg1
)->GetMouseCursor(arg2
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7277 SWIGINTERN PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7278 PyObject
*resultobj
= 0;
7279 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7283 PyObject
*swig_obj
[1] ;
7285 if (!args
) SWIG_fail
;
7287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7288 if (!SWIG_IsOK(res1
)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7291 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7298 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7305 SWIGINTERN PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7306 PyObject
*resultobj
= 0;
7307 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7311 PyObject
*swig_obj
[1] ;
7313 if (!args
) SWIG_fail
;
7315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7316 if (!SWIG_IsOK(res1
)) {
7317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7319 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7335 SWIGINTERN PyObject
*_wrap_HtmlCell_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
= 0;
7337 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7338 wxHtmlLinkInfo
*arg2
= 0 ;
7343 PyObject
* obj0
= 0 ;
7344 PyObject
* obj1
= 0 ;
7345 char * kwnames
[] = {
7346 (char *) "self",(char *) "link", NULL
7349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7351 if (!SWIG_IsOK(res1
)) {
7352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7354 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7355 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
7356 if (!SWIG_IsOK(res2
)) {
7357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7362 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 resultobj
= SWIG_Py_Void();
7376 SWIGINTERN PyObject
*_wrap_HtmlCell_SetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
= 0;
7378 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7379 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7382 PyObject
* obj0
= 0 ;
7383 PyObject
* obj1
= 0 ;
7384 char * kwnames
[] = {
7385 (char *) "self",(char *) "cell", NULL
7388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7389 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7390 if (!SWIG_IsOK(res1
)) {
7391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7393 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7394 if (!SWIG_IsOK(res2
)) {
7395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 (arg1
)->SetNext(arg2
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 resultobj
= SWIG_Py_Void();
7410 SWIGINTERN PyObject
*_wrap_HtmlCell_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
= 0;
7412 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7413 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
7418 PyObject
* obj0
= 0 ;
7419 PyObject
* obj1
= 0 ;
7420 char * kwnames
[] = {
7421 (char *) "self",(char *) "p", NULL
7424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7426 if (!SWIG_IsOK(res1
)) {
7427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7429 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7431 if (!SWIG_IsOK(res2
)) {
7432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7434 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 (arg1
)->SetParent(arg2
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= SWIG_Py_Void();
7448 SWIGINTERN PyObject
*_wrap_HtmlCell_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
= 0;
7450 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 PyObject
* obj2
= 0 ;
7462 char * kwnames
[] = {
7463 (char *) "self",(char *) "x",(char *) "y", NULL
7466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7471 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7473 if (!SWIG_IsOK(ecode2
)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7476 arg2
= static_cast< int >(val2
);
7477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7478 if (!SWIG_IsOK(ecode3
)) {
7479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7481 arg3
= static_cast< int >(val3
);
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 (arg1
)->SetPos(arg2
,arg3
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_Py_Void();
7495 SWIGINTERN PyObject
*_wrap_HtmlCell_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
= 0;
7497 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7503 PyObject
* obj0
= 0 ;
7504 PyObject
* obj1
= 0 ;
7505 char * kwnames
[] = {
7506 (char *) "self",(char *) "w", NULL
7509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7511 if (!SWIG_IsOK(res1
)) {
7512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7514 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7516 if (!SWIG_IsOK(ecode2
)) {
7517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7519 arg2
= static_cast< int >(val2
);
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 (arg1
)->Layout(arg2
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= SWIG_Py_Void();
7533 SWIGINTERN PyObject
*_wrap_HtmlCell_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
= 0;
7535 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7541 wxHtmlRenderingInfo
*arg7
= 0 ;
7556 PyObject
* obj0
= 0 ;
7557 PyObject
* obj1
= 0 ;
7558 PyObject
* obj2
= 0 ;
7559 PyObject
* obj3
= 0 ;
7560 PyObject
* obj4
= 0 ;
7561 PyObject
* obj5
= 0 ;
7562 PyObject
* obj6
= 0 ;
7563 char * kwnames
[] = {
7564 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7569 if (!SWIG_IsOK(res1
)) {
7570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7572 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7574 if (!SWIG_IsOK(res2
)) {
7575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7580 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7582 if (!SWIG_IsOK(ecode3
)) {
7583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7585 arg3
= static_cast< int >(val3
);
7586 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7587 if (!SWIG_IsOK(ecode4
)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7590 arg4
= static_cast< int >(val4
);
7591 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7592 if (!SWIG_IsOK(ecode5
)) {
7593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7595 arg5
= static_cast< int >(val5
);
7596 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
7597 if (!SWIG_IsOK(ecode6
)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7600 arg6
= static_cast< int >(val6
);
7601 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7602 if (!SWIG_IsOK(res7
)) {
7603 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7608 arg7
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp7
);
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_Py_Void();
7622 SWIGINTERN PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
= 0;
7624 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7628 wxHtmlRenderingInfo
*arg5
= 0 ;
7639 PyObject
* obj0
= 0 ;
7640 PyObject
* obj1
= 0 ;
7641 PyObject
* obj2
= 0 ;
7642 PyObject
* obj3
= 0 ;
7643 PyObject
* obj4
= 0 ;
7644 char * kwnames
[] = {
7645 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7650 if (!SWIG_IsOK(res1
)) {
7651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7653 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7655 if (!SWIG_IsOK(res2
)) {
7656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7661 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7663 if (!SWIG_IsOK(ecode3
)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7666 arg3
= static_cast< int >(val3
);
7667 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7668 if (!SWIG_IsOK(ecode4
)) {
7669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7671 arg4
= static_cast< int >(val4
);
7672 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7673 if (!SWIG_IsOK(res5
)) {
7674 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7679 arg5
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp5
);
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= SWIG_Py_Void();
7693 SWIGINTERN PyObject
*_wrap_HtmlCell_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
= 0;
7695 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7697 void *arg3
= (void *) 0 ;
7698 wxHtmlCell
*result
= 0 ;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7706 PyObject
* obj2
= 0 ;
7707 char * kwnames
[] = {
7708 (char *) "self",(char *) "condition",(char *) "param", NULL
7711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7713 if (!SWIG_IsOK(res1
)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7716 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7718 if (!SWIG_IsOK(ecode2
)) {
7719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7721 arg2
= static_cast< int >(val2
);
7722 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
7723 if (!SWIG_IsOK(res3
)) {
7724 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= wxPyMake_wxObject(result
, 0);
7741 SWIGINTERN PyObject
*_wrap_HtmlCell_ProcessMouseClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
= 0;
7743 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7744 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7746 wxMouseEvent
*arg4
= 0 ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7757 PyObject
* obj2
= 0 ;
7758 PyObject
* obj3
= 0 ;
7759 char * kwnames
[] = {
7760 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7765 if (!SWIG_IsOK(res1
)) {
7766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7768 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7770 if (!SWIG_IsOK(res2
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7773 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7776 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7778 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
7779 if (!SWIG_IsOK(res4
)) {
7780 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7785 arg4
= reinterpret_cast< wxMouseEvent
* >(argp4
);
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 result
= (bool)(arg1
)->ProcessMouseClick(arg2
,(wxPoint
const &)*arg3
,(wxMouseEvent
const &)*arg4
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7801 SWIGINTERN PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
= 0;
7803 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7809 PyObject
* obj0
= 0 ;
7810 PyObject
* obj1
= 0 ;
7811 char * kwnames
[] = {
7812 (char *) "self",(char *) "can", NULL
7815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7817 if (!SWIG_IsOK(res1
)) {
7818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7820 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7821 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7822 if (!SWIG_IsOK(ecode2
)) {
7823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7825 arg2
= static_cast< bool >(val2
);
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 (arg1
)->SetCanLiveOnPagebreak(arg2
);
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_Py_Void();
7839 SWIGINTERN PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7840 PyObject
*resultobj
= 0;
7841 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7845 PyObject
*swig_obj
[1] ;
7847 if (!args
) SWIG_fail
;
7849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7850 if (!SWIG_IsOK(res1
)) {
7851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7853 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7869 SWIGINTERN PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7870 PyObject
*resultobj
= 0;
7871 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7875 PyObject
*swig_obj
[1] ;
7877 if (!args
) SWIG_fail
;
7879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7880 if (!SWIG_IsOK(res1
)) {
7881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7883 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7899 SWIGINTERN PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
= 0;
7901 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7904 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
7905 wxHtmlCell
*result
= 0 ;
7914 PyObject
* obj0
= 0 ;
7915 PyObject
* obj1
= 0 ;
7916 PyObject
* obj2
= 0 ;
7917 PyObject
* obj3
= 0 ;
7918 char * kwnames
[] = {
7919 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7924 if (!SWIG_IsOK(res1
)) {
7925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7927 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7929 if (!SWIG_IsOK(ecode2
)) {
7930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7932 arg2
= static_cast< int >(val2
);
7933 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7934 if (!SWIG_IsOK(ecode3
)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7937 arg3
= static_cast< int >(val3
);
7939 ecode4
= SWIG_AsVal_unsigned_SS_int(obj3
, &val4
);
7940 if (!SWIG_IsOK(ecode4
)) {
7941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7943 arg4
= static_cast< unsigned int >(val4
);
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= wxPyMake_wxObject(result
, 0);
7960 SWIGINTERN PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
= 0;
7962 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7963 wxHtmlCell
*arg2
= (wxHtmlCell
*) NULL
;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7971 char * kwnames
[] = {
7972 (char *) "self",(char *) "rootCell", NULL
7975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlCell_GetAbsPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7977 if (!SWIG_IsOK(res1
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7980 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7982 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7983 if (!SWIG_IsOK(res2
)) {
7984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7986 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos(arg2
);
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8001 SWIGINTERN PyObject
*_wrap_HtmlCell_GetRootCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8002 PyObject
*resultobj
= 0;
8003 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8004 wxHtmlCell
*result
= 0 ;
8007 PyObject
*swig_obj
[1] ;
8009 if (!args
) SWIG_fail
;
8011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8012 if (!SWIG_IsOK(res1
)) {
8013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8015 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetRootCell();
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= wxPyMake_wxObject(result
, 0);
8031 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8032 PyObject
*resultobj
= 0;
8033 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8034 wxHtmlCell
*result
= 0 ;
8037 PyObject
*swig_obj
[1] ;
8039 if (!args
) SWIG_fail
;
8041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8042 if (!SWIG_IsOK(res1
)) {
8043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8045 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= wxPyMake_wxObject(result
, 0);
8061 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8062 PyObject
*resultobj
= 0;
8063 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8064 wxHtmlCell
*result
= 0 ;
8067 PyObject
*swig_obj
[1] ;
8069 if (!args
) SWIG_fail
;
8071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8072 if (!SWIG_IsOK(res1
)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8075 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= wxPyMake_wxObject(result
, 0);
8091 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8092 PyObject
*resultobj
= 0;
8093 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8094 unsigned int result
;
8097 PyObject
*swig_obj
[1] ;
8099 if (!args
) SWIG_fail
;
8101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8102 if (!SWIG_IsOK(res1
)) {
8103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8105 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
8119 SWIGINTERN PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
= 0;
8121 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8122 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8128 PyObject
* obj0
= 0 ;
8129 PyObject
* obj1
= 0 ;
8130 char * kwnames
[] = {
8131 (char *) "self",(char *) "cell", NULL
8134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8136 if (!SWIG_IsOK(res1
)) {
8137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8139 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8141 if (!SWIG_IsOK(res2
)) {
8142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8144 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8160 SWIGINTERN PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
= 0;
8162 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8163 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8169 PyObject
* obj0
= 0 ;
8170 PyObject
* obj1
= 0 ;
8171 char * kwnames
[] = {
8172 (char *) "self",(char *) "sel", NULL
8175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8177 if (!SWIG_IsOK(res1
)) {
8178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8180 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8182 if (!SWIG_IsOK(res2
)) {
8183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8185 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8205 SWIGINTERN PyObject
*HtmlCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8208 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell
, SWIG_NewClientData(obj
));
8209 return SWIG_Py_Void();
8212 SWIGINTERN PyObject
*HtmlCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8213 return SWIG_Python_InitShadowInstance(args
);
8216 SWIGINTERN PyObject
*_wrap_new_HtmlWordCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
= 0;
8218 wxString
*arg1
= 0 ;
8220 wxHtmlWordCell
*result
= 0 ;
8221 bool temp1
= false ;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8226 char * kwnames
[] = {
8227 (char *) "word",(char *) "dc", NULL
8230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8232 arg1
= wxString_in_helper(obj0
);
8233 if (arg1
== NULL
) SWIG_fail
;
8236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
8237 if (!SWIG_IsOK(res2
)) {
8238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8243 arg2
= reinterpret_cast< wxDC
* >(argp2
);
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
8247 wxPyEndAllowThreads(__tstate
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_NEW
| 0 );
8265 SWIGINTERN PyObject
*_wrap_HtmlWordCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
= 0;
8267 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8268 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8274 PyObject
* obj0
= 0 ;
8275 PyObject
* obj1
= 0 ;
8276 char * kwnames
[] = {
8277 (char *) "self",(char *) "sel", NULL
8280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8282 if (!SWIG_IsOK(res1
)) {
8283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8285 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8287 if (!SWIG_IsOK(res2
)) {
8288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8290 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 result
= ((wxHtmlWordCell
const *)arg1
)->ConvertToText(arg2
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8310 SWIGINTERN PyObject
*_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8311 PyObject
*resultobj
= 0;
8312 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8316 PyObject
*swig_obj
[1] ;
8318 if (!args
) SWIG_fail
;
8320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8321 if (!SWIG_IsOK(res1
)) {
8322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8324 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (bool)((wxHtmlWordCell
const *)arg1
)->IsLinebreakAllowed();
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8340 SWIGINTERN PyObject
*_wrap_HtmlWordCell_SetPreviousWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
= 0;
8342 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8343 wxHtmlWordCell
*arg2
= (wxHtmlWordCell
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8350 char * kwnames
[] = {
8351 (char *) "self",(char *) "cell", NULL
8354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8356 if (!SWIG_IsOK(res1
)) {
8357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8359 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8361 if (!SWIG_IsOK(res2
)) {
8362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8364 arg2
= reinterpret_cast< wxHtmlWordCell
* >(argp2
);
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 (arg1
)->SetPreviousWord(arg2
);
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= SWIG_Py_Void();
8378 SWIGINTERN PyObject
*HtmlWordCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8381 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell
, SWIG_NewClientData(obj
));
8382 return SWIG_Py_Void();
8385 SWIGINTERN PyObject
*HtmlWordCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8386 return SWIG_Python_InitShadowInstance(args
);
8389 SWIGINTERN PyObject
*_wrap_new_HtmlContainerCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
= 0;
8391 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8392 wxHtmlContainerCell
*result
= 0 ;
8395 PyObject
* obj0
= 0 ;
8396 char * kwnames
[] = {
8397 (char *) "parent", NULL
8400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) SWIG_fail
;
8401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8402 if (!SWIG_IsOK(res1
)) {
8403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8405 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_NEW
| 0 );
8419 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
= 0;
8421 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8422 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8428 char * kwnames
[] = {
8429 (char *) "self",(char *) "cell", NULL
8432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8434 if (!SWIG_IsOK(res1
)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8437 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8438 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
8439 if (!SWIG_IsOK(res2
)) {
8440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 (arg1
)->InsertCell(arg2
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_Py_Void();
8455 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
= 0;
8457 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8465 char * kwnames
[] = {
8466 (char *) "self",(char *) "al", NULL
8469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8471 if (!SWIG_IsOK(res1
)) {
8472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8474 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8476 if (!SWIG_IsOK(ecode2
)) {
8477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8479 arg2
= static_cast< int >(val2
);
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 (arg1
)->SetAlignHor(arg2
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= SWIG_Py_Void();
8493 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8494 PyObject
*resultobj
= 0;
8495 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8499 PyObject
*swig_obj
[1] ;
8501 if (!args
) SWIG_fail
;
8503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8504 if (!SWIG_IsOK(res1
)) {
8505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8507 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (int)(arg1
)->GetAlignHor();
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_From_int(static_cast< int >(result
));
8521 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
= 0;
8523 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 char * kwnames
[] = {
8532 (char *) "self",(char *) "al", NULL
8535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8537 if (!SWIG_IsOK(res1
)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8540 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8542 if (!SWIG_IsOK(ecode2
)) {
8543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8545 arg2
= static_cast< int >(val2
);
8547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 (arg1
)->SetAlignVer(arg2
);
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= SWIG_Py_Void();
8559 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8560 PyObject
*resultobj
= 0;
8561 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8565 PyObject
*swig_obj
[1] ;
8567 if (!args
) SWIG_fail
;
8569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8570 if (!SWIG_IsOK(res1
)) {
8571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8573 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 result
= (int)(arg1
)->GetAlignVer();
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= SWIG_From_int(static_cast< int >(result
));
8587 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
= 0;
8589 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8592 int arg4
= (int) wxHTML_UNITS_PIXELS
;
8601 PyObject
* obj0
= 0 ;
8602 PyObject
* obj1
= 0 ;
8603 PyObject
* obj2
= 0 ;
8604 PyObject
* obj3
= 0 ;
8605 char * kwnames
[] = {
8606 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8614 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8616 if (!SWIG_IsOK(ecode2
)) {
8617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8619 arg2
= static_cast< int >(val2
);
8620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8621 if (!SWIG_IsOK(ecode3
)) {
8622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8624 arg3
= static_cast< int >(val3
);
8626 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8627 if (!SWIG_IsOK(ecode4
)) {
8628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8630 arg4
= static_cast< int >(val4
);
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= SWIG_Py_Void();
8645 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
= 0;
8647 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 char * kwnames
[] = {
8657 (char *) "self",(char *) "ind", NULL
8660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8665 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8667 if (!SWIG_IsOK(ecode2
)) {
8668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8670 arg2
= static_cast< int >(val2
);
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 result
= (int)(arg1
)->GetIndent(arg2
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8677 resultobj
= SWIG_From_int(static_cast< int >(result
));
8684 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
= 0;
8686 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8693 PyObject
* obj0
= 0 ;
8694 PyObject
* obj1
= 0 ;
8695 char * kwnames
[] = {
8696 (char *) "self",(char *) "ind", NULL
8699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8701 if (!SWIG_IsOK(res1
)) {
8702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8704 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8706 if (!SWIG_IsOK(ecode2
)) {
8707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8709 arg2
= static_cast< int >(val2
);
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 result
= (int)(arg1
)->GetIndentUnits(arg2
);
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= SWIG_From_int(static_cast< int >(result
));
8723 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
= 0;
8725 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8726 wxHtmlTag
*arg2
= 0 ;
8731 PyObject
* obj0
= 0 ;
8732 PyObject
* obj1
= 0 ;
8733 char * kwnames
[] = {
8734 (char *) "self",(char *) "tag", NULL
8737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8739 if (!SWIG_IsOK(res1
)) {
8740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8742 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8743 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8744 if (!SWIG_IsOK(res2
)) {
8745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8750 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= SWIG_Py_Void();
8764 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
= 0;
8766 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8775 PyObject
* obj0
= 0 ;
8776 PyObject
* obj1
= 0 ;
8777 PyObject
* obj2
= 0 ;
8778 char * kwnames
[] = {
8779 (char *) "self",(char *) "w",(char *) "units", NULL
8782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8784 if (!SWIG_IsOK(res1
)) {
8785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8787 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8789 if (!SWIG_IsOK(ecode2
)) {
8790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8792 arg2
= static_cast< int >(val2
);
8793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8794 if (!SWIG_IsOK(ecode3
)) {
8795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8797 arg3
= static_cast< int >(val3
);
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 (arg1
)->SetWidthFloat(arg2
,arg3
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= SWIG_Py_Void();
8811 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
= 0;
8813 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8814 wxHtmlTag
*arg2
= 0 ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8821 char * kwnames
[] = {
8822 (char *) "self",(char *) "tag", NULL
8825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8827 if (!SWIG_IsOK(res1
)) {
8828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8830 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8831 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8832 if (!SWIG_IsOK(res2
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8838 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= SWIG_Py_Void();
8852 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
= 0;
8854 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8856 int arg3
= (int) wxHTML_ALIGN_TOP
;
8863 PyObject
* obj0
= 0 ;
8864 PyObject
* obj1
= 0 ;
8865 PyObject
* obj2
= 0 ;
8866 char * kwnames
[] = {
8867 (char *) "self",(char *) "h",(char *) "align", NULL
8870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8872 if (!SWIG_IsOK(res1
)) {
8873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8875 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8877 if (!SWIG_IsOK(ecode2
)) {
8878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8880 arg2
= static_cast< int >(val2
);
8882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8883 if (!SWIG_IsOK(ecode3
)) {
8884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8886 arg3
= static_cast< int >(val3
);
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 (arg1
)->SetMinHeight(arg2
,arg3
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8894 resultobj
= SWIG_Py_Void();
8901 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8902 PyObject
*resultobj
= 0;
8903 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8904 wxColour
*arg2
= 0 ;
8908 PyObject
* obj0
= 0 ;
8909 PyObject
* obj1
= 0 ;
8910 char * kwnames
[] = {
8911 (char *) "self",(char *) "clr", NULL
8914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8916 if (!SWIG_IsOK(res1
)) {
8917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8919 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8922 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= SWIG_Py_Void();
8937 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8938 PyObject
*resultobj
= 0;
8939 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8943 PyObject
*swig_obj
[1] ;
8945 if (!args
) SWIG_fail
;
8947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8948 if (!SWIG_IsOK(res1
)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8951 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (arg1
)->GetBackgroundColour();
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
8965 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
= 0;
8967 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8968 wxColour
*arg2
= 0 ;
8969 wxColour
*arg3
= 0 ;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8976 PyObject
* obj2
= 0 ;
8977 char * kwnames
[] = {
8978 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8983 if (!SWIG_IsOK(res1
)) {
8984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8986 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8989 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8993 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= SWIG_Py_Void();
9008 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9009 PyObject
*resultobj
= 0;
9010 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
9011 wxHtmlCell
*result
= 0 ;
9014 PyObject
*swig_obj
[1] ;
9016 if (!args
) SWIG_fail
;
9018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
9019 if (!SWIG_IsOK(res1
)) {
9020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9022 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= wxPyMake_wxObject(result
, 0);
9038 SWIGINTERN PyObject
*HtmlContainerCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9041 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell
, SWIG_NewClientData(obj
));
9042 return SWIG_Py_Void();
9045 SWIGINTERN PyObject
*HtmlContainerCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9046 return SWIG_Python_InitShadowInstance(args
);
9049 SWIGINTERN PyObject
*_wrap_new_HtmlColourCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
= 0;
9051 wxColour
*arg1
= 0 ;
9052 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
9053 wxHtmlColourCell
*result
= 0 ;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9059 char * kwnames
[] = {
9060 (char *) "clr",(char *) "flags", NULL
9063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9066 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
9069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9070 if (!SWIG_IsOK(ecode2
)) {
9071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9073 arg2
= static_cast< int >(val2
);
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlColourCell
, SWIG_POINTER_NEW
| 0 );
9088 SWIGINTERN PyObject
*HtmlColourCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9091 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell
, SWIG_NewClientData(obj
));
9092 return SWIG_Py_Void();
9095 SWIGINTERN PyObject
*HtmlColourCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9096 return SWIG_Python_InitShadowInstance(args
);
9099 SWIGINTERN PyObject
*_wrap_new_HtmlFontCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
= 0;
9101 wxFont
*arg1
= (wxFont
*) 0 ;
9102 wxHtmlFontCell
*result
= 0 ;
9105 PyObject
* obj0
= 0 ;
9106 char * kwnames
[] = {
9107 (char *) "font", NULL
9110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) SWIG_fail
;
9111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
9112 if (!SWIG_IsOK(res1
)) {
9113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9115 arg1
= reinterpret_cast< wxFont
* >(argp1
);
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlFontCell
, SWIG_POINTER_NEW
| 0 );
9129 SWIGINTERN PyObject
*HtmlFontCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9132 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell
, SWIG_NewClientData(obj
));
9133 return SWIG_Py_Void();
9136 SWIGINTERN PyObject
*HtmlFontCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9137 return SWIG_Python_InitShadowInstance(args
);
9140 SWIGINTERN PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
= 0;
9142 wxWindow
*arg1
= (wxWindow
*) 0 ;
9143 int arg2
= (int) 0 ;
9144 wxHtmlWidgetCell
*result
= 0 ;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9151 char * kwnames
[] = {
9152 (char *) "wnd",(char *) "w", NULL
9155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9157 if (!SWIG_IsOK(res1
)) {
9158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9160 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9163 if (!SWIG_IsOK(ecode2
)) {
9164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9166 arg2
= static_cast< int >(val2
);
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_POINTER_NEW
| 0 );
9181 SWIGINTERN PyObject
*HtmlWidgetCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9184 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_NewClientData(obj
));
9185 return SWIG_Py_Void();
9188 SWIGINTERN PyObject
*HtmlWidgetCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9189 return SWIG_Python_InitShadowInstance(args
);
9192 SWIGINTERN PyObject
*_wrap_new_HtmlFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9193 PyObject
*resultobj
= 0;
9194 wxPyHtmlFilter
*result
= 0 ;
9196 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlFilter",0,0,0)) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_NEW
| 0 );
9210 SWIGINTERN PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
= 0;
9212 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
9213 PyObject
*arg2
= (PyObject
*) 0 ;
9214 PyObject
*arg3
= (PyObject
*) 0 ;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9219 PyObject
* obj2
= 0 ;
9220 char * kwnames
[] = {
9221 (char *) "self",(char *) "self",(char *) "_class", NULL
9224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
9226 if (!SWIG_IsOK(res1
)) {
9227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9229 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= SWIG_Py_Void();
9245 SWIGINTERN PyObject
*HtmlFilter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9248 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter
, SWIG_NewClientData(obj
));
9249 return SWIG_Py_Void();
9252 SWIGINTERN PyObject
*HtmlFilter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9253 return SWIG_Python_InitShadowInstance(args
);
9256 SWIGINTERN PyObject
*_wrap_delete_HtmlWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9257 PyObject
*resultobj
= 0;
9258 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9261 PyObject
*swig_obj
[1] ;
9263 if (!args
) SWIG_fail
;
9265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_POINTER_DISOWN
| 0 );
9266 if (!SWIG_IsOK(res1
)) {
9267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9269 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= SWIG_Py_Void();
9284 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
= 0;
9286 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9287 wxString
*arg2
= 0 ;
9290 bool temp2
= false ;
9291 PyObject
* obj0
= 0 ;
9292 PyObject
* obj1
= 0 ;
9293 char * kwnames
[] = {
9294 (char *) "self",(char *) "title", NULL
9297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9299 if (!SWIG_IsOK(res1
)) {
9300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9302 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9304 arg2
= wxString_in_helper(obj1
);
9305 if (arg2
== NULL
) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 (arg1
)->SetHTMLWindowTitle((wxString
const &)*arg2
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= SWIG_Py_Void();
9329 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
= 0;
9331 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9332 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
9340 PyObject
* obj0
= 0 ;
9341 PyObject
* obj1
= 0 ;
9342 PyObject
* obj2
= 0 ;
9343 char * kwnames
[] = {
9344 (char *) "self",(char *) "cell",(char *) "pos", NULL
9347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9349 if (!SWIG_IsOK(res1
)) {
9350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9352 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
9354 if (!SWIG_IsOK(res2
)) {
9355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9357 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
9360 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 result
= ((wxHtmlWindowInterface
const *)arg1
)->HTMLCoordsToWindow(arg2
,(wxPoint
const &)*arg3
);
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
9375 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9376 PyObject
*resultobj
= 0;
9377 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9378 wxWindow
*result
= 0 ;
9381 PyObject
*swig_obj
[1] ;
9383 if (!args
) SWIG_fail
;
9385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9386 if (!SWIG_IsOK(res1
)) {
9387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9389 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= (wxWindow
*)(arg1
)->GetHTMLWindow();
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= wxPyMake_wxObject(result
, 0);
9405 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9406 PyObject
*resultobj
= 0;
9407 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9411 PyObject
*swig_obj
[1] ;
9413 if (!args
) SWIG_fail
;
9415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9416 if (!SWIG_IsOK(res1
)) {
9417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9419 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= ((wxHtmlWindowInterface
const *)arg1
)->GetHTMLBackgroundColour();
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
9433 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
= 0;
9435 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9436 wxColour
*arg2
= 0 ;
9440 PyObject
* obj0
= 0 ;
9441 PyObject
* obj1
= 0 ;
9442 char * kwnames
[] = {
9443 (char *) "self",(char *) "clr", NULL
9446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9448 if (!SWIG_IsOK(res1
)) {
9449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9451 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9454 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 (arg1
)->SetHTMLBackgroundColour((wxColour
const &)*arg2
);
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9462 resultobj
= SWIG_Py_Void();
9469 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9470 PyObject
*resultobj
= 0;
9471 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9472 wxBitmap
*arg2
= 0 ;
9477 PyObject
* obj0
= 0 ;
9478 PyObject
* obj1
= 0 ;
9479 char * kwnames
[] = {
9480 (char *) "self",(char *) "bmpBg", NULL
9483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9485 if (!SWIG_IsOK(res1
)) {
9486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9488 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9490 if (!SWIG_IsOK(res2
)) {
9491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9496 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 (arg1
)->SetHTMLBackgroundImage((wxBitmap
const &)*arg2
);
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= SWIG_Py_Void();
9510 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
= 0;
9512 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9513 wxString
*arg2
= 0 ;
9516 bool temp2
= false ;
9517 PyObject
* obj0
= 0 ;
9518 PyObject
* obj1
= 0 ;
9519 char * kwnames
[] = {
9520 (char *) "self",(char *) "text", NULL
9523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9525 if (!SWIG_IsOK(res1
)) {
9526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9528 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9530 arg2
= wxString_in_helper(obj1
);
9531 if (arg2
== NULL
) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 (arg1
)->SetHTMLStatusText((wxString
const &)*arg2
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= SWIG_Py_Void();
9555 SWIGINTERN PyObject
*HtmlWindowInterface_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9558 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_NewClientData(obj
));
9559 return SWIG_Py_Void();
9562 SWIGINTERN PyObject
*_wrap_new_HtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
= 0;
9564 wxWindow
*arg1
= (wxWindow
*) 0 ;
9565 int arg2
= (int) -1 ;
9566 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9567 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9568 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9569 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9570 int arg5
= (int) wxHW_DEFAULT_STYLE
;
9571 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
9572 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9573 wxPyHtmlWindow
*result
= 0 ;
9582 bool temp6
= false ;
9583 PyObject
* obj0
= 0 ;
9584 PyObject
* obj1
= 0 ;
9585 PyObject
* obj2
= 0 ;
9586 PyObject
* obj3
= 0 ;
9587 PyObject
* obj4
= 0 ;
9588 PyObject
* obj5
= 0 ;
9589 char * kwnames
[] = {
9590 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9595 if (!SWIG_IsOK(res1
)) {
9596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9598 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9601 if (!SWIG_IsOK(ecode2
)) {
9602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9604 arg2
= static_cast< int >(val2
);
9609 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9615 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9619 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9620 if (!SWIG_IsOK(ecode5
)) {
9621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9623 arg5
= static_cast< int >(val5
);
9627 arg6
= wxString_in_helper(obj5
);
9628 if (arg6
== NULL
) SWIG_fail
;
9633 if (!wxPyCheckForApp()) SWIG_fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_NEW
| 0 );
9654 SWIGINTERN PyObject
*_wrap_new_PreHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9655 PyObject
*resultobj
= 0;
9656 wxPyHtmlWindow
*result
= 0 ;
9658 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlWindow",0,0,0)) SWIG_fail
;
9660 if (!wxPyCheckForApp()) SWIG_fail
;
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_OWN
| 0 );
9673 SWIGINTERN PyObject
*_wrap_HtmlWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
= 0;
9675 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9676 wxWindow
*arg2
= (wxWindow
*) 0 ;
9677 int arg3
= (int) -1 ;
9678 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9679 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9680 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9681 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9682 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
9683 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
9684 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9696 bool temp7
= false ;
9697 PyObject
* obj0
= 0 ;
9698 PyObject
* obj1
= 0 ;
9699 PyObject
* obj2
= 0 ;
9700 PyObject
* obj3
= 0 ;
9701 PyObject
* obj4
= 0 ;
9702 PyObject
* obj5
= 0 ;
9703 PyObject
* obj6
= 0 ;
9704 char * kwnames
[] = {
9705 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9710 if (!SWIG_IsOK(res1
)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9713 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9715 if (!SWIG_IsOK(res2
)) {
9716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9718 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9721 if (!SWIG_IsOK(ecode3
)) {
9722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9724 arg3
= static_cast< int >(val3
);
9729 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9735 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9739 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9740 if (!SWIG_IsOK(ecode6
)) {
9741 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9743 arg6
= static_cast< int >(val6
);
9747 arg7
= wxString_in_helper(obj6
);
9748 if (arg7
== NULL
) SWIG_fail
;
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9775 SWIGINTERN PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
= 0;
9777 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9778 PyObject
*arg2
= (PyObject
*) 0 ;
9779 PyObject
*arg3
= (PyObject
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9783 PyObject
* obj1
= 0 ;
9784 PyObject
* obj2
= 0 ;
9785 char * kwnames
[] = {
9786 (char *) "self",(char *) "self",(char *) "_class", NULL
9789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9791 if (!SWIG_IsOK(res1
)) {
9792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9794 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= SWIG_Py_Void();
9810 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
= 0;
9812 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9813 wxString
*arg2
= 0 ;
9817 bool temp2
= false ;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9820 char * kwnames
[] = {
9821 (char *) "self",(char *) "source", NULL
9824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9826 if (!SWIG_IsOK(res1
)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9829 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9831 arg2
= wxString_in_helper(obj1
);
9832 if (arg2
== NULL
) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9858 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
= 0;
9860 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9861 wxString
*arg2
= 0 ;
9865 bool temp2
= false ;
9866 PyObject
* obj0
= 0 ;
9867 PyObject
* obj1
= 0 ;
9868 char * kwnames
[] = {
9869 (char *) "self",(char *) "location", NULL
9872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9874 if (!SWIG_IsOK(res1
)) {
9875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9877 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9879 arg2
= wxString_in_helper(obj1
);
9880 if (arg2
== NULL
) SWIG_fail
;
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9906 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
= 0;
9908 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9909 wxString
*arg2
= 0 ;
9913 bool temp2
= false ;
9914 PyObject
* obj0
= 0 ;
9915 PyObject
* obj1
= 0 ;
9916 char * kwnames
[] = {
9917 (char *) "self",(char *) "filename", NULL
9920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9922 if (!SWIG_IsOK(res1
)) {
9923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9925 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9927 arg2
= wxString_in_helper(obj1
);
9928 if (arg2
== NULL
) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9954 SWIGINTERN PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
= 0;
9956 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9957 wxString
*arg2
= 0 ;
9961 bool temp2
= false ;
9962 PyObject
* obj0
= 0 ;
9963 PyObject
* obj1
= 0 ;
9964 char * kwnames
[] = {
9965 (char *) "self",(char *) "source", NULL
9968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9970 if (!SWIG_IsOK(res1
)) {
9971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9973 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9975 arg2
= wxString_in_helper(obj1
);
9976 if (arg2
== NULL
) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10002 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10003 PyObject
*resultobj
= 0;
10004 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10008 PyObject
*swig_obj
[1] ;
10010 if (!args
) SWIG_fail
;
10011 swig_obj
[0] = args
;
10012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10013 if (!SWIG_IsOK(res1
)) {
10014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10016 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= (arg1
)->GetOpenedPage();
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10036 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10037 PyObject
*resultobj
= 0;
10038 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10042 PyObject
*swig_obj
[1] ;
10044 if (!args
) SWIG_fail
;
10045 swig_obj
[0] = args
;
10046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10047 if (!SWIG_IsOK(res1
)) {
10048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10050 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 result
= (arg1
)->GetOpenedAnchor();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10070 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10071 PyObject
*resultobj
= 0;
10072 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10076 PyObject
*swig_obj
[1] ;
10078 if (!args
) SWIG_fail
;
10079 swig_obj
[0] = args
;
10080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10081 if (!SWIG_IsOK(res1
)) {
10082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10084 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 result
= (arg1
)->GetOpenedPageTitle();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10104 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
= 0;
10106 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10107 wxFrame
*arg2
= (wxFrame
*) 0 ;
10108 wxString
*arg3
= 0 ;
10113 bool temp3
= false ;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 PyObject
* obj2
= 0 ;
10117 char * kwnames
[] = {
10118 (char *) "self",(char *) "frame",(char *) "format", NULL
10121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10123 if (!SWIG_IsOK(res1
)) {
10124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10126 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
10128 if (!SWIG_IsOK(res2
)) {
10129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10131 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
10133 arg3
= wxString_in_helper(obj2
);
10134 if (arg3
== NULL
) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_Py_Void();
10158 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10159 PyObject
*resultobj
= 0;
10160 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10161 wxFrame
*result
= 0 ;
10164 PyObject
*swig_obj
[1] ;
10166 if (!args
) SWIG_fail
;
10167 swig_obj
[0] = args
;
10168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10169 if (!SWIG_IsOK(res1
)) {
10170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10172 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= wxPyMake_wxObject(result
, 0);
10188 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
= 0;
10190 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10196 PyObject
* obj0
= 0 ;
10197 PyObject
* obj1
= 0 ;
10198 char * kwnames
[] = {
10199 (char *) "self",(char *) "bar", NULL
10202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10204 if (!SWIG_IsOK(res1
)) {
10205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10207 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10209 if (!SWIG_IsOK(ecode2
)) {
10210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10212 arg2
= static_cast< int >(val2
);
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 (arg1
)->SetRelatedStatusBar(arg2
);
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= SWIG_Py_Void();
10226 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
= 0;
10228 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10231 PyObject
*arg4
= (PyObject
*) NULL
;
10234 PyObject
* obj0
= 0 ;
10235 PyObject
* obj1
= 0 ;
10236 PyObject
* obj2
= 0 ;
10237 PyObject
* obj3
= 0 ;
10238 char * kwnames
[] = {
10239 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10244 if (!SWIG_IsOK(res1
)) {
10245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10247 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10249 wxString
* sptr
= wxString_in_helper(obj1
);
10250 if (sptr
== NULL
) SWIG_fail
;
10255 wxString
* sptr
= wxString_in_helper(obj2
);
10256 if (sptr
== NULL
) SWIG_fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= SWIG_Py_Void();
10276 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
= 0;
10278 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10279 int arg2
= (int) -1 ;
10280 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10281 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10282 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10283 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10288 bool temp3
= false ;
10289 bool temp4
= false ;
10290 PyObject
* obj0
= 0 ;
10291 PyObject
* obj1
= 0 ;
10292 PyObject
* obj2
= 0 ;
10293 PyObject
* obj3
= 0 ;
10294 char * kwnames
[] = {
10295 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10300 if (!SWIG_IsOK(res1
)) {
10301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10303 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10306 if (!SWIG_IsOK(ecode2
)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10309 arg2
= static_cast< int >(val2
);
10313 arg3
= wxString_in_helper(obj2
);
10314 if (arg3
== NULL
) SWIG_fail
;
10320 arg4
= wxString_in_helper(obj3
);
10321 if (arg4
== NULL
) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= SWIG_Py_Void();
10354 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
= 0;
10356 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 PyObject
* obj1
= 0 ;
10364 char * kwnames
[] = {
10365 (char *) "self",(char *) "b", NULL
10368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10370 if (!SWIG_IsOK(res1
)) {
10371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10373 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10375 if (!SWIG_IsOK(ecode2
)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10378 arg2
= static_cast< int >(val2
);
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 (arg1
)->SetBorders(arg2
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= SWIG_Py_Void();
10392 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
= 0;
10394 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10395 wxBitmap
*arg2
= 0 ;
10400 PyObject
* obj0
= 0 ;
10401 PyObject
* obj1
= 0 ;
10402 char * kwnames
[] = {
10403 (char *) "self",(char *) "bmpBg", NULL
10406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10408 if (!SWIG_IsOK(res1
)) {
10409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10411 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10412 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10413 if (!SWIG_IsOK(res2
)) {
10414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10419 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= SWIG_Py_Void();
10433 SWIGINTERN PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
= 0;
10435 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10436 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10437 wxString arg3
= (wxString
) wxPyEmptyString
;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 PyObject
* obj2
= 0 ;
10445 char * kwnames
[] = {
10446 (char *) "self",(char *) "cfg",(char *) "path", NULL
10449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10451 if (!SWIG_IsOK(res1
)) {
10452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10454 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10455 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10456 if (!SWIG_IsOK(res2
)) {
10457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10459 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10462 wxString
* sptr
= wxString_in_helper(obj2
);
10463 if (sptr
== NULL
) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 (arg1
)->ReadCustomization(arg2
,arg3
);
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 resultobj
= SWIG_Py_Void();
10481 SWIGINTERN PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
= 0;
10483 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10484 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10485 wxString arg3
= (wxString
) wxPyEmptyString
;
10490 PyObject
* obj0
= 0 ;
10491 PyObject
* obj1
= 0 ;
10492 PyObject
* obj2
= 0 ;
10493 char * kwnames
[] = {
10494 (char *) "self",(char *) "cfg",(char *) "path", NULL
10497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10499 if (!SWIG_IsOK(res1
)) {
10500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10502 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10504 if (!SWIG_IsOK(res2
)) {
10505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10507 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10510 wxString
* sptr
= wxString_in_helper(obj2
);
10511 if (sptr
== NULL
) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 (arg1
)->WriteCustomization(arg2
,arg3
);
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= SWIG_Py_Void();
10529 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10530 PyObject
*resultobj
= 0;
10531 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10535 PyObject
*swig_obj
[1] ;
10537 if (!args
) SWIG_fail
;
10538 swig_obj
[0] = args
;
10539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10540 if (!SWIG_IsOK(res1
)) {
10541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10543 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (bool)(arg1
)->HistoryBack();
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10559 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10560 PyObject
*resultobj
= 0;
10561 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10565 PyObject
*swig_obj
[1] ;
10567 if (!args
) SWIG_fail
;
10568 swig_obj
[0] = args
;
10569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10570 if (!SWIG_IsOK(res1
)) {
10571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10573 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 result
= (bool)(arg1
)->HistoryForward();
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10589 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10590 PyObject
*resultobj
= 0;
10591 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10595 PyObject
*swig_obj
[1] ;
10597 if (!args
) SWIG_fail
;
10598 swig_obj
[0] = args
;
10599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10600 if (!SWIG_IsOK(res1
)) {
10601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10603 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 result
= (bool)(arg1
)->HistoryCanBack();
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10619 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10620 PyObject
*resultobj
= 0;
10621 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10625 PyObject
*swig_obj
[1] ;
10627 if (!args
) SWIG_fail
;
10628 swig_obj
[0] = args
;
10629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10630 if (!SWIG_IsOK(res1
)) {
10631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10633 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 result
= (bool)(arg1
)->HistoryCanForward();
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10649 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10650 PyObject
*resultobj
= 0;
10651 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10654 PyObject
*swig_obj
[1] ;
10656 if (!args
) SWIG_fail
;
10657 swig_obj
[0] = args
;
10658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10659 if (!SWIG_IsOK(res1
)) {
10660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10662 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 (arg1
)->HistoryClear();
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= SWIG_Py_Void();
10676 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10677 PyObject
*resultobj
= 0;
10678 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10679 wxHtmlContainerCell
*result
= 0 ;
10682 PyObject
*swig_obj
[1] ;
10684 if (!args
) SWIG_fail
;
10685 swig_obj
[0] = args
;
10686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10687 if (!SWIG_IsOK(res1
)) {
10688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10690 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
10704 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10705 PyObject
*resultobj
= 0;
10706 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10707 wxHtmlWinParser
*result
= 0 ;
10710 PyObject
*swig_obj
[1] ;
10712 if (!args
) SWIG_fail
;
10713 swig_obj
[0] = args
;
10714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10715 if (!SWIG_IsOK(res1
)) {
10716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10718 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
10732 SWIGINTERN PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
= 0;
10734 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10735 wxString
*arg2
= 0 ;
10739 bool temp2
= false ;
10740 PyObject
* obj0
= 0 ;
10741 PyObject
* obj1
= 0 ;
10742 char * kwnames
[] = {
10743 (char *) "self",(char *) "anchor", NULL
10746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10748 if (!SWIG_IsOK(res1
)) {
10749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10751 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10753 arg2
= wxString_in_helper(obj1
);
10754 if (arg2
== NULL
) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10780 SWIGINTERN PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
= 0;
10782 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10783 wxString
*arg2
= 0 ;
10787 bool temp2
= false ;
10788 PyObject
* obj0
= 0 ;
10789 PyObject
* obj1
= 0 ;
10790 char * kwnames
[] = {
10791 (char *) "self",(char *) "anchor", NULL
10794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10796 if (!SWIG_IsOK(res1
)) {
10797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10799 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10801 arg2
= wxString_in_helper(obj1
);
10802 if (arg2
== NULL
) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10828 SWIGINTERN PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
= 0;
10830 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
10833 PyObject
* obj0
= 0 ;
10834 char * kwnames
[] = {
10835 (char *) "filter", NULL
10838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
10839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
10840 if (!SWIG_IsOK(res1
)) {
10841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10843 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 wxPyHtmlWindow::AddFilter(arg1
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= SWIG_Py_Void();
10857 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
= 0;
10859 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10860 wxPoint
*arg2
= 0 ;
10864 PyObject
* obj0
= 0 ;
10865 PyObject
* obj1
= 0 ;
10866 char * kwnames
[] = {
10867 (char *) "self",(char *) "pos", NULL
10870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10872 if (!SWIG_IsOK(res1
)) {
10873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10875 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10878 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 resultobj
= SWIG_Py_Void();
10893 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
= 0;
10895 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10896 wxPoint
*arg2
= 0 ;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 char * kwnames
[] = {
10903 (char *) "self",(char *) "pos", NULL
10906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10908 if (!SWIG_IsOK(res1
)) {
10909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10911 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10914 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 resultobj
= SWIG_Py_Void();
10929 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10930 PyObject
*resultobj
= 0;
10931 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10934 PyObject
*swig_obj
[1] ;
10936 if (!args
) SWIG_fail
;
10937 swig_obj
[0] = args
;
10938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10939 if (!SWIG_IsOK(res1
)) {
10940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10942 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 (arg1
)->SelectAll();
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10949 resultobj
= SWIG_Py_Void();
10956 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10957 PyObject
*resultobj
= 0;
10958 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10962 PyObject
*swig_obj
[1] ;
10964 if (!args
) SWIG_fail
;
10965 swig_obj
[0] = args
;
10966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10967 if (!SWIG_IsOK(res1
)) {
10968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10970 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 result
= (arg1
)->SelectionToText();
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10990 SWIGINTERN PyObject
*_wrap_HtmlWindow_ToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10991 PyObject
*resultobj
= 0;
10992 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10996 PyObject
*swig_obj
[1] ;
10998 if (!args
) SWIG_fail
;
10999 swig_obj
[0] = args
;
11000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11001 if (!SWIG_IsOK(res1
)) {
11002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11004 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (arg1
)->ToText();
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11024 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
= 0;
11026 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11027 wxHtmlLinkInfo
*arg2
= 0 ;
11032 PyObject
* obj0
= 0 ;
11033 PyObject
* obj1
= 0 ;
11034 char * kwnames
[] = {
11035 (char *) "self",(char *) "link", NULL
11038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11040 if (!SWIG_IsOK(res1
)) {
11041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11043 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
11045 if (!SWIG_IsOK(res2
)) {
11046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11051 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= SWIG_Py_Void();
11065 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnSetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
= 0;
11067 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11068 wxString
*arg2
= 0 ;
11071 bool temp2
= false ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 char * kwnames
[] = {
11075 (char *) "self",(char *) "title", NULL
11078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnSetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11080 if (!SWIG_IsOK(res1
)) {
11081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11083 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11085 arg2
= wxString_in_helper(obj1
);
11086 if (arg2
== NULL
) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 (arg1
)->OnSetTitle((wxString
const &)*arg2
);
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= SWIG_Py_Void();
11110 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellMouseHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
= 0;
11112 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11113 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 PyObject
* obj2
= 0 ;
11127 PyObject
* obj3
= 0 ;
11128 char * kwnames
[] = {
11129 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11134 if (!SWIG_IsOK(res1
)) {
11135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11137 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11138 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11139 if (!SWIG_IsOK(res2
)) {
11140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11142 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11144 if (!SWIG_IsOK(ecode3
)) {
11145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11147 arg3
= static_cast< int >(val3
);
11148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11149 if (!SWIG_IsOK(ecode4
)) {
11150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11152 arg4
= static_cast< int >(val4
);
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 (arg1
)->OnCellMouseHover(arg2
,arg3
,arg4
);
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 resultobj
= SWIG_Py_Void();
11166 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
= 0;
11168 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11169 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11172 wxMouseEvent
*arg5
= 0 ;
11184 PyObject
* obj0
= 0 ;
11185 PyObject
* obj1
= 0 ;
11186 PyObject
* obj2
= 0 ;
11187 PyObject
* obj3
= 0 ;
11188 PyObject
* obj4
= 0 ;
11189 char * kwnames
[] = {
11190 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11195 if (!SWIG_IsOK(res1
)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11198 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11199 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11200 if (!SWIG_IsOK(res2
)) {
11201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11203 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11204 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11205 if (!SWIG_IsOK(ecode3
)) {
11206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11208 arg3
= static_cast< int >(val3
);
11209 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11210 if (!SWIG_IsOK(ecode4
)) {
11211 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11213 arg4
= static_cast< int >(val4
);
11214 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
11215 if (!SWIG_IsOK(res5
)) {
11216 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11221 arg5
= reinterpret_cast< wxMouseEvent
* >(argp5
);
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 result
= (bool)(arg1
)->OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11237 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnOpeningURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
= 0;
11239 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11240 wxHtmlURLType arg2
;
11241 wxString
*arg3
= 0 ;
11242 wxString
*arg4
= (wxString
*) 0 ;
11243 wxHtmlOpeningStatus result
;
11248 bool temp3
= false ;
11249 bool temp4
= false ;
11250 PyObject
* obj0
= 0 ;
11251 PyObject
* obj1
= 0 ;
11252 PyObject
* obj2
= 0 ;
11253 PyObject
* obj3
= 0 ;
11254 char * kwnames
[] = {
11255 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11260 if (!SWIG_IsOK(res1
)) {
11261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11263 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11265 if (!SWIG_IsOK(ecode2
)) {
11266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11268 arg2
= static_cast< wxHtmlURLType
>(val2
);
11270 arg3
= wxString_in_helper(obj2
);
11271 if (arg3
== NULL
) SWIG_fail
;
11275 arg4
= wxString_in_helper(obj3
);
11276 if (arg4
== NULL
) SWIG_fail
;
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 result
= (wxHtmlOpeningStatus
)((wxPyHtmlWindow
const *)arg1
)->OnOpeningURL(arg2
,(wxString
const &)*arg3
,arg4
);
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_From_int(static_cast< int >(result
));
11308 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
= 0;
11310 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11311 SwigValueWrapper
<wxVisualAttributes
> result
;
11314 PyObject
* obj0
= 0 ;
11315 char * kwnames
[] = {
11316 (char *) "variant", NULL
11319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
11321 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11322 if (!SWIG_IsOK(ecode1
)) {
11323 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11325 arg1
= static_cast< wxWindowVariant
>(val1
);
11328 if (!wxPyCheckForApp()) SWIG_fail
;
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= wxPyHtmlWindow::GetClassDefaultAttributes(arg1
);
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
11341 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
*resultobj
= 0;
11343 wxPyHtmlWindow::HTMLCursor arg1
;
11347 PyObject
* obj0
= 0 ;
11348 char * kwnames
[] = {
11349 (char *) "type", NULL
11352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames
,&obj0
)) SWIG_fail
;
11353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11354 if (!SWIG_IsOK(ecode1
)) {
11355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11357 arg1
= static_cast< wxPyHtmlWindow::HTMLCursor
>(val1
);
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 result
= wxPyHtmlWindow::GetDefaultHTMLCursor(arg1
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
11371 SWIGINTERN PyObject
*HtmlWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11374 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow
, SWIG_NewClientData(obj
));
11375 return SWIG_Py_Void();
11378 SWIGINTERN PyObject
*HtmlWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11379 return SWIG_Python_InitShadowInstance(args
);
11382 SWIGINTERN PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11383 PyObject
*resultobj
= 0;
11384 wxHtmlDCRenderer
*result
= 0 ;
11386 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlDCRenderer",0,0,0)) SWIG_fail
;
11388 if (!wxPyCheckForApp()) SWIG_fail
;
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_NEW
| 0 );
11401 SWIGINTERN PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11402 PyObject
*resultobj
= 0;
11403 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11406 PyObject
*swig_obj
[1] ;
11408 if (!args
) SWIG_fail
;
11409 swig_obj
[0] = args
;
11410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_DISOWN
| 0 );
11411 if (!SWIG_IsOK(res1
)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11414 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_Py_Void();
11429 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
= 0;
11431 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11432 wxDC
*arg2
= (wxDC
*) 0 ;
11440 PyObject
* obj0
= 0 ;
11441 PyObject
* obj1
= 0 ;
11442 PyObject
* obj2
= 0 ;
11443 char * kwnames
[] = {
11444 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11449 if (!SWIG_IsOK(res1
)) {
11450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11452 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11453 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
11454 if (!SWIG_IsOK(res2
)) {
11455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11457 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11459 if (!SWIG_IsOK(ecode3
)) {
11460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11462 arg3
= static_cast< int >(val3
);
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 (arg1
)->SetDC(arg2
,arg3
);
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11469 resultobj
= SWIG_Py_Void();
11476 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11477 PyObject
*resultobj
= 0;
11478 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11487 PyObject
* obj0
= 0 ;
11488 PyObject
* obj1
= 0 ;
11489 PyObject
* obj2
= 0 ;
11490 char * kwnames
[] = {
11491 (char *) "self",(char *) "width",(char *) "height", NULL
11494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11496 if (!SWIG_IsOK(res1
)) {
11497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11499 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11501 if (!SWIG_IsOK(ecode2
)) {
11502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11504 arg2
= static_cast< int >(val2
);
11505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11506 if (!SWIG_IsOK(ecode3
)) {
11507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11509 arg3
= static_cast< int >(val3
);
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 (arg1
)->SetSize(arg2
,arg3
);
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= SWIG_Py_Void();
11523 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
= 0;
11525 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11526 wxString
*arg2
= 0 ;
11527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11529 bool arg4
= (bool) true ;
11532 bool temp2
= false ;
11533 bool temp3
= false ;
11536 PyObject
* obj0
= 0 ;
11537 PyObject
* obj1
= 0 ;
11538 PyObject
* obj2
= 0 ;
11539 PyObject
* obj3
= 0 ;
11540 char * kwnames
[] = {
11541 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11546 if (!SWIG_IsOK(res1
)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11549 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11551 arg2
= wxString_in_helper(obj1
);
11552 if (arg2
== NULL
) SWIG_fail
;
11557 arg3
= wxString_in_helper(obj2
);
11558 if (arg3
== NULL
) SWIG_fail
;
11563 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11564 if (!SWIG_IsOK(ecode4
)) {
11565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11567 arg4
= static_cast< bool >(val4
);
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= SWIG_Py_Void();
11598 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
= 0;
11600 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11603 PyObject
*arg4
= (PyObject
*) NULL
;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 PyObject
* obj2
= 0 ;
11609 PyObject
* obj3
= 0 ;
11610 char * kwnames
[] = {
11611 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11616 if (!SWIG_IsOK(res1
)) {
11617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11619 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11621 wxString
* sptr
= wxString_in_helper(obj1
);
11622 if (sptr
== NULL
) SWIG_fail
;
11627 wxString
* sptr
= wxString_in_helper(obj2
);
11628 if (sptr
== NULL
) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= SWIG_Py_Void();
11648 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
= 0;
11650 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11651 int arg2
= (int) -1 ;
11652 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11653 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11654 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11655 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11660 bool temp3
= false ;
11661 bool temp4
= false ;
11662 PyObject
* obj0
= 0 ;
11663 PyObject
* obj1
= 0 ;
11664 PyObject
* obj2
= 0 ;
11665 PyObject
* obj3
= 0 ;
11666 char * kwnames
[] = {
11667 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11672 if (!SWIG_IsOK(res1
)) {
11673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11675 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11678 if (!SWIG_IsOK(ecode2
)) {
11679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11681 arg2
= static_cast< int >(val2
);
11685 arg3
= wxString_in_helper(obj2
);
11686 if (arg3
== NULL
) SWIG_fail
;
11692 arg4
= wxString_in_helper(obj3
);
11693 if (arg4
== NULL
) SWIG_fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= SWIG_Py_Void();
11726 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
= 0;
11728 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11731 wxArrayInt
*arg4
= 0 ;
11732 int arg5
= (int) 0 ;
11733 int arg6
= (int) FALSE
;
11734 int arg7
= (int) INT_MAX
;
11742 bool temp4
= false ;
11749 PyObject
* obj0
= 0 ;
11750 PyObject
* obj1
= 0 ;
11751 PyObject
* obj2
= 0 ;
11752 PyObject
* obj3
= 0 ;
11753 PyObject
* obj4
= 0 ;
11754 PyObject
* obj5
= 0 ;
11755 PyObject
* obj6
= 0 ;
11756 char * kwnames
[] = {
11757 (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
11760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11762 if (!SWIG_IsOK(res1
)) {
11763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11765 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11767 if (!SWIG_IsOK(ecode2
)) {
11768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11770 arg2
= static_cast< int >(val2
);
11771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11772 if (!SWIG_IsOK(ecode3
)) {
11773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11775 arg3
= static_cast< int >(val3
);
11777 if (! PySequence_Check(obj3
)) {
11778 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11781 arg4
= new wxArrayInt
;
11783 int i
, len
=PySequence_Length(obj3
);
11784 for (i
=0; i
<len
; i
++) {
11785 PyObject
* item
= PySequence_GetItem(obj3
, i
);
11786 PyObject
* number
= PyNumber_Int(item
);
11787 arg4
->Add(PyInt_AS_LONG(number
));
11793 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11794 if (!SWIG_IsOK(ecode5
)) {
11795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11797 arg5
= static_cast< int >(val5
);
11800 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11801 if (!SWIG_IsOK(ecode6
)) {
11802 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11804 arg6
= static_cast< int >(val6
);
11807 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11808 if (!SWIG_IsOK(ecode7
)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
11811 arg7
= static_cast< int >(val7
);
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 result
= (int)(arg1
)->Render(arg2
,arg3
,*arg4
,arg5
,arg6
,arg7
);
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= SWIG_From_int(static_cast< int >(result
));
11821 if (temp4
) delete arg4
;
11826 if (temp4
) delete arg4
;
11832 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11833 PyObject
*resultobj
= 0;
11834 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11838 PyObject
*swig_obj
[1] ;
11840 if (!args
) SWIG_fail
;
11841 swig_obj
[0] = args
;
11842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11843 if (!SWIG_IsOK(res1
)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11846 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (int)(arg1
)->GetTotalHeight();
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= SWIG_From_int(static_cast< int >(result
));
11860 SWIGINTERN PyObject
*HtmlDCRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11862 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11863 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_NewClientData(obj
));
11864 return SWIG_Py_Void();
11867 SWIGINTERN PyObject
*HtmlDCRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11868 return SWIG_Python_InitShadowInstance(args
);
11871 SWIGINTERN PyObject
*_wrap_new_HtmlPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11872 PyObject
*resultobj
= 0;
11873 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
11874 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11875 wxHtmlPrintout
*result
= 0 ;
11876 bool temp1
= false ;
11877 PyObject
* obj0
= 0 ;
11878 char * kwnames
[] = {
11879 (char *) "title", NULL
11882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) SWIG_fail
;
11885 arg1
= wxString_in_helper(obj0
);
11886 if (arg1
== NULL
) SWIG_fail
;
11891 if (!wxPyCheckForApp()) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_NEW
| 0 );
11912 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
= 0;
11914 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11915 wxString
*arg2
= 0 ;
11916 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11917 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11918 bool arg4
= (bool) true ;
11921 bool temp2
= false ;
11922 bool temp3
= false ;
11925 PyObject
* obj0
= 0 ;
11926 PyObject
* obj1
= 0 ;
11927 PyObject
* obj2
= 0 ;
11928 PyObject
* obj3
= 0 ;
11929 char * kwnames
[] = {
11930 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11938 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11940 arg2
= wxString_in_helper(obj1
);
11941 if (arg2
== NULL
) SWIG_fail
;
11946 arg3
= wxString_in_helper(obj2
);
11947 if (arg3
== NULL
) SWIG_fail
;
11952 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11953 if (!SWIG_IsOK(ecode4
)) {
11954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11956 arg4
= static_cast< bool >(val4
);
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11964 resultobj
= SWIG_Py_Void();
11987 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
= 0;
11989 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11990 wxString
*arg2
= 0 ;
11993 bool temp2
= false ;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 char * kwnames
[] = {
11997 (char *) "self",(char *) "htmlfile", NULL
12000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12005 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12007 arg2
= wxString_in_helper(obj1
);
12008 if (arg2
== NULL
) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= SWIG_Py_Void();
12032 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
= 0;
12034 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12035 wxString
*arg2
= 0 ;
12036 int arg3
= (int) wxPAGE_ALL
;
12039 bool temp2
= false ;
12042 PyObject
* obj0
= 0 ;
12043 PyObject
* obj1
= 0 ;
12044 PyObject
* obj2
= 0 ;
12045 char * kwnames
[] = {
12046 (char *) "self",(char *) "header",(char *) "pg", NULL
12049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12051 if (!SWIG_IsOK(res1
)) {
12052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12054 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12056 arg2
= wxString_in_helper(obj1
);
12057 if (arg2
== NULL
) SWIG_fail
;
12061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12062 if (!SWIG_IsOK(ecode3
)) {
12063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12065 arg3
= static_cast< int >(val3
);
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= SWIG_Py_Void();
12088 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
= 0;
12090 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12091 wxString
*arg2
= 0 ;
12092 int arg3
= (int) wxPAGE_ALL
;
12095 bool temp2
= false ;
12098 PyObject
* obj0
= 0 ;
12099 PyObject
* obj1
= 0 ;
12100 PyObject
* obj2
= 0 ;
12101 char * kwnames
[] = {
12102 (char *) "self",(char *) "footer",(char *) "pg", NULL
12105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12107 if (!SWIG_IsOK(res1
)) {
12108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12110 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12112 arg2
= wxString_in_helper(obj1
);
12113 if (arg2
== NULL
) SWIG_fail
;
12117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12118 if (!SWIG_IsOK(ecode3
)) {
12119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12121 arg3
= static_cast< int >(val3
);
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12129 resultobj
= SWIG_Py_Void();
12144 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
= 0;
12146 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12149 PyObject
*arg4
= (PyObject
*) NULL
;
12152 PyObject
* obj0
= 0 ;
12153 PyObject
* obj1
= 0 ;
12154 PyObject
* obj2
= 0 ;
12155 PyObject
* obj3
= 0 ;
12156 char * kwnames
[] = {
12157 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12162 if (!SWIG_IsOK(res1
)) {
12163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12165 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12167 wxString
* sptr
= wxString_in_helper(obj1
);
12168 if (sptr
== NULL
) SWIG_fail
;
12173 wxString
* sptr
= wxString_in_helper(obj2
);
12174 if (sptr
== NULL
) SWIG_fail
;
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= SWIG_Py_Void();
12194 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
= 0;
12196 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12197 int arg2
= (int) -1 ;
12198 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12199 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12200 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12201 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12206 bool temp3
= false ;
12207 bool temp4
= false ;
12208 PyObject
* obj0
= 0 ;
12209 PyObject
* obj1
= 0 ;
12210 PyObject
* obj2
= 0 ;
12211 PyObject
* obj3
= 0 ;
12212 char * kwnames
[] = {
12213 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12218 if (!SWIG_IsOK(res1
)) {
12219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12221 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12224 if (!SWIG_IsOK(ecode2
)) {
12225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12227 arg2
= static_cast< int >(val2
);
12231 arg3
= wxString_in_helper(obj2
);
12232 if (arg3
== NULL
) SWIG_fail
;
12238 arg4
= wxString_in_helper(obj3
);
12239 if (arg4
== NULL
) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 resultobj
= SWIG_Py_Void();
12272 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
= 0;
12274 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12275 float arg2
= (float) 25.2 ;
12276 float arg3
= (float) 25.2 ;
12277 float arg4
= (float) 25.2 ;
12278 float arg5
= (float) 25.2 ;
12279 float arg6
= (float) 5 ;
12292 PyObject
* obj0
= 0 ;
12293 PyObject
* obj1
= 0 ;
12294 PyObject
* obj2
= 0 ;
12295 PyObject
* obj3
= 0 ;
12296 PyObject
* obj4
= 0 ;
12297 PyObject
* obj5
= 0 ;
12298 char * kwnames
[] = {
12299 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12304 if (!SWIG_IsOK(res1
)) {
12305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12307 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12309 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
12310 if (!SWIG_IsOK(ecode2
)) {
12311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12313 arg2
= static_cast< float >(val2
);
12316 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
12317 if (!SWIG_IsOK(ecode3
)) {
12318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12320 arg3
= static_cast< float >(val3
);
12323 ecode4
= SWIG_AsVal_float(obj3
, &val4
);
12324 if (!SWIG_IsOK(ecode4
)) {
12325 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12327 arg4
= static_cast< float >(val4
);
12330 ecode5
= SWIG_AsVal_float(obj4
, &val5
);
12331 if (!SWIG_IsOK(ecode5
)) {
12332 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12334 arg5
= static_cast< float >(val5
);
12337 ecode6
= SWIG_AsVal_float(obj5
, &val6
);
12338 if (!SWIG_IsOK(ecode6
)) {
12339 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12341 arg6
= static_cast< float >(val6
);
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= SWIG_Py_Void();
12356 SWIGINTERN PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
= 0;
12358 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
12361 PyObject
* obj0
= 0 ;
12362 char * kwnames
[] = {
12363 (char *) "filter", NULL
12366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
12367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlFilter
, 0 | 0 );
12368 if (!SWIG_IsOK(res1
)) {
12369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12371 arg1
= reinterpret_cast< wxHtmlFilter
* >(argp1
);
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 wxHtmlPrintout::AddFilter(arg1
);
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= SWIG_Py_Void();
12385 SWIGINTERN PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12386 PyObject
*resultobj
= 0;
12388 if (!SWIG_Python_UnpackTuple(args
,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 wxHtmlPrintout::CleanUpStatics();
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 resultobj
= SWIG_Py_Void();
12402 SWIGINTERN PyObject
*HtmlPrintout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12405 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout
, SWIG_NewClientData(obj
));
12406 return SWIG_Py_Void();
12409 SWIGINTERN PyObject
*HtmlPrintout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12410 return SWIG_Python_InitShadowInstance(args
);
12413 SWIGINTERN PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
= 0;
12415 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
12416 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12417 wxWindow
*arg2
= (wxWindow
*) NULL
;
12418 wxHtmlEasyPrinting
*result
= 0 ;
12419 bool temp1
= false ;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 char * kwnames
[] = {
12425 (char *) "name",(char *) "parentWindow", NULL
12428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12431 arg1
= wxString_in_helper(obj0
);
12432 if (arg1
== NULL
) SWIG_fail
;
12437 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12438 if (!SWIG_IsOK(res2
)) {
12439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12441 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12444 if (!wxPyCheckForApp()) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_NEW
| 0 );
12465 SWIGINTERN PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12466 PyObject
*resultobj
= 0;
12467 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12470 PyObject
*swig_obj
[1] ;
12472 if (!args
) SWIG_fail
;
12473 swig_obj
[0] = args
;
12474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_DISOWN
| 0 );
12475 if (!SWIG_IsOK(res1
)) {
12476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12478 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 resultobj
= SWIG_Py_Void();
12493 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
= 0;
12495 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12496 wxString
*arg2
= 0 ;
12499 bool temp2
= false ;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 char * kwnames
[] = {
12503 (char *) "self",(char *) "htmlfile", NULL
12506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12508 if (!SWIG_IsOK(res1
)) {
12509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12511 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12513 arg2
= wxString_in_helper(obj1
);
12514 if (arg2
== NULL
) SWIG_fail
;
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 (arg1
)->PreviewFile((wxString
const &)*arg2
);
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= SWIG_Py_Void();
12538 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
= 0;
12540 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12541 wxString
*arg2
= 0 ;
12542 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12543 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12546 bool temp2
= false ;
12547 bool temp3
= false ;
12548 PyObject
* obj0
= 0 ;
12549 PyObject
* obj1
= 0 ;
12550 PyObject
* obj2
= 0 ;
12551 char * kwnames
[] = {
12552 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12557 if (!SWIG_IsOK(res1
)) {
12558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12560 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12562 arg2
= wxString_in_helper(obj1
);
12563 if (arg2
== NULL
) SWIG_fail
;
12568 arg3
= wxString_in_helper(obj2
);
12569 if (arg3
== NULL
) SWIG_fail
;
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 resultobj
= SWIG_Py_Void();
12602 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
= 0;
12604 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12605 wxString
*arg2
= 0 ;
12608 bool temp2
= false ;
12609 PyObject
* obj0
= 0 ;
12610 PyObject
* obj1
= 0 ;
12611 char * kwnames
[] = {
12612 (char *) "self",(char *) "htmlfile", NULL
12615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12617 if (!SWIG_IsOK(res1
)) {
12618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12620 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12622 arg2
= wxString_in_helper(obj1
);
12623 if (arg2
== NULL
) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 (arg1
)->PrintFile((wxString
const &)*arg2
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_Py_Void();
12647 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
= 0;
12649 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12650 wxString
*arg2
= 0 ;
12651 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12652 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12655 bool temp2
= false ;
12656 bool temp3
= false ;
12657 PyObject
* obj0
= 0 ;
12658 PyObject
* obj1
= 0 ;
12659 PyObject
* obj2
= 0 ;
12660 char * kwnames
[] = {
12661 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12666 if (!SWIG_IsOK(res1
)) {
12667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12669 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12671 arg2
= wxString_in_helper(obj1
);
12672 if (arg2
== NULL
) SWIG_fail
;
12677 arg3
= wxString_in_helper(obj2
);
12678 if (arg3
== NULL
) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_Py_Void();
12711 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12712 PyObject
*resultobj
= 0;
12713 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12716 PyObject
*swig_obj
[1] ;
12718 if (!args
) SWIG_fail
;
12719 swig_obj
[0] = args
;
12720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12721 if (!SWIG_IsOK(res1
)) {
12722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12724 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 (arg1
)->PageSetup();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_Py_Void();
12738 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
= 0;
12740 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12741 wxString
*arg2
= 0 ;
12742 int arg3
= (int) wxPAGE_ALL
;
12745 bool temp2
= false ;
12748 PyObject
* obj0
= 0 ;
12749 PyObject
* obj1
= 0 ;
12750 PyObject
* obj2
= 0 ;
12751 char * kwnames
[] = {
12752 (char *) "self",(char *) "header",(char *) "pg", NULL
12755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12757 if (!SWIG_IsOK(res1
)) {
12758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12760 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12762 arg2
= wxString_in_helper(obj1
);
12763 if (arg2
== NULL
) SWIG_fail
;
12767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12768 if (!SWIG_IsOK(ecode3
)) {
12769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12771 arg3
= static_cast< int >(val3
);
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12776 wxPyEndAllowThreads(__tstate
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12779 resultobj
= SWIG_Py_Void();
12794 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
= 0;
12796 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12797 wxString
*arg2
= 0 ;
12798 int arg3
= (int) wxPAGE_ALL
;
12801 bool temp2
= false ;
12804 PyObject
* obj0
= 0 ;
12805 PyObject
* obj1
= 0 ;
12806 PyObject
* obj2
= 0 ;
12807 char * kwnames
[] = {
12808 (char *) "self",(char *) "footer",(char *) "pg", NULL
12811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12813 if (!SWIG_IsOK(res1
)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12816 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12818 arg2
= wxString_in_helper(obj1
);
12819 if (arg2
== NULL
) SWIG_fail
;
12823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12824 if (!SWIG_IsOK(ecode3
)) {
12825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12827 arg3
= static_cast< int >(val3
);
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= SWIG_Py_Void();
12850 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
*resultobj
= 0;
12852 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12855 PyObject
*arg4
= (PyObject
*) NULL
;
12858 PyObject
* obj0
= 0 ;
12859 PyObject
* obj1
= 0 ;
12860 PyObject
* obj2
= 0 ;
12861 PyObject
* obj3
= 0 ;
12862 char * kwnames
[] = {
12863 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12868 if (!SWIG_IsOK(res1
)) {
12869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12871 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12873 wxString
* sptr
= wxString_in_helper(obj1
);
12874 if (sptr
== NULL
) SWIG_fail
;
12879 wxString
* sptr
= wxString_in_helper(obj2
);
12880 if (sptr
== NULL
) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= SWIG_Py_Void();
12900 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
= 0;
12902 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12903 int arg2
= (int) -1 ;
12904 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12905 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12906 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12907 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12912 bool temp3
= false ;
12913 bool temp4
= false ;
12914 PyObject
* obj0
= 0 ;
12915 PyObject
* obj1
= 0 ;
12916 PyObject
* obj2
= 0 ;
12917 PyObject
* obj3
= 0 ;
12918 char * kwnames
[] = {
12919 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12924 if (!SWIG_IsOK(res1
)) {
12925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12927 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12930 if (!SWIG_IsOK(ecode2
)) {
12931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12933 arg2
= static_cast< int >(val2
);
12937 arg3
= wxString_in_helper(obj2
);
12938 if (arg3
== NULL
) SWIG_fail
;
12944 arg4
= wxString_in_helper(obj3
);
12945 if (arg4
== NULL
) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12955 resultobj
= SWIG_Py_Void();
12978 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12979 PyObject
*resultobj
= 0;
12980 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12981 wxPrintData
*result
= 0 ;
12984 PyObject
*swig_obj
[1] ;
12986 if (!args
) SWIG_fail
;
12987 swig_obj
[0] = args
;
12988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12989 if (!SWIG_IsOK(res1
)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12992 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 result
= (wxPrintData
*)(arg1
)->GetPrintData();
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) SWIG_fail
;
12999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
13006 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13007 PyObject
*resultobj
= 0;
13008 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
13009 wxPageSetupDialogData
*result
= 0 ;
13012 PyObject
*swig_obj
[1] ;
13014 if (!args
) SWIG_fail
;
13015 swig_obj
[0] = args
;
13016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
13017 if (!SWIG_IsOK(res1
)) {
13018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13020 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
13034 SWIGINTERN PyObject
*HtmlEasyPrinting_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13037 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_NewClientData(obj
));
13038 return SWIG_Py_Void();
13041 SWIGINTERN PyObject
*HtmlEasyPrinting_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13042 return SWIG_Python_InitShadowInstance(args
);
13045 SWIGINTERN PyObject
*_wrap_new_HtmlBookRecord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
= 0;
13047 wxString
*arg1
= 0 ;
13048 wxString
*arg2
= 0 ;
13049 wxString
*arg3
= 0 ;
13050 wxString
*arg4
= 0 ;
13051 wxHtmlBookRecord
*result
= 0 ;
13052 bool temp1
= false ;
13053 bool temp2
= false ;
13054 bool temp3
= false ;
13055 bool temp4
= false ;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 PyObject
* obj2
= 0 ;
13059 PyObject
* obj3
= 0 ;
13060 char * kwnames
[] = {
13061 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13066 arg1
= wxString_in_helper(obj0
);
13067 if (arg1
== NULL
) SWIG_fail
;
13071 arg2
= wxString_in_helper(obj1
);
13072 if (arg2
== NULL
) SWIG_fail
;
13076 arg3
= wxString_in_helper(obj2
);
13077 if (arg3
== NULL
) SWIG_fail
;
13081 arg4
= wxString_in_helper(obj3
);
13082 if (arg4
== NULL
) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_NEW
| 0 );
13130 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13131 PyObject
*resultobj
= 0;
13132 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13136 PyObject
*swig_obj
[1] ;
13138 if (!args
) SWIG_fail
;
13139 swig_obj
[0] = args
;
13140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13144 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 result
= (arg1
)->GetBookFile();
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13164 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13165 PyObject
*resultobj
= 0;
13166 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13170 PyObject
*swig_obj
[1] ;
13172 if (!args
) SWIG_fail
;
13173 swig_obj
[0] = args
;
13174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13175 if (!SWIG_IsOK(res1
)) {
13176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13178 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 result
= (arg1
)->GetTitle();
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13198 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13199 PyObject
*resultobj
= 0;
13200 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13204 PyObject
*swig_obj
[1] ;
13206 if (!args
) SWIG_fail
;
13207 swig_obj
[0] = args
;
13208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13209 if (!SWIG_IsOK(res1
)) {
13210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13212 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (arg1
)->GetStart();
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13232 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13233 PyObject
*resultobj
= 0;
13234 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13238 PyObject
*swig_obj
[1] ;
13240 if (!args
) SWIG_fail
;
13241 swig_obj
[0] = args
;
13242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13243 if (!SWIG_IsOK(res1
)) {
13244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13246 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13249 result
= (arg1
)->GetBasePath();
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13266 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
= 0;
13268 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13277 PyObject
* obj0
= 0 ;
13278 PyObject
* obj1
= 0 ;
13279 PyObject
* obj2
= 0 ;
13280 char * kwnames
[] = {
13281 (char *) "self",(char *) "start",(char *) "end", NULL
13284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13286 if (!SWIG_IsOK(res1
)) {
13287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13289 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13291 if (!SWIG_IsOK(ecode2
)) {
13292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13294 arg2
= static_cast< int >(val2
);
13295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13296 if (!SWIG_IsOK(ecode3
)) {
13297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13299 arg3
= static_cast< int >(val3
);
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 (arg1
)->SetContentsRange(arg2
,arg3
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= SWIG_Py_Void();
13313 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13314 PyObject
*resultobj
= 0;
13315 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13319 PyObject
*swig_obj
[1] ;
13321 if (!args
) SWIG_fail
;
13322 swig_obj
[0] = args
;
13323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13324 if (!SWIG_IsOK(res1
)) {
13325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13327 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= (int)(arg1
)->GetContentsStart();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= SWIG_From_int(static_cast< int >(result
));
13341 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13342 PyObject
*resultobj
= 0;
13343 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13347 PyObject
*swig_obj
[1] ;
13349 if (!args
) SWIG_fail
;
13350 swig_obj
[0] = args
;
13351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13352 if (!SWIG_IsOK(res1
)) {
13353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13355 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 result
= (int)(arg1
)->GetContentsEnd();
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= SWIG_From_int(static_cast< int >(result
));
13369 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
= 0;
13371 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13372 wxString
*arg2
= 0 ;
13375 bool temp2
= false ;
13376 PyObject
* obj0
= 0 ;
13377 PyObject
* obj1
= 0 ;
13378 char * kwnames
[] = {
13379 (char *) "self",(char *) "title", NULL
13382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13384 if (!SWIG_IsOK(res1
)) {
13385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13387 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13389 arg2
= wxString_in_helper(obj1
);
13390 if (arg2
== NULL
) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 (arg1
)->SetTitle((wxString
const &)*arg2
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_Py_Void();
13414 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
= 0;
13416 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13417 wxString
*arg2
= 0 ;
13420 bool temp2
= false ;
13421 PyObject
* obj0
= 0 ;
13422 PyObject
* obj1
= 0 ;
13423 char * kwnames
[] = {
13424 (char *) "self",(char *) "path", NULL
13427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13429 if (!SWIG_IsOK(res1
)) {
13430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13432 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13434 arg2
= wxString_in_helper(obj1
);
13435 if (arg2
== NULL
) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 (arg1
)->SetBasePath((wxString
const &)*arg2
);
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= SWIG_Py_Void();
13459 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
= 0;
13461 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13462 wxString
*arg2
= 0 ;
13465 bool temp2
= false ;
13466 PyObject
* obj0
= 0 ;
13467 PyObject
* obj1
= 0 ;
13468 char * kwnames
[] = {
13469 (char *) "self",(char *) "start", NULL
13472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13474 if (!SWIG_IsOK(res1
)) {
13475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13477 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13479 arg2
= wxString_in_helper(obj1
);
13480 if (arg2
== NULL
) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 (arg1
)->SetStart((wxString
const &)*arg2
);
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= SWIG_Py_Void();
13504 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
= 0;
13506 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13507 wxString
*arg2
= 0 ;
13511 bool temp2
= false ;
13512 PyObject
* obj0
= 0 ;
13513 PyObject
* obj1
= 0 ;
13514 char * kwnames
[] = {
13515 (char *) "self",(char *) "page", NULL
13518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13520 if (!SWIG_IsOK(res1
)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13523 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13525 arg2
= wxString_in_helper(obj1
);
13526 if (arg2
== NULL
) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13556 SWIGINTERN PyObject
*HtmlBookRecord_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13559 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord
, SWIG_NewClientData(obj
));
13560 return SWIG_Py_Void();
13563 SWIGINTERN PyObject
*HtmlBookRecord_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13564 return SWIG_Python_InitShadowInstance(args
);
13567 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13568 PyObject
*resultobj
= 0;
13569 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13573 PyObject
*swig_obj
[1] ;
13575 if (!args
) SWIG_fail
;
13576 swig_obj
[0] = args
;
13577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13578 if (!SWIG_IsOK(res1
)) {
13579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13581 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 result
= (bool)(arg1
)->Search();
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13597 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13598 PyObject
*resultobj
= 0;
13599 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13603 PyObject
*swig_obj
[1] ;
13605 if (!args
) SWIG_fail
;
13606 swig_obj
[0] = args
;
13607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13608 if (!SWIG_IsOK(res1
)) {
13609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13611 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 result
= (bool)(arg1
)->IsActive();
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13627 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13628 PyObject
*resultobj
= 0;
13629 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13633 PyObject
*swig_obj
[1] ;
13635 if (!args
) SWIG_fail
;
13636 swig_obj
[0] = args
;
13637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13638 if (!SWIG_IsOK(res1
)) {
13639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13641 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 result
= (int)(arg1
)->GetCurIndex();
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 resultobj
= SWIG_From_int(static_cast< int >(result
));
13655 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13656 PyObject
*resultobj
= 0;
13657 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13661 PyObject
*swig_obj
[1] ;
13663 if (!args
) SWIG_fail
;
13664 swig_obj
[0] = args
;
13665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13666 if (!SWIG_IsOK(res1
)) {
13667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13669 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 result
= (int)(arg1
)->GetMaxIndex();
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13676 resultobj
= SWIG_From_int(static_cast< int >(result
));
13683 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13684 PyObject
*resultobj
= 0;
13685 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13686 wxString
*result
= 0 ;
13689 PyObject
*swig_obj
[1] ;
13691 if (!args
) SWIG_fail
;
13692 swig_obj
[0] = args
;
13693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13694 if (!SWIG_IsOK(res1
)) {
13695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13697 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 wxString
const &_result_ref
= (arg1
)->GetName();
13702 result
= (wxString
*) &_result_ref
;
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13709 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13711 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13720 SWIGINTERN PyObject
*HtmlSearchStatus_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13723 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_NewClientData(obj
));
13724 return SWIG_Py_Void();
13727 SWIGINTERN PyObject
*_wrap_new_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13728 PyObject
*resultobj
= 0;
13729 wxHtmlHelpData
*result
= 0 ;
13731 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlHelpData",0,0,0)) SWIG_fail
;
13733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_NEW
| 0 );
13745 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13746 PyObject
*resultobj
= 0;
13747 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13750 PyObject
*swig_obj
[1] ;
13752 if (!args
) SWIG_fail
;
13753 swig_obj
[0] = args
;
13754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_DISOWN
| 0 );
13755 if (!SWIG_IsOK(res1
)) {
13756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13758 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= SWIG_Py_Void();
13773 SWIGINTERN PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
= 0;
13775 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13776 wxString
*arg2
= 0 ;
13779 bool temp2
= false ;
13780 PyObject
* obj0
= 0 ;
13781 PyObject
* obj1
= 0 ;
13782 char * kwnames
[] = {
13783 (char *) "self",(char *) "path", NULL
13786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13788 if (!SWIG_IsOK(res1
)) {
13789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13791 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13793 arg2
= wxString_in_helper(obj1
);
13794 if (arg2
== NULL
) SWIG_fail
;
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 (arg1
)->SetTempDir((wxString
const &)*arg2
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= SWIG_Py_Void();
13818 SWIGINTERN PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13819 PyObject
*resultobj
= 0;
13820 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13821 wxString
*arg2
= 0 ;
13825 bool temp2
= false ;
13826 PyObject
* obj0
= 0 ;
13827 PyObject
* obj1
= 0 ;
13828 char * kwnames
[] = {
13829 (char *) "self",(char *) "book", NULL
13832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13834 if (!SWIG_IsOK(res1
)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13837 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13839 arg2
= wxString_in_helper(obj1
);
13840 if (arg2
== NULL
) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13866 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
= 0;
13868 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13869 wxString
*arg2
= 0 ;
13873 bool temp2
= false ;
13874 PyObject
* obj0
= 0 ;
13875 PyObject
* obj1
= 0 ;
13876 char * kwnames
[] = {
13877 (char *) "self",(char *) "page", NULL
13880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13882 if (!SWIG_IsOK(res1
)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13885 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13887 arg2
= wxString_in_helper(obj1
);
13888 if (arg2
== NULL
) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13918 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
= 0;
13920 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13927 PyObject
* obj0
= 0 ;
13928 PyObject
* obj1
= 0 ;
13929 char * kwnames
[] = {
13930 (char *) "self",(char *) "id", NULL
13933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13935 if (!SWIG_IsOK(res1
)) {
13936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13938 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13940 if (!SWIG_IsOK(ecode2
)) {
13941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13943 arg2
= static_cast< int >(val2
);
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (arg1
)->FindPageById(arg2
);
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13963 SWIGINTERN PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13964 PyObject
*resultobj
= 0;
13965 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13966 wxHtmlBookRecArray
*result
= 0 ;
13969 PyObject
*swig_obj
[1] ;
13971 if (!args
) SWIG_fail
;
13972 swig_obj
[0] = args
;
13973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13974 if (!SWIG_IsOK(res1
)) {
13975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13977 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13981 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
13982 result
= (wxHtmlBookRecArray
*) &_result_ref
;
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0 | 0 );
13994 SWIGINTERN PyObject
*HtmlHelpData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13997 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData
, SWIG_NewClientData(obj
));
13998 return SWIG_Py_Void();
14001 SWIGINTERN PyObject
*HtmlHelpData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14002 return SWIG_Python_InitShadowInstance(args
);
14005 SWIGINTERN PyObject
*_wrap_new_HtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
= 0;
14007 wxWindow
*arg1
= (wxWindow
*) 0 ;
14009 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14010 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14011 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14012 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14013 int arg5
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14014 int arg6
= (int) wxHF_DEFAULT_STYLE
;
14015 wxHtmlHelpData
*arg7
= (wxHtmlHelpData
*) NULL
;
14016 wxHtmlHelpWindow
*result
= 0 ;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 PyObject
* obj2
= 0 ;
14032 PyObject
* obj3
= 0 ;
14033 PyObject
* obj4
= 0 ;
14034 PyObject
* obj5
= 0 ;
14035 PyObject
* obj6
= 0 ;
14036 char * kwnames
[] = {
14037 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14042 if (!SWIG_IsOK(res1
)) {
14043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14045 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14047 if (!SWIG_IsOK(ecode2
)) {
14048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14050 arg2
= static_cast< int >(val2
);
14054 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14060 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14064 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14065 if (!SWIG_IsOK(ecode5
)) {
14066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14068 arg5
= static_cast< int >(val5
);
14071 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14072 if (!SWIG_IsOK(ecode6
)) {
14073 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14075 arg6
= static_cast< int >(val6
);
14078 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14079 if (!SWIG_IsOK(res7
)) {
14080 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14082 arg7
= reinterpret_cast< wxHtmlHelpData
* >(argp7
);
14085 if (!wxPyCheckForApp()) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
14088 wxPyEndAllowThreads(__tstate
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_NEW
| 0 );
14098 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14099 PyObject
*resultobj
= 0;
14100 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
14101 wxHtmlHelpWindow
*result
= 0 ;
14104 PyObject
* obj0
= 0 ;
14105 char * kwnames
[] = {
14106 (char *) "data", NULL
14109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpWindow",kwnames
,&obj0
)) SWIG_fail
;
14111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14112 if (!SWIG_IsOK(res1
)) {
14113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14115 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
14118 if (!wxPyCheckForApp()) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_OWN
| 0 );
14131 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
= 0;
14133 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14134 wxWindow
*arg2
= (wxWindow
*) 0 ;
14136 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14137 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14138 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14139 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14140 int arg6
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14141 int arg7
= (int) wxHF_DEFAULT_STYLE
;
14155 PyObject
* obj0
= 0 ;
14156 PyObject
* obj1
= 0 ;
14157 PyObject
* obj2
= 0 ;
14158 PyObject
* obj3
= 0 ;
14159 PyObject
* obj4
= 0 ;
14160 PyObject
* obj5
= 0 ;
14161 PyObject
* obj6
= 0 ;
14162 char * kwnames
[] = {
14163 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14168 if (!SWIG_IsOK(res1
)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14171 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14172 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14173 if (!SWIG_IsOK(res2
)) {
14174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14176 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14178 if (!SWIG_IsOK(ecode3
)) {
14179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14181 arg3
= static_cast< int >(val3
);
14185 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14191 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14195 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14196 if (!SWIG_IsOK(ecode6
)) {
14197 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14199 arg6
= static_cast< int >(val6
);
14202 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14203 if (!SWIG_IsOK(ecode7
)) {
14204 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14206 arg7
= static_cast< int >(val7
);
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
);
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14223 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14224 PyObject
*resultobj
= 0;
14225 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14226 wxHtmlHelpData
*result
= 0 ;
14229 PyObject
*swig_obj
[1] ;
14231 if (!args
) SWIG_fail
;
14232 swig_obj
[0] = args
;
14233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14234 if (!SWIG_IsOK(res1
)) {
14235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14237 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14251 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14252 PyObject
*resultobj
= 0;
14253 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14254 wxHtmlHelpController
*result
= 0 ;
14257 PyObject
*swig_obj
[1] ;
14259 if (!args
) SWIG_fail
;
14260 swig_obj
[0] = args
;
14261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14262 if (!SWIG_IsOK(res1
)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14265 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (wxHtmlHelpController
*)((wxHtmlHelpWindow
const *)arg1
)->GetController();
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
14279 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
= 0;
14281 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14282 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
14286 PyObject
* obj0
= 0 ;
14287 PyObject
* obj1
= 0 ;
14288 char * kwnames
[] = {
14289 (char *) "self",(char *) "controller", NULL
14292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14294 if (!SWIG_IsOK(res1
)) {
14295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14297 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14298 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
14299 if (!SWIG_IsOK(res2
)) {
14300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 (arg1
)->SetController(arg2
);
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= SWIG_Py_Void();
14315 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
= 0;
14317 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14318 wxString
*arg2
= 0 ;
14322 bool temp2
= false ;
14323 PyObject
* obj0
= 0 ;
14324 PyObject
* obj1
= 0 ;
14325 char * kwnames
[] = {
14326 (char *) "self",(char *) "x", NULL
14329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14331 if (!SWIG_IsOK(res1
)) {
14332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14334 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14336 arg2
= wxString_in_helper(obj1
);
14337 if (arg2
== NULL
) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (bool)(arg1
)->Display((wxString
const &)*arg2
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14363 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
= 0;
14365 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14372 PyObject
* obj0
= 0 ;
14373 PyObject
* obj1
= 0 ;
14374 char * kwnames
[] = {
14375 (char *) "self",(char *) "id", NULL
14378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14380 if (!SWIG_IsOK(res1
)) {
14381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14383 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14385 if (!SWIG_IsOK(ecode2
)) {
14386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14388 arg2
= static_cast< int >(val2
);
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= (bool)(arg1
)->Display(arg2
);
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14404 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14405 PyObject
*resultobj
= 0;
14406 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14410 PyObject
*swig_obj
[1] ;
14412 if (!args
) SWIG_fail
;
14413 swig_obj
[0] = args
;
14414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14415 if (!SWIG_IsOK(res1
)) {
14416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14418 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (bool)(arg1
)->DisplayContents();
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14434 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14435 PyObject
*resultobj
= 0;
14436 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14440 PyObject
*swig_obj
[1] ;
14442 if (!args
) SWIG_fail
;
14443 swig_obj
[0] = args
;
14444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14445 if (!SWIG_IsOK(res1
)) {
14446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14448 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 result
= (bool)(arg1
)->DisplayIndex();
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14464 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14465 PyObject
*resultobj
= 0;
14466 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14467 wxString
*arg2
= 0 ;
14468 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
14472 bool temp2
= false ;
14475 PyObject
* obj0
= 0 ;
14476 PyObject
* obj1
= 0 ;
14477 PyObject
* obj2
= 0 ;
14478 char * kwnames
[] = {
14479 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14484 if (!SWIG_IsOK(res1
)) {
14485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14487 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14489 arg2
= wxString_in_helper(obj1
);
14490 if (arg2
== NULL
) SWIG_fail
;
14495 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
14496 if (!SWIG_IsOK(res3
)) {
14497 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14502 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
14504 if (SWIG_IsNewObj(res3
)) delete temp
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14531 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
= 0;
14533 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14534 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14535 wxString
const &arg3_defvalue
= wxEmptyString
;
14536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14541 bool temp3
= false ;
14542 PyObject
* obj0
= 0 ;
14543 PyObject
* obj1
= 0 ;
14544 PyObject
* obj2
= 0 ;
14545 char * kwnames
[] = {
14546 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14551 if (!SWIG_IsOK(res1
)) {
14552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14554 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14555 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14556 if (!SWIG_IsOK(res2
)) {
14557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14559 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14562 arg3
= wxString_in_helper(obj2
);
14563 if (arg3
== NULL
) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= SWIG_Py_Void();
14588 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
= 0;
14590 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14591 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14592 wxString
const &arg3_defvalue
= wxEmptyString
;
14593 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14598 bool temp3
= false ;
14599 PyObject
* obj0
= 0 ;
14600 PyObject
* obj1
= 0 ;
14601 PyObject
* obj2
= 0 ;
14602 char * kwnames
[] = {
14603 (char *) "self",(char *) "cfg",(char *) "path", NULL
14606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14608 if (!SWIG_IsOK(res1
)) {
14609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14611 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14612 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14613 if (!SWIG_IsOK(res2
)) {
14614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14616 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14619 arg3
= wxString_in_helper(obj2
);
14620 if (arg3
== NULL
) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 (arg1
)->ReadCustomization(arg2
,(wxString
const &)*arg3
);
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_Py_Void();
14645 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
= 0;
14647 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14648 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14649 wxString
const &arg3_defvalue
= wxEmptyString
;
14650 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14655 bool temp3
= false ;
14656 PyObject
* obj0
= 0 ;
14657 PyObject
* obj1
= 0 ;
14658 PyObject
* obj2
= 0 ;
14659 char * kwnames
[] = {
14660 (char *) "self",(char *) "cfg",(char *) "path", NULL
14663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14665 if (!SWIG_IsOK(res1
)) {
14666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14668 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14670 if (!SWIG_IsOK(res2
)) {
14671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14673 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14676 arg3
= wxString_in_helper(obj2
);
14677 if (arg3
== NULL
) SWIG_fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 (arg1
)->WriteCustomization(arg2
,(wxString
const &)*arg3
);
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= SWIG_Py_Void();
14702 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14703 PyObject
*resultobj
= 0;
14704 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14707 PyObject
*swig_obj
[1] ;
14709 if (!args
) SWIG_fail
;
14710 swig_obj
[0] = args
;
14711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14712 if (!SWIG_IsOK(res1
)) {
14713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14715 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 (arg1
)->NotifyPageChanged();
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= SWIG_Py_Void();
14729 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_RefreshLists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14730 PyObject
*resultobj
= 0;
14731 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14734 PyObject
*swig_obj
[1] ;
14736 if (!args
) SWIG_fail
;
14737 swig_obj
[0] = args
;
14738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14739 if (!SWIG_IsOK(res1
)) {
14740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14742 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 (arg1
)->RefreshLists();
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= SWIG_Py_Void();
14756 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14757 PyObject
*resultobj
= 0;
14758 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14759 wxHtmlWindow
*result
= 0 ;
14762 PyObject
*swig_obj
[1] ;
14764 if (!args
) SWIG_fail
;
14765 swig_obj
[0] = args
;
14766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14767 if (!SWIG_IsOK(res1
)) {
14768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14770 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 result
= (wxHtmlWindow
*)((wxHtmlHelpWindow
const *)arg1
)->GetHtmlWindow();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindow
, 0 | 0 );
14784 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14785 PyObject
*resultobj
= 0;
14786 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14787 wxSplitterWindow
*result
= 0 ;
14790 PyObject
*swig_obj
[1] ;
14792 if (!args
) SWIG_fail
;
14793 swig_obj
[0] = args
;
14794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14795 if (!SWIG_IsOK(res1
)) {
14796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14798 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (wxSplitterWindow
*)(arg1
)->GetSplitterWindow();
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
14812 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14813 PyObject
*resultobj
= 0;
14814 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14815 wxToolBar
*result
= 0 ;
14818 PyObject
*swig_obj
[1] ;
14820 if (!args
) SWIG_fail
;
14821 swig_obj
[0] = args
;
14822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14823 if (!SWIG_IsOK(res1
)) {
14824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14826 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (wxToolBar
*)((wxHtmlHelpWindow
const *)arg1
)->GetToolBar();
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14842 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetCfgData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14843 PyObject
*resultobj
= 0;
14844 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14845 wxHtmlHelpFrameCfg
*result
= 0 ;
14848 PyObject
*swig_obj
[1] ;
14850 if (!args
) SWIG_fail
;
14851 swig_obj
[0] = args
;
14852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14853 if (!SWIG_IsOK(res1
)) {
14854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14856 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 wxHtmlHelpFrameCfg
&_result_ref
= (arg1
)->GetCfgData();
14861 result
= (wxHtmlHelpFrameCfg
*) &_result_ref
;
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrameCfg
, 0 | 0 );
14873 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14874 PyObject
*resultobj
= 0;
14875 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14876 wxTreeCtrl
*result
= 0 ;
14879 PyObject
*swig_obj
[1] ;
14881 if (!args
) SWIG_fail
;
14882 swig_obj
[0] = args
;
14883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14884 if (!SWIG_IsOK(res1
)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14887 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (wxTreeCtrl
*)((wxHtmlHelpWindow
const *)arg1
)->GetTreeCtrl();
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
14901 SWIGINTERN PyObject
*HtmlHelpWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14904 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_NewClientData(obj
));
14905 return SWIG_Py_Void();
14908 SWIGINTERN PyObject
*HtmlHelpWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14909 return SWIG_Python_InitShadowInstance(args
);
14912 SWIGINTERN PyObject
*_wrap_new_HtmlWindowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
= 0;
14914 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14915 int arg2
= (int) 0 ;
14916 wxHtmlWindowEvent
*result
= 0 ;
14921 PyObject
* obj0
= 0 ;
14922 PyObject
* obj1
= 0 ;
14923 char * kwnames
[] = {
14924 (char *) "commandType",(char *) "id", NULL
14927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlWindowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14929 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14930 if (!SWIG_IsOK(ecode1
)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14933 arg1
= static_cast< wxEventType
>(val1
);
14936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14937 if (!SWIG_IsOK(ecode2
)) {
14938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'");
14940 arg2
= static_cast< int >(val2
);
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (wxHtmlWindowEvent
*)new wxHtmlWindowEvent(arg1
,arg2
);
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_POINTER_NEW
| 0 );
14955 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
= 0;
14957 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
14958 wxString
*arg2
= 0 ;
14961 bool temp2
= false ;
14962 PyObject
* obj0
= 0 ;
14963 PyObject
* obj1
= 0 ;
14964 char * kwnames
[] = {
14965 (char *) "self",(char *) "url", NULL
14968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
14970 if (!SWIG_IsOK(res1
)) {
14971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'");
14973 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
14975 arg2
= wxString_in_helper(obj1
);
14976 if (arg2
== NULL
) SWIG_fail
;
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 (arg1
)->SetURL((wxString
const &)*arg2
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= SWIG_Py_Void();
15000 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15001 PyObject
*resultobj
= 0;
15002 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
15003 wxString
*result
= 0 ;
15006 PyObject
*swig_obj
[1] ;
15008 if (!args
) SWIG_fail
;
15009 swig_obj
[0] = args
;
15010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
15011 if (!SWIG_IsOK(res1
)) {
15012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'");
15014 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 wxString
const &_result_ref
= ((wxHtmlWindowEvent
const *)arg1
)->GetURL();
15019 result
= (wxString
*) &_result_ref
;
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15028 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15037 SWIGINTERN PyObject
*HtmlWindowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15040 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_NewClientData(obj
));
15041 return SWIG_Py_Void();
15044 SWIGINTERN PyObject
*HtmlWindowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15045 return SWIG_Python_InitShadowInstance(args
);
15048 SWIGINTERN PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
= 0;
15050 wxWindow
*arg1
= (wxWindow
*) 0 ;
15052 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15053 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15054 int arg4
= (int) wxHF_DEFAULTSTYLE
;
15055 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15056 wxHtmlHelpFrame
*result
= 0 ;
15061 bool temp3
= false ;
15066 PyObject
* obj0
= 0 ;
15067 PyObject
* obj1
= 0 ;
15068 PyObject
* obj2
= 0 ;
15069 PyObject
* obj3
= 0 ;
15070 PyObject
* obj4
= 0 ;
15071 char * kwnames
[] = {
15072 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15077 if (!SWIG_IsOK(res1
)) {
15078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15080 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15082 if (!SWIG_IsOK(ecode2
)) {
15083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15085 arg2
= static_cast< int >(val2
);
15088 arg3
= wxString_in_helper(obj2
);
15089 if (arg3
== NULL
) SWIG_fail
;
15094 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15095 if (!SWIG_IsOK(ecode4
)) {
15096 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15098 arg4
= static_cast< int >(val4
);
15101 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15102 if (!SWIG_IsOK(res5
)) {
15103 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15105 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15108 if (!wxPyCheckForApp()) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_NEW
| 0 );
15129 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
= 0;
15131 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15132 wxHtmlHelpFrame
*result
= 0 ;
15135 PyObject
* obj0
= 0 ;
15136 char * kwnames
[] = {
15137 (char *) "data", NULL
15140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpFrame",kwnames
,&obj0
)) SWIG_fail
;
15142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15143 if (!SWIG_IsOK(res1
)) {
15144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15146 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15149 if (!wxPyCheckForApp()) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_OWN
| 0 );
15162 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
= 0;
15164 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15165 wxWindow
*arg2
= (wxWindow
*) 0 ;
15167 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15168 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15169 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15177 bool temp4
= false ;
15180 PyObject
* obj0
= 0 ;
15181 PyObject
* obj1
= 0 ;
15182 PyObject
* obj2
= 0 ;
15183 PyObject
* obj3
= 0 ;
15184 PyObject
* obj4
= 0 ;
15185 char * kwnames
[] = {
15186 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15191 if (!SWIG_IsOK(res1
)) {
15192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15194 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15196 if (!SWIG_IsOK(res2
)) {
15197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15199 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15201 if (!SWIG_IsOK(ecode3
)) {
15202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15204 arg3
= static_cast< int >(val3
);
15207 arg4
= wxString_in_helper(obj3
);
15208 if (arg4
== NULL
) SWIG_fail
;
15213 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15214 if (!SWIG_IsOK(ecode5
)) {
15215 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15217 arg5
= static_cast< int >(val5
);
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15242 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15243 PyObject
*resultobj
= 0;
15244 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15245 wxHtmlHelpData
*result
= 0 ;
15248 PyObject
*swig_obj
[1] ;
15250 if (!args
) SWIG_fail
;
15251 swig_obj
[0] = args
;
15252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15253 if (!SWIG_IsOK(res1
)) {
15254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15256 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15270 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
= 0;
15272 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15273 wxString
*arg2
= 0 ;
15276 bool temp2
= false ;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 char * kwnames
[] = {
15280 (char *) "self",(char *) "format", NULL
15283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15285 if (!SWIG_IsOK(res1
)) {
15286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15288 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15290 arg2
= wxString_in_helper(obj1
);
15291 if (arg2
== NULL
) SWIG_fail
;
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 resultobj
= SWIG_Py_Void();
15315 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15316 PyObject
*resultobj
= 0;
15317 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15320 PyObject
*swig_obj
[1] ;
15322 if (!args
) SWIG_fail
;
15323 swig_obj
[0] = args
;
15324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15325 if (!SWIG_IsOK(res1
)) {
15326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15328 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 (arg1
)->AddGrabIfNeeded();
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 resultobj
= SWIG_Py_Void();
15342 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15343 PyObject
*resultobj
= 0;
15344 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15345 wxHtmlHelpController
*result
= 0 ;
15348 PyObject
*swig_obj
[1] ;
15350 if (!args
) SWIG_fail
;
15351 swig_obj
[0] = args
;
15352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15353 if (!SWIG_IsOK(res1
)) {
15354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15356 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 result
= (wxHtmlHelpController
*)((wxHtmlHelpFrame
const *)arg1
)->GetController();
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15370 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
= 0;
15372 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15373 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 char * kwnames
[] = {
15380 (char *) "self",(char *) "controller", NULL
15383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15385 if (!SWIG_IsOK(res1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15388 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15389 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15390 if (!SWIG_IsOK(res2
)) {
15391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 (arg1
)->SetController(arg2
);
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= SWIG_Py_Void();
15406 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15407 PyObject
*resultobj
= 0;
15408 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15409 wxHtmlHelpWindow
*result
= 0 ;
15412 PyObject
*swig_obj
[1] ;
15414 if (!args
) SWIG_fail
;
15415 swig_obj
[0] = args
;
15416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15417 if (!SWIG_IsOK(res1
)) {
15418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15420 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpFrame
const *)arg1
)->GetHelpWindow();
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= wxPyMake_wxObject(result
, 0);
15436 SWIGINTERN PyObject
*HtmlHelpFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15439 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_NewClientData(obj
));
15440 return SWIG_Py_Void();
15443 SWIGINTERN PyObject
*HtmlHelpFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15444 return SWIG_Python_InitShadowInstance(args
);
15447 SWIGINTERN PyObject
*_wrap_new_HtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
= 0;
15449 wxWindow
*arg1
= (wxWindow
*) 0 ;
15451 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15452 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15453 int arg4
= (int) wxHF_DEFAULT_STYLE
;
15454 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15455 wxHtmlHelpDialog
*result
= 0 ;
15460 bool temp3
= false ;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 PyObject
* obj2
= 0 ;
15468 PyObject
* obj3
= 0 ;
15469 PyObject
* obj4
= 0 ;
15470 char * kwnames
[] = {
15471 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15476 if (!SWIG_IsOK(res1
)) {
15477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15479 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15481 if (!SWIG_IsOK(ecode2
)) {
15482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15484 arg2
= static_cast< int >(val2
);
15487 arg3
= wxString_in_helper(obj2
);
15488 if (arg3
== NULL
) SWIG_fail
;
15493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15494 if (!SWIG_IsOK(ecode4
)) {
15495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15497 arg4
= static_cast< int >(val4
);
15500 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15501 if (!SWIG_IsOK(res5
)) {
15502 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15504 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15507 if (!wxPyCheckForApp()) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_NEW
| 0 );
15528 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
= 0;
15530 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15531 wxHtmlHelpDialog
*result
= 0 ;
15534 PyObject
* obj0
= 0 ;
15535 char * kwnames
[] = {
15536 (char *) "data", NULL
15539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpDialog",kwnames
,&obj0
)) SWIG_fail
;
15541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15542 if (!SWIG_IsOK(res1
)) {
15543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15545 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15548 if (!wxPyCheckForApp()) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_OWN
| 0 );
15561 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
= 0;
15563 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15564 wxWindow
*arg2
= (wxWindow
*) 0 ;
15566 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15567 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15568 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15576 bool temp4
= false ;
15579 PyObject
* obj0
= 0 ;
15580 PyObject
* obj1
= 0 ;
15581 PyObject
* obj2
= 0 ;
15582 PyObject
* obj3
= 0 ;
15583 PyObject
* obj4
= 0 ;
15584 char * kwnames
[] = {
15585 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15590 if (!SWIG_IsOK(res1
)) {
15591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15593 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15595 if (!SWIG_IsOK(res2
)) {
15596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15600 if (!SWIG_IsOK(ecode3
)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15603 arg3
= static_cast< int >(val3
);
15606 arg4
= wxString_in_helper(obj3
);
15607 if (arg4
== NULL
) SWIG_fail
;
15612 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15613 if (!SWIG_IsOK(ecode5
)) {
15614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15616 arg5
= static_cast< int >(val5
);
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15641 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15642 PyObject
*resultobj
= 0;
15643 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15644 wxHtmlHelpData
*result
= 0 ;
15647 PyObject
*swig_obj
[1] ;
15649 if (!args
) SWIG_fail
;
15650 swig_obj
[0] = args
;
15651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15652 if (!SWIG_IsOK(res1
)) {
15653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15655 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15669 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15670 PyObject
*resultobj
= 0;
15671 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15672 wxHtmlHelpController
*result
= 0 ;
15675 PyObject
*swig_obj
[1] ;
15677 if (!args
) SWIG_fail
;
15678 swig_obj
[0] = args
;
15679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15680 if (!SWIG_IsOK(res1
)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15683 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 result
= (wxHtmlHelpController
*)((wxHtmlHelpDialog
const *)arg1
)->GetController();
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15697 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
= 0;
15699 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15700 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15704 PyObject
* obj0
= 0 ;
15705 PyObject
* obj1
= 0 ;
15706 char * kwnames
[] = {
15707 (char *) "self",(char *) "controller", NULL
15710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15712 if (!SWIG_IsOK(res1
)) {
15713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15715 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15716 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15717 if (!SWIG_IsOK(res2
)) {
15718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 (arg1
)->SetController(arg2
);
15723 wxPyEndAllowThreads(__tstate
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15726 resultobj
= SWIG_Py_Void();
15733 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15734 PyObject
*resultobj
= 0;
15735 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15736 wxHtmlHelpWindow
*result
= 0 ;
15739 PyObject
*swig_obj
[1] ;
15741 if (!args
) SWIG_fail
;
15742 swig_obj
[0] = args
;
15743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15744 if (!SWIG_IsOK(res1
)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15747 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpDialog
const *)arg1
)->GetHelpWindow();
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= wxPyMake_wxObject(result
, 0);
15763 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
= 0;
15765 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15766 wxString
*arg2
= 0 ;
15769 bool temp2
= false ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 char * kwnames
[] = {
15773 (char *) "self",(char *) "format", NULL
15776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15778 if (!SWIG_IsOK(res1
)) {
15779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15781 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15783 arg2
= wxString_in_helper(obj1
);
15784 if (arg2
== NULL
) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= SWIG_Py_Void();
15808 SWIGINTERN PyObject
*HtmlHelpDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15811 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_NewClientData(obj
));
15812 return SWIG_Py_Void();
15815 SWIGINTERN PyObject
*HtmlHelpDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15816 return SWIG_Python_InitShadowInstance(args
);
15819 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15820 PyObject
*resultobj
= 0;
15821 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15822 wxString
*arg2
= 0 ;
15827 bool temp2
= false ;
15831 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
15832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15833 if (!SWIG_IsOK(res1
)) {
15834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15836 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15838 arg2
= wxString_in_helper(swig_obj
[1]);
15839 if (arg2
== NULL
) SWIG_fail
;
15842 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
15843 if (!SWIG_IsOK(ecode3
)) {
15844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
15846 arg3
= static_cast< int >(val3
);
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
,arg3
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15870 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15871 PyObject
*resultobj
= 0;
15872 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15873 wxString
*arg2
= 0 ;
15877 bool temp2
= false ;
15879 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
15880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15881 if (!SWIG_IsOK(res1
)) {
15882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15884 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15886 arg2
= wxString_in_helper(swig_obj
[1]);
15887 if (arg2
== NULL
) SWIG_fail
;
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15913 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize(PyObject
*self
, PyObject
*args
) {
15917 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_Initialize",0,3,argv
))) SWIG_fail
;
15920 return _wrap_HelpControllerBase_Initialize__SWIG_1(self
, argc
, argv
);
15923 return _wrap_HelpControllerBase_Initialize__SWIG_0(self
, argc
, argv
);
15927 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_Initialize'");
15932 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetViewer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
= 0;
15934 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15935 wxString
*arg2
= 0 ;
15936 long arg3
= (long) 0 ;
15939 bool temp2
= false ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 PyObject
* obj2
= 0 ;
15945 char * kwnames
[] = {
15946 (char *) "self",(char *) "viewer",(char *) "flags", NULL
15949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15951 if (!SWIG_IsOK(res1
)) {
15952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15954 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15956 arg2
= wxString_in_helper(obj1
);
15957 if (arg2
== NULL
) SWIG_fail
;
15961 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15962 if (!SWIG_IsOK(ecode3
)) {
15963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
15965 arg3
= static_cast< long >(val3
);
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 (arg1
)->SetViewer((wxString
const &)*arg2
,arg3
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 resultobj
= SWIG_Py_Void();
15988 SWIGINTERN PyObject
*_wrap_HelpControllerBase_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
= 0;
15990 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15991 wxString
const &arg2_defvalue
= wxEmptyString
;
15992 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15996 bool temp2
= false ;
15997 PyObject
* obj0
= 0 ;
15998 PyObject
* obj1
= 0 ;
15999 char * kwnames
[] = {
16000 (char *) "self",(char *) "file", NULL
16003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HelpControllerBase_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16005 if (!SWIG_IsOK(res1
)) {
16006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16008 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16011 arg2
= wxString_in_helper(obj1
);
16012 if (arg2
== NULL
) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16039 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16040 PyObject
*resultobj
= 0;
16041 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16045 PyObject
*swig_obj
[1] ;
16047 if (!args
) SWIG_fail
;
16048 swig_obj
[0] = args
;
16049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16050 if (!SWIG_IsOK(res1
)) {
16051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16053 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 result
= (bool)(arg1
)->DisplayContents();
16057 wxPyEndAllowThreads(__tstate
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16069 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16070 PyObject
*resultobj
= 0;
16071 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16079 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16081 if (!SWIG_IsOK(res1
)) {
16082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16084 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16085 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16086 if (!SWIG_IsOK(ecode2
)) {
16087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16089 arg2
= static_cast< int >(val2
);
16091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 result
= (bool)(arg1
)->DisplaySection(arg2
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16105 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
= 0;
16107 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16114 PyObject
* obj0
= 0 ;
16115 PyObject
* obj1
= 0 ;
16116 char * kwnames
[] = {
16117 (char *) "self",(char *) "contextId", NULL
16120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16122 if (!SWIG_IsOK(res1
)) {
16123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16125 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16127 if (!SWIG_IsOK(ecode2
)) {
16128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16130 arg2
= static_cast< int >(val2
);
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (bool)(arg1
)->DisplayContextPopup(arg2
);
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16146 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayTextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
= 0;
16148 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16149 wxString
*arg2
= 0 ;
16150 wxPoint
*arg3
= 0 ;
16154 bool temp2
= false ;
16156 PyObject
* obj0
= 0 ;
16157 PyObject
* obj1
= 0 ;
16158 PyObject
* obj2
= 0 ;
16159 char * kwnames
[] = {
16160 (char *) "self",(char *) "text",(char *) "pos", NULL
16163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16165 if (!SWIG_IsOK(res1
)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16168 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16170 arg2
= wxString_in_helper(obj1
);
16171 if (arg2
== NULL
) SWIG_fail
;
16176 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16180 result
= (bool)(arg1
)->DisplayTextPopup((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16201 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16202 PyObject
*resultobj
= 0;
16203 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16204 wxString
*arg2
= 0 ;
16208 bool temp2
= false ;
16210 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16212 if (!SWIG_IsOK(res1
)) {
16213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16215 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16217 arg2
= wxString_in_helper(swig_obj
[1]);
16218 if (arg2
== NULL
) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (bool)(arg1
)->DisplaySection((wxString
const &)*arg2
);
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16244 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection(PyObject
*self
, PyObject
*args
) {
16248 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_DisplaySection",0,2,argv
))) SWIG_fail
;
16254 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
16257 if (!_v
) goto check_1
;
16258 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self
, argc
, argv
);
16263 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self
, argc
, argv
);
16267 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16272 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
= 0;
16274 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16281 PyObject
* obj0
= 0 ;
16282 PyObject
* obj1
= 0 ;
16283 char * kwnames
[] = {
16284 (char *) "self",(char *) "blockNo", NULL
16287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16289 if (!SWIG_IsOK(res1
)) {
16290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16292 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16293 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
16294 if (!SWIG_IsOK(ecode2
)) {
16295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16297 arg2
= static_cast< long >(val2
);
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 result
= (bool)(arg1
)->DisplayBlock(arg2
);
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16313 SWIGINTERN PyObject
*_wrap_HelpControllerBase_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
= 0;
16315 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16316 wxString
*arg2
= 0 ;
16317 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
16321 bool temp2
= false ;
16324 PyObject
* obj0
= 0 ;
16325 PyObject
* obj1
= 0 ;
16326 PyObject
* obj2
= 0 ;
16327 char * kwnames
[] = {
16328 (char *) "self",(char *) "k",(char *) "mode", NULL
16331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16333 if (!SWIG_IsOK(res1
)) {
16334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16336 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16338 arg2
= wxString_in_helper(obj1
);
16339 if (arg2
== NULL
) SWIG_fail
;
16344 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
16345 if (!SWIG_IsOK(res3
)) {
16346 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16351 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
16353 if (SWIG_IsNewObj(res3
)) delete temp
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16380 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
= 0;
16382 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16383 wxString
*arg2
= 0 ;
16385 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16386 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16387 bool arg5
= (bool) false ;
16390 bool temp2
= false ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 PyObject
* obj2
= 0 ;
16398 PyObject
* obj3
= 0 ;
16399 PyObject
* obj4
= 0 ;
16400 char * kwnames
[] = {
16401 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16406 if (!SWIG_IsOK(res1
)) {
16407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16409 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16411 arg2
= wxString_in_helper(obj1
);
16412 if (arg2
== NULL
) SWIG_fail
;
16417 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16422 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16426 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16427 if (!SWIG_IsOK(ecode5
)) {
16428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16430 arg5
= static_cast< bool >(val5
);
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 (arg1
)->SetFrameParameters((wxString
const &)*arg2
,(wxSize
const &)*arg3
,(wxPoint
const &)*arg4
,arg5
);
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= SWIG_Py_Void();
16453 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
= 0;
16455 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16456 wxSize
*arg2
= (wxSize
*) NULL
;
16457 wxPoint
*arg3
= (wxPoint
*) NULL
;
16458 bool *arg4
= (bool *) NULL
;
16459 wxFrame
*result
= 0 ;
16468 PyObject
* obj0
= 0 ;
16469 PyObject
* obj1
= 0 ;
16470 PyObject
* obj2
= 0 ;
16471 PyObject
* obj3
= 0 ;
16472 char * kwnames
[] = {
16473 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16478 if (!SWIG_IsOK(res1
)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16481 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16483 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
16484 if (!SWIG_IsOK(res2
)) {
16485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
16487 arg2
= reinterpret_cast< wxSize
* >(argp2
);
16490 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPoint
, 0 | 0 );
16491 if (!SWIG_IsOK(res3
)) {
16492 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
16494 arg3
= reinterpret_cast< wxPoint
* >(argp3
);
16497 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_bool
, 0 | 0 );
16498 if (!SWIG_IsOK(res4
)) {
16499 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
16501 arg4
= reinterpret_cast< bool * >(argp4
);
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 result
= (wxFrame
*)(arg1
)->GetFrameParameters(arg2
,arg3
,arg4
);
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16510 resultobj
= wxPyMake_wxObject(result
, 0);
16518 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Quit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16519 PyObject
*resultobj
= 0;
16520 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16524 PyObject
*swig_obj
[1] ;
16526 if (!args
) SWIG_fail
;
16527 swig_obj
[0] = args
;
16528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16529 if (!SWIG_IsOK(res1
)) {
16530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16532 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 result
= (bool)(arg1
)->Quit();
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16548 SWIGINTERN PyObject
*_wrap_HelpControllerBase_OnQuit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16549 PyObject
*resultobj
= 0;
16550 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16553 PyObject
*swig_obj
[1] ;
16555 if (!args
) SWIG_fail
;
16556 swig_obj
[0] = args
;
16557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16558 if (!SWIG_IsOK(res1
)) {
16559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16561 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= SWIG_Py_Void();
16575 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
= 0;
16577 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16578 wxWindow
*arg2
= (wxWindow
*) 0 ;
16583 PyObject
* obj0
= 0 ;
16584 PyObject
* obj1
= 0 ;
16585 char * kwnames
[] = {
16586 (char *) "self",(char *) "win", NULL
16589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16591 if (!SWIG_IsOK(res1
)) {
16592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16594 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16596 if (!SWIG_IsOK(res2
)) {
16597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16599 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 (arg1
)->SetParentWindow(arg2
);
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16606 resultobj
= SWIG_Py_Void();
16613 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16614 PyObject
*resultobj
= 0;
16615 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16616 wxWindow
*result
= 0 ;
16619 PyObject
*swig_obj
[1] ;
16621 if (!args
) SWIG_fail
;
16622 swig_obj
[0] = args
;
16623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16624 if (!SWIG_IsOK(res1
)) {
16625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16627 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= (wxWindow
*)((wxHelpControllerBase
const *)arg1
)->GetParentWindow();
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16635 resultobj
= wxPyMake_wxObject(result
, 0);
16643 SWIGINTERN PyObject
*HelpControllerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16646 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase
, SWIG_NewClientData(obj
));
16647 return SWIG_Py_Void();
16650 SWIGINTERN PyObject
*_wrap_new_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
= 0;
16652 int arg1
= (int) wxHF_DEFAULT_STYLE
;
16653 wxWindow
*arg2
= (wxWindow
*) NULL
;
16654 wxHtmlHelpController
*result
= 0 ;
16659 PyObject
* obj0
= 0 ;
16660 PyObject
* obj1
= 0 ;
16661 char * kwnames
[] = {
16662 (char *) "style",(char *) "parentWindow", NULL
16665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlHelpController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16667 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16668 if (!SWIG_IsOK(ecode1
)) {
16669 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16671 arg1
= static_cast< int >(val1
);
16674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16675 if (!SWIG_IsOK(res2
)) {
16676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16678 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16681 if (!wxPyCheckForApp()) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
,arg2
);
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_NEW
| 0 );
16694 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16695 PyObject
*resultobj
= 0;
16696 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16699 PyObject
*swig_obj
[1] ;
16701 if (!args
) SWIG_fail
;
16702 swig_obj
[0] = args
;
16703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
16704 if (!SWIG_IsOK(res1
)) {
16705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16707 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= SWIG_Py_Void();
16722 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16723 PyObject
*resultobj
= 0;
16724 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16725 wxHtmlHelpWindow
*result
= 0 ;
16728 PyObject
*swig_obj
[1] ;
16730 if (!args
) SWIG_fail
;
16731 swig_obj
[0] = args
;
16732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16733 if (!SWIG_IsOK(res1
)) {
16734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16736 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 result
= (wxHtmlHelpWindow
*)(arg1
)->GetHelpWindow();
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= wxPyMake_wxObject(result
, 0);
16752 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
= 0;
16754 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16755 wxHtmlHelpWindow
*arg2
= (wxHtmlHelpWindow
*) 0 ;
16760 PyObject
* obj0
= 0 ;
16761 PyObject
* obj1
= 0 ;
16762 char * kwnames
[] = {
16763 (char *) "self",(char *) "helpWindow", NULL
16766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16768 if (!SWIG_IsOK(res1
)) {
16769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16771 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
16773 if (!SWIG_IsOK(res2
)) {
16774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16776 arg2
= reinterpret_cast< wxHtmlHelpWindow
* >(argp2
);
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 (arg1
)->SetHelpWindow(arg2
);
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= SWIG_Py_Void();
16790 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16791 PyObject
*resultobj
= 0;
16792 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16793 wxHtmlHelpFrame
*result
= 0 ;
16796 PyObject
*swig_obj
[1] ;
16798 if (!args
) SWIG_fail
;
16799 swig_obj
[0] = args
;
16800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16801 if (!SWIG_IsOK(res1
)) {
16802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16804 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= wxPyMake_wxObject(result
, 0);
16820 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16821 PyObject
*resultobj
= 0;
16822 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16823 wxHtmlHelpDialog
*result
= 0 ;
16826 PyObject
*swig_obj
[1] ;
16828 if (!args
) SWIG_fail
;
16829 swig_obj
[0] = args
;
16830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16831 if (!SWIG_IsOK(res1
)) {
16832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16834 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 result
= (wxHtmlHelpDialog
*)(arg1
)->GetDialog();
16838 wxPyEndAllowThreads(__tstate
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16842 resultobj
= wxPyMake_wxObject(result
, 0);
16850 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
= 0;
16852 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16853 wxString
*arg2
= 0 ;
16856 bool temp2
= false ;
16857 PyObject
* obj0
= 0 ;
16858 PyObject
* obj1
= 0 ;
16859 char * kwnames
[] = {
16860 (char *) "self",(char *) "format", NULL
16863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16865 if (!SWIG_IsOK(res1
)) {
16866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16868 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16870 arg2
= wxString_in_helper(obj1
);
16871 if (arg2
== NULL
) SWIG_fail
;
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 resultobj
= SWIG_Py_Void();
16895 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
= 0;
16897 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16898 wxString
*arg2
= 0 ;
16901 bool temp2
= false ;
16902 PyObject
* obj0
= 0 ;
16903 PyObject
* obj1
= 0 ;
16904 char * kwnames
[] = {
16905 (char *) "self",(char *) "path", NULL
16908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16910 if (!SWIG_IsOK(res1
)) {
16911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16913 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16915 arg2
= wxString_in_helper(obj1
);
16916 if (arg2
== NULL
) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 (arg1
)->SetTempDir((wxString
const &)*arg2
);
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 resultobj
= SWIG_Py_Void();
16940 SWIGINTERN PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16941 PyObject
*resultobj
= 0;
16942 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16943 wxString
*arg2
= 0 ;
16944 int arg3
= (int) false ;
16948 bool temp2
= false ;
16951 PyObject
* obj0
= 0 ;
16952 PyObject
* obj1
= 0 ;
16953 PyObject
* obj2
= 0 ;
16954 char * kwnames
[] = {
16955 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
16958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16960 if (!SWIG_IsOK(res1
)) {
16961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16963 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16965 arg2
= wxString_in_helper(obj1
);
16966 if (arg2
== NULL
) SWIG_fail
;
16970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16971 if (!SWIG_IsOK(ecode3
)) {
16972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
16974 arg3
= static_cast< int >(val3
);
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16999 SWIGINTERN PyObject
*_wrap_HtmlHelpController_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
= 0;
17001 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17002 wxString
*arg2
= 0 ;
17005 bool temp2
= false ;
17006 PyObject
* obj0
= 0 ;
17007 PyObject
* obj1
= 0 ;
17008 char * kwnames
[] = {
17009 (char *) "self",(char *) "x", NULL
17012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17014 if (!SWIG_IsOK(res1
)) {
17015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17017 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17019 arg2
= wxString_in_helper(obj1
);
17020 if (arg2
== NULL
) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 (arg1
)->Display((wxString
const &)*arg2
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= SWIG_Py_Void();
17044 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
= 0;
17046 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17052 PyObject
* obj0
= 0 ;
17053 PyObject
* obj1
= 0 ;
17054 char * kwnames
[] = {
17055 (char *) "self",(char *) "id", NULL
17058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17060 if (!SWIG_IsOK(res1
)) {
17061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17063 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17065 if (!SWIG_IsOK(ecode2
)) {
17066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17068 arg2
= static_cast< int >(val2
);
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 (arg1
)->Display(arg2
);
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= SWIG_Py_Void();
17082 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17083 PyObject
*resultobj
= 0;
17084 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17087 PyObject
*swig_obj
[1] ;
17089 if (!args
) SWIG_fail
;
17090 swig_obj
[0] = args
;
17091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17092 if (!SWIG_IsOK(res1
)) {
17093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17095 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 (arg1
)->DisplayContents();
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= SWIG_Py_Void();
17109 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17110 PyObject
*resultobj
= 0;
17111 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17114 PyObject
*swig_obj
[1] ;
17116 if (!args
) SWIG_fail
;
17117 swig_obj
[0] = args
;
17118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17119 if (!SWIG_IsOK(res1
)) {
17120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17122 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 (arg1
)->DisplayIndex();
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17129 resultobj
= SWIG_Py_Void();
17136 SWIGINTERN PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
= 0;
17138 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17139 wxString
*arg2
= 0 ;
17143 bool temp2
= false ;
17144 PyObject
* obj0
= 0 ;
17145 PyObject
* obj1
= 0 ;
17146 char * kwnames
[] = {
17147 (char *) "self",(char *) "keyword", NULL
17150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17152 if (!SWIG_IsOK(res1
)) {
17153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17155 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17157 arg2
= wxString_in_helper(obj1
);
17158 if (arg2
== NULL
) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17184 SWIGINTERN PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
= 0;
17186 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17187 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17188 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17189 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17194 bool temp3
= false ;
17195 PyObject
* obj0
= 0 ;
17196 PyObject
* obj1
= 0 ;
17197 PyObject
* obj2
= 0 ;
17198 char * kwnames
[] = {
17199 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17204 if (!SWIG_IsOK(res1
)) {
17205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17207 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17209 if (!SWIG_IsOK(res2
)) {
17210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17212 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17215 arg3
= wxString_in_helper(obj2
);
17216 if (arg3
== NULL
) SWIG_fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17226 resultobj
= SWIG_Py_Void();
17241 SWIGINTERN PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
= 0;
17243 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17244 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17245 wxString arg3
= (wxString
) wxPyEmptyString
;
17250 PyObject
* obj0
= 0 ;
17251 PyObject
* obj1
= 0 ;
17252 PyObject
* obj2
= 0 ;
17253 char * kwnames
[] = {
17254 (char *) "self",(char *) "cfg",(char *) "path", NULL
17257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17259 if (!SWIG_IsOK(res1
)) {
17260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17262 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17263 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17264 if (!SWIG_IsOK(res2
)) {
17265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17267 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17270 wxString
* sptr
= wxString_in_helper(obj2
);
17271 if (sptr
== NULL
) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 (arg1
)->ReadCustomization(arg2
,arg3
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 resultobj
= SWIG_Py_Void();
17289 SWIGINTERN PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
= 0;
17291 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17292 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17293 wxString arg3
= (wxString
) wxPyEmptyString
;
17298 PyObject
* obj0
= 0 ;
17299 PyObject
* obj1
= 0 ;
17300 PyObject
* obj2
= 0 ;
17301 char * kwnames
[] = {
17302 (char *) "self",(char *) "cfg",(char *) "path", NULL
17305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17307 if (!SWIG_IsOK(res1
)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17310 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17311 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17312 if (!SWIG_IsOK(res2
)) {
17313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17315 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17318 wxString
* sptr
= wxString_in_helper(obj2
);
17319 if (sptr
== NULL
) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 (arg1
)->WriteCustomization(arg2
,arg3
);
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= SWIG_Py_Void();
17337 SWIGINTERN PyObject
*_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17338 PyObject
*resultobj
= 0;
17339 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17342 PyObject
*swig_obj
[1] ;
17344 if (!args
) SWIG_fail
;
17345 swig_obj
[0] = args
;
17346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17347 if (!SWIG_IsOK(res1
)) {
17348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17350 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 (arg1
)->MakeModalIfNeeded();
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= SWIG_Py_Void();
17364 SWIGINTERN PyObject
*_wrap_HtmlHelpController_FindTopLevelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17365 PyObject
*resultobj
= 0;
17366 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17367 wxWindow
*result
= 0 ;
17370 PyObject
*swig_obj
[1] ;
17372 if (!args
) SWIG_fail
;
17373 swig_obj
[0] = args
;
17374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17375 if (!SWIG_IsOK(res1
)) {
17376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17378 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 result
= (wxWindow
*)(arg1
)->FindTopLevelWindow();
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17386 resultobj
= wxPyMake_wxObject(result
, 0);
17394 SWIGINTERN PyObject
*HtmlHelpController_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17397 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController
, SWIG_NewClientData(obj
));
17398 return SWIG_Py_Void();
17401 SWIGINTERN PyObject
*HtmlHelpController_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17402 return SWIG_Python_InitShadowInstance(args
);
17405 SWIGINTERN PyObject
*_wrap_new_HtmlModalHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
= 0;
17407 wxWindow
*arg1
= (wxWindow
*) 0 ;
17408 wxString
*arg2
= 0 ;
17409 wxString
const &arg3_defvalue
= wxEmptyString
;
17410 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17411 int arg4
= (int) wxHF_DEFAULT_STYLE
|wxHF_DIALOG
|wxHF_MODAL
;
17412 wxHtmlModalHelp
*result
= 0 ;
17415 bool temp2
= false ;
17416 bool temp3
= false ;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 PyObject
* obj2
= 0 ;
17422 PyObject
* obj3
= 0 ;
17423 char * kwnames
[] = {
17424 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_HtmlModalHelp",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17429 if (!SWIG_IsOK(res1
)) {
17430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17434 arg2
= wxString_in_helper(obj1
);
17435 if (arg2
== NULL
) SWIG_fail
;
17440 arg3
= wxString_in_helper(obj2
);
17441 if (arg3
== NULL
) SWIG_fail
;
17446 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17447 if (!SWIG_IsOK(ecode4
)) {
17448 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17450 arg4
= static_cast< int >(val4
);
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 result
= (wxHtmlModalHelp
*)new wxHtmlModalHelp(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlModalHelp
, SWIG_POINTER_NEW
| 0 );
17481 SWIGINTERN PyObject
*HtmlModalHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17484 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp
, SWIG_NewClientData(obj
));
17485 return SWIG_Py_Void();
17488 SWIGINTERN PyObject
*HtmlModalHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17489 return SWIG_Python_InitShadowInstance(args
);
17492 static PyMethodDef SwigMethods
[] = {
17493 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17494 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
)_wrap_HtmlLinkInfo_GetHref
, METH_O
, NULL
},
17495 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
)_wrap_HtmlLinkInfo_GetTarget
, METH_O
, NULL
},
17496 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
)_wrap_HtmlLinkInfo_GetEvent
, METH_O
, NULL
},
17497 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
)_wrap_HtmlLinkInfo_GetHtmlCell
, METH_O
, NULL
},
17498 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17499 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17500 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
17501 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit
, METH_VARARGS
, NULL
},
17502 { (char *)"HtmlTag_GetName", (PyCFunction
)_wrap_HtmlTag_GetName
, METH_O
, NULL
},
17503 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17504 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17505 { (char *)"HtmlTag_GetAllParams", (PyCFunction
)_wrap_HtmlTag_GetAllParams
, METH_O
, NULL
},
17506 { (char *)"HtmlTag_HasEnding", (PyCFunction
)_wrap_HtmlTag_HasEnding
, METH_O
, NULL
},
17507 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
)_wrap_HtmlTag_GetBeginPos
, METH_O
, NULL
},
17508 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
)_wrap_HtmlTag_GetEndPos1
, METH_O
, NULL
},
17509 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
)_wrap_HtmlTag_GetEndPos2
, METH_O
, NULL
},
17510 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
17511 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17512 { (char *)"HtmlParser_GetFS", (PyCFunction
)_wrap_HtmlParser_GetFS
, METH_O
, NULL
},
17513 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17514 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17515 { (char *)"HtmlParser_DoneParser", (PyCFunction
)_wrap_HtmlParser_DoneParser
, METH_O
, NULL
},
17516 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17517 { (char *)"HtmlParser_StopParsing", (PyCFunction
)_wrap_HtmlParser_StopParsing
, METH_O
, NULL
},
17518 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17519 { (char *)"HtmlParser_GetSource", (PyCFunction
)_wrap_HtmlParser_GetSource
, METH_O
, NULL
},
17520 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17521 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
)_wrap_HtmlParser_PopTagHandler
, METH_O
, NULL
},
17522 { (char *)"HtmlParser_GetInnerSource", (PyCFunction
) _wrap_HtmlParser_GetInnerSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17523 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
17524 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17525 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17526 { (char *)"HtmlWinParser_GetDC", (PyCFunction
)_wrap_HtmlWinParser_GetDC
, METH_O
, NULL
},
17527 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
)_wrap_HtmlWinParser_GetCharHeight
, METH_O
, NULL
},
17528 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
)_wrap_HtmlWinParser_GetCharWidth
, METH_O
, NULL
},
17529 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
)_wrap_HtmlWinParser_GetWindow
, METH_O
, NULL
},
17530 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction
)_wrap_HtmlWinParser_GetWindowInterface
, METH_O
, NULL
},
17531 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17532 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17533 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
)_wrap_HtmlWinParser_GetContainer
, METH_O
, NULL
},
17534 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
)_wrap_HtmlWinParser_OpenContainer
, METH_O
, NULL
},
17535 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17536 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
)_wrap_HtmlWinParser_CloseContainer
, METH_O
, NULL
},
17537 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
)_wrap_HtmlWinParser_GetFontSize
, METH_O
, NULL
},
17538 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17539 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
)_wrap_HtmlWinParser_GetFontBold
, METH_O
, NULL
},
17540 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17541 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
)_wrap_HtmlWinParser_GetFontItalic
, METH_O
, NULL
},
17542 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17543 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
)_wrap_HtmlWinParser_GetFontUnderlined
, METH_O
, NULL
},
17544 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17545 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
)_wrap_HtmlWinParser_GetFontFixed
, METH_O
, NULL
},
17546 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17547 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
)_wrap_HtmlWinParser_GetAlign
, METH_O
, NULL
},
17548 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17549 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
)_wrap_HtmlWinParser_GetLinkColor
, METH_O
, NULL
},
17550 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17551 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
)_wrap_HtmlWinParser_GetActualColor
, METH_O
, NULL
},
17552 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17553 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17554 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
)_wrap_HtmlWinParser_CreateCurrentFont
, METH_O
, NULL
},
17555 { (char *)"HtmlWinParser_GetLink", (PyCFunction
)_wrap_HtmlWinParser_GetLink
, METH_O
, NULL
},
17556 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
17557 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit
, METH_VARARGS
, NULL
},
17558 { (char *)"new_HtmlTagHandler", (PyCFunction
)_wrap_new_HtmlTagHandler
, METH_NOARGS
, NULL
},
17559 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17560 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17561 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
)_wrap_HtmlTagHandler_GetParser
, METH_O
, NULL
},
17562 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17563 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
17564 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit
, METH_VARARGS
, NULL
},
17565 { (char *)"new_HtmlWinTagHandler", (PyCFunction
)_wrap_new_HtmlWinTagHandler
, METH_NOARGS
, NULL
},
17566 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17567 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17568 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
)_wrap_HtmlWinTagHandler_GetParser
, METH_O
, NULL
},
17569 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17570 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
17571 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit
, METH_VARARGS
, NULL
},
17572 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17573 { (char *)"new_HtmlSelection", (PyCFunction
)_wrap_new_HtmlSelection
, METH_NOARGS
, NULL
},
17574 { (char *)"delete_HtmlSelection", (PyCFunction
)_wrap_delete_HtmlSelection
, METH_O
, NULL
},
17575 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17576 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17577 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
)_wrap_HtmlSelection_GetFromCell
, METH_O
, NULL
},
17578 { (char *)"HtmlSelection_GetToCell", (PyCFunction
)_wrap_HtmlSelection_GetToCell
, METH_O
, NULL
},
17579 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPos
, METH_O
, NULL
},
17580 { (char *)"HtmlSelection_GetToPos", (PyCFunction
)_wrap_HtmlSelection_GetToPos
, METH_O
, NULL
},
17581 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPrivPos
, METH_O
, NULL
},
17582 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetToPrivPos
, METH_O
, NULL
},
17583 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17584 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17585 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
)_wrap_HtmlSelection_ClearPrivPos
, METH_O
, NULL
},
17586 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
)_wrap_HtmlSelection_IsEmpty
, METH_O
, NULL
},
17587 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
17588 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit
, METH_VARARGS
, NULL
},
17589 { (char *)"new_HtmlRenderingState", (PyCFunction
)_wrap_new_HtmlRenderingState
, METH_NOARGS
, NULL
},
17590 { (char *)"delete_HtmlRenderingState", (PyCFunction
)_wrap_delete_HtmlRenderingState
, METH_O
, NULL
},
17591 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17592 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
)_wrap_HtmlRenderingState_GetSelectionState
, METH_O
, NULL
},
17593 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17594 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetFgColour
, METH_O
, NULL
},
17595 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17596 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetBgColour
, METH_O
, NULL
},
17597 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
17598 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit
, METH_VARARGS
, NULL
},
17599 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17600 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17601 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17602 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17603 { (char *)"new_HtmlRenderingInfo", (PyCFunction
)_wrap_new_HtmlRenderingInfo
, METH_NOARGS
, NULL
},
17604 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
)_wrap_delete_HtmlRenderingInfo
, METH_O
, NULL
},
17605 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17606 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
)_wrap_HtmlRenderingInfo_GetSelection
, METH_O
, NULL
},
17607 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17608 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
)_wrap_HtmlRenderingInfo_GetStyle
, METH_O
, NULL
},
17609 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
)_wrap_HtmlRenderingInfo_GetState
, METH_O
, NULL
},
17610 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
17611 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit
, METH_VARARGS
, NULL
},
17612 { (char *)"new_HtmlCell", (PyCFunction
)_wrap_new_HtmlCell
, METH_NOARGS
, NULL
},
17613 { (char *)"delete_HtmlCell", (PyCFunction
)_wrap_delete_HtmlCell
, METH_O
, NULL
},
17614 { (char *)"HtmlCell_GetPosX", (PyCFunction
)_wrap_HtmlCell_GetPosX
, METH_O
, NULL
},
17615 { (char *)"HtmlCell_GetPosY", (PyCFunction
)_wrap_HtmlCell_GetPosY
, METH_O
, NULL
},
17616 { (char *)"HtmlCell_GetWidth", (PyCFunction
)_wrap_HtmlCell_GetWidth
, METH_O
, NULL
},
17617 { (char *)"HtmlCell_GetHeight", (PyCFunction
)_wrap_HtmlCell_GetHeight
, METH_O
, NULL
},
17618 { (char *)"HtmlCell_GetDescent", (PyCFunction
)_wrap_HtmlCell_GetDescent
, METH_O
, NULL
},
17619 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
)_wrap_HtmlCell_GetMaxTotalWidth
, METH_O
, NULL
},
17620 { (char *)"HtmlCell_GetId", (PyCFunction
)_wrap_HtmlCell_GetId
, METH_O
, NULL
},
17621 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17622 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17623 { (char *)"HtmlCell_GetNext", (PyCFunction
)_wrap_HtmlCell_GetNext
, METH_O
, NULL
},
17624 { (char *)"HtmlCell_GetParent", (PyCFunction
)_wrap_HtmlCell_GetParent
, METH_O
, NULL
},
17625 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
)_wrap_HtmlCell_GetFirstChild
, METH_O
, NULL
},
17626 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction
) _wrap_HtmlCell_GetMouseCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17627 { (char *)"HtmlCell_GetCursor", (PyCFunction
)_wrap_HtmlCell_GetCursor
, METH_O
, NULL
},
17628 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
)_wrap_HtmlCell_IsFormattingCell
, METH_O
, NULL
},
17629 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17630 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17631 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17632 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17633 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17634 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17635 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17636 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17637 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction
) _wrap_HtmlCell_ProcessMouseClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17638 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17639 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlCell_IsLinebreakAllowed
, METH_O
, NULL
},
17640 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
)_wrap_HtmlCell_IsTerminalCell
, METH_O
, NULL
},
17641 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17642 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17643 { (char *)"HtmlCell_GetRootCell", (PyCFunction
)_wrap_HtmlCell_GetRootCell
, METH_O
, NULL
},
17644 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
)_wrap_HtmlCell_GetFirstTerminal
, METH_O
, NULL
},
17645 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
)_wrap_HtmlCell_GetLastTerminal
, METH_O
, NULL
},
17646 { (char *)"HtmlCell_GetDepth", (PyCFunction
)_wrap_HtmlCell_GetDepth
, METH_O
, NULL
},
17647 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17648 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17649 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
17650 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit
, METH_VARARGS
, NULL
},
17651 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17652 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction
) _wrap_HtmlWordCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17653 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlWordCell_IsLinebreakAllowed
, METH_O
, NULL
},
17654 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction
) _wrap_HtmlWordCell_SetPreviousWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17655 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
17656 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit
, METH_VARARGS
, NULL
},
17657 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17658 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17659 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17660 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignHor
, METH_O
, NULL
},
17661 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17662 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignVer
, METH_O
, NULL
},
17663 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17664 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17665 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17666 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17667 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17668 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17669 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17670 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17671 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
)_wrap_HtmlContainerCell_GetBackgroundColour
, METH_O
, NULL
},
17672 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17673 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
)_wrap_HtmlContainerCell_GetFirstChild
, METH_O
, NULL
},
17674 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
17675 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit
, METH_VARARGS
, NULL
},
17676 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17677 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
17678 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit
, METH_VARARGS
, NULL
},
17679 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17680 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
17681 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit
, METH_VARARGS
, NULL
},
17682 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17683 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
17684 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit
, METH_VARARGS
, NULL
},
17685 { (char *)"new_HtmlFilter", (PyCFunction
)_wrap_new_HtmlFilter
, METH_NOARGS
, NULL
},
17686 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17687 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
17688 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit
, METH_VARARGS
, NULL
},
17689 { (char *)"delete_HtmlWindowInterface", (PyCFunction
)_wrap_delete_HtmlWindowInterface
, METH_O
, NULL
},
17690 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLWindowTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17691 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction
) _wrap_HtmlWindowInterface_HTMLCoordsToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17692 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLWindow
, METH_O
, NULL
},
17693 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour
, METH_O
, NULL
},
17694 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17695 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17696 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17697 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister
, METH_VARARGS
, NULL
},
17698 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17699 { (char *)"new_PreHtmlWindow", (PyCFunction
)_wrap_new_PreHtmlWindow
, METH_NOARGS
, NULL
},
17700 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17701 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17702 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17703 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17704 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17705 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17706 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPage
, METH_O
, NULL
},
17707 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
)_wrap_HtmlWindow_GetOpenedAnchor
, METH_O
, NULL
},
17708 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPageTitle
, METH_O
, NULL
},
17709 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17710 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
)_wrap_HtmlWindow_GetRelatedFrame
, METH_O
, NULL
},
17711 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17712 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17713 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17714 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17715 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17716 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17717 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17718 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
)_wrap_HtmlWindow_HistoryBack
, METH_O
, NULL
},
17719 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
)_wrap_HtmlWindow_HistoryForward
, METH_O
, NULL
},
17720 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
)_wrap_HtmlWindow_HistoryCanBack
, METH_O
, NULL
},
17721 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
)_wrap_HtmlWindow_HistoryCanForward
, METH_O
, NULL
},
17722 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
)_wrap_HtmlWindow_HistoryClear
, METH_O
, NULL
},
17723 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
)_wrap_HtmlWindow_GetInternalRepresentation
, METH_O
, NULL
},
17724 { (char *)"HtmlWindow_GetParser", (PyCFunction
)_wrap_HtmlWindow_GetParser
, METH_O
, NULL
},
17725 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17726 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17727 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17728 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17729 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17730 { (char *)"HtmlWindow_SelectAll", (PyCFunction
)_wrap_HtmlWindow_SelectAll
, METH_O
, NULL
},
17731 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
)_wrap_HtmlWindow_SelectionToText
, METH_O
, NULL
},
17732 { (char *)"HtmlWindow_ToText", (PyCFunction
)_wrap_HtmlWindow_ToText
, METH_O
, NULL
},
17733 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17734 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17735 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17736 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17737 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction
) _wrap_HtmlWindow_OnOpeningURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17738 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17739 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction
) _wrap_HtmlWindow_GetDefaultHTMLCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17740 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
17741 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit
, METH_VARARGS
, NULL
},
17742 { (char *)"new_HtmlDCRenderer", (PyCFunction
)_wrap_new_HtmlDCRenderer
, METH_NOARGS
, NULL
},
17743 { (char *)"delete_HtmlDCRenderer", (PyCFunction
)_wrap_delete_HtmlDCRenderer
, METH_O
, NULL
},
17744 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17745 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17746 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17747 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17748 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17749 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17750 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
)_wrap_HtmlDCRenderer_GetTotalHeight
, METH_O
, NULL
},
17751 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
17752 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit
, METH_VARARGS
, NULL
},
17753 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17754 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17755 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17756 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17757 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17758 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17759 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17760 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17761 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17762 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
)_wrap_HtmlPrintout_CleanUpStatics
, METH_NOARGS
, NULL
},
17763 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
17764 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit
, METH_VARARGS
, NULL
},
17765 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17766 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
)_wrap_delete_HtmlEasyPrinting
, METH_O
, NULL
},
17767 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17768 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17769 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17770 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17771 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
)_wrap_HtmlEasyPrinting_PageSetup
, METH_O
, NULL
},
17772 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17773 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17774 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17775 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17776 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPrintData
, METH_O
, NULL
},
17777 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPageSetupData
, METH_O
, NULL
},
17778 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
17779 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit
, METH_VARARGS
, NULL
},
17780 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17781 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
)_wrap_HtmlBookRecord_GetBookFile
, METH_O
, NULL
},
17782 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
)_wrap_HtmlBookRecord_GetTitle
, METH_O
, NULL
},
17783 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
)_wrap_HtmlBookRecord_GetStart
, METH_O
, NULL
},
17784 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
)_wrap_HtmlBookRecord_GetBasePath
, METH_O
, NULL
},
17785 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17786 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsStart
, METH_O
, NULL
},
17787 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsEnd
, METH_O
, NULL
},
17788 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17789 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17790 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17791 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17792 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
17793 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit
, METH_VARARGS
, NULL
},
17794 { (char *)"HtmlSearchStatus_Search", (PyCFunction
)_wrap_HtmlSearchStatus_Search
, METH_O
, NULL
},
17795 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
)_wrap_HtmlSearchStatus_IsActive
, METH_O
, NULL
},
17796 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetCurIndex
, METH_O
, NULL
},
17797 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetMaxIndex
, METH_O
, NULL
},
17798 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
)_wrap_HtmlSearchStatus_GetName
, METH_O
, NULL
},
17799 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
17800 { (char *)"new_HtmlHelpData", (PyCFunction
)_wrap_new_HtmlHelpData
, METH_NOARGS
, NULL
},
17801 { (char *)"delete_HtmlHelpData", (PyCFunction
)_wrap_delete_HtmlHelpData
, METH_O
, NULL
},
17802 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17803 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17804 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17805 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17806 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
)_wrap_HtmlHelpData_GetBookRecArray
, METH_O
, NULL
},
17807 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
17808 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit
, METH_VARARGS
, NULL
},
17809 { (char *)"new_HtmlHelpWindow", (PyCFunction
) _wrap_new_HtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17810 { (char *)"new_PreHtmlHelpWindow", (PyCFunction
) _wrap_new_PreHtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17811 { (char *)"HtmlHelpWindow_Create", (PyCFunction
) _wrap_HtmlHelpWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17812 { (char *)"HtmlHelpWindow_GetData", (PyCFunction
)_wrap_HtmlHelpWindow_GetData
, METH_O
, NULL
},
17813 { (char *)"HtmlHelpWindow_GetController", (PyCFunction
)_wrap_HtmlHelpWindow_GetController
, METH_O
, NULL
},
17814 { (char *)"HtmlHelpWindow_SetController", (PyCFunction
) _wrap_HtmlHelpWindow_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17815 { (char *)"HtmlHelpWindow_Display", (PyCFunction
) _wrap_HtmlHelpWindow_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17816 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction
) _wrap_HtmlHelpWindow_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17817 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayContents
, METH_O
, NULL
},
17818 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayIndex
, METH_O
, NULL
},
17819 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpWindow_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17820 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction
) _wrap_HtmlHelpWindow_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17821 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17822 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17823 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction
)_wrap_HtmlHelpWindow_NotifyPageChanged
, METH_O
, NULL
},
17824 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction
)_wrap_HtmlHelpWindow_RefreshLists
, METH_O
, NULL
},
17825 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetHtmlWindow
, METH_O
, NULL
},
17826 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetSplitterWindow
, METH_O
, NULL
},
17827 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction
)_wrap_HtmlHelpWindow_GetToolBar
, METH_O
, NULL
},
17828 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction
)_wrap_HtmlHelpWindow_GetCfgData
, METH_O
, NULL
},
17829 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction
)_wrap_HtmlHelpWindow_GetTreeCtrl
, METH_O
, NULL
},
17830 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister
, METH_VARARGS
, NULL
},
17831 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit
, METH_VARARGS
, NULL
},
17832 { (char *)"new_HtmlWindowEvent", (PyCFunction
) _wrap_new_HtmlWindowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17833 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction
) _wrap_HtmlWindowEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17834 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction
)_wrap_HtmlWindowEvent_GetURL
, METH_O
, NULL
},
17835 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister
, METH_VARARGS
, NULL
},
17836 { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit
, METH_VARARGS
, NULL
},
17837 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17838 { (char *)"new_PreHtmlHelpFrame", (PyCFunction
) _wrap_new_PreHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17839 { (char *)"HtmlHelpFrame_Create", (PyCFunction
) _wrap_HtmlHelpFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17840 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
)_wrap_HtmlHelpFrame_GetData
, METH_O
, NULL
},
17841 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17842 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction
)_wrap_HtmlHelpFrame_AddGrabIfNeeded
, METH_O
, NULL
},
17843 { (char *)"HtmlHelpFrame_GetController", (PyCFunction
)_wrap_HtmlHelpFrame_GetController
, METH_O
, NULL
},
17844 { (char *)"HtmlHelpFrame_SetController", (PyCFunction
) _wrap_HtmlHelpFrame_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17845 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpFrame_GetHelpWindow
, METH_O
, NULL
},
17846 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
17847 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit
, METH_VARARGS
, NULL
},
17848 { (char *)"new_HtmlHelpDialog", (PyCFunction
) _wrap_new_HtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17849 { (char *)"new_PreHtmlHelpDialog", (PyCFunction
) _wrap_new_PreHtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17850 { (char *)"HtmlHelpDialog_Create", (PyCFunction
) _wrap_HtmlHelpDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17851 { (char *)"HtmlHelpDialog_GetData", (PyCFunction
)_wrap_HtmlHelpDialog_GetData
, METH_O
, NULL
},
17852 { (char *)"HtmlHelpDialog_GetController", (PyCFunction
)_wrap_HtmlHelpDialog_GetController
, METH_O
, NULL
},
17853 { (char *)"HtmlHelpDialog_SetController", (PyCFunction
) _wrap_HtmlHelpDialog_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17854 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpDialog_GetHelpWindow
, METH_O
, NULL
},
17855 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpDialog_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17856 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister
, METH_VARARGS
, NULL
},
17857 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit
, METH_VARARGS
, NULL
},
17858 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize
, METH_VARARGS
, NULL
},
17859 { (char *)"HelpControllerBase_SetViewer", (PyCFunction
) _wrap_HelpControllerBase_SetViewer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17860 { (char *)"HelpControllerBase_LoadFile", (PyCFunction
) _wrap_HelpControllerBase_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17861 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction
)_wrap_HelpControllerBase_DisplayContents
, METH_O
, NULL
},
17862 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayContextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17863 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayTextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17864 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection
, METH_VARARGS
, NULL
},
17865 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction
) _wrap_HelpControllerBase_DisplayBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17866 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction
) _wrap_HelpControllerBase_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17867 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_SetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17868 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_GetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17869 { (char *)"HelpControllerBase_Quit", (PyCFunction
)_wrap_HelpControllerBase_Quit
, METH_O
, NULL
},
17870 { (char *)"HelpControllerBase_OnQuit", (PyCFunction
)_wrap_HelpControllerBase_OnQuit
, METH_O
, NULL
},
17871 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction
) _wrap_HelpControllerBase_SetParentWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17872 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction
)_wrap_HelpControllerBase_GetParentWindow
, METH_O
, NULL
},
17873 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister
, METH_VARARGS
, NULL
},
17874 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17875 { (char *)"delete_HtmlHelpController", (PyCFunction
)_wrap_delete_HtmlHelpController
, METH_O
, NULL
},
17876 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpController_GetHelpWindow
, METH_O
, NULL
},
17877 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction
) _wrap_HtmlHelpController_SetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17878 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
)_wrap_HtmlHelpController_GetFrame
, METH_O
, NULL
},
17879 { (char *)"HtmlHelpController_GetDialog", (PyCFunction
)_wrap_HtmlHelpController_GetDialog
, METH_O
, NULL
},
17880 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17881 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17882 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17883 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17884 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17885 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
)_wrap_HtmlHelpController_DisplayContents
, METH_O
, NULL
},
17886 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpController_DisplayIndex
, METH_O
, NULL
},
17887 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17888 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17889 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17890 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17891 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction
)_wrap_HtmlHelpController_MakeModalIfNeeded
, METH_O
, NULL
},
17892 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction
)_wrap_HtmlHelpController_FindTopLevelWindow
, METH_O
, NULL
},
17893 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
17894 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit
, METH_VARARGS
, NULL
},
17895 { (char *)"new_HtmlModalHelp", (PyCFunction
) _wrap_new_HtmlModalHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17896 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister
, METH_VARARGS
, NULL
},
17897 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit
, METH_VARARGS
, NULL
},
17898 { NULL
, NULL
, 0, NULL
}
17902 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17904 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
17905 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
17907 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
17908 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17910 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
17911 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
17913 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
17914 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
17916 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
17917 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
17919 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
17920 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
17922 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
17923 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
17925 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
17926 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17928 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
17929 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
17931 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
17932 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
17934 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
17935 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
17937 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
17938 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17940 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
17941 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
17943 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
17944 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
17946 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
17947 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
17949 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
17950 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17952 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
17953 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
17955 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
17956 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
17958 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
17959 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
17961 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
17962 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
17964 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
17965 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
17967 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
17968 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
17970 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
17971 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
17973 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
17974 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
17976 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
17977 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
17979 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
17980 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
17982 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
17983 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17985 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
17986 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
17988 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
17989 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
17991 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
17992 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
17994 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
17995 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
17997 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
17998 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
18000 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
18001 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
18003 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
18004 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18006 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18007 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18009 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18010 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18012 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18013 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18015 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x
) {
18016 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18018 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18019 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18021 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18022 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18024 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18025 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18027 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18028 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18030 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18031 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18033 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18034 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18036 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18037 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18039 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
18040 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18042 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
18043 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18045 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
18046 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18048 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
18049 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18051 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
18052 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18054 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x
) {
18055 return (void *)((wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18057 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
18058 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18060 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
18061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18063 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
18064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18066 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
18067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18069 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
18070 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
18072 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
18073 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
18075 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
18076 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
18078 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
18079 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
18081 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
18082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18084 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
18085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18087 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
18088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18090 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
18091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18093 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
18094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18096 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
18097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18099 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
18100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18102 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
18103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18105 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
18106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18108 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
18109 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
18111 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
18112 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
18114 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
18115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18117 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
18118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18120 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
18121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18123 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
18124 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
18126 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
18127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18129 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
18130 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
18132 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
18133 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
18135 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
18136 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
18138 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
18139 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
18141 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
18142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18144 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
18145 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
18147 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
18148 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
18150 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
18151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18153 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
18154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18156 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x
) {
18157 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18159 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
18160 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
18162 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
18163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18165 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
18166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18168 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
18169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18171 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
18172 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
18174 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
18175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18177 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
18178 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
18180 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
18181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18183 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
18184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18186 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
18187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18189 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18192 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18195 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
18196 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18198 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
18199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18201 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
18202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18204 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
18205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18207 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
18208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18210 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
18211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18213 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
18214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18216 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x
) {
18217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18219 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
18220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18222 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
18223 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18225 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
18226 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
18228 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
18229 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
18231 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
18232 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
18234 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
18235 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18237 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
18238 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
18240 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
18241 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18243 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
18244 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
18246 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
18247 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
18249 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
18250 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18252 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18253 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18255 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
18256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18258 static void *_p_wxEventTo_p_wxObject(void *x
) {
18259 return (void *)((wxObject
*) ((wxEvent
*) x
));
18261 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
18262 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18264 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18265 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18267 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18268 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18270 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
18271 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18273 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18276 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18279 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
18280 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
18282 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18283 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18285 static void *_p_wxImageTo_p_wxObject(void *x
) {
18286 return (void *)((wxObject
*) ((wxImage
*) x
));
18288 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18289 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18291 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
18292 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
18294 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
18295 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18297 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
18298 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
18300 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18301 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18303 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
18304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18306 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
18307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18309 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
18310 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
18312 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18313 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18315 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18318 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18319 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18321 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18322 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18324 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18325 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18327 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
18328 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
18330 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18333 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
18334 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
18336 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
18337 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
18339 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
18340 return (void *)((wxObject
*) ((wxPrinter
*) x
));
18342 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18345 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
18346 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
18348 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
18349 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
18351 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18352 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18354 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18355 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18357 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18358 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18360 static void *_p_wxControlTo_p_wxObject(void *x
) {
18361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18363 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
18364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18366 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
18367 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18369 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
18370 return (void *)((wxObject
*) ((wxColourData
*) x
));
18372 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18373 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18375 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18376 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18378 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18379 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18381 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18382 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18384 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18385 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18387 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18388 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18390 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18393 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18394 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18396 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
18397 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
18399 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
18400 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18402 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
18403 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18405 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
18406 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
18408 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
18409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18411 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
18412 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
18414 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18415 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18417 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18418 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18420 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18423 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
18424 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
18426 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
18427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18429 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
18430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18432 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
18433 return (void *)((wxObject
*) ((wxPrintData
*) x
));
18435 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
18436 return (void *)((wxObject
*) ((wxFontData
*) x
));
18438 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
18439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18441 static void *_p_wxFrameTo_p_wxObject(void *x
) {
18442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18444 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18447 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18448 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18450 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
18451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18453 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18454 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18456 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
18457 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
18459 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
18460 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
18462 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18463 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18465 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18466 return (void *)((wxObject
*) ((wxSizer
*) x
));
18468 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18469 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18471 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18472 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18474 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18475 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18477 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
18478 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18480 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18481 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18483 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18484 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18486 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
18487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
18489 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18490 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18492 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
18493 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18495 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18496 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18498 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18499 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18501 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18502 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18504 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18505 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18507 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
18508 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
18510 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
18511 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
18513 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
18514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18516 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
18517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18519 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
18520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18522 static void *_p_wxDialogTo_p_wxObject(void *x
) {
18523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18525 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18526 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18528 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18529 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18531 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x
) {
18532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18534 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
18535 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18537 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
18538 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
18540 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18541 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18543 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18544 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18546 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18547 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18549 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18550 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18552 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
18553 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
18555 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18556 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18558 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18559 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18561 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18562 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18564 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18565 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18567 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18568 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18570 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18571 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18573 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18574 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18576 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18577 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18579 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18580 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18582 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x
) {
18583 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18585 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18586 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18588 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x
) {
18589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18591 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
18592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18594 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
18595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18597 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
18598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
18600 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
18601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18603 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
18604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18606 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
18607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18609 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
18610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
18612 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
18613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18615 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
18616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
18618 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
18619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
18621 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
18622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
18624 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
18625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
18627 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
18628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18630 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18631 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18633 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x
) {
18634 return (void *)((wxObject
*) ((wxHelpControllerBase
*) x
));
18636 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
18637 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
18639 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
18640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18642 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
18643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18645 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
18646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18648 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
18649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18651 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
18652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18654 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
18655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18657 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
18658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18660 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
18661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18663 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
18664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18666 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
18667 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
18669 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
18670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
18672 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18673 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18675 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18676 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18678 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18679 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18681 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18682 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18684 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
18685 return (void *)((wxObject
*) (wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
18687 static void *_p_wxPanelTo_p_wxObject(void *x
) {
18688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
18690 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
18691 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18693 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18694 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18696 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
18697 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
18699 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18700 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18702 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18703 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18705 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18706 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18708 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18711 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
18712 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18714 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
18715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
18717 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18720 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18721 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18723 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18724 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18726 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
18727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18729 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
18730 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18732 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18735 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
18736 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18738 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
18739 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18741 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
18742 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
18744 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18745 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18747 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
18748 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18750 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
18751 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18753 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
18754 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18756 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
18757 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18759 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
18760 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18762 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
18763 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18765 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
18766 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18768 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
18769 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18771 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
18772 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18774 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
18775 return (void *)((wxWindow
*) ((wxPanel
*) x
));
18777 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
18778 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
18780 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
18781 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18783 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
18784 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18786 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
18787 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18789 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
18790 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
18792 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
18793 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18795 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
18796 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
18798 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
18799 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
18801 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
18802 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
18804 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
18805 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
18807 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
18808 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
18810 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
18811 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
18813 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
18814 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18816 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
18817 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18819 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x
) {
18820 return (void *)((wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18822 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18823 return (void *)((wxWindow
*) ((wxControl
*) x
));
18825 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
18826 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18828 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
18829 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18831 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
18832 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18834 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18835 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18837 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
18838 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
18840 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
18841 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18843 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
18844 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18846 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
18847 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18849 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
18850 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
18852 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
18853 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18855 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
18856 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18858 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
18859 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
18861 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
18862 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18864 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
18865 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18867 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
18868 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18870 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
18871 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
18873 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x
) {
18874 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18876 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
18877 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18879 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
18880 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18882 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
18883 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18885 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
18886 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18888 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
18889 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
18891 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
18892 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
18894 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
18895 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
18897 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
18898 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
18900 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
18901 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
18903 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
18904 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
18906 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x
) {
18907 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18909 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
18910 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
18912 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
18913 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
18915 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
18916 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
18918 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
18919 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
18921 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18922 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
18924 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18925 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18927 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18928 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
18930 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
18931 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18933 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
18934 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18936 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
18937 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
18939 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
18940 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
18942 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
18943 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
18945 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
18946 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18948 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
18949 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
18951 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
18952 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18954 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
18955 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
18957 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
18958 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
18960 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
18961 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
18963 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x
) {
18964 return (void *)((wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18966 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
18967 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
18969 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
18970 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18972 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
18973 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18975 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
18976 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
18978 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
18979 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18981 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
18982 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
18984 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
18985 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
18987 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
18988 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
18990 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
18991 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
18993 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
18994 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18996 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
18997 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18999 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
19000 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
19002 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
19003 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19005 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
19006 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19008 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
19009 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
19011 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
19012 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19014 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
19015 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
19017 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
19018 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19020 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
19021 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
19023 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x
) {
19024 return (void *)((wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
19026 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19027 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19029 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19030 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19032 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19033 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19035 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
19036 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
19038 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19039 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19041 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19042 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19044 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19045 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19047 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19048 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19050 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
19051 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
19053 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19054 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19056 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19057 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19059 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x
) {
19060 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
19062 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19063 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19065 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19066 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19068 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19069 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
19070 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};
19071 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
19072 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19073 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19074 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19075 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
19076 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19077 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19078 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19079 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19080 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19081 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19082 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
19083 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19084 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19085 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19086 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19087 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19088 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19089 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19090 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19091 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19092 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19093 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19094 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
= {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19095 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19096 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19097 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19098 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19099 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19100 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19101 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19102 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19103 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19104 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
19105 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19106 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19107 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19108 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19109 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19110 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19111 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19112 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19113 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19114 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19115 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19116 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19117 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19118 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19119 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19120 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19121 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19122 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19123 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19124 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19125 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19126 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19127 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19128 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19129 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19130 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19131 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19132 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19133 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19134 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19135 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19136 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19137 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19138 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19139 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19140 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19141 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19142 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
19143 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19144 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19145 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19146 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19147 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19148 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19149 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19150 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19151 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19152 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19153 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19154 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19155 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19156 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19157 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
19158 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19159 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
19160 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19161 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19162 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19163 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19164 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19165 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19166 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19167 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19168 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
19169 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19170 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19171 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19172 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19173 static swig_type_info _swigt__p_wxHelpControllerBase
= {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19174 static swig_type_info _swigt__p_wxHelpSearchMode
= {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19175 static swig_type_info _swigt__p_wxHtmlBookRecArray
= {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19176 static swig_type_info _swigt__p_wxHtmlBookRecord
= {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19177 static swig_type_info _swigt__p_wxHtmlCell
= {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19178 static swig_type_info _swigt__p_wxHtmlColourCell
= {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19179 static swig_type_info _swigt__p_wxHtmlContainerCell
= {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19180 static swig_type_info _swigt__p_wxHtmlDCRenderer
= {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19181 static swig_type_info _swigt__p_wxHtmlEasyPrinting
= {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19182 static swig_type_info _swigt__p_wxHtmlFilter
= {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19183 static swig_type_info _swigt__p_wxHtmlFontCell
= {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19184 static swig_type_info _swigt__p_wxHtmlHelpController
= {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19185 static swig_type_info _swigt__p_wxHtmlHelpData
= {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19186 static swig_type_info _swigt__p_wxHtmlHelpDialog
= {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19187 static swig_type_info _swigt__p_wxHtmlHelpFrame
= {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19188 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg
= {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19189 static swig_type_info _swigt__p_wxHtmlHelpWindow
= {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19190 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19191 static swig_type_info _swigt__p_wxHtmlModalHelp
= {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19192 static swig_type_info _swigt__p_wxHtmlParser
= {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19193 static swig_type_info _swigt__p_wxHtmlPrintout
= {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19194 static swig_type_info _swigt__p_wxHtmlRenderingInfo
= {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19195 static swig_type_info _swigt__p_wxHtmlRenderingState
= {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19196 static swig_type_info _swigt__p_wxHtmlRenderingStyle
= {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19197 static swig_type_info _swigt__p_wxHtmlSearchStatus
= {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19198 static swig_type_info _swigt__p_wxHtmlSelection
= {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19199 static swig_type_info _swigt__p_wxHtmlTag
= {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19200 static swig_type_info _swigt__p_wxHtmlTagHandler
= {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19201 static swig_type_info _swigt__p_wxHtmlWidgetCell
= {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19202 static swig_type_info _swigt__p_wxHtmlWinParser
= {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19203 static swig_type_info _swigt__p_wxHtmlWindow
= {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
19204 static swig_type_info _swigt__p_wxHtmlWindowEvent
= {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0};
19205 static swig_type_info _swigt__p_wxHtmlWindowInterface
= {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19206 static swig_type_info _swigt__p_wxHtmlWordCell
= {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19207 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19208 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
19209 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19210 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19211 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19212 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
19213 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
19214 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19215 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19216 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19217 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
19218 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19219 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19220 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19221 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
19222 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19223 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
19224 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19225 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19226 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19227 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19228 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
19229 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19230 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19231 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
19232 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19233 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19234 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19235 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19236 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19237 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19238 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19239 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19240 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19241 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19242 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19243 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19244 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19245 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19246 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19247 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19248 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19249 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19250 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19251 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19252 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19253 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19254 static swig_type_info _swigt__p_wxPyHtmlFilter
= {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19255 static swig_type_info _swigt__p_wxPyHtmlTagHandler
= {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19256 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
= {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19257 static swig_type_info _swigt__p_wxPyHtmlWindow
= {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19258 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19259 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19260 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19261 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19262 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19263 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19264 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
19265 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19266 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19268 static swig_type_info
*swig_type_initial
[] = {
19271 &_swigt__p_form_ops_t
,
19273 &_swigt__p_unsigned_char
,
19274 &_swigt__p_unsigned_int
,
19275 &_swigt__p_unsigned_long
,
19276 &_swigt__p_wxANIHandler
,
19277 &_swigt__p_wxAcceleratorTable
,
19278 &_swigt__p_wxActivateEvent
,
19279 &_swigt__p_wxArrayInt
,
19280 &_swigt__p_wxBMPHandler
,
19281 &_swigt__p_wxBitmap
,
19282 &_swigt__p_wxBoxSizer
,
19283 &_swigt__p_wxCURHandler
,
19284 &_swigt__p_wxCalculateLayoutEvent
,
19285 &_swigt__p_wxChildFocusEvent
,
19286 &_swigt__p_wxClipboardTextEvent
,
19287 &_swigt__p_wxCloseEvent
,
19288 &_swigt__p_wxColour
,
19289 &_swigt__p_wxColourData
,
19290 &_swigt__p_wxColourDialog
,
19291 &_swigt__p_wxCommandEvent
,
19292 &_swigt__p_wxConfigBase
,
19293 &_swigt__p_wxContextMenuEvent
,
19294 &_swigt__p_wxControl
,
19295 &_swigt__p_wxControlWithItems
,
19296 &_swigt__p_wxCursor
,
19298 &_swigt__p_wxDateEvent
,
19299 &_swigt__p_wxDefaultHtmlRenderingStyle
,
19300 &_swigt__p_wxDialog
,
19301 &_swigt__p_wxDirDialog
,
19302 &_swigt__p_wxDisplayChangedEvent
,
19303 &_swigt__p_wxDropFilesEvent
,
19304 &_swigt__p_wxDuplexMode
,
19305 &_swigt__p_wxEraseEvent
,
19306 &_swigt__p_wxEvent
,
19307 &_swigt__p_wxEvtHandler
,
19308 &_swigt__p_wxFSFile
,
19309 &_swigt__p_wxFileDialog
,
19310 &_swigt__p_wxFileSystem
,
19311 &_swigt__p_wxFindDialogEvent
,
19312 &_swigt__p_wxFindReplaceData
,
19313 &_swigt__p_wxFindReplaceDialog
,
19314 &_swigt__p_wxFlexGridSizer
,
19315 &_swigt__p_wxFocusEvent
,
19317 &_swigt__p_wxFontData
,
19318 &_swigt__p_wxFontDialog
,
19319 &_swigt__p_wxFrame
,
19320 &_swigt__p_wxGBSizerItem
,
19321 &_swigt__p_wxGIFHandler
,
19322 &_swigt__p_wxGridBagSizer
,
19323 &_swigt__p_wxGridSizer
,
19324 &_swigt__p_wxHelpControllerBase
,
19325 &_swigt__p_wxHelpSearchMode
,
19326 &_swigt__p_wxHtmlBookRecArray
,
19327 &_swigt__p_wxHtmlBookRecord
,
19328 &_swigt__p_wxHtmlCell
,
19329 &_swigt__p_wxHtmlColourCell
,
19330 &_swigt__p_wxHtmlContainerCell
,
19331 &_swigt__p_wxHtmlDCRenderer
,
19332 &_swigt__p_wxHtmlEasyPrinting
,
19333 &_swigt__p_wxHtmlFilter
,
19334 &_swigt__p_wxHtmlFontCell
,
19335 &_swigt__p_wxHtmlHelpController
,
19336 &_swigt__p_wxHtmlHelpData
,
19337 &_swigt__p_wxHtmlHelpDialog
,
19338 &_swigt__p_wxHtmlHelpFrame
,
19339 &_swigt__p_wxHtmlHelpFrameCfg
,
19340 &_swigt__p_wxHtmlHelpWindow
,
19341 &_swigt__p_wxHtmlLinkInfo
,
19342 &_swigt__p_wxHtmlModalHelp
,
19343 &_swigt__p_wxHtmlParser
,
19344 &_swigt__p_wxHtmlPrintout
,
19345 &_swigt__p_wxHtmlRenderingInfo
,
19346 &_swigt__p_wxHtmlRenderingState
,
19347 &_swigt__p_wxHtmlRenderingStyle
,
19348 &_swigt__p_wxHtmlSearchStatus
,
19349 &_swigt__p_wxHtmlSelection
,
19350 &_swigt__p_wxHtmlTag
,
19351 &_swigt__p_wxHtmlTagHandler
,
19352 &_swigt__p_wxHtmlWidgetCell
,
19353 &_swigt__p_wxHtmlWinParser
,
19354 &_swigt__p_wxHtmlWindow
,
19355 &_swigt__p_wxHtmlWindowEvent
,
19356 &_swigt__p_wxHtmlWindowInterface
,
19357 &_swigt__p_wxHtmlWordCell
,
19358 &_swigt__p_wxICOHandler
,
19359 &_swigt__p_wxIconizeEvent
,
19360 &_swigt__p_wxIdleEvent
,
19361 &_swigt__p_wxImage
,
19362 &_swigt__p_wxImageHandler
,
19363 &_swigt__p_wxIndividualLayoutConstraint
,
19364 &_swigt__p_wxInitDialogEvent
,
19365 &_swigt__p_wxJPEGHandler
,
19366 &_swigt__p_wxKeyEvent
,
19367 &_swigt__p_wxLayoutAlgorithm
,
19368 &_swigt__p_wxLayoutConstraints
,
19369 &_swigt__p_wxMDIChildFrame
,
19370 &_swigt__p_wxMDIClientWindow
,
19371 &_swigt__p_wxMDIParentFrame
,
19372 &_swigt__p_wxMaximizeEvent
,
19374 &_swigt__p_wxMenuBar
,
19375 &_swigt__p_wxMenuEvent
,
19376 &_swigt__p_wxMenuItem
,
19377 &_swigt__p_wxMessageDialog
,
19378 &_swigt__p_wxMiniFrame
,
19379 &_swigt__p_wxMouseCaptureChangedEvent
,
19380 &_swigt__p_wxMouseEvent
,
19381 &_swigt__p_wxMoveEvent
,
19382 &_swigt__p_wxMultiChoiceDialog
,
19383 &_swigt__p_wxNavigationKeyEvent
,
19384 &_swigt__p_wxNcPaintEvent
,
19385 &_swigt__p_wxNotifyEvent
,
19386 &_swigt__p_wxNumberEntryDialog
,
19387 &_swigt__p_wxObject
,
19388 &_swigt__p_wxPCXHandler
,
19389 &_swigt__p_wxPNGHandler
,
19390 &_swigt__p_wxPNMHandler
,
19391 &_swigt__p_wxPageSetupDialog
,
19392 &_swigt__p_wxPageSetupDialogData
,
19393 &_swigt__p_wxPaintEvent
,
19394 &_swigt__p_wxPaletteChangedEvent
,
19395 &_swigt__p_wxPanel
,
19396 &_swigt__p_wxPaperSize
,
19397 &_swigt__p_wxPasswordEntryDialog
,
19398 &_swigt__p_wxPoint
,
19399 &_swigt__p_wxPopupWindow
,
19400 &_swigt__p_wxPreviewCanvas
,
19401 &_swigt__p_wxPreviewControlBar
,
19402 &_swigt__p_wxPreviewFrame
,
19403 &_swigt__p_wxPrintData
,
19404 &_swigt__p_wxPrintDialog
,
19405 &_swigt__p_wxPrintDialogData
,
19406 &_swigt__p_wxPrintPreview
,
19407 &_swigt__p_wxPrinter
,
19408 &_swigt__p_wxProgressDialog
,
19409 &_swigt__p_wxPyApp
,
19410 &_swigt__p_wxPyCommandEvent
,
19411 &_swigt__p_wxPyEvent
,
19412 &_swigt__p_wxPyHtmlFilter
,
19413 &_swigt__p_wxPyHtmlListBox
,
19414 &_swigt__p_wxPyHtmlTagHandler
,
19415 &_swigt__p_wxPyHtmlWinTagHandler
,
19416 &_swigt__p_wxPyHtmlWindow
,
19417 &_swigt__p_wxPyImageHandler
,
19418 &_swigt__p_wxPyPanel
,
19419 &_swigt__p_wxPyPopupTransientWindow
,
19420 &_swigt__p_wxPyPreviewControlBar
,
19421 &_swigt__p_wxPyPreviewFrame
,
19422 &_swigt__p_wxPyPrintPreview
,
19423 &_swigt__p_wxPyPrintout
,
19424 &_swigt__p_wxPyScrolledWindow
,
19425 &_swigt__p_wxPySizer
,
19426 &_swigt__p_wxPyTaskBarIcon
,
19427 &_swigt__p_wxPyVListBox
,
19428 &_swigt__p_wxPyVScrolledWindow
,
19429 &_swigt__p_wxPyValidator
,
19430 &_swigt__p_wxPyWindow
,
19431 &_swigt__p_wxQueryLayoutInfoEvent
,
19432 &_swigt__p_wxQueryNewPaletteEvent
,
19433 &_swigt__p_wxSashEvent
,
19434 &_swigt__p_wxSashLayoutWindow
,
19435 &_swigt__p_wxSashWindow
,
19436 &_swigt__p_wxScrollEvent
,
19437 &_swigt__p_wxScrollWinEvent
,
19438 &_swigt__p_wxScrolledWindow
,
19439 &_swigt__p_wxSetCursorEvent
,
19440 &_swigt__p_wxShowEvent
,
19441 &_swigt__p_wxSingleChoiceDialog
,
19443 &_swigt__p_wxSizeEvent
,
19444 &_swigt__p_wxSizer
,
19445 &_swigt__p_wxSizerItem
,
19446 &_swigt__p_wxSplashScreen
,
19447 &_swigt__p_wxSplashScreenWindow
,
19448 &_swigt__p_wxSplitterEvent
,
19449 &_swigt__p_wxSplitterWindow
,
19450 &_swigt__p_wxStaticBoxSizer
,
19451 &_swigt__p_wxStatusBar
,
19452 &_swigt__p_wxStdDialogButtonSizer
,
19453 &_swigt__p_wxString
,
19454 &_swigt__p_wxSysColourChangedEvent
,
19455 &_swigt__p_wxTIFFHandler
,
19456 &_swigt__p_wxTaskBarIconEvent
,
19457 &_swigt__p_wxTextEntryDialog
,
19458 &_swigt__p_wxTipWindow
,
19459 &_swigt__p_wxTopLevelWindow
,
19460 &_swigt__p_wxTreeCtrl
,
19461 &_swigt__p_wxUpdateUIEvent
,
19462 &_swigt__p_wxValidator
,
19463 &_swigt__p_wxVisualAttributes
,
19464 &_swigt__p_wxWindow
,
19465 &_swigt__p_wxWindowCreateEvent
,
19466 &_swigt__p_wxWindowDestroyEvent
,
19467 &_swigt__p_wxXPMHandler
,
19470 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
19471 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
19472 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
19473 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
19474 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
19475 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
19476 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
19477 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
19478 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
19479 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
19480 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
19481 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19482 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
19483 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
19484 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
19485 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
19486 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19487 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19488 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19489 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19490 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19491 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
19492 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}};
19493 static swig_cast_info _swigc__p_wxConfigBase
[] = { {&_swigt__p_wxConfigBase
, 0, 0, 0},{0, 0, 0, 0}};
19494 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
19495 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
19496 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle
[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle
, 0, 0, 0},{0, 0, 0, 0}};
19497 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
19498 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
19499 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
19500 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
19501 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19502 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19503 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19504 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19505 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19506 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
19507 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19508 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
19509 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
19510 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19511 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19512 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19513 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
19514 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19515 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19516 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
19517 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
19518 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
19519 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19520 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19521 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19522 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19523 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
19524 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19525 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19526 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19527 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19528 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19529 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19530 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19531 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
19532 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
19533 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19534 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19535 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19536 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
19537 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
19538 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}};
19539 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
19540 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
19541 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
19542 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
19543 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
19544 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
19545 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
19546 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
19547 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19548 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19549 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19550 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
19551 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
19552 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
19553 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
19554 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19555 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
19556 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19557 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19558 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
19559 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
19560 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
19561 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
19562 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
19563 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
19564 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
19565 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
19566 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19567 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19568 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
19569 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
19570 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
19571 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
19572 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
19573 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
19574 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}};
19575 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}};
19576 static swig_cast_info _swigc__p_wxHelpSearchMode
[] = { {&_swigt__p_wxHelpSearchMode
, 0, 0, 0},{0, 0, 0, 0}};
19577 static swig_cast_info _swigc__p_wxHtmlBookRecArray
[] = { {&_swigt__p_wxHtmlBookRecArray
, 0, 0, 0},{0, 0, 0, 0}};
19578 static swig_cast_info _swigc__p_wxHtmlBookRecord
[] = { {&_swigt__p_wxHtmlBookRecord
, 0, 0, 0},{0, 0, 0, 0}};
19579 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}};
19580 static swig_cast_info _swigc__p_wxHtmlColourCell
[] = { {&_swigt__p_wxHtmlColourCell
, 0, 0, 0},{0, 0, 0, 0}};
19581 static swig_cast_info _swigc__p_wxHtmlContainerCell
[] = { {&_swigt__p_wxHtmlContainerCell
, 0, 0, 0},{0, 0, 0, 0}};
19582 static swig_cast_info _swigc__p_wxHtmlDCRenderer
[] = { {&_swigt__p_wxHtmlDCRenderer
, 0, 0, 0},{0, 0, 0, 0}};
19583 static swig_cast_info _swigc__p_wxHtmlEasyPrinting
[] = { {&_swigt__p_wxHtmlEasyPrinting
, 0, 0, 0},{0, 0, 0, 0}};
19584 static swig_cast_info _swigc__p_wxHtmlFilter
[] = { {&_swigt__p_wxHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19585 static swig_cast_info _swigc__p_wxHtmlFontCell
[] = { {&_swigt__p_wxHtmlFontCell
, 0, 0, 0},{0, 0, 0, 0}};
19586 static swig_cast_info _swigc__p_wxHtmlHelpController
[] = { {&_swigt__p_wxHtmlHelpController
, 0, 0, 0},{0, 0, 0, 0}};
19587 static swig_cast_info _swigc__p_wxHtmlHelpData
[] = { {&_swigt__p_wxHtmlHelpData
, 0, 0, 0},{0, 0, 0, 0}};
19588 static swig_cast_info _swigc__p_wxHtmlHelpDialog
[] = { {&_swigt__p_wxHtmlHelpDialog
, 0, 0, 0},{0, 0, 0, 0}};
19589 static swig_cast_info _swigc__p_wxHtmlHelpFrame
[] = { {&_swigt__p_wxHtmlHelpFrame
, 0, 0, 0},{0, 0, 0, 0}};
19590 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg
[] = { {&_swigt__p_wxHtmlHelpFrameCfg
, 0, 0, 0},{0, 0, 0, 0}};
19591 static swig_cast_info _swigc__p_wxHtmlHelpWindow
[] = { {&_swigt__p_wxHtmlHelpWindow
, 0, 0, 0},{0, 0, 0, 0}};
19592 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
19593 static swig_cast_info _swigc__p_wxHtmlModalHelp
[] = { {&_swigt__p_wxHtmlModalHelp
, 0, 0, 0},{0, 0, 0, 0}};
19594 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}};
19595 static swig_cast_info _swigc__p_wxHtmlPrintout
[] = { {&_swigt__p_wxHtmlPrintout
, 0, 0, 0},{0, 0, 0, 0}};
19596 static swig_cast_info _swigc__p_wxHtmlRenderingInfo
[] = { {&_swigt__p_wxHtmlRenderingInfo
, 0, 0, 0},{0, 0, 0, 0}};
19597 static swig_cast_info _swigc__p_wxHtmlRenderingState
[] = { {&_swigt__p_wxHtmlRenderingState
, 0, 0, 0},{0, 0, 0, 0}};
19598 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}};
19599 static swig_cast_info _swigc__p_wxHtmlSearchStatus
[] = { {&_swigt__p_wxHtmlSearchStatus
, 0, 0, 0},{0, 0, 0, 0}};
19600 static swig_cast_info _swigc__p_wxHtmlSelection
[] = { {&_swigt__p_wxHtmlSelection
, 0, 0, 0},{0, 0, 0, 0}};
19601 static swig_cast_info _swigc__p_wxHtmlTag
[] = { {&_swigt__p_wxHtmlTag
, 0, 0, 0},{0, 0, 0, 0}};
19602 static swig_cast_info _swigc__p_wxHtmlTagHandler
[] = { {&_swigt__p_wxHtmlTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19603 static swig_cast_info _swigc__p_wxHtmlWidgetCell
[] = { {&_swigt__p_wxHtmlWidgetCell
, 0, 0, 0},{0, 0, 0, 0}};
19604 static swig_cast_info _swigc__p_wxHtmlWinParser
[] = { {&_swigt__p_wxHtmlWinParser
, 0, 0, 0},{0, 0, 0, 0}};
19605 static swig_cast_info _swigc__p_wxHtmlWindow
[] = { {&_swigt__p_wxHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19606 static swig_cast_info _swigc__p_wxHtmlWindowEvent
[] = { {&_swigt__p_wxHtmlWindowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19607 static swig_cast_info _swigc__p_wxHtmlWindowInterface
[] = { {&_swigt__p_wxHtmlWindowInterface
, 0, 0, 0},{0, 0, 0, 0}};
19608 static swig_cast_info _swigc__p_wxHtmlWordCell
[] = { {&_swigt__p_wxHtmlWordCell
, 0, 0, 0},{0, 0, 0, 0}};
19609 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19610 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}};
19611 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
19612 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
19613 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
19614 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
19615 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
19616 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
19617 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19618 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
19619 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19620 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19621 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
19622 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
19623 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
19624 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
19625 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19626 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19627 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
19628 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19629 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19630 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19631 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
19632 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
19633 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19634 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19635 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
19636 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
19637 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19638 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19639 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19640 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19641 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
19642 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
19643 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
19644 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
19645 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19646 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19647 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
19648 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19649 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19650 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_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler
, _p_wxPyHtmlWinTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler
, _p_wxPyHtmlTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpControllerBase
, _p_wxHelpControllerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlDCRenderer
, _p_wxHtmlDCRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlLinkInfo
, _p_wxHtmlLinkInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
19651 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19652 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}};
19653 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
19654 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
19655 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
19656 static swig_cast_info _swigc__p_wxPyHtmlFilter
[] = { {&_swigt__p_wxPyHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19657 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}};
19658 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler
[] = { {&_swigt__p_wxPyHtmlWinTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19659 static swig_cast_info _swigc__p_wxPyHtmlWindow
[] = { {&_swigt__p_wxPyHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19660 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}};
19661 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}};
19662 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
19663 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
19664 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
19665 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
19666 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
19667 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
19668 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
19670 static swig_cast_info
*swig_cast_initial
[] = {
19673 _swigc__p_form_ops_t
,
19675 _swigc__p_unsigned_char
,
19676 _swigc__p_unsigned_int
,
19677 _swigc__p_unsigned_long
,
19678 _swigc__p_wxANIHandler
,
19679 _swigc__p_wxAcceleratorTable
,
19680 _swigc__p_wxActivateEvent
,
19681 _swigc__p_wxArrayInt
,
19682 _swigc__p_wxBMPHandler
,
19683 _swigc__p_wxBitmap
,
19684 _swigc__p_wxBoxSizer
,
19685 _swigc__p_wxCURHandler
,
19686 _swigc__p_wxCalculateLayoutEvent
,
19687 _swigc__p_wxChildFocusEvent
,
19688 _swigc__p_wxClipboardTextEvent
,
19689 _swigc__p_wxCloseEvent
,
19690 _swigc__p_wxColour
,
19691 _swigc__p_wxColourData
,
19692 _swigc__p_wxColourDialog
,
19693 _swigc__p_wxCommandEvent
,
19694 _swigc__p_wxConfigBase
,
19695 _swigc__p_wxContextMenuEvent
,
19696 _swigc__p_wxControl
,
19697 _swigc__p_wxControlWithItems
,
19698 _swigc__p_wxCursor
,
19700 _swigc__p_wxDateEvent
,
19701 _swigc__p_wxDefaultHtmlRenderingStyle
,
19702 _swigc__p_wxDialog
,
19703 _swigc__p_wxDirDialog
,
19704 _swigc__p_wxDisplayChangedEvent
,
19705 _swigc__p_wxDropFilesEvent
,
19706 _swigc__p_wxDuplexMode
,
19707 _swigc__p_wxEraseEvent
,
19709 _swigc__p_wxEvtHandler
,
19710 _swigc__p_wxFSFile
,
19711 _swigc__p_wxFileDialog
,
19712 _swigc__p_wxFileSystem
,
19713 _swigc__p_wxFindDialogEvent
,
19714 _swigc__p_wxFindReplaceData
,
19715 _swigc__p_wxFindReplaceDialog
,
19716 _swigc__p_wxFlexGridSizer
,
19717 _swigc__p_wxFocusEvent
,
19719 _swigc__p_wxFontData
,
19720 _swigc__p_wxFontDialog
,
19722 _swigc__p_wxGBSizerItem
,
19723 _swigc__p_wxGIFHandler
,
19724 _swigc__p_wxGridBagSizer
,
19725 _swigc__p_wxGridSizer
,
19726 _swigc__p_wxHelpControllerBase
,
19727 _swigc__p_wxHelpSearchMode
,
19728 _swigc__p_wxHtmlBookRecArray
,
19729 _swigc__p_wxHtmlBookRecord
,
19730 _swigc__p_wxHtmlCell
,
19731 _swigc__p_wxHtmlColourCell
,
19732 _swigc__p_wxHtmlContainerCell
,
19733 _swigc__p_wxHtmlDCRenderer
,
19734 _swigc__p_wxHtmlEasyPrinting
,
19735 _swigc__p_wxHtmlFilter
,
19736 _swigc__p_wxHtmlFontCell
,
19737 _swigc__p_wxHtmlHelpController
,
19738 _swigc__p_wxHtmlHelpData
,
19739 _swigc__p_wxHtmlHelpDialog
,
19740 _swigc__p_wxHtmlHelpFrame
,
19741 _swigc__p_wxHtmlHelpFrameCfg
,
19742 _swigc__p_wxHtmlHelpWindow
,
19743 _swigc__p_wxHtmlLinkInfo
,
19744 _swigc__p_wxHtmlModalHelp
,
19745 _swigc__p_wxHtmlParser
,
19746 _swigc__p_wxHtmlPrintout
,
19747 _swigc__p_wxHtmlRenderingInfo
,
19748 _swigc__p_wxHtmlRenderingState
,
19749 _swigc__p_wxHtmlRenderingStyle
,
19750 _swigc__p_wxHtmlSearchStatus
,
19751 _swigc__p_wxHtmlSelection
,
19752 _swigc__p_wxHtmlTag
,
19753 _swigc__p_wxHtmlTagHandler
,
19754 _swigc__p_wxHtmlWidgetCell
,
19755 _swigc__p_wxHtmlWinParser
,
19756 _swigc__p_wxHtmlWindow
,
19757 _swigc__p_wxHtmlWindowEvent
,
19758 _swigc__p_wxHtmlWindowInterface
,
19759 _swigc__p_wxHtmlWordCell
,
19760 _swigc__p_wxICOHandler
,
19761 _swigc__p_wxIconizeEvent
,
19762 _swigc__p_wxIdleEvent
,
19764 _swigc__p_wxImageHandler
,
19765 _swigc__p_wxIndividualLayoutConstraint
,
19766 _swigc__p_wxInitDialogEvent
,
19767 _swigc__p_wxJPEGHandler
,
19768 _swigc__p_wxKeyEvent
,
19769 _swigc__p_wxLayoutAlgorithm
,
19770 _swigc__p_wxLayoutConstraints
,
19771 _swigc__p_wxMDIChildFrame
,
19772 _swigc__p_wxMDIClientWindow
,
19773 _swigc__p_wxMDIParentFrame
,
19774 _swigc__p_wxMaximizeEvent
,
19776 _swigc__p_wxMenuBar
,
19777 _swigc__p_wxMenuEvent
,
19778 _swigc__p_wxMenuItem
,
19779 _swigc__p_wxMessageDialog
,
19780 _swigc__p_wxMiniFrame
,
19781 _swigc__p_wxMouseCaptureChangedEvent
,
19782 _swigc__p_wxMouseEvent
,
19783 _swigc__p_wxMoveEvent
,
19784 _swigc__p_wxMultiChoiceDialog
,
19785 _swigc__p_wxNavigationKeyEvent
,
19786 _swigc__p_wxNcPaintEvent
,
19787 _swigc__p_wxNotifyEvent
,
19788 _swigc__p_wxNumberEntryDialog
,
19789 _swigc__p_wxObject
,
19790 _swigc__p_wxPCXHandler
,
19791 _swigc__p_wxPNGHandler
,
19792 _swigc__p_wxPNMHandler
,
19793 _swigc__p_wxPageSetupDialog
,
19794 _swigc__p_wxPageSetupDialogData
,
19795 _swigc__p_wxPaintEvent
,
19796 _swigc__p_wxPaletteChangedEvent
,
19798 _swigc__p_wxPaperSize
,
19799 _swigc__p_wxPasswordEntryDialog
,
19801 _swigc__p_wxPopupWindow
,
19802 _swigc__p_wxPreviewCanvas
,
19803 _swigc__p_wxPreviewControlBar
,
19804 _swigc__p_wxPreviewFrame
,
19805 _swigc__p_wxPrintData
,
19806 _swigc__p_wxPrintDialog
,
19807 _swigc__p_wxPrintDialogData
,
19808 _swigc__p_wxPrintPreview
,
19809 _swigc__p_wxPrinter
,
19810 _swigc__p_wxProgressDialog
,
19812 _swigc__p_wxPyCommandEvent
,
19813 _swigc__p_wxPyEvent
,
19814 _swigc__p_wxPyHtmlFilter
,
19815 _swigc__p_wxPyHtmlListBox
,
19816 _swigc__p_wxPyHtmlTagHandler
,
19817 _swigc__p_wxPyHtmlWinTagHandler
,
19818 _swigc__p_wxPyHtmlWindow
,
19819 _swigc__p_wxPyImageHandler
,
19820 _swigc__p_wxPyPanel
,
19821 _swigc__p_wxPyPopupTransientWindow
,
19822 _swigc__p_wxPyPreviewControlBar
,
19823 _swigc__p_wxPyPreviewFrame
,
19824 _swigc__p_wxPyPrintPreview
,
19825 _swigc__p_wxPyPrintout
,
19826 _swigc__p_wxPyScrolledWindow
,
19827 _swigc__p_wxPySizer
,
19828 _swigc__p_wxPyTaskBarIcon
,
19829 _swigc__p_wxPyVListBox
,
19830 _swigc__p_wxPyVScrolledWindow
,
19831 _swigc__p_wxPyValidator
,
19832 _swigc__p_wxPyWindow
,
19833 _swigc__p_wxQueryLayoutInfoEvent
,
19834 _swigc__p_wxQueryNewPaletteEvent
,
19835 _swigc__p_wxSashEvent
,
19836 _swigc__p_wxSashLayoutWindow
,
19837 _swigc__p_wxSashWindow
,
19838 _swigc__p_wxScrollEvent
,
19839 _swigc__p_wxScrollWinEvent
,
19840 _swigc__p_wxScrolledWindow
,
19841 _swigc__p_wxSetCursorEvent
,
19842 _swigc__p_wxShowEvent
,
19843 _swigc__p_wxSingleChoiceDialog
,
19845 _swigc__p_wxSizeEvent
,
19847 _swigc__p_wxSizerItem
,
19848 _swigc__p_wxSplashScreen
,
19849 _swigc__p_wxSplashScreenWindow
,
19850 _swigc__p_wxSplitterEvent
,
19851 _swigc__p_wxSplitterWindow
,
19852 _swigc__p_wxStaticBoxSizer
,
19853 _swigc__p_wxStatusBar
,
19854 _swigc__p_wxStdDialogButtonSizer
,
19855 _swigc__p_wxString
,
19856 _swigc__p_wxSysColourChangedEvent
,
19857 _swigc__p_wxTIFFHandler
,
19858 _swigc__p_wxTaskBarIconEvent
,
19859 _swigc__p_wxTextEntryDialog
,
19860 _swigc__p_wxTipWindow
,
19861 _swigc__p_wxTopLevelWindow
,
19862 _swigc__p_wxTreeCtrl
,
19863 _swigc__p_wxUpdateUIEvent
,
19864 _swigc__p_wxValidator
,
19865 _swigc__p_wxVisualAttributes
,
19866 _swigc__p_wxWindow
,
19867 _swigc__p_wxWindowCreateEvent
,
19868 _swigc__p_wxWindowDestroyEvent
,
19869 _swigc__p_wxXPMHandler
,
19873 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19875 static swig_const_info swig_const_table
[] = {
19876 {0, 0, 0, 0.0, 0, 0}};
19881 /* -----------------------------------------------------------------------------
19882 * Type initialization:
19883 * This problem is tough by the requirement that no dynamic
19884 * memory is used. Also, since swig_type_info structures store pointers to
19885 * swig_cast_info structures and swig_cast_info structures store pointers back
19886 * to swig_type_info structures, we need some lookup code at initialization.
19887 * The idea is that swig generates all the structures that are needed.
19888 * The runtime then collects these partially filled structures.
19889 * The SWIG_InitializeModule function takes these initial arrays out of
19890 * swig_module, and does all the lookup, filling in the swig_module.types
19891 * array with the correct data and linking the correct swig_cast_info
19892 * structures together.
19894 * The generated swig_type_info structures are assigned staticly to an initial
19895 * array. We just loop though that array, and handle each type individually.
19896 * First we lookup if this type has been already loaded, and if so, use the
19897 * loaded structure instead of the generated one. Then we have to fill in the
19898 * cast linked list. The cast data is initially stored in something like a
19899 * two-dimensional array. Each row corresponds to a type (there are the same
19900 * number of rows as there are in the swig_type_initial array). Each entry in
19901 * a column is one of the swig_cast_info structures for that type.
19902 * The cast_initial array is actually an array of arrays, because each row has
19903 * a variable number of columns. So to actually build the cast linked list,
19904 * we find the array of casts associated with the type, and loop through it
19905 * adding the casts to the list. The one last trick we need to do is making
19906 * sure the type pointer in the swig_cast_info struct is correct.
19908 * First off, we lookup the cast->type name to see if it is already loaded.
19909 * There are three cases to handle:
19910 * 1) If the cast->type has already been loaded AND the type we are adding
19911 * casting info to has not been loaded (it is in this module), THEN we
19912 * replace the cast->type pointer with the type pointer that has already
19914 * 2) If BOTH types (the one we are adding casting info to, and the
19915 * cast->type) are loaded, THEN the cast info has already been loaded by
19916 * the previous module so we just ignore it.
19917 * 3) Finally, if cast->type has not already been loaded, then we add that
19918 * swig_cast_info to the linked list (because the cast->type) pointer will
19920 * ----------------------------------------------------------------------------- */
19930 #define SWIGRUNTIME_DEBUG
19934 SWIG_InitializeModule(void *clientdata
) {
19936 swig_module_info
*module_head
;
19937 static int init_run
= 0;
19939 clientdata
= clientdata
;
19941 if (init_run
) return;
19944 /* Initialize the swig_module */
19945 swig_module
.type_initial
= swig_type_initial
;
19946 swig_module
.cast_initial
= swig_cast_initial
;
19948 /* Try and load any already created modules */
19949 module_head
= SWIG_GetModule(clientdata
);
19951 swig_module
.next
= module_head
->next
;
19952 module_head
->next
= &swig_module
;
19954 /* This is the first module loaded */
19955 swig_module
.next
= &swig_module
;
19956 SWIG_SetModule(clientdata
, &swig_module
);
19959 /* Now work on filling in swig_module.types */
19960 #ifdef SWIGRUNTIME_DEBUG
19961 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
19963 for (i
= 0; i
< swig_module
.size
; ++i
) {
19964 swig_type_info
*type
= 0;
19965 swig_type_info
*ret
;
19966 swig_cast_info
*cast
;
19968 #ifdef SWIGRUNTIME_DEBUG
19969 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
19972 /* if there is another module already loaded */
19973 if (swig_module
.next
!= &swig_module
) {
19974 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
19977 /* Overwrite clientdata field */
19978 #ifdef SWIGRUNTIME_DEBUG
19979 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
19981 if (swig_module
.type_initial
[i
]->clientdata
) {
19982 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
19983 #ifdef SWIGRUNTIME_DEBUG
19984 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
19988 type
= swig_module
.type_initial
[i
];
19991 /* Insert casting types */
19992 cast
= swig_module
.cast_initial
[i
];
19993 while (cast
->type
) {
19994 /* Don't need to add information already in the list */
19996 #ifdef SWIGRUNTIME_DEBUG
19997 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
19999 if (swig_module
.next
!= &swig_module
) {
20000 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
20001 #ifdef SWIGRUNTIME_DEBUG
20002 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
20006 if (type
== swig_module
.type_initial
[i
]) {
20007 #ifdef SWIGRUNTIME_DEBUG
20008 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
20013 /* Check for casting already in the list */
20014 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
20015 #ifdef SWIGRUNTIME_DEBUG
20016 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
20018 if (!ocast
) ret
= 0;
20023 #ifdef SWIGRUNTIME_DEBUG
20024 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
20027 type
->cast
->prev
= cast
;
20028 cast
->next
= type
->cast
;
20034 /* Set entry in modules->types array equal to the type */
20035 swig_module
.types
[i
] = type
;
20037 swig_module
.types
[i
] = 0;
20039 #ifdef SWIGRUNTIME_DEBUG
20040 printf("**** SWIG_InitializeModule: Cast List ******\n");
20041 for (i
= 0; i
< swig_module
.size
; ++i
) {
20043 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
20044 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20045 while (cast
->type
) {
20046 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
20050 printf("---- Total casts: %d\n",j
);
20052 printf("**** SWIG_InitializeModule: Cast List ******\n");
20056 /* This function will propagate the clientdata field of type to
20057 * any new swig_type_info structures that have been added into the list
20058 * of equivalent types. It is like calling
20059 * SWIG_TypeClientData(type, clientdata) a second time.
20062 SWIG_PropagateClientData(void) {
20064 swig_cast_info
*equiv
;
20065 static int init_run
= 0;
20067 if (init_run
) return;
20070 for (i
= 0; i
< swig_module
.size
; i
++) {
20071 if (swig_module
.types
[i
]->clientdata
) {
20072 equiv
= swig_module
.types
[i
]->cast
;
20074 if (!equiv
->converter
) {
20075 if (equiv
->type
&& !equiv
->type
->clientdata
)
20076 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
20078 equiv
= equiv
->next
;
20098 /* Python-specific SWIG API */
20099 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20100 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20101 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20103 /* -----------------------------------------------------------------------------
20104 * global variable support code.
20105 * ----------------------------------------------------------------------------- */
20107 typedef struct swig_globalvar
{
20108 char *name
; /* Name of global variable */
20109 PyObject
*(*get_attr
)(void); /* Return the current value */
20110 int (*set_attr
)(PyObject
*); /* Set the value */
20111 struct swig_globalvar
*next
;
20114 typedef struct swig_varlinkobject
{
20116 swig_globalvar
*vars
;
20117 } swig_varlinkobject
;
20119 SWIGINTERN PyObject
*
20120 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
20121 return PyString_FromString("<Swig global variables>");
20124 SWIGINTERN PyObject
*
20125 swig_varlink_str(swig_varlinkobject
*v
) {
20126 PyObject
*str
= PyString_FromString("(");
20127 swig_globalvar
*var
;
20128 for (var
= v
->vars
; var
; var
=var
->next
) {
20129 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
20130 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
20132 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
20137 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
20138 PyObject
*str
= swig_varlink_str(v
);
20139 fprintf(fp
,"Swig global variables ");
20140 fprintf(fp
,"%s\n", PyString_AsString(str
));
20146 swig_varlink_dealloc(swig_varlinkobject
*v
) {
20147 swig_globalvar
*var
= v
->vars
;
20149 swig_globalvar
*n
= var
->next
;
20156 SWIGINTERN PyObject
*
20157 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
20158 PyObject
*res
= NULL
;
20159 swig_globalvar
*var
= v
->vars
;
20161 if (strcmp(var
->name
,n
) == 0) {
20162 res
= (*var
->get_attr
)();
20167 if (res
== NULL
&& !PyErr_Occurred()) {
20168 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20174 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
20176 swig_globalvar
*var
= v
->vars
;
20178 if (strcmp(var
->name
,n
) == 0) {
20179 res
= (*var
->set_attr
)(p
);
20184 if (res
== 1 && !PyErr_Occurred()) {
20185 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20190 SWIGINTERN PyTypeObject
*
20191 swig_varlink_type(void) {
20192 static char varlink__doc__
[] = "Swig var link object";
20193 static PyTypeObject varlink_type
;
20194 static int type_init
= 0;
20196 const PyTypeObject tmp
20198 PyObject_HEAD_INIT(NULL
)
20199 0, /* Number of items in variable part (ob_size) */
20200 (char *)"swigvarlink", /* Type name (tp_name) */
20201 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
20202 0, /* Itemsize (tp_itemsize) */
20203 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
20204 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
20205 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
20206 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
20207 0, /* tp_compare */
20208 (reprfunc
) swig_varlink_repr
, /* tp_repr */
20209 0, /* tp_as_number */
20210 0, /* tp_as_sequence */
20211 0, /* tp_as_mapping */
20214 (reprfunc
)swig_varlink_str
, /* tp_str */
20215 0, /* tp_getattro */
20216 0, /* tp_setattro */
20217 0, /* tp_as_buffer */
20219 varlink__doc__
, /* tp_doc */
20220 0, /* tp_traverse */
20222 0, /* tp_richcompare */
20223 0, /* tp_weaklistoffset */
20224 #if PY_VERSION_HEX >= 0x02020000
20225 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20227 #if PY_VERSION_HEX >= 0x02030000
20230 #ifdef COUNT_ALLOCS
20231 0,0,0,0 /* tp_alloc -> tp_next */
20234 varlink_type
= tmp
;
20235 varlink_type
.ob_type
= &PyType_Type
;
20238 return &varlink_type
;
20241 /* Create a variable linking object for use later */
20242 SWIGINTERN PyObject
*
20243 SWIG_Python_newvarlink(void) {
20244 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
20248 return ((PyObject
*) result
);
20252 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
20253 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
20254 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
20256 size_t size
= strlen(name
)+1;
20257 gv
->name
= (char *)malloc(size
);
20259 strncpy(gv
->name
,name
,size
);
20260 gv
->get_attr
= get_attr
;
20261 gv
->set_attr
= set_attr
;
20262 gv
->next
= v
->vars
;
20268 SWIGINTERN PyObject
*
20270 static PyObject
*_SWIG_globals
= 0;
20271 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
20272 return _SWIG_globals
;
20275 /* -----------------------------------------------------------------------------
20276 * constants/methods manipulation
20277 * ----------------------------------------------------------------------------- */
20279 /* Install Constants */
20281 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
20284 for (i
= 0; constants
[i
].type
; ++i
) {
20285 switch(constants
[i
].type
) {
20286 case SWIG_PY_POINTER
:
20287 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
20289 case SWIG_PY_BINARY
:
20290 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
20297 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
20303 /* -----------------------------------------------------------------------------*/
20304 /* Fix SwigMethods to carry the callback ptrs when needed */
20305 /* -----------------------------------------------------------------------------*/
20308 SWIG_Python_FixMethods(PyMethodDef
*methods
,
20309 swig_const_info
*const_table
,
20310 swig_type_info
**types
,
20311 swig_type_info
**types_initial
) {
20313 for (i
= 0; methods
[i
].ml_name
; ++i
) {
20314 const char *c
= methods
[i
].ml_doc
;
20315 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
20317 swig_const_info
*ci
= 0;
20318 const char *name
= c
+ 10;
20319 for (j
= 0; const_table
[j
].type
; ++j
) {
20320 if (strncmp(const_table
[j
].name
, name
,
20321 strlen(const_table
[j
].name
)) == 0) {
20322 ci
= &(const_table
[j
]);
20327 size_t shift
= (ci
->ptype
) - types
;
20328 swig_type_info
*ty
= types_initial
[shift
];
20329 size_t ldoc
= (c
- methods
[i
].ml_doc
);
20330 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
20331 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
20334 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
20336 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
20338 strncpy(buff
, "swig_ptr: ", 10);
20340 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
20341 methods
[i
].ml_doc
= ndoc
;
20353 /* -----------------------------------------------------------------------------*
20354 * Partial Init method
20355 * -----------------------------------------------------------------------------*/
20360 SWIGEXPORT
void SWIG_init(void) {
20363 /* Fix SwigMethods to carry the callback ptrs when needed */
20364 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
20366 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20367 d
= PyModule_GetDict(m
);
20369 SWIG_InitializeModule(0);
20370 SWIG_InstallConstants(d
,swig_const_table
);
20373 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
20374 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get
, HtmlWindowNameStr_set
);
20375 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get
, HtmlPrintoutTitleStr_set
);
20376 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get
, HtmlPrintingTitleStr_set
);
20377 SWIG_Python_SetConstant(d
, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT
)));
20378 SWIG_Python_SetConstant(d
, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER
)));
20379 SWIG_Python_SetConstant(d
, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT
)));
20380 SWIG_Python_SetConstant(d
, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM
)));
20381 SWIG_Python_SetConstant(d
, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP
)));
20382 SWIG_Python_SetConstant(d
, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND
)));
20383 SWIG_Python_SetConstant(d
, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND
)));
20384 SWIG_Python_SetConstant(d
, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS
)));
20385 SWIG_Python_SetConstant(d
, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT
)));
20386 SWIG_Python_SetConstant(d
, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT
)));
20387 SWIG_Python_SetConstant(d
, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT
)));
20388 SWIG_Python_SetConstant(d
, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP
)));
20389 SWIG_Python_SetConstant(d
, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM
)));
20390 SWIG_Python_SetConstant(d
, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL
)));
20391 SWIG_Python_SetConstant(d
, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL
)));
20392 SWIG_Python_SetConstant(d
, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL
)));
20393 SWIG_Python_SetConstant(d
, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR
)));
20394 SWIG_Python_SetConstant(d
, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP
)));
20395 SWIG_Python_SetConstant(d
, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER
)));
20396 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_1",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_1
)));
20397 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_2",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_2
)));
20398 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_3",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_3
)));
20399 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_4",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_4
)));
20400 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_5",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_5
)));
20401 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_6",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_6
)));
20402 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_7",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_7
)));
20403 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER
)));
20404 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO
)));
20405 SWIG_Python_SetConstant(d
, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION
)));
20406 SWIG_Python_SetConstant(d
, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE
)));
20407 SWIG_Python_SetConstant(d
, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN
)));
20408 SWIG_Python_SetConstant(d
, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK
)));
20409 SWIG_Python_SetConstant(d
, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT
)));
20410 SWIG_Python_SetConstant(d
, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE
)));
20411 SWIG_Python_SetConstant(d
, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE
)));
20412 SWIG_Python_SetConstant(d
, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER
)));
20413 SWIG_Python_SetConstant(d
, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT
)));
20414 SWIG_Python_SetConstant(d
, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN
)));
20415 SWIG_Python_SetConstant(d
, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING
)));
20416 SWIG_Python_SetConstant(d
, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT
)));
20417 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE
)));
20418 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER
)));
20419 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default
)));
20420 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link
)));
20421 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text
)));
20422 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default
)));
20423 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link
)));
20424 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text
)));
20425 SWIG_Python_SetConstant(d
, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD
)));
20426 SWIG_Python_SetConstant(d
, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN
)));
20427 SWIG_Python_SetConstant(d
, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL
)));
20428 SWIG_Python_SetConstant(d
, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR
)));
20429 SWIG_Python_SetConstant(d
, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS
)));
20430 SWIG_Python_SetConstant(d
, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX
)));
20431 SWIG_Python_SetConstant(d
, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH
)));
20432 SWIG_Python_SetConstant(d
, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS
)));
20433 SWIG_Python_SetConstant(d
, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES
)));
20434 SWIG_Python_SetConstant(d
, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT
)));
20435 SWIG_Python_SetConstant(d
, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR
)));
20436 SWIG_Python_SetConstant(d
, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS
)));
20437 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK
)));
20438 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER
)));
20439 SWIG_Python_SetConstant(d
, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER
)));
20440 SWIG_Python_SetConstant(d
, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE
)));
20441 SWIG_Python_SetConstant(d
, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED
)));
20442 SWIG_Python_SetConstant(d
, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG
)));
20443 SWIG_Python_SetConstant(d
, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME
)));
20444 SWIG_Python_SetConstant(d
, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL
)));
20445 SWIG_Python_SetConstant(d
, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL
)));
20446 SWIG_Python_SetConstant(d
, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK
)));
20447 SWIG_Python_SetConstant(d
, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD
)));
20448 SWIG_Python_SetConstant(d
, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE
)));
20449 SWIG_Python_SetConstant(d
, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP
)));
20450 SWIG_Python_SetConstant(d
, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN
)));
20451 SWIG_Python_SetConstant(d
, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT
)));
20452 SWIG_Python_SetConstant(d
, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE
)));
20453 SWIG_Python_SetConstant(d
, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS
)));
20454 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST
)));
20455 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD
)));
20456 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE
)));
20457 SWIG_Python_SetConstant(d
, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL
)));
20458 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE
)));
20459 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST
)));
20460 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT
)));
20461 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON
)));
20462 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL
)));
20463 SWIG_Python_SetConstant(d
, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK
)));
20464 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE
)));
20465 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT
)));
20466 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST
)));
20467 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON
)));
20468 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE
)));
20469 SWIG_Python_SetConstant(d
, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO
)));
20471 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20472 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20473 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20474 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");