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_wxUpdateUIEvent swig_types[191]
2658 #define SWIGTYPE_p_wxValidator swig_types[192]
2659 #define SWIGTYPE_p_wxVisualAttributes swig_types[193]
2660 #define SWIGTYPE_p_wxWindow swig_types[194]
2661 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[195]
2662 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[196]
2663 #define SWIGTYPE_p_wxXPMHandler swig_types[197]
2664 static swig_type_info
*swig_types
[199];
2665 static swig_module_info swig_module
= {swig_types
, 198, 0, 0, 0, 0};
2666 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2667 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2669 /* -------- TYPES TABLE (END) -------- */
2671 #if (PY_VERSION_HEX <= 0x02000000)
2672 # if !defined(SWIG_PYTHON_CLASSIC)
2673 # error "This python version requires to use swig with the '-classic' option"
2676 #if (PY_VERSION_HEX <= 0x02020000)
2677 # error "This python version requires to use swig with the '-nomodern' option"
2679 #if (PY_VERSION_HEX <= 0x02020000)
2680 # error "This python version requires to use swig with the '-nomodernargs' option"
2683 # error "This python version requires to use swig with the '-nofastunpack' option"
2686 /*-----------------------------------------------
2687 @(target):= _html.so
2688 ------------------------------------------------*/
2689 #define SWIG_init init_html
2691 #define SWIG_name "_html"
2693 #define SWIGVERSION 0x010329
2696 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2697 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2700 #include <stdexcept>
2704 class PyObject_ptr
{
2709 PyObject_ptr() :_obj(0)
2713 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2718 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2720 if (initial_ref
) Py_XINCREF(_obj
);
2723 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2725 Py_XINCREF(item
._obj
);
2736 operator PyObject
*() const
2741 PyObject
*operator->() const
2750 struct PyObject_var
: PyObject_ptr
{
2751 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2753 PyObject_var
& operator = (PyObject
* obj
)
2763 #include "wx/wxPython/wxPython.h"
2764 #include "wx/wxPython/pyclasses.h"
2765 #include "wx/wxPython/pyistream.h"
2766 #include "wx/wxPython/printfw.h"
2768 #include <wx/html/htmlwin.h>
2769 #include <wx/html/htmprint.h>
2770 #include <wx/html/helpctrl.h>
2771 #include <wx/html/helpwnd.h>
2772 #include <wx/html/helpfrm.h>
2773 #include <wx/html/helpdlg.h>
2776 static const wxString
wxPyEmptyString(wxEmptyString
);
2777 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2778 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2779 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
2781 #define SWIG_From_long PyInt_FromLong
2784 SWIGINTERNINLINE PyObject
*
2785 SWIG_From_int (int value
)
2787 return SWIG_From_long (value
);
2793 # define LLONG_MIN LONG_LONG_MIN
2796 # define LLONG_MAX LONG_LONG_MAX
2799 # define ULLONG_MAX ULONG_LONG_MAX
2804 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2806 if (PyNumber_Check(obj
)) {
2807 if (val
) *val
= PyInt_AsLong(obj
);
2810 return SWIG_TypeError
;
2815 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2818 int res
= SWIG_AsVal_long (obj
, &v
);
2819 if (SWIG_IsOK(res
)) {
2820 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2821 return SWIG_OverflowError
;
2823 if (val
) *val
= static_cast< int >(v
);
2829 SWIGINTERN
void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2831 if (sizes
) temp
= int_LIST_helper(sizes
);
2832 self
->SetFonts(normal_face
, fixed_face
, temp
);
2837 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
2838 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
)
2840 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2842 wxHtmlParser
* GetParser() { return m_Parser
; }
2843 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
2845 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2846 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2851 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
2853 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
2854 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
2857 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
2858 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
)
2860 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2862 wxHtmlWinParser
* GetParser() { return m_WParser
; }
2863 void ParseInner(const wxHtmlTag
& tag
)
2864 { wxHtmlWinTagHandler::ParseInner(tag
); }
2866 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2867 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2872 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
2874 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
2875 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
2879 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
2881 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
2882 m_tagHandlerClass
= thc
;
2883 Py_INCREF(m_tagHandlerClass
);
2884 RegisterModule(this);
2885 wxHtmlWinParser::AddModule(this);
2889 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2890 Py_DECREF(m_tagHandlerClass
);
2891 m_tagHandlerClass
= NULL
;
2892 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
2893 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
2896 wxPyEndBlockThreads(blocked
);
2899 void FillHandlersTable(wxHtmlWinParser
*parser
) {
2900 // Wave our magic wand... (if it works it's a miracle! ;-)
2902 // First, make a new instance of the tag handler
2903 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2904 PyObject
* arg
= PyTuple_New(0);
2905 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
2908 // now figure out where it's C++ object is...
2909 wxPyHtmlWinTagHandler
* thPtr
;
2910 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
2911 wxPyEndBlockThreads(blocked
);
2914 wxPyEndBlockThreads(blocked
);
2917 parser
->AddTagHandler(thPtr
);
2920 m_objArray
.Add(obj
);
2924 PyObject
* m_tagHandlerClass
;
2925 wxArrayPtrVoid m_objArray
;
2930 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
2931 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2932 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2933 new wxPyHtmlTagsModule(tagHandlerClass
);
2937 SWIGINTERNINLINE PyObject
*
2938 SWIG_From_bool (bool value
)
2940 return PyBool_FromLong(value
? 1 : 0);
2945 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2947 if (obj
== Py_True
) {
2948 if (val
) *val
= true;
2950 } else if (obj
== Py_False
) {
2951 if (val
) *val
= false;
2955 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2956 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2963 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2966 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2967 return SWIG_TypeError
;
2970 *val
= (unsigned long)v
;
2976 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2979 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2980 if (SWIG_IsOK(res
)) {
2981 if ((v
> UINT_MAX
)) {
2982 return SWIG_OverflowError
;
2984 if (val
) *val
= static_cast< unsigned int >(v
);
2991 SWIGINTERNINLINE PyObject
*
2992 SWIG_From_unsigned_SS_long (unsigned long value
)
2994 return (value
> LONG_MAX
) ?
2995 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2999 SWIGINTERNINLINE PyObject
*
3000 SWIG_From_unsigned_SS_int (unsigned int value
)
3002 return SWIG_From_unsigned_SS_long (value
);
3005 // here's the C++ version
3006 class wxPyHtmlFilter
: public wxHtmlFilter
{
3007 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
)
3009 wxPyHtmlFilter() : wxHtmlFilter() {}
3011 // returns True if this filter is able to open&read given file
3012 virtual bool CanRead(const wxFSFile
& file
) const {
3015 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3016 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
3017 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3018 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3021 wxPyEndBlockThreads(blocked
);
3026 // Reads given file and returns HTML document.
3027 // Returns empty string if opening failed
3028 virtual wxString
ReadFile(const wxFSFile
& file
) const {
3031 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3032 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
3033 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3035 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
3038 rval
= Py2wxString(ro
);
3042 wxPyEndBlockThreads(blocked
);
3049 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
3052 class wxPyHtmlWindow
: public wxHtmlWindow
{
3053 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
)
3055 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
3056 const wxPoint
& pos
= wxDefaultPosition
,
3057 const wxSize
& size
= wxDefaultSize
,
3058 long style
= wxHW_DEFAULT_STYLE
,
3059 const wxString
& name
= wxPyHtmlWindowNameStr
)
3060 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
3061 wxPyHtmlWindow() : wxHtmlWindow() {};
3063 bool ScrollToAnchor(const wxString
& anchor
) {
3064 return wxHtmlWindow::ScrollToAnchor(anchor
);
3067 bool HasAnchor(const wxString
& anchor
) {
3068 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
3072 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
3074 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
3075 const wxString
& url
,
3076 wxString
*redirect
) const;
3078 DEC_PYCALLBACK__STRING(OnSetTitle
);
3079 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
3080 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked
);
3085 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
3086 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
3087 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
3088 IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
3091 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
3093 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3094 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3095 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3096 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3099 wxPyEndBlockThreads(blocked
);
3101 wxHtmlWindow::OnLinkClicked(link
);
3105 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
3106 const wxString
& url
,
3107 wxString
*redirect
) const {
3109 wxHtmlOpeningStatus rval
;
3110 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3111 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
3113 PyObject
* s
= wx2PyString(url
);
3114 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
3116 if (PyString_Check(ro
)
3117 #if PYTHON_API_VERSION >= 1009
3118 || PyUnicode_Check(ro
)
3121 *redirect
= Py2wxString(ro
);
3122 rval
= wxHTML_REDIRECT
;
3125 PyObject
* num
= PyNumber_Int(ro
);
3126 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
3131 wxPyEndBlockThreads(blocked
);
3133 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
3139 SWIGINTERN
void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3141 if (sizes
) temp
= int_LIST_helper(sizes
);
3142 self
->SetFonts(normal_face
, fixed_face
, temp
);
3146 SWIGINTERN
void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3148 if (sizes
) temp
= int_LIST_helper(sizes
);
3149 self
->SetFonts(normal_face
, fixed_face
, temp
);
3153 SWIGINTERN
void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3155 if (sizes
) temp
= int_LIST_helper(sizes
);
3156 self
->SetFonts(normal_face
, fixed_face
, temp
);
3165 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3167 if (PyNumber_Check(obj
)) {
3168 if (val
) *val
= PyFloat_AsDouble(obj
);
3171 return SWIG_TypeError
;
3176 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3179 int res
= SWIG_AsVal_double (obj
, &v
);
3180 if (SWIG_IsOK(res
)) {
3181 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3182 return SWIG_OverflowError
;
3184 if (val
) *val
= static_cast< float >(v
);
3190 SWIGINTERN
void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3192 if (sizes
) temp
= int_LIST_helper(sizes
);
3193 self
->SetFonts(normal_face
, fixed_face
, temp
);
3198 typedef wxTreeCtrl wxPyTreeCtrl
;
3203 SWIGINTERN
int HtmlWindowNameStr_set(PyObject
*) {
3204 SWIG_Error(SWIG_AttributeError
,"Variable HtmlWindowNameStr is read-only.");
3209 SWIGINTERN PyObject
*HtmlWindowNameStr_get(void) {
3210 PyObject
*pyobj
= 0;
3214 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3216 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3223 SWIGINTERN
int HtmlPrintoutTitleStr_set(PyObject
*) {
3224 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintoutTitleStr is read-only.");
3229 SWIGINTERN PyObject
*HtmlPrintoutTitleStr_get(void) {
3230 PyObject
*pyobj
= 0;
3234 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3236 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3243 SWIGINTERN
int HtmlPrintingTitleStr_set(PyObject
*) {
3244 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintingTitleStr is read-only.");
3249 SWIGINTERN PyObject
*HtmlPrintingTitleStr_get(void) {
3250 PyObject
*pyobj
= 0;
3254 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3256 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3263 SWIGINTERN PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
*resultobj
= 0;
3265 wxString
*arg1
= 0 ;
3266 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3267 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3268 wxHtmlLinkInfo
*result
= 0 ;
3269 bool temp1
= false ;
3270 bool temp2
= false ;
3271 PyObject
* obj0
= 0 ;
3272 PyObject
* obj1
= 0 ;
3273 char * kwnames
[] = {
3274 (char *) "href",(char *) "target", NULL
3277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3279 arg1
= wxString_in_helper(obj0
);
3280 if (arg1
== NULL
) SWIG_fail
;
3285 arg2
= wxString_in_helper(obj1
);
3286 if (arg2
== NULL
) SWIG_fail
;
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3292 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_NEW
| 0 );
3319 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3320 PyObject
*resultobj
= 0;
3321 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3325 PyObject
*swig_obj
[1] ;
3327 if (!args
) SWIG_fail
;
3329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3330 if (!SWIG_IsOK(res1
)) {
3331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3333 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 result
= (arg1
)->GetHref();
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3353 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3354 PyObject
*resultobj
= 0;
3355 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3359 PyObject
*swig_obj
[1] ;
3361 if (!args
) SWIG_fail
;
3363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3364 if (!SWIG_IsOK(res1
)) {
3365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3367 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 result
= (arg1
)->GetTarget();
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3387 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3388 PyObject
*resultobj
= 0;
3389 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3390 wxMouseEvent
*result
= 0 ;
3393 PyObject
*swig_obj
[1] ;
3395 if (!args
) SWIG_fail
;
3397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3398 if (!SWIG_IsOK(res1
)) {
3399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3401 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3409 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3417 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3418 PyObject
*resultobj
= 0;
3419 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3420 wxHtmlCell
*result
= 0 ;
3423 PyObject
*swig_obj
[1] ;
3425 if (!args
) SWIG_fail
;
3427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3428 if (!SWIG_IsOK(res1
)) {
3429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3431 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3445 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
= 0;
3447 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3448 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3454 PyObject
* obj1
= 0 ;
3455 char * kwnames
[] = {
3456 (char *) "self",(char *) "e", NULL
3459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3461 if (!SWIG_IsOK(res1
)) {
3462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3464 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3465 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
3466 if (!SWIG_IsOK(res2
)) {
3467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3469 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= SWIG_Py_Void();
3483 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
= 0;
3485 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3486 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
3491 PyObject
* obj0
= 0 ;
3492 PyObject
* obj1
= 0 ;
3493 char * kwnames
[] = {
3494 (char *) "self",(char *) "e", NULL
3497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3499 if (!SWIG_IsOK(res1
)) {
3500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3502 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3504 if (!SWIG_IsOK(res2
)) {
3505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3507 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
3509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3510 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3514 resultobj
= SWIG_Py_Void();
3521 SWIGINTERN PyObject
*HtmlLinkInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3524 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_NewClientData(obj
));
3525 return SWIG_Py_Void();
3528 SWIGINTERN PyObject
*HtmlLinkInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3529 return SWIG_Python_InitShadowInstance(args
);
3532 SWIGINTERN PyObject
*_wrap_HtmlTag_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3533 PyObject
*resultobj
= 0;
3534 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3538 PyObject
*swig_obj
[1] ;
3540 if (!args
) SWIG_fail
;
3542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3543 if (!SWIG_IsOK(res1
)) {
3544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3546 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 result
= (arg1
)->GetName();
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3566 SWIGINTERN PyObject
*_wrap_HtmlTag_HasParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
= 0;
3568 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3569 wxString
*arg2
= 0 ;
3573 bool temp2
= false ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 char * kwnames
[] = {
3577 (char *) "self",(char *) "par", NULL
3580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3582 if (!SWIG_IsOK(res1
)) {
3583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3585 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3587 arg2
= wxString_in_helper(obj1
);
3588 if (arg2
== NULL
) SWIG_fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3614 SWIGINTERN PyObject
*_wrap_HtmlTag_GetParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
*resultobj
= 0;
3616 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3617 wxString
*arg2
= 0 ;
3618 int arg3
= (int) false ;
3622 bool temp2
= false ;
3625 PyObject
* obj0
= 0 ;
3626 PyObject
* obj1
= 0 ;
3627 PyObject
* obj2
= 0 ;
3628 char * kwnames
[] = {
3629 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3634 if (!SWIG_IsOK(res1
)) {
3635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3637 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3639 arg2
= wxString_in_helper(obj1
);
3640 if (arg2
== NULL
) SWIG_fail
;
3644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3645 if (!SWIG_IsOK(ecode3
)) {
3646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3648 arg3
= static_cast< int >(val3
);
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3677 SWIGINTERN PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3678 PyObject
*resultobj
= 0;
3679 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3683 PyObject
*swig_obj
[1] ;
3685 if (!args
) SWIG_fail
;
3687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3688 if (!SWIG_IsOK(res1
)) {
3689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3691 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 result
= (arg1
)->GetAllParams();
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3711 SWIGINTERN PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3712 PyObject
*resultobj
= 0;
3713 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3717 PyObject
*swig_obj
[1] ;
3719 if (!args
) SWIG_fail
;
3721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3722 if (!SWIG_IsOK(res1
)) {
3723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3725 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 result
= (bool)(arg1
)->HasEnding();
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3741 SWIGINTERN PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3742 PyObject
*resultobj
= 0;
3743 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3747 PyObject
*swig_obj
[1] ;
3749 if (!args
) SWIG_fail
;
3751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3752 if (!SWIG_IsOK(res1
)) {
3753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3755 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 result
= (int)(arg1
)->GetBeginPos();
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 resultobj
= SWIG_From_int(static_cast< int >(result
));
3769 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3770 PyObject
*resultobj
= 0;
3771 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3775 PyObject
*swig_obj
[1] ;
3777 if (!args
) SWIG_fail
;
3779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3780 if (!SWIG_IsOK(res1
)) {
3781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3783 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3786 result
= (int)(arg1
)->GetEndPos1();
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 resultobj
= SWIG_From_int(static_cast< int >(result
));
3797 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3798 PyObject
*resultobj
= 0;
3799 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3803 PyObject
*swig_obj
[1] ;
3805 if (!args
) SWIG_fail
;
3807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3808 if (!SWIG_IsOK(res1
)) {
3809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3811 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 result
= (int)(arg1
)->GetEndPos2();
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3818 resultobj
= SWIG_From_int(static_cast< int >(result
));
3825 SWIGINTERN PyObject
*HtmlTag_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3827 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3828 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag
, SWIG_NewClientData(obj
));
3829 return SWIG_Py_Void();
3832 SWIGINTERN PyObject
*_wrap_HtmlParser_SetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
*resultobj
= 0;
3834 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3835 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
3840 PyObject
* obj0
= 0 ;
3841 PyObject
* obj1
= 0 ;
3842 char * kwnames
[] = {
3843 (char *) "self",(char *) "fs", NULL
3846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3848 if (!SWIG_IsOK(res1
)) {
3849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3851 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3852 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
3853 if (!SWIG_IsOK(res2
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3856 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 (arg1
)->SetFS(arg2
);
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= SWIG_Py_Void();
3870 SWIGINTERN PyObject
*_wrap_HtmlParser_GetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3871 PyObject
*resultobj
= 0;
3872 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3873 wxFileSystem
*result
= 0 ;
3876 PyObject
*swig_obj
[1] ;
3878 if (!args
) SWIG_fail
;
3880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3881 if (!SWIG_IsOK(res1
)) {
3882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3884 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= (wxFileSystem
*)(arg1
)->GetFS();
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) SWIG_fail
;
3892 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3900 SWIGINTERN PyObject
*_wrap_HtmlParser_Parse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
= 0;
3902 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3903 wxString
*arg2
= 0 ;
3904 wxObject
*result
= 0 ;
3907 bool temp2
= false ;
3908 PyObject
* obj0
= 0 ;
3909 PyObject
* obj1
= 0 ;
3910 char * kwnames
[] = {
3911 (char *) "self",(char *) "source", NULL
3914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3916 if (!SWIG_IsOK(res1
)) {
3917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3919 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3921 arg2
= wxString_in_helper(obj1
);
3922 if (arg2
== NULL
) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3948 SWIGINTERN PyObject
*_wrap_HtmlParser_InitParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
*resultobj
= 0;
3950 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3951 wxString
*arg2
= 0 ;
3954 bool temp2
= false ;
3955 PyObject
* obj0
= 0 ;
3956 PyObject
* obj1
= 0 ;
3957 char * kwnames
[] = {
3958 (char *) "self",(char *) "source", NULL
3961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3963 if (!SWIG_IsOK(res1
)) {
3964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3966 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3968 arg2
= wxString_in_helper(obj1
);
3969 if (arg2
== NULL
) SWIG_fail
;
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 (arg1
)->InitParser((wxString
const &)*arg2
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 resultobj
= SWIG_Py_Void();
3993 SWIGINTERN PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3994 PyObject
*resultobj
= 0;
3995 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3998 PyObject
*swig_obj
[1] ;
4000 if (!args
) SWIG_fail
;
4002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4003 if (!SWIG_IsOK(res1
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4006 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 (arg1
)->DoneParser();
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 resultobj
= SWIG_Py_Void();
4020 SWIGINTERN PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
= 0;
4022 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4031 PyObject
* obj0
= 0 ;
4032 PyObject
* obj1
= 0 ;
4033 PyObject
* obj2
= 0 ;
4034 char * kwnames
[] = {
4035 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4040 if (!SWIG_IsOK(res1
)) {
4041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4043 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4045 if (!SWIG_IsOK(ecode2
)) {
4046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4048 arg2
= static_cast< int >(val2
);
4049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4050 if (!SWIG_IsOK(ecode3
)) {
4051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4053 arg3
= static_cast< int >(val3
);
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 (arg1
)->DoParsing(arg2
,arg3
);
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 resultobj
= SWIG_Py_Void();
4067 SWIGINTERN PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4068 PyObject
*resultobj
= 0;
4069 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4072 PyObject
*swig_obj
[1] ;
4074 if (!args
) SWIG_fail
;
4076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4077 if (!SWIG_IsOK(res1
)) {
4078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4080 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 (arg1
)->StopParsing();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_Py_Void();
4094 SWIGINTERN PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
= 0;
4096 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4097 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4104 char * kwnames
[] = {
4105 (char *) "self",(char *) "handler", NULL
4108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4110 if (!SWIG_IsOK(res1
)) {
4111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4113 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4114 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4115 if (!SWIG_IsOK(res2
)) {
4116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4118 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 (arg1
)->AddTagHandler(arg2
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= SWIG_Py_Void();
4132 SWIGINTERN PyObject
*_wrap_HtmlParser_GetSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4133 PyObject
*resultobj
= 0;
4134 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4135 wxString
*result
= 0 ;
4138 PyObject
*swig_obj
[1] ;
4140 if (!args
) SWIG_fail
;
4142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4143 if (!SWIG_IsOK(res1
)) {
4144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4146 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (wxString
*)(arg1
)->GetSource();
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4157 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4166 SWIGINTERN PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
= 0;
4168 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4169 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4177 PyObject
* obj2
= 0 ;
4178 char * kwnames
[] = {
4179 (char *) "self",(char *) "handler",(char *) "tags", NULL
4182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4184 if (!SWIG_IsOK(res1
)) {
4185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4187 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4189 if (!SWIG_IsOK(res2
)) {
4190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4192 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4194 wxString
* sptr
= wxString_in_helper(obj2
);
4195 if (sptr
== NULL
) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 (arg1
)->PushTagHandler(arg2
,arg3
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= SWIG_Py_Void();
4212 SWIGINTERN PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4213 PyObject
*resultobj
= 0;
4214 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4217 PyObject
*swig_obj
[1] ;
4219 if (!args
) SWIG_fail
;
4221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4222 if (!SWIG_IsOK(res1
)) {
4223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4225 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 (arg1
)->PopTagHandler();
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= SWIG_Py_Void();
4239 SWIGINTERN PyObject
*_wrap_HtmlParser_GetInnerSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
*resultobj
= 0;
4241 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4242 wxHtmlTag
*arg2
= 0 ;
4248 PyObject
* obj0
= 0 ;
4249 PyObject
* obj1
= 0 ;
4250 char * kwnames
[] = {
4251 (char *) "self",(char *) "tag", NULL
4254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_GetInnerSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4256 if (!SWIG_IsOK(res1
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4259 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4260 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
4261 if (!SWIG_IsOK(res2
)) {
4262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4267 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= (arg1
)->GetInnerSource((wxHtmlTag
const &)*arg2
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4287 SWIGINTERN PyObject
*HtmlParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4290 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser
, SWIG_NewClientData(obj
));
4291 return SWIG_Py_Void();
4294 SWIGINTERN PyObject
*_wrap_new_HtmlWinParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
= 0;
4296 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
4297 wxHtmlWinParser
*result
= 0 ;
4300 PyObject
* obj0
= 0 ;
4301 char * kwnames
[] = {
4302 (char *) "wnd", NULL
4305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) SWIG_fail
;
4307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
4308 if (!SWIG_IsOK(res1
)) {
4309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4311 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_NEW
| 0 );
4326 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
= 0;
4328 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4329 wxDC
*arg2
= (wxDC
*) 0 ;
4334 PyObject
* obj0
= 0 ;
4335 PyObject
* obj1
= 0 ;
4336 char * kwnames
[] = {
4337 (char *) "self",(char *) "dc", NULL
4340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4342 if (!SWIG_IsOK(res1
)) {
4343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4345 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
4347 if (!SWIG_IsOK(res2
)) {
4348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4350 arg2
= reinterpret_cast< wxDC
* >(argp2
);
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 (arg1
)->SetDC(arg2
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4357 resultobj
= SWIG_Py_Void();
4364 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4365 PyObject
*resultobj
= 0;
4366 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4370 PyObject
*swig_obj
[1] ;
4372 if (!args
) SWIG_fail
;
4374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4375 if (!SWIG_IsOK(res1
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4378 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (wxDC
*)(arg1
)->GetDC();
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4394 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4395 PyObject
*resultobj
= 0;
4396 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4400 PyObject
*swig_obj
[1] ;
4402 if (!args
) SWIG_fail
;
4404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4405 if (!SWIG_IsOK(res1
)) {
4406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4408 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 result
= (int)(arg1
)->GetCharHeight();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= SWIG_From_int(static_cast< int >(result
));
4422 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4423 PyObject
*resultobj
= 0;
4424 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4428 PyObject
*swig_obj
[1] ;
4430 if (!args
) SWIG_fail
;
4432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4433 if (!SWIG_IsOK(res1
)) {
4434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4436 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= (int)(arg1
)->GetCharWidth();
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= SWIG_From_int(static_cast< int >(result
));
4450 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4451 PyObject
*resultobj
= 0;
4452 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4453 wxPyHtmlWindow
*result
= 0 ;
4456 PyObject
*swig_obj
[1] ;
4458 if (!args
) SWIG_fail
;
4460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4461 if (!SWIG_IsOK(res1
)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4464 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4480 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4481 PyObject
*resultobj
= 0;
4482 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4483 wxHtmlWindowInterface
*result
= 0 ;
4486 PyObject
*swig_obj
[1] ;
4488 if (!args
) SWIG_fail
;
4490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4491 if (!SWIG_IsOK(res1
)) {
4492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4494 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 result
= (wxHtmlWindowInterface
*)(arg1
)->GetWindowInterface();
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
4508 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
= 0;
4510 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4513 PyObject
*arg4
= (PyObject
*) NULL
;
4516 PyObject
* obj0
= 0 ;
4517 PyObject
* obj1
= 0 ;
4518 PyObject
* obj2
= 0 ;
4519 PyObject
* obj3
= 0 ;
4520 char * kwnames
[] = {
4521 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4526 if (!SWIG_IsOK(res1
)) {
4527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4529 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4531 wxString
* sptr
= wxString_in_helper(obj1
);
4532 if (sptr
== NULL
) SWIG_fail
;
4537 wxString
* sptr
= wxString_in_helper(obj2
);
4538 if (sptr
== NULL
) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= SWIG_Py_Void();
4558 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
= 0;
4560 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4561 int arg2
= (int) -1 ;
4562 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4563 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4564 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4565 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4570 bool temp3
= false ;
4571 bool temp4
= false ;
4572 PyObject
* obj0
= 0 ;
4573 PyObject
* obj1
= 0 ;
4574 PyObject
* obj2
= 0 ;
4575 PyObject
* obj3
= 0 ;
4576 char * kwnames
[] = {
4577 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4582 if (!SWIG_IsOK(res1
)) {
4583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4585 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4588 if (!SWIG_IsOK(ecode2
)) {
4589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4591 arg2
= static_cast< int >(val2
);
4595 arg3
= wxString_in_helper(obj2
);
4596 if (arg3
== NULL
) SWIG_fail
;
4602 arg4
= wxString_in_helper(obj3
);
4603 if (arg4
== NULL
) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= SWIG_Py_Void();
4636 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4637 PyObject
*resultobj
= 0;
4638 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4639 wxHtmlContainerCell
*result
= 0 ;
4642 PyObject
*swig_obj
[1] ;
4644 if (!args
) SWIG_fail
;
4646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4647 if (!SWIG_IsOK(res1
)) {
4648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4650 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4664 SWIGINTERN PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4665 PyObject
*resultobj
= 0;
4666 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4667 wxHtmlContainerCell
*result
= 0 ;
4670 PyObject
*swig_obj
[1] ;
4672 if (!args
) SWIG_fail
;
4674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4675 if (!SWIG_IsOK(res1
)) {
4676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4678 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4692 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
= 0;
4694 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4695 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4696 wxHtmlContainerCell
*result
= 0 ;
4701 PyObject
* obj0
= 0 ;
4702 PyObject
* obj1
= 0 ;
4703 char * kwnames
[] = {
4704 (char *) "self",(char *) "c", NULL
4707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4709 if (!SWIG_IsOK(res1
)) {
4710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4712 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4714 if (!SWIG_IsOK(res2
)) {
4715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4717 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4731 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4732 PyObject
*resultobj
= 0;
4733 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4734 wxHtmlContainerCell
*result
= 0 ;
4737 PyObject
*swig_obj
[1] ;
4739 if (!args
) SWIG_fail
;
4741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4742 if (!SWIG_IsOK(res1
)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4745 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4759 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4760 PyObject
*resultobj
= 0;
4761 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4765 PyObject
*swig_obj
[1] ;
4767 if (!args
) SWIG_fail
;
4769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4770 if (!SWIG_IsOK(res1
)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4773 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 result
= (int)(arg1
)->GetFontSize();
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 resultobj
= SWIG_From_int(static_cast< int >(result
));
4787 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
= 0;
4789 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4795 PyObject
* obj0
= 0 ;
4796 PyObject
* obj1
= 0 ;
4797 char * kwnames
[] = {
4798 (char *) "self",(char *) "s", NULL
4801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4803 if (!SWIG_IsOK(res1
)) {
4804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4806 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4808 if (!SWIG_IsOK(ecode2
)) {
4809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4811 arg2
= static_cast< int >(val2
);
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 (arg1
)->SetFontSize(arg2
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 resultobj
= SWIG_Py_Void();
4825 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4826 PyObject
*resultobj
= 0;
4827 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4831 PyObject
*swig_obj
[1] ;
4833 if (!args
) SWIG_fail
;
4835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4836 if (!SWIG_IsOK(res1
)) {
4837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4839 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (int)(arg1
)->GetFontBold();
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= SWIG_From_int(static_cast< int >(result
));
4853 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
= 0;
4855 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4861 PyObject
* obj0
= 0 ;
4862 PyObject
* obj1
= 0 ;
4863 char * kwnames
[] = {
4864 (char *) "self",(char *) "x", NULL
4867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4869 if (!SWIG_IsOK(res1
)) {
4870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4872 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4874 if (!SWIG_IsOK(ecode2
)) {
4875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4877 arg2
= static_cast< int >(val2
);
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 (arg1
)->SetFontBold(arg2
);
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= SWIG_Py_Void();
4891 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4892 PyObject
*resultobj
= 0;
4893 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4897 PyObject
*swig_obj
[1] ;
4899 if (!args
) SWIG_fail
;
4901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4902 if (!SWIG_IsOK(res1
)) {
4903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4905 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4908 result
= (int)(arg1
)->GetFontItalic();
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= SWIG_From_int(static_cast< int >(result
));
4919 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
= 0;
4921 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4927 PyObject
* obj0
= 0 ;
4928 PyObject
* obj1
= 0 ;
4929 char * kwnames
[] = {
4930 (char *) "self",(char *) "x", NULL
4933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4935 if (!SWIG_IsOK(res1
)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4938 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4940 if (!SWIG_IsOK(ecode2
)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4943 arg2
= static_cast< int >(val2
);
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 (arg1
)->SetFontItalic(arg2
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 resultobj
= SWIG_Py_Void();
4957 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4958 PyObject
*resultobj
= 0;
4959 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4963 PyObject
*swig_obj
[1] ;
4965 if (!args
) SWIG_fail
;
4967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4968 if (!SWIG_IsOK(res1
)) {
4969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4971 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (int)(arg1
)->GetFontUnderlined();
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= SWIG_From_int(static_cast< int >(result
));
4985 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
= 0;
4987 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4993 PyObject
* obj0
= 0 ;
4994 PyObject
* obj1
= 0 ;
4995 char * kwnames
[] = {
4996 (char *) "self",(char *) "x", NULL
4999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5001 if (!SWIG_IsOK(res1
)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5004 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5006 if (!SWIG_IsOK(ecode2
)) {
5007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5009 arg2
= static_cast< int >(val2
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 (arg1
)->SetFontUnderlined(arg2
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_Py_Void();
5023 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5024 PyObject
*resultobj
= 0;
5025 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5029 PyObject
*swig_obj
[1] ;
5031 if (!args
) SWIG_fail
;
5033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5034 if (!SWIG_IsOK(res1
)) {
5035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5037 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (int)(arg1
)->GetFontFixed();
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= SWIG_From_int(static_cast< int >(result
));
5051 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
= 0;
5053 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5059 PyObject
* obj0
= 0 ;
5060 PyObject
* obj1
= 0 ;
5061 char * kwnames
[] = {
5062 (char *) "self",(char *) "x", NULL
5065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5067 if (!SWIG_IsOK(res1
)) {
5068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5070 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5072 if (!SWIG_IsOK(ecode2
)) {
5073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5075 arg2
= static_cast< int >(val2
);
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 (arg1
)->SetFontFixed(arg2
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= SWIG_Py_Void();
5089 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5090 PyObject
*resultobj
= 0;
5091 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5095 PyObject
*swig_obj
[1] ;
5097 if (!args
) SWIG_fail
;
5099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5100 if (!SWIG_IsOK(res1
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5103 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 result
= (int)(arg1
)->GetAlign();
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= SWIG_From_int(static_cast< int >(result
));
5117 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
= 0;
5119 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5125 PyObject
* obj0
= 0 ;
5126 PyObject
* obj1
= 0 ;
5127 char * kwnames
[] = {
5128 (char *) "self",(char *) "a", NULL
5131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5133 if (!SWIG_IsOK(res1
)) {
5134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5136 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5138 if (!SWIG_IsOK(ecode2
)) {
5139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5141 arg2
= static_cast< int >(val2
);
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 (arg1
)->SetAlign(arg2
);
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= SWIG_Py_Void();
5155 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5156 PyObject
*resultobj
= 0;
5157 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5161 PyObject
*swig_obj
[1] ;
5163 if (!args
) SWIG_fail
;
5165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5166 if (!SWIG_IsOK(res1
)) {
5167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5169 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= (arg1
)->GetLinkColor();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5183 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
= 0;
5185 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5186 wxColour
*arg2
= 0 ;
5190 PyObject
* obj0
= 0 ;
5191 PyObject
* obj1
= 0 ;
5192 char * kwnames
[] = {
5193 (char *) "self",(char *) "clr", NULL
5196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5198 if (!SWIG_IsOK(res1
)) {
5199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5201 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5204 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5212 resultobj
= SWIG_Py_Void();
5219 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5220 PyObject
*resultobj
= 0;
5221 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5225 PyObject
*swig_obj
[1] ;
5227 if (!args
) SWIG_fail
;
5229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5230 if (!SWIG_IsOK(res1
)) {
5231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5233 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 result
= (arg1
)->GetActualColor();
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5247 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
= 0;
5249 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5250 wxColour
*arg2
= 0 ;
5254 PyObject
* obj0
= 0 ;
5255 PyObject
* obj1
= 0 ;
5256 char * kwnames
[] = {
5257 (char *) "self",(char *) "clr", NULL
5260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5262 if (!SWIG_IsOK(res1
)) {
5263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5265 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5268 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= SWIG_Py_Void();
5283 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
= 0;
5285 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5286 wxString
*arg2
= 0 ;
5289 bool temp2
= false ;
5290 PyObject
* obj0
= 0 ;
5291 PyObject
* obj1
= 0 ;
5292 char * kwnames
[] = {
5293 (char *) "self",(char *) "link", NULL
5296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5298 if (!SWIG_IsOK(res1
)) {
5299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5301 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5303 arg2
= wxString_in_helper(obj1
);
5304 if (arg2
== NULL
) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 (arg1
)->SetLink((wxString
const &)*arg2
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= SWIG_Py_Void();
5328 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5329 PyObject
*resultobj
= 0;
5330 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5331 wxFont
*result
= 0 ;
5334 PyObject
*swig_obj
[1] ;
5336 if (!args
) SWIG_fail
;
5338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5339 if (!SWIG_IsOK(res1
)) {
5340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5342 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
5356 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5357 PyObject
*resultobj
= 0;
5358 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5359 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
5362 PyObject
*swig_obj
[1] ;
5364 if (!args
) SWIG_fail
;
5366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5367 if (!SWIG_IsOK(res1
)) {
5368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5370 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 result
= (arg1
)->GetLink();
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo
& >(result
))), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_OWN
| 0 );
5384 SWIGINTERN PyObject
*HtmlWinParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5387 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser
, SWIG_NewClientData(obj
));
5388 return SWIG_Py_Void();
5391 SWIGINTERN PyObject
*HtmlWinParser_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5392 return SWIG_Python_InitShadowInstance(args
);
5395 SWIGINTERN PyObject
*_wrap_new_HtmlTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5396 PyObject
*resultobj
= 0;
5397 wxPyHtmlTagHandler
*result
= 0 ;
5399 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlTagHandler",0,0,0)) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_NEW
| 0 );
5413 SWIGINTERN PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
= 0;
5415 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5416 PyObject
*arg2
= (PyObject
*) 0 ;
5417 PyObject
*arg3
= (PyObject
*) 0 ;
5420 PyObject
* obj0
= 0 ;
5421 PyObject
* obj1
= 0 ;
5422 PyObject
* obj2
= 0 ;
5423 char * kwnames
[] = {
5424 (char *) "self",(char *) "self",(char *) "_class", NULL
5427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5429 if (!SWIG_IsOK(res1
)) {
5430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5432 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= SWIG_Py_Void();
5448 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
= 0;
5450 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5451 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5458 char * kwnames
[] = {
5459 (char *) "self",(char *) "parser", NULL
5462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5464 if (!SWIG_IsOK(res1
)) {
5465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5467 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5468 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5469 if (!SWIG_IsOK(res2
)) {
5470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5472 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 (arg1
)->SetParser(arg2
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= SWIG_Py_Void();
5486 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5487 PyObject
*resultobj
= 0;
5488 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5489 wxHtmlParser
*result
= 0 ;
5492 PyObject
*swig_obj
[1] ;
5494 if (!args
) SWIG_fail
;
5496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5497 if (!SWIG_IsOK(res1
)) {
5498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5500 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (wxHtmlParser
*)(arg1
)->GetParser();
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5514 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
= 0;
5516 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5517 wxHtmlTag
*arg2
= 0 ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5524 char * kwnames
[] = {
5525 (char *) "self",(char *) "tag", NULL
5528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5530 if (!SWIG_IsOK(res1
)) {
5531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5533 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5535 if (!SWIG_IsOK(res2
)) {
5536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5541 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= SWIG_Py_Void();
5555 SWIGINTERN PyObject
*HtmlTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5558 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_NewClientData(obj
));
5559 return SWIG_Py_Void();
5562 SWIGINTERN PyObject
*HtmlTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5563 return SWIG_Python_InitShadowInstance(args
);
5566 SWIGINTERN PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5567 PyObject
*resultobj
= 0;
5568 wxPyHtmlWinTagHandler
*result
= 0 ;
5570 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_NEW
| 0 );
5584 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
= 0;
5586 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5587 PyObject
*arg2
= (PyObject
*) 0 ;
5588 PyObject
*arg3
= (PyObject
*) 0 ;
5591 PyObject
* obj0
= 0 ;
5592 PyObject
* obj1
= 0 ;
5593 PyObject
* obj2
= 0 ;
5594 char * kwnames
[] = {
5595 (char *) "self",(char *) "self",(char *) "_class", NULL
5598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5600 if (!SWIG_IsOK(res1
)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5603 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= SWIG_Py_Void();
5619 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
= 0;
5621 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5622 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5627 PyObject
* obj0
= 0 ;
5628 PyObject
* obj1
= 0 ;
5629 char * kwnames
[] = {
5630 (char *) "self",(char *) "parser", NULL
5633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5635 if (!SWIG_IsOK(res1
)) {
5636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5638 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5640 if (!SWIG_IsOK(res2
)) {
5641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5643 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 (arg1
)->SetParser(arg2
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 resultobj
= SWIG_Py_Void();
5657 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5658 PyObject
*resultobj
= 0;
5659 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5660 wxHtmlWinParser
*result
= 0 ;
5663 PyObject
*swig_obj
[1] ;
5665 if (!args
) SWIG_fail
;
5667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5668 if (!SWIG_IsOK(res1
)) {
5669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5671 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5685 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
= 0;
5687 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5688 wxHtmlTag
*arg2
= 0 ;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5695 char * kwnames
[] = {
5696 (char *) "self",(char *) "tag", NULL
5699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5701 if (!SWIG_IsOK(res1
)) {
5702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5704 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5706 if (!SWIG_IsOK(res2
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5712 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5719 resultobj
= SWIG_Py_Void();
5726 SWIGINTERN PyObject
*HtmlWinTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5729 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_NewClientData(obj
));
5730 return SWIG_Py_Void();
5733 SWIGINTERN PyObject
*HtmlWinTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5734 return SWIG_Python_InitShadowInstance(args
);
5737 SWIGINTERN PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
= 0;
5739 PyObject
*arg1
= (PyObject
*) 0 ;
5740 PyObject
* obj0
= 0 ;
5741 char * kwnames
[] = {
5742 (char *) "tagHandlerClass", NULL
5745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) SWIG_fail
;
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 wxHtmlWinParser_AddTagHandler(arg1
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5753 resultobj
= SWIG_Py_Void();
5760 SWIGINTERN PyObject
*_wrap_new_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5761 PyObject
*resultobj
= 0;
5762 wxHtmlSelection
*result
= 0 ;
5764 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlSelection",0,0,0)) SWIG_fail
;
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 result
= (wxHtmlSelection
*)new wxHtmlSelection();
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_NEW
| 0 );
5778 SWIGINTERN PyObject
*_wrap_delete_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5779 PyObject
*resultobj
= 0;
5780 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5783 PyObject
*swig_obj
[1] ;
5785 if (!args
) SWIG_fail
;
5787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_DISOWN
| 0 );
5788 if (!SWIG_IsOK(res1
)) {
5789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5791 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= SWIG_Py_Void();
5806 SWIGINTERN PyObject
*_wrap_HtmlSelection_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
= 0;
5808 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5810 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5812 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5822 PyObject
* obj1
= 0 ;
5823 PyObject
* obj2
= 0 ;
5824 PyObject
* obj3
= 0 ;
5825 PyObject
* obj4
= 0 ;
5826 char * kwnames
[] = {
5827 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5832 if (!SWIG_IsOK(res1
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5835 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5838 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5840 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5841 if (!SWIG_IsOK(res3
)) {
5842 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5844 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5847 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5849 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5850 if (!SWIG_IsOK(res5
)) {
5851 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5853 arg5
= reinterpret_cast< wxHtmlCell
* >(argp5
);
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= SWIG_Py_Void();
5867 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
= 0;
5869 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5870 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5871 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5879 PyObject
* obj1
= 0 ;
5880 PyObject
* obj2
= 0 ;
5881 char * kwnames
[] = {
5882 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5887 if (!SWIG_IsOK(res1
)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5890 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5892 if (!SWIG_IsOK(res2
)) {
5893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5895 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
5896 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5897 if (!SWIG_IsOK(res3
)) {
5898 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5900 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 resultobj
= SWIG_Py_Void();
5914 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5915 PyObject
*resultobj
= 0;
5916 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5917 wxHtmlCell
*result
= 0 ;
5920 PyObject
*swig_obj
[1] ;
5922 if (!args
) SWIG_fail
;
5924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5925 if (!SWIG_IsOK(res1
)) {
5926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5928 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= wxPyMake_wxObject(result
, 0);
5944 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5945 PyObject
*resultobj
= 0;
5946 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5947 wxHtmlCell
*result
= 0 ;
5950 PyObject
*swig_obj
[1] ;
5952 if (!args
) SWIG_fail
;
5954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5955 if (!SWIG_IsOK(res1
)) {
5956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5958 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5966 resultobj
= wxPyMake_wxObject(result
, 0);
5974 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5975 PyObject
*resultobj
= 0;
5976 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5977 wxPoint
*result
= 0 ;
5980 PyObject
*swig_obj
[1] ;
5982 if (!args
) SWIG_fail
;
5984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5985 if (!SWIG_IsOK(res1
)) {
5986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5988 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
5993 result
= (wxPoint
*) &_result_ref
;
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6005 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6006 PyObject
*resultobj
= 0;
6007 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6008 wxPoint
*result
= 0 ;
6011 PyObject
*swig_obj
[1] ;
6013 if (!args
) SWIG_fail
;
6015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6016 if (!SWIG_IsOK(res1
)) {
6017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6019 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
6024 result
= (wxPoint
*) &_result_ref
;
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6036 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6037 PyObject
*resultobj
= 0;
6038 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6039 wxPoint
*result
= 0 ;
6042 PyObject
*swig_obj
[1] ;
6044 if (!args
) SWIG_fail
;
6046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6047 if (!SWIG_IsOK(res1
)) {
6048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6050 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
6055 result
= (wxPoint
*) &_result_ref
;
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6067 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6068 PyObject
*resultobj
= 0;
6069 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6070 wxPoint
*result
= 0 ;
6073 PyObject
*swig_obj
[1] ;
6075 if (!args
) SWIG_fail
;
6077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6078 if (!SWIG_IsOK(res1
)) {
6079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6081 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
6086 result
= (wxPoint
*) &_result_ref
;
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6098 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
= 0;
6100 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6107 char * kwnames
[] = {
6108 (char *) "self",(char *) "pos", NULL
6111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6113 if (!SWIG_IsOK(res1
)) {
6114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6116 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= SWIG_Py_Void();
6134 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
= 0;
6136 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6142 PyObject
* obj1
= 0 ;
6143 char * kwnames
[] = {
6144 (char *) "self",(char *) "pos", NULL
6147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6149 if (!SWIG_IsOK(res1
)) {
6150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6152 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= SWIG_Py_Void();
6170 SWIGINTERN PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6171 PyObject
*resultobj
= 0;
6172 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6175 PyObject
*swig_obj
[1] ;
6177 if (!args
) SWIG_fail
;
6179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6180 if (!SWIG_IsOK(res1
)) {
6181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6183 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 (arg1
)->ClearPrivPos();
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= SWIG_Py_Void();
6197 SWIGINTERN PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6198 PyObject
*resultobj
= 0;
6199 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6203 PyObject
*swig_obj
[1] ;
6205 if (!args
) SWIG_fail
;
6207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6208 if (!SWIG_IsOK(res1
)) {
6209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6211 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
6225 SWIGINTERN PyObject
*HtmlSelection_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6228 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection
, SWIG_NewClientData(obj
));
6229 return SWIG_Py_Void();
6232 SWIGINTERN PyObject
*HtmlSelection_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6233 return SWIG_Python_InitShadowInstance(args
);
6236 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6237 PyObject
*resultobj
= 0;
6238 wxHtmlRenderingState
*result
= 0 ;
6240 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingState",0,0,0)) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_NEW
| 0 );
6254 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6255 PyObject
*resultobj
= 0;
6256 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6259 PyObject
*swig_obj
[1] ;
6261 if (!args
) SWIG_fail
;
6263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_DISOWN
| 0 );
6264 if (!SWIG_IsOK(res1
)) {
6265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6267 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= SWIG_Py_Void();
6282 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
= 0;
6284 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6285 wxHtmlSelectionState arg2
;
6290 PyObject
* obj0
= 0 ;
6291 PyObject
* obj1
= 0 ;
6292 char * kwnames
[] = {
6293 (char *) "self",(char *) "s", NULL
6296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6298 if (!SWIG_IsOK(res1
)) {
6299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6301 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6303 if (!SWIG_IsOK(ecode2
)) {
6304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6306 arg2
= static_cast< wxHtmlSelectionState
>(val2
);
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 (arg1
)->SetSelectionState(arg2
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= SWIG_Py_Void();
6320 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6321 PyObject
*resultobj
= 0;
6322 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6323 wxHtmlSelectionState result
;
6326 PyObject
*swig_obj
[1] ;
6328 if (!args
) SWIG_fail
;
6330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6331 if (!SWIG_IsOK(res1
)) {
6332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6334 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6341 resultobj
= SWIG_From_int(static_cast< int >(result
));
6348 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
= 0;
6350 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6351 wxColour
*arg2
= 0 ;
6355 PyObject
* obj0
= 0 ;
6356 PyObject
* obj1
= 0 ;
6357 char * kwnames
[] = {
6358 (char *) "self",(char *) "c", NULL
6361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6363 if (!SWIG_IsOK(res1
)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6366 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= SWIG_Py_Void();
6384 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6385 PyObject
*resultobj
= 0;
6386 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6387 wxColour
*result
= 0 ;
6390 PyObject
*swig_obj
[1] ;
6392 if (!args
) SWIG_fail
;
6394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6395 if (!SWIG_IsOK(res1
)) {
6396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6398 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
6403 result
= (wxColour
*) &_result_ref
;
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6415 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
= 0;
6417 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6418 wxColour
*arg2
= 0 ;
6422 PyObject
* obj0
= 0 ;
6423 PyObject
* obj1
= 0 ;
6424 char * kwnames
[] = {
6425 (char *) "self",(char *) "c", NULL
6428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6430 if (!SWIG_IsOK(res1
)) {
6431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6433 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6436 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= SWIG_Py_Void();
6451 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6452 PyObject
*resultobj
= 0;
6453 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6454 wxColour
*result
= 0 ;
6457 PyObject
*swig_obj
[1] ;
6459 if (!args
) SWIG_fail
;
6461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6462 if (!SWIG_IsOK(res1
)) {
6463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6465 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
6470 result
= (wxColour
*) &_result_ref
;
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6482 SWIGINTERN PyObject
*HtmlRenderingState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6485 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState
, SWIG_NewClientData(obj
));
6486 return SWIG_Py_Void();
6489 SWIGINTERN PyObject
*HtmlRenderingState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6490 return SWIG_Python_InitShadowInstance(args
);
6493 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
= 0;
6495 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6496 wxColour
*arg2
= 0 ;
6501 PyObject
* obj0
= 0 ;
6502 PyObject
* obj1
= 0 ;
6503 char * kwnames
[] = {
6504 (char *) "self",(char *) "clr", NULL
6507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6509 if (!SWIG_IsOK(res1
)) {
6510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6512 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6515 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6530 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
= 0;
6532 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6533 wxColour
*arg2
= 0 ;
6538 PyObject
* obj0
= 0 ;
6539 PyObject
* obj1
= 0 ;
6540 char * kwnames
[] = {
6541 (char *) "self",(char *) "clr", NULL
6544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6546 if (!SWIG_IsOK(res1
)) {
6547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6549 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6552 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6567 SWIGINTERN PyObject
*HtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6569 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6570 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6571 return SWIG_Py_Void();
6574 SWIGINTERN PyObject
*DefaultHtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6577 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6578 return SWIG_Py_Void();
6581 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6582 PyObject
*resultobj
= 0;
6583 wxHtmlRenderingInfo
*result
= 0 ;
6585 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_NEW
| 0 );
6599 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6600 PyObject
*resultobj
= 0;
6601 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6604 PyObject
*swig_obj
[1] ;
6606 if (!args
) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_DISOWN
| 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6612 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= SWIG_Py_Void();
6627 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
= 0;
6629 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6630 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6635 PyObject
* obj0
= 0 ;
6636 PyObject
* obj1
= 0 ;
6637 char * kwnames
[] = {
6638 (char *) "self",(char *) "s", NULL
6641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6643 if (!SWIG_IsOK(res1
)) {
6644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6646 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6648 if (!SWIG_IsOK(res2
)) {
6649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6651 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 (arg1
)->SetSelection(arg2
);
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= SWIG_Py_Void();
6665 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6666 PyObject
*resultobj
= 0;
6667 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6668 wxHtmlSelection
*result
= 0 ;
6671 PyObject
*swig_obj
[1] ;
6673 if (!args
) SWIG_fail
;
6675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6676 if (!SWIG_IsOK(res1
)) {
6677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6679 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6693 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
= 0;
6695 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6696 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6703 char * kwnames
[] = {
6704 (char *) "self",(char *) "style", NULL
6707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6709 if (!SWIG_IsOK(res1
)) {
6710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6712 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6714 if (!SWIG_IsOK(res2
)) {
6715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6717 arg2
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp2
);
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 (arg1
)->SetStyle(arg2
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 resultobj
= SWIG_Py_Void();
6731 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6732 PyObject
*resultobj
= 0;
6733 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6734 wxHtmlRenderingStyle
*result
= 0 ;
6737 PyObject
*swig_obj
[1] ;
6739 if (!args
) SWIG_fail
;
6741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6742 if (!SWIG_IsOK(res1
)) {
6743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6745 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
6750 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6762 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6763 PyObject
*resultobj
= 0;
6764 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6765 wxHtmlRenderingState
*result
= 0 ;
6768 PyObject
*swig_obj
[1] ;
6770 if (!args
) SWIG_fail
;
6772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6773 if (!SWIG_IsOK(res1
)) {
6774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6776 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
6781 result
= (wxHtmlRenderingState
*) &_result_ref
;
6783 wxPyEndAllowThreads(__tstate
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6793 SWIGINTERN PyObject
*HtmlRenderingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6796 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_NewClientData(obj
));
6797 return SWIG_Py_Void();
6800 SWIGINTERN PyObject
*HtmlRenderingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6801 return SWIG_Python_InitShadowInstance(args
);
6804 SWIGINTERN PyObject
*_wrap_new_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6805 PyObject
*resultobj
= 0;
6806 wxHtmlCell
*result
= 0 ;
6808 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlCell",0,0,0)) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (wxHtmlCell
*)new wxHtmlCell();
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_NEW
| 0 );
6822 SWIGINTERN PyObject
*_wrap_delete_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6823 PyObject
*resultobj
= 0;
6824 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6827 PyObject
*swig_obj
[1] ;
6829 if (!args
) SWIG_fail
;
6831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
6832 if (!SWIG_IsOK(res1
)) {
6833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6835 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 wxPyEndAllowThreads(__tstate
);
6841 if (PyErr_Occurred()) SWIG_fail
;
6843 resultobj
= SWIG_Py_Void();
6850 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6851 PyObject
*resultobj
= 0;
6852 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6856 PyObject
*swig_obj
[1] ;
6858 if (!args
) SWIG_fail
;
6860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6861 if (!SWIG_IsOK(res1
)) {
6862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6864 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (int)(arg1
)->GetPosX();
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= SWIG_From_int(static_cast< int >(result
));
6878 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6879 PyObject
*resultobj
= 0;
6880 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6884 PyObject
*swig_obj
[1] ;
6886 if (!args
) SWIG_fail
;
6888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6889 if (!SWIG_IsOK(res1
)) {
6890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6892 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= (int)(arg1
)->GetPosY();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= SWIG_From_int(static_cast< int >(result
));
6906 SWIGINTERN PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6907 PyObject
*resultobj
= 0;
6908 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6912 PyObject
*swig_obj
[1] ;
6914 if (!args
) SWIG_fail
;
6916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6917 if (!SWIG_IsOK(res1
)) {
6918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6920 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (int)(arg1
)->GetWidth();
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= SWIG_From_int(static_cast< int >(result
));
6934 SWIGINTERN PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6935 PyObject
*resultobj
= 0;
6936 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6940 PyObject
*swig_obj
[1] ;
6942 if (!args
) SWIG_fail
;
6944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6945 if (!SWIG_IsOK(res1
)) {
6946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6948 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 result
= (int)(arg1
)->GetHeight();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_From_int(static_cast< int >(result
));
6962 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6963 PyObject
*resultobj
= 0;
6964 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6968 PyObject
*swig_obj
[1] ;
6970 if (!args
) SWIG_fail
;
6972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6973 if (!SWIG_IsOK(res1
)) {
6974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6976 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 result
= (int)(arg1
)->GetDescent();
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_From_int(static_cast< int >(result
));
6990 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6991 PyObject
*resultobj
= 0;
6992 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6996 PyObject
*swig_obj
[1] ;
6998 if (!args
) SWIG_fail
;
7000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7001 if (!SWIG_IsOK(res1
)) {
7002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7004 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= SWIG_From_int(static_cast< int >(result
));
7018 SWIGINTERN PyObject
*_wrap_HtmlCell_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7019 PyObject
*resultobj
= 0;
7020 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7021 wxString
*result
= 0 ;
7024 PyObject
*swig_obj
[1] ;
7026 if (!args
) SWIG_fail
;
7028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7029 if (!SWIG_IsOK(res1
)) {
7030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7032 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
7037 result
= (wxString
*) &_result_ref
;
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7046 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7055 SWIGINTERN PyObject
*_wrap_HtmlCell_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
= 0;
7057 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7058 wxString
*arg2
= 0 ;
7061 bool temp2
= false ;
7062 PyObject
* obj0
= 0 ;
7063 PyObject
* obj1
= 0 ;
7064 char * kwnames
[] = {
7065 (char *) "self",(char *) "id", NULL
7068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7070 if (!SWIG_IsOK(res1
)) {
7071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7073 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7075 arg2
= wxString_in_helper(obj1
);
7076 if (arg2
== NULL
) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 (arg1
)->SetId((wxString
const &)*arg2
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= SWIG_Py_Void();
7100 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
*resultobj
= 0;
7102 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7103 int arg2
= (int) 0 ;
7104 int arg3
= (int) 0 ;
7105 wxHtmlLinkInfo
*result
= 0 ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7114 PyObject
* obj2
= 0 ;
7115 char * kwnames
[] = {
7116 (char *) "self",(char *) "x",(char *) "y", NULL
7119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7121 if (!SWIG_IsOK(res1
)) {
7122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7124 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7127 if (!SWIG_IsOK(ecode2
)) {
7128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7130 arg2
= static_cast< int >(val2
);
7133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7134 if (!SWIG_IsOK(ecode3
)) {
7135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7137 arg3
= static_cast< int >(val3
);
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
7152 SWIGINTERN PyObject
*_wrap_HtmlCell_GetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7153 PyObject
*resultobj
= 0;
7154 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7155 wxHtmlCell
*result
= 0 ;
7158 PyObject
*swig_obj
[1] ;
7160 if (!args
) SWIG_fail
;
7162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7163 if (!SWIG_IsOK(res1
)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7166 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 result
= (wxHtmlCell
*)(arg1
)->GetNext();
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= wxPyMake_wxObject(result
, 0);
7182 SWIGINTERN PyObject
*_wrap_HtmlCell_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7183 PyObject
*resultobj
= 0;
7184 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7185 wxHtmlContainerCell
*result
= 0 ;
7188 PyObject
*swig_obj
[1] ;
7190 if (!args
) SWIG_fail
;
7192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7193 if (!SWIG_IsOK(res1
)) {
7194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7196 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7210 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7211 PyObject
*resultobj
= 0;
7212 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7213 wxHtmlCell
*result
= 0 ;
7216 PyObject
*swig_obj
[1] ;
7218 if (!args
) SWIG_fail
;
7220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7221 if (!SWIG_IsOK(res1
)) {
7222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7224 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7232 resultobj
= wxPyMake_wxObject(result
, 0);
7240 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMouseCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
= 0;
7242 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7243 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7249 PyObject
* obj0
= 0 ;
7250 PyObject
* obj1
= 0 ;
7251 char * kwnames
[] = {
7252 (char *) "self",(char *) "window", NULL
7255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_GetMouseCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7257 if (!SWIG_IsOK(res1
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7260 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7262 if (!SWIG_IsOK(res2
)) {
7263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7265 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 result
= ((wxHtmlCell
const *)arg1
)->GetMouseCursor(arg2
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7272 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7279 SWIGINTERN PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7280 PyObject
*resultobj
= 0;
7281 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7285 PyObject
*swig_obj
[1] ;
7287 if (!args
) SWIG_fail
;
7289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7290 if (!SWIG_IsOK(res1
)) {
7291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7293 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7307 SWIGINTERN PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7308 PyObject
*resultobj
= 0;
7309 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7313 PyObject
*swig_obj
[1] ;
7315 if (!args
) SWIG_fail
;
7317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7318 if (!SWIG_IsOK(res1
)) {
7319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7321 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7337 SWIGINTERN PyObject
*_wrap_HtmlCell_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
= 0;
7339 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7340 wxHtmlLinkInfo
*arg2
= 0 ;
7345 PyObject
* obj0
= 0 ;
7346 PyObject
* obj1
= 0 ;
7347 char * kwnames
[] = {
7348 (char *) "self",(char *) "link", NULL
7351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7353 if (!SWIG_IsOK(res1
)) {
7354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7356 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7357 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
7358 if (!SWIG_IsOK(res2
)) {
7359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7364 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_Py_Void();
7378 SWIGINTERN PyObject
*_wrap_HtmlCell_SetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
= 0;
7380 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7381 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7384 PyObject
* obj0
= 0 ;
7385 PyObject
* obj1
= 0 ;
7386 char * kwnames
[] = {
7387 (char *) "self",(char *) "cell", NULL
7390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7391 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7392 if (!SWIG_IsOK(res1
)) {
7393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7395 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7396 if (!SWIG_IsOK(res2
)) {
7397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 (arg1
)->SetNext(arg2
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 resultobj
= SWIG_Py_Void();
7412 SWIGINTERN PyObject
*_wrap_HtmlCell_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
= 0;
7414 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7415 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
7420 PyObject
* obj0
= 0 ;
7421 PyObject
* obj1
= 0 ;
7422 char * kwnames
[] = {
7423 (char *) "self",(char *) "p", NULL
7426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7428 if (!SWIG_IsOK(res1
)) {
7429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7431 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7432 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7433 if (!SWIG_IsOK(res2
)) {
7434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7436 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 (arg1
)->SetParent(arg2
);
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7443 resultobj
= SWIG_Py_Void();
7450 SWIGINTERN PyObject
*_wrap_HtmlCell_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
*resultobj
= 0;
7452 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7461 PyObject
* obj0
= 0 ;
7462 PyObject
* obj1
= 0 ;
7463 PyObject
* obj2
= 0 ;
7464 char * kwnames
[] = {
7465 (char *) "self",(char *) "x",(char *) "y", NULL
7468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7470 if (!SWIG_IsOK(res1
)) {
7471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7473 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7475 if (!SWIG_IsOK(ecode2
)) {
7476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7478 arg2
= static_cast< int >(val2
);
7479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7480 if (!SWIG_IsOK(ecode3
)) {
7481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7483 arg3
= static_cast< int >(val3
);
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 (arg1
)->SetPos(arg2
,arg3
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= SWIG_Py_Void();
7497 SWIGINTERN PyObject
*_wrap_HtmlCell_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
= 0;
7499 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7505 PyObject
* obj0
= 0 ;
7506 PyObject
* obj1
= 0 ;
7507 char * kwnames
[] = {
7508 (char *) "self",(char *) "w", NULL
7511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7513 if (!SWIG_IsOK(res1
)) {
7514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7516 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7518 if (!SWIG_IsOK(ecode2
)) {
7519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7521 arg2
= static_cast< int >(val2
);
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 (arg1
)->Layout(arg2
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 resultobj
= SWIG_Py_Void();
7535 SWIGINTERN PyObject
*_wrap_HtmlCell_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
= 0;
7537 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7543 wxHtmlRenderingInfo
*arg7
= 0 ;
7558 PyObject
* obj0
= 0 ;
7559 PyObject
* obj1
= 0 ;
7560 PyObject
* obj2
= 0 ;
7561 PyObject
* obj3
= 0 ;
7562 PyObject
* obj4
= 0 ;
7563 PyObject
* obj5
= 0 ;
7564 PyObject
* obj6
= 0 ;
7565 char * kwnames
[] = {
7566 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7571 if (!SWIG_IsOK(res1
)) {
7572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7574 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7576 if (!SWIG_IsOK(res2
)) {
7577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7582 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7584 if (!SWIG_IsOK(ecode3
)) {
7585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7587 arg3
= static_cast< int >(val3
);
7588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7589 if (!SWIG_IsOK(ecode4
)) {
7590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7592 arg4
= static_cast< int >(val4
);
7593 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7594 if (!SWIG_IsOK(ecode5
)) {
7595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7597 arg5
= static_cast< int >(val5
);
7598 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
7599 if (!SWIG_IsOK(ecode6
)) {
7600 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7602 arg6
= static_cast< int >(val6
);
7603 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7604 if (!SWIG_IsOK(res7
)) {
7605 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7610 arg7
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp7
);
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= SWIG_Py_Void();
7624 SWIGINTERN PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
= 0;
7626 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7630 wxHtmlRenderingInfo
*arg5
= 0 ;
7641 PyObject
* obj0
= 0 ;
7642 PyObject
* obj1
= 0 ;
7643 PyObject
* obj2
= 0 ;
7644 PyObject
* obj3
= 0 ;
7645 PyObject
* obj4
= 0 ;
7646 char * kwnames
[] = {
7647 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7652 if (!SWIG_IsOK(res1
)) {
7653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7655 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7657 if (!SWIG_IsOK(res2
)) {
7658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7663 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7665 if (!SWIG_IsOK(ecode3
)) {
7666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7668 arg3
= static_cast< int >(val3
);
7669 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7670 if (!SWIG_IsOK(ecode4
)) {
7671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7673 arg4
= static_cast< int >(val4
);
7674 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7675 if (!SWIG_IsOK(res5
)) {
7676 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7681 arg5
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp5
);
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_Py_Void();
7695 SWIGINTERN PyObject
*_wrap_HtmlCell_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
= 0;
7697 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7699 void *arg3
= (void *) 0 ;
7700 wxHtmlCell
*result
= 0 ;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7708 PyObject
* obj2
= 0 ;
7709 char * kwnames
[] = {
7710 (char *) "self",(char *) "condition",(char *) "param", NULL
7713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7715 if (!SWIG_IsOK(res1
)) {
7716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7718 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7720 if (!SWIG_IsOK(ecode2
)) {
7721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7723 arg2
= static_cast< int >(val2
);
7724 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
7725 if (!SWIG_IsOK(res3
)) {
7726 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= wxPyMake_wxObject(result
, 0);
7743 SWIGINTERN PyObject
*_wrap_HtmlCell_ProcessMouseClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
= 0;
7745 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7746 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7748 wxMouseEvent
*arg4
= 0 ;
7757 PyObject
* obj0
= 0 ;
7758 PyObject
* obj1
= 0 ;
7759 PyObject
* obj2
= 0 ;
7760 PyObject
* obj3
= 0 ;
7761 char * kwnames
[] = {
7762 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7767 if (!SWIG_IsOK(res1
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7770 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7772 if (!SWIG_IsOK(res2
)) {
7773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7775 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7778 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7780 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
7781 if (!SWIG_IsOK(res4
)) {
7782 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7787 arg4
= reinterpret_cast< wxMouseEvent
* >(argp4
);
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (bool)(arg1
)->ProcessMouseClick(arg2
,(wxPoint
const &)*arg3
,(wxMouseEvent
const &)*arg4
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7803 SWIGINTERN PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
= 0;
7805 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7813 char * kwnames
[] = {
7814 (char *) "self",(char *) "can", NULL
7817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7819 if (!SWIG_IsOK(res1
)) {
7820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7822 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7823 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7824 if (!SWIG_IsOK(ecode2
)) {
7825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7827 arg2
= static_cast< bool >(val2
);
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 (arg1
)->SetCanLiveOnPagebreak(arg2
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_Py_Void();
7841 SWIGINTERN PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7842 PyObject
*resultobj
= 0;
7843 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7847 PyObject
*swig_obj
[1] ;
7849 if (!args
) SWIG_fail
;
7851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7852 if (!SWIG_IsOK(res1
)) {
7853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7855 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7871 SWIGINTERN PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7872 PyObject
*resultobj
= 0;
7873 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7877 PyObject
*swig_obj
[1] ;
7879 if (!args
) SWIG_fail
;
7881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7882 if (!SWIG_IsOK(res1
)) {
7883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7885 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7901 SWIGINTERN PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
= 0;
7903 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7906 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
7907 wxHtmlCell
*result
= 0 ;
7916 PyObject
* obj0
= 0 ;
7917 PyObject
* obj1
= 0 ;
7918 PyObject
* obj2
= 0 ;
7919 PyObject
* obj3
= 0 ;
7920 char * kwnames
[] = {
7921 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7926 if (!SWIG_IsOK(res1
)) {
7927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7929 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7931 if (!SWIG_IsOK(ecode2
)) {
7932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7934 arg2
= static_cast< int >(val2
);
7935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7936 if (!SWIG_IsOK(ecode3
)) {
7937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7939 arg3
= static_cast< int >(val3
);
7941 ecode4
= SWIG_AsVal_unsigned_SS_int(obj3
, &val4
);
7942 if (!SWIG_IsOK(ecode4
)) {
7943 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7945 arg4
= static_cast< unsigned int >(val4
);
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= wxPyMake_wxObject(result
, 0);
7962 SWIGINTERN PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
= 0;
7964 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7965 wxHtmlCell
*arg2
= (wxHtmlCell
*) NULL
;
7971 PyObject
* obj0
= 0 ;
7972 PyObject
* obj1
= 0 ;
7973 char * kwnames
[] = {
7974 (char *) "self",(char *) "rootCell", NULL
7977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlCell_GetAbsPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7979 if (!SWIG_IsOK(res1
)) {
7980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7982 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7985 if (!SWIG_IsOK(res2
)) {
7986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7988 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos(arg2
);
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8003 SWIGINTERN PyObject
*_wrap_HtmlCell_GetRootCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8004 PyObject
*resultobj
= 0;
8005 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8006 wxHtmlCell
*result
= 0 ;
8009 PyObject
*swig_obj
[1] ;
8011 if (!args
) SWIG_fail
;
8013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8014 if (!SWIG_IsOK(res1
)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8017 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetRootCell();
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= wxPyMake_wxObject(result
, 0);
8033 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8034 PyObject
*resultobj
= 0;
8035 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8036 wxHtmlCell
*result
= 0 ;
8039 PyObject
*swig_obj
[1] ;
8041 if (!args
) SWIG_fail
;
8043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8044 if (!SWIG_IsOK(res1
)) {
8045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8047 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= wxPyMake_wxObject(result
, 0);
8063 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8064 PyObject
*resultobj
= 0;
8065 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8066 wxHtmlCell
*result
= 0 ;
8069 PyObject
*swig_obj
[1] ;
8071 if (!args
) SWIG_fail
;
8073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8074 if (!SWIG_IsOK(res1
)) {
8075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8077 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8085 resultobj
= wxPyMake_wxObject(result
, 0);
8093 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8094 PyObject
*resultobj
= 0;
8095 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8096 unsigned int result
;
8099 PyObject
*swig_obj
[1] ;
8101 if (!args
) SWIG_fail
;
8103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8104 if (!SWIG_IsOK(res1
)) {
8105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8107 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
8121 SWIGINTERN PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
= 0;
8123 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8124 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8130 PyObject
* obj0
= 0 ;
8131 PyObject
* obj1
= 0 ;
8132 char * kwnames
[] = {
8133 (char *) "self",(char *) "cell", NULL
8136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8138 if (!SWIG_IsOK(res1
)) {
8139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8141 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8143 if (!SWIG_IsOK(res2
)) {
8144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8146 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
8150 wxPyEndAllowThreads(__tstate
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8162 SWIGINTERN PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
= 0;
8164 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8165 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8171 PyObject
* obj0
= 0 ;
8172 PyObject
* obj1
= 0 ;
8173 char * kwnames
[] = {
8174 (char *) "self",(char *) "sel", NULL
8177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8179 if (!SWIG_IsOK(res1
)) {
8180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8182 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8183 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8184 if (!SWIG_IsOK(res2
)) {
8185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8187 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8207 SWIGINTERN PyObject
*HtmlCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8209 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8210 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell
, SWIG_NewClientData(obj
));
8211 return SWIG_Py_Void();
8214 SWIGINTERN PyObject
*HtmlCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8215 return SWIG_Python_InitShadowInstance(args
);
8218 SWIGINTERN PyObject
*_wrap_new_HtmlWordCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
*resultobj
= 0;
8220 wxString
*arg1
= 0 ;
8222 wxHtmlWordCell
*result
= 0 ;
8223 bool temp1
= false ;
8226 PyObject
* obj0
= 0 ;
8227 PyObject
* obj1
= 0 ;
8228 char * kwnames
[] = {
8229 (char *) "word",(char *) "dc", NULL
8232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8234 arg1
= wxString_in_helper(obj0
);
8235 if (arg1
== NULL
) SWIG_fail
;
8238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
8239 if (!SWIG_IsOK(res2
)) {
8240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8245 arg2
= reinterpret_cast< wxDC
* >(argp2
);
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_NEW
| 0 );
8267 SWIGINTERN PyObject
*_wrap_HtmlWordCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
*resultobj
= 0;
8269 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8270 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8276 PyObject
* obj0
= 0 ;
8277 PyObject
* obj1
= 0 ;
8278 char * kwnames
[] = {
8279 (char *) "self",(char *) "sel", NULL
8282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8284 if (!SWIG_IsOK(res1
)) {
8285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8287 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8288 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8289 if (!SWIG_IsOK(res2
)) {
8290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8292 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 result
= ((wxHtmlWordCell
const *)arg1
)->ConvertToText(arg2
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8312 SWIGINTERN PyObject
*_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8313 PyObject
*resultobj
= 0;
8314 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8318 PyObject
*swig_obj
[1] ;
8320 if (!args
) SWIG_fail
;
8322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8323 if (!SWIG_IsOK(res1
)) {
8324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8326 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 result
= (bool)((wxHtmlWordCell
const *)arg1
)->IsLinebreakAllowed();
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8342 SWIGINTERN PyObject
*_wrap_HtmlWordCell_SetPreviousWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
= 0;
8344 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8345 wxHtmlWordCell
*arg2
= (wxHtmlWordCell
*) 0 ;
8350 PyObject
* obj0
= 0 ;
8351 PyObject
* obj1
= 0 ;
8352 char * kwnames
[] = {
8353 (char *) "self",(char *) "cell", NULL
8356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8358 if (!SWIG_IsOK(res1
)) {
8359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8361 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8363 if (!SWIG_IsOK(res2
)) {
8364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8366 arg2
= reinterpret_cast< wxHtmlWordCell
* >(argp2
);
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 (arg1
)->SetPreviousWord(arg2
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= SWIG_Py_Void();
8380 SWIGINTERN PyObject
*HtmlWordCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8383 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell
, SWIG_NewClientData(obj
));
8384 return SWIG_Py_Void();
8387 SWIGINTERN PyObject
*HtmlWordCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8388 return SWIG_Python_InitShadowInstance(args
);
8391 SWIGINTERN PyObject
*_wrap_new_HtmlContainerCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
= 0;
8393 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8394 wxHtmlContainerCell
*result
= 0 ;
8397 PyObject
* obj0
= 0 ;
8398 char * kwnames
[] = {
8399 (char *) "parent", NULL
8402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) SWIG_fail
;
8403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8404 if (!SWIG_IsOK(res1
)) {
8405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8407 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_NEW
| 0 );
8421 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
= 0;
8423 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8424 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8428 PyObject
* obj0
= 0 ;
8429 PyObject
* obj1
= 0 ;
8430 char * kwnames
[] = {
8431 (char *) "self",(char *) "cell", NULL
8434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8436 if (!SWIG_IsOK(res1
)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8439 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8440 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
8441 if (!SWIG_IsOK(res2
)) {
8442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 (arg1
)->InsertCell(arg2
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= SWIG_Py_Void();
8457 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
= 0;
8459 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8465 PyObject
* obj0
= 0 ;
8466 PyObject
* obj1
= 0 ;
8467 char * kwnames
[] = {
8468 (char *) "self",(char *) "al", NULL
8471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8473 if (!SWIG_IsOK(res1
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8476 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8478 if (!SWIG_IsOK(ecode2
)) {
8479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8481 arg2
= static_cast< int >(val2
);
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 (arg1
)->SetAlignHor(arg2
);
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_Py_Void();
8495 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8496 PyObject
*resultobj
= 0;
8497 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8501 PyObject
*swig_obj
[1] ;
8503 if (!args
) SWIG_fail
;
8505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8506 if (!SWIG_IsOK(res1
)) {
8507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8509 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= (int)(arg1
)->GetAlignHor();
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= SWIG_From_int(static_cast< int >(result
));
8523 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
= 0;
8525 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8531 PyObject
* obj0
= 0 ;
8532 PyObject
* obj1
= 0 ;
8533 char * kwnames
[] = {
8534 (char *) "self",(char *) "al", NULL
8537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8539 if (!SWIG_IsOK(res1
)) {
8540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8542 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8544 if (!SWIG_IsOK(ecode2
)) {
8545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8547 arg2
= static_cast< int >(val2
);
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 (arg1
)->SetAlignVer(arg2
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_Py_Void();
8561 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8562 PyObject
*resultobj
= 0;
8563 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8567 PyObject
*swig_obj
[1] ;
8569 if (!args
) SWIG_fail
;
8571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8572 if (!SWIG_IsOK(res1
)) {
8573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8575 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 result
= (int)(arg1
)->GetAlignVer();
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= SWIG_From_int(static_cast< int >(result
));
8589 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
= 0;
8591 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8594 int arg4
= (int) wxHTML_UNITS_PIXELS
;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8605 PyObject
* obj2
= 0 ;
8606 PyObject
* obj3
= 0 ;
8607 char * kwnames
[] = {
8608 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8613 if (!SWIG_IsOK(res1
)) {
8614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8616 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8618 if (!SWIG_IsOK(ecode2
)) {
8619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8621 arg2
= static_cast< int >(val2
);
8622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8623 if (!SWIG_IsOK(ecode3
)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8626 arg3
= static_cast< int >(val3
);
8628 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8629 if (!SWIG_IsOK(ecode4
)) {
8630 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8632 arg4
= static_cast< int >(val4
);
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8640 resultobj
= SWIG_Py_Void();
8647 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
= 0;
8649 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8656 PyObject
* obj0
= 0 ;
8657 PyObject
* obj1
= 0 ;
8658 char * kwnames
[] = {
8659 (char *) "self",(char *) "ind", NULL
8662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8664 if (!SWIG_IsOK(res1
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8667 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8669 if (!SWIG_IsOK(ecode2
)) {
8670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8672 arg2
= static_cast< int >(val2
);
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 result
= (int)(arg1
)->GetIndent(arg2
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= SWIG_From_int(static_cast< int >(result
));
8686 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
= 0;
8688 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8697 char * kwnames
[] = {
8698 (char *) "self",(char *) "ind", NULL
8701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8703 if (!SWIG_IsOK(res1
)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8706 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8708 if (!SWIG_IsOK(ecode2
)) {
8709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8711 arg2
= static_cast< int >(val2
);
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 result
= (int)(arg1
)->GetIndentUnits(arg2
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= SWIG_From_int(static_cast< int >(result
));
8725 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
= 0;
8727 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8728 wxHtmlTag
*arg2
= 0 ;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8735 char * kwnames
[] = {
8736 (char *) "self",(char *) "tag", NULL
8739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8741 if (!SWIG_IsOK(res1
)) {
8742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8744 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8745 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8746 if (!SWIG_IsOK(res2
)) {
8747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8752 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8759 resultobj
= SWIG_Py_Void();
8766 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
= 0;
8768 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8777 PyObject
* obj0
= 0 ;
8778 PyObject
* obj1
= 0 ;
8779 PyObject
* obj2
= 0 ;
8780 char * kwnames
[] = {
8781 (char *) "self",(char *) "w",(char *) "units", NULL
8784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8786 if (!SWIG_IsOK(res1
)) {
8787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8789 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8791 if (!SWIG_IsOK(ecode2
)) {
8792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8794 arg2
= static_cast< int >(val2
);
8795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8796 if (!SWIG_IsOK(ecode3
)) {
8797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8799 arg3
= static_cast< int >(val3
);
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 (arg1
)->SetWidthFloat(arg2
,arg3
);
8803 wxPyEndAllowThreads(__tstate
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8806 resultobj
= SWIG_Py_Void();
8813 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
*resultobj
= 0;
8815 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8816 wxHtmlTag
*arg2
= 0 ;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8823 char * kwnames
[] = {
8824 (char *) "self",(char *) "tag", NULL
8827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8829 if (!SWIG_IsOK(res1
)) {
8830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8832 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8834 if (!SWIG_IsOK(res2
)) {
8835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8840 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8847 resultobj
= SWIG_Py_Void();
8854 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
= 0;
8856 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8858 int arg3
= (int) wxHTML_ALIGN_TOP
;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8867 PyObject
* obj2
= 0 ;
8868 char * kwnames
[] = {
8869 (char *) "self",(char *) "h",(char *) "align", NULL
8872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8874 if (!SWIG_IsOK(res1
)) {
8875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8877 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8879 if (!SWIG_IsOK(ecode2
)) {
8880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8882 arg2
= static_cast< int >(val2
);
8884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8885 if (!SWIG_IsOK(ecode3
)) {
8886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8888 arg3
= static_cast< int >(val3
);
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 (arg1
)->SetMinHeight(arg2
,arg3
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= SWIG_Py_Void();
8903 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
= 0;
8905 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8906 wxColour
*arg2
= 0 ;
8910 PyObject
* obj0
= 0 ;
8911 PyObject
* obj1
= 0 ;
8912 char * kwnames
[] = {
8913 (char *) "self",(char *) "clr", NULL
8916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8918 if (!SWIG_IsOK(res1
)) {
8919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8921 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8924 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 resultobj
= SWIG_Py_Void();
8939 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8940 PyObject
*resultobj
= 0;
8941 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8945 PyObject
*swig_obj
[1] ;
8947 if (!args
) SWIG_fail
;
8949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8950 if (!SWIG_IsOK(res1
)) {
8951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8953 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (arg1
)->GetBackgroundColour();
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
8967 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
= 0;
8969 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8970 wxColour
*arg2
= 0 ;
8971 wxColour
*arg3
= 0 ;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8978 PyObject
* obj2
= 0 ;
8979 char * kwnames
[] = {
8980 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8985 if (!SWIG_IsOK(res1
)) {
8986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8988 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8991 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8995 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 resultobj
= SWIG_Py_Void();
9010 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9011 PyObject
*resultobj
= 0;
9012 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
9013 wxHtmlCell
*result
= 0 ;
9016 PyObject
*swig_obj
[1] ;
9018 if (!args
) SWIG_fail
;
9020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
9021 if (!SWIG_IsOK(res1
)) {
9022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9024 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9032 resultobj
= wxPyMake_wxObject(result
, 0);
9040 SWIGINTERN PyObject
*HtmlContainerCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9043 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell
, SWIG_NewClientData(obj
));
9044 return SWIG_Py_Void();
9047 SWIGINTERN PyObject
*HtmlContainerCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9048 return SWIG_Python_InitShadowInstance(args
);
9051 SWIGINTERN PyObject
*_wrap_new_HtmlColourCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
= 0;
9053 wxColour
*arg1
= 0 ;
9054 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
9055 wxHtmlColourCell
*result
= 0 ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9061 char * kwnames
[] = {
9062 (char *) "clr",(char *) "flags", NULL
9065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9068 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
9071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9072 if (!SWIG_IsOK(ecode2
)) {
9073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9075 arg2
= static_cast< int >(val2
);
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlColourCell
, SWIG_POINTER_NEW
| 0 );
9090 SWIGINTERN PyObject
*HtmlColourCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9093 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell
, SWIG_NewClientData(obj
));
9094 return SWIG_Py_Void();
9097 SWIGINTERN PyObject
*HtmlColourCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9098 return SWIG_Python_InitShadowInstance(args
);
9101 SWIGINTERN PyObject
*_wrap_new_HtmlFontCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
= 0;
9103 wxFont
*arg1
= (wxFont
*) 0 ;
9104 wxHtmlFontCell
*result
= 0 ;
9107 PyObject
* obj0
= 0 ;
9108 char * kwnames
[] = {
9109 (char *) "font", NULL
9112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) SWIG_fail
;
9113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
9114 if (!SWIG_IsOK(res1
)) {
9115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9117 arg1
= reinterpret_cast< wxFont
* >(argp1
);
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlFontCell
, SWIG_POINTER_NEW
| 0 );
9131 SWIGINTERN PyObject
*HtmlFontCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9134 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell
, SWIG_NewClientData(obj
));
9135 return SWIG_Py_Void();
9138 SWIGINTERN PyObject
*HtmlFontCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9139 return SWIG_Python_InitShadowInstance(args
);
9142 SWIGINTERN PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
= 0;
9144 wxWindow
*arg1
= (wxWindow
*) 0 ;
9145 int arg2
= (int) 0 ;
9146 wxHtmlWidgetCell
*result
= 0 ;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9153 char * kwnames
[] = {
9154 (char *) "wnd",(char *) "w", NULL
9157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9159 if (!SWIG_IsOK(res1
)) {
9160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9162 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9165 if (!SWIG_IsOK(ecode2
)) {
9166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9168 arg2
= static_cast< int >(val2
);
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_POINTER_NEW
| 0 );
9183 SWIGINTERN PyObject
*HtmlWidgetCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9186 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_NewClientData(obj
));
9187 return SWIG_Py_Void();
9190 SWIGINTERN PyObject
*HtmlWidgetCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9191 return SWIG_Python_InitShadowInstance(args
);
9194 SWIGINTERN PyObject
*_wrap_new_HtmlFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9195 PyObject
*resultobj
= 0;
9196 wxPyHtmlFilter
*result
= 0 ;
9198 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlFilter",0,0,0)) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_NEW
| 0 );
9212 SWIGINTERN PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
= 0;
9214 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
9215 PyObject
*arg2
= (PyObject
*) 0 ;
9216 PyObject
*arg3
= (PyObject
*) 0 ;
9219 PyObject
* obj0
= 0 ;
9220 PyObject
* obj1
= 0 ;
9221 PyObject
* obj2
= 0 ;
9222 char * kwnames
[] = {
9223 (char *) "self",(char *) "self",(char *) "_class", NULL
9226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
9228 if (!SWIG_IsOK(res1
)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9231 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 resultobj
= SWIG_Py_Void();
9247 SWIGINTERN PyObject
*HtmlFilter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9250 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter
, SWIG_NewClientData(obj
));
9251 return SWIG_Py_Void();
9254 SWIGINTERN PyObject
*HtmlFilter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9255 return SWIG_Python_InitShadowInstance(args
);
9258 SWIGINTERN PyObject
*_wrap_delete_HtmlWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9259 PyObject
*resultobj
= 0;
9260 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9263 PyObject
*swig_obj
[1] ;
9265 if (!args
) SWIG_fail
;
9267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_POINTER_DISOWN
| 0 );
9268 if (!SWIG_IsOK(res1
)) {
9269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9271 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_Py_Void();
9286 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
= 0;
9288 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9289 wxString
*arg2
= 0 ;
9292 bool temp2
= false ;
9293 PyObject
* obj0
= 0 ;
9294 PyObject
* obj1
= 0 ;
9295 char * kwnames
[] = {
9296 (char *) "self",(char *) "title", NULL
9299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9301 if (!SWIG_IsOK(res1
)) {
9302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9304 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9306 arg2
= wxString_in_helper(obj1
);
9307 if (arg2
== NULL
) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 (arg1
)->SetHTMLWindowTitle((wxString
const &)*arg2
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= SWIG_Py_Void();
9331 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
= 0;
9333 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9334 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 PyObject
* obj2
= 0 ;
9345 char * kwnames
[] = {
9346 (char *) "self",(char *) "cell",(char *) "pos", NULL
9349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9351 if (!SWIG_IsOK(res1
)) {
9352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9354 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
9356 if (!SWIG_IsOK(res2
)) {
9357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9359 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
9362 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= ((wxHtmlWindowInterface
const *)arg1
)->HTMLCoordsToWindow(arg2
,(wxPoint
const &)*arg3
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
9377 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9378 PyObject
*resultobj
= 0;
9379 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9380 wxWindow
*result
= 0 ;
9383 PyObject
*swig_obj
[1] ;
9385 if (!args
) SWIG_fail
;
9387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9388 if (!SWIG_IsOK(res1
)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9391 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 result
= (wxWindow
*)(arg1
)->GetHTMLWindow();
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= wxPyMake_wxObject(result
, 0);
9407 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9408 PyObject
*resultobj
= 0;
9409 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9413 PyObject
*swig_obj
[1] ;
9415 if (!args
) SWIG_fail
;
9417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9418 if (!SWIG_IsOK(res1
)) {
9419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9421 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= ((wxHtmlWindowInterface
const *)arg1
)->GetHTMLBackgroundColour();
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
9435 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
= 0;
9437 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9438 wxColour
*arg2
= 0 ;
9442 PyObject
* obj0
= 0 ;
9443 PyObject
* obj1
= 0 ;
9444 char * kwnames
[] = {
9445 (char *) "self",(char *) "clr", NULL
9448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9450 if (!SWIG_IsOK(res1
)) {
9451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9453 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9456 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 (arg1
)->SetHTMLBackgroundColour((wxColour
const &)*arg2
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= SWIG_Py_Void();
9471 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
= 0;
9473 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9474 wxBitmap
*arg2
= 0 ;
9479 PyObject
* obj0
= 0 ;
9480 PyObject
* obj1
= 0 ;
9481 char * kwnames
[] = {
9482 (char *) "self",(char *) "bmpBg", NULL
9485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9487 if (!SWIG_IsOK(res1
)) {
9488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9490 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9491 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9492 if (!SWIG_IsOK(res2
)) {
9493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9498 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 (arg1
)->SetHTMLBackgroundImage((wxBitmap
const &)*arg2
);
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 resultobj
= SWIG_Py_Void();
9512 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
= 0;
9514 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9515 wxString
*arg2
= 0 ;
9518 bool temp2
= false ;
9519 PyObject
* obj0
= 0 ;
9520 PyObject
* obj1
= 0 ;
9521 char * kwnames
[] = {
9522 (char *) "self",(char *) "text", NULL
9525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9527 if (!SWIG_IsOK(res1
)) {
9528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9530 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9532 arg2
= wxString_in_helper(obj1
);
9533 if (arg2
== NULL
) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 (arg1
)->SetHTMLStatusText((wxString
const &)*arg2
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= SWIG_Py_Void();
9557 SWIGINTERN PyObject
*HtmlWindowInterface_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9560 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_NewClientData(obj
));
9561 return SWIG_Py_Void();
9564 SWIGINTERN PyObject
*_wrap_new_HtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
= 0;
9566 wxWindow
*arg1
= (wxWindow
*) 0 ;
9567 int arg2
= (int) -1 ;
9568 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9569 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9570 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9571 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9572 int arg5
= (int) wxHW_DEFAULT_STYLE
;
9573 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
9574 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9575 wxPyHtmlWindow
*result
= 0 ;
9584 bool temp6
= false ;
9585 PyObject
* obj0
= 0 ;
9586 PyObject
* obj1
= 0 ;
9587 PyObject
* obj2
= 0 ;
9588 PyObject
* obj3
= 0 ;
9589 PyObject
* obj4
= 0 ;
9590 PyObject
* obj5
= 0 ;
9591 char * kwnames
[] = {
9592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9597 if (!SWIG_IsOK(res1
)) {
9598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9600 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9603 if (!SWIG_IsOK(ecode2
)) {
9604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9606 arg2
= static_cast< int >(val2
);
9611 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9617 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9621 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9622 if (!SWIG_IsOK(ecode5
)) {
9623 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9625 arg5
= static_cast< int >(val5
);
9629 arg6
= wxString_in_helper(obj5
);
9630 if (arg6
== NULL
) SWIG_fail
;
9635 if (!wxPyCheckForApp()) SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_NEW
| 0 );
9656 SWIGINTERN PyObject
*_wrap_new_PreHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9657 PyObject
*resultobj
= 0;
9658 wxPyHtmlWindow
*result
= 0 ;
9660 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlWindow",0,0,0)) SWIG_fail
;
9662 if (!wxPyCheckForApp()) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_OWN
| 0 );
9675 SWIGINTERN PyObject
*_wrap_HtmlWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
*resultobj
= 0;
9677 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9678 wxWindow
*arg2
= (wxWindow
*) 0 ;
9679 int arg3
= (int) -1 ;
9680 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9681 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9682 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9683 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9684 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
9685 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
9686 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9698 bool temp7
= false ;
9699 PyObject
* obj0
= 0 ;
9700 PyObject
* obj1
= 0 ;
9701 PyObject
* obj2
= 0 ;
9702 PyObject
* obj3
= 0 ;
9703 PyObject
* obj4
= 0 ;
9704 PyObject
* obj5
= 0 ;
9705 PyObject
* obj6
= 0 ;
9706 char * kwnames
[] = {
9707 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9712 if (!SWIG_IsOK(res1
)) {
9713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9715 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9716 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9717 if (!SWIG_IsOK(res2
)) {
9718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9720 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9723 if (!SWIG_IsOK(ecode3
)) {
9724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9726 arg3
= static_cast< int >(val3
);
9731 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9737 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9741 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9742 if (!SWIG_IsOK(ecode6
)) {
9743 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9745 arg6
= static_cast< int >(val6
);
9749 arg7
= wxString_in_helper(obj6
);
9750 if (arg7
== NULL
) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9777 SWIGINTERN PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
= 0;
9779 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9780 PyObject
*arg2
= (PyObject
*) 0 ;
9781 PyObject
*arg3
= (PyObject
*) 0 ;
9784 PyObject
* obj0
= 0 ;
9785 PyObject
* obj1
= 0 ;
9786 PyObject
* obj2
= 0 ;
9787 char * kwnames
[] = {
9788 (char *) "self",(char *) "self",(char *) "_class", NULL
9791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9793 if (!SWIG_IsOK(res1
)) {
9794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9796 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= SWIG_Py_Void();
9812 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
= 0;
9814 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9815 wxString
*arg2
= 0 ;
9819 bool temp2
= false ;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9822 char * kwnames
[] = {
9823 (char *) "self",(char *) "source", NULL
9826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9828 if (!SWIG_IsOK(res1
)) {
9829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9831 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9833 arg2
= wxString_in_helper(obj1
);
9834 if (arg2
== NULL
) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9860 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
= 0;
9862 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9863 wxString
*arg2
= 0 ;
9867 bool temp2
= false ;
9868 PyObject
* obj0
= 0 ;
9869 PyObject
* obj1
= 0 ;
9870 char * kwnames
[] = {
9871 (char *) "self",(char *) "location", NULL
9874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9876 if (!SWIG_IsOK(res1
)) {
9877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9879 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9881 arg2
= wxString_in_helper(obj1
);
9882 if (arg2
== NULL
) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9908 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
= 0;
9910 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9911 wxString
*arg2
= 0 ;
9915 bool temp2
= false ;
9916 PyObject
* obj0
= 0 ;
9917 PyObject
* obj1
= 0 ;
9918 char * kwnames
[] = {
9919 (char *) "self",(char *) "filename", NULL
9922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9924 if (!SWIG_IsOK(res1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9927 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9929 arg2
= wxString_in_helper(obj1
);
9930 if (arg2
== NULL
) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9956 SWIGINTERN PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
= 0;
9958 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9959 wxString
*arg2
= 0 ;
9963 bool temp2
= false ;
9964 PyObject
* obj0
= 0 ;
9965 PyObject
* obj1
= 0 ;
9966 char * kwnames
[] = {
9967 (char *) "self",(char *) "source", NULL
9970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9972 if (!SWIG_IsOK(res1
)) {
9973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9975 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9977 arg2
= wxString_in_helper(obj1
);
9978 if (arg2
== NULL
) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10004 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10005 PyObject
*resultobj
= 0;
10006 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10010 PyObject
*swig_obj
[1] ;
10012 if (!args
) SWIG_fail
;
10013 swig_obj
[0] = args
;
10014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10015 if (!SWIG_IsOK(res1
)) {
10016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10018 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= (arg1
)->GetOpenedPage();
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10038 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10039 PyObject
*resultobj
= 0;
10040 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10044 PyObject
*swig_obj
[1] ;
10046 if (!args
) SWIG_fail
;
10047 swig_obj
[0] = args
;
10048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10049 if (!SWIG_IsOK(res1
)) {
10050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10052 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 result
= (arg1
)->GetOpenedAnchor();
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10072 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10073 PyObject
*resultobj
= 0;
10074 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10078 PyObject
*swig_obj
[1] ;
10080 if (!args
) SWIG_fail
;
10081 swig_obj
[0] = args
;
10082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10083 if (!SWIG_IsOK(res1
)) {
10084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10086 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 result
= (arg1
)->GetOpenedPageTitle();
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10106 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
= 0;
10108 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10109 wxFrame
*arg2
= (wxFrame
*) 0 ;
10110 wxString
*arg3
= 0 ;
10115 bool temp3
= false ;
10116 PyObject
* obj0
= 0 ;
10117 PyObject
* obj1
= 0 ;
10118 PyObject
* obj2
= 0 ;
10119 char * kwnames
[] = {
10120 (char *) "self",(char *) "frame",(char *) "format", NULL
10123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10125 if (!SWIG_IsOK(res1
)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10128 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
10130 if (!SWIG_IsOK(res2
)) {
10131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10133 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
10135 arg3
= wxString_in_helper(obj2
);
10136 if (arg3
== NULL
) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_Py_Void();
10160 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10161 PyObject
*resultobj
= 0;
10162 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10163 wxFrame
*result
= 0 ;
10166 PyObject
*swig_obj
[1] ;
10168 if (!args
) SWIG_fail
;
10169 swig_obj
[0] = args
;
10170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10171 if (!SWIG_IsOK(res1
)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10174 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= wxPyMake_wxObject(result
, 0);
10190 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
= 0;
10192 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10198 PyObject
* obj0
= 0 ;
10199 PyObject
* obj1
= 0 ;
10200 char * kwnames
[] = {
10201 (char *) "self",(char *) "bar", NULL
10204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10206 if (!SWIG_IsOK(res1
)) {
10207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10209 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10211 if (!SWIG_IsOK(ecode2
)) {
10212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10214 arg2
= static_cast< int >(val2
);
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 (arg1
)->SetRelatedStatusBar(arg2
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_Py_Void();
10228 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
= 0;
10230 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10233 PyObject
*arg4
= (PyObject
*) NULL
;
10236 PyObject
* obj0
= 0 ;
10237 PyObject
* obj1
= 0 ;
10238 PyObject
* obj2
= 0 ;
10239 PyObject
* obj3
= 0 ;
10240 char * kwnames
[] = {
10241 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10246 if (!SWIG_IsOK(res1
)) {
10247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10249 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10251 wxString
* sptr
= wxString_in_helper(obj1
);
10252 if (sptr
== NULL
) SWIG_fail
;
10257 wxString
* sptr
= wxString_in_helper(obj2
);
10258 if (sptr
== NULL
) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= SWIG_Py_Void();
10278 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
= 0;
10280 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10281 int arg2
= (int) -1 ;
10282 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10283 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10284 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10285 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10290 bool temp3
= false ;
10291 bool temp4
= false ;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 PyObject
* obj2
= 0 ;
10295 PyObject
* obj3
= 0 ;
10296 char * kwnames
[] = {
10297 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10302 if (!SWIG_IsOK(res1
)) {
10303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10305 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10308 if (!SWIG_IsOK(ecode2
)) {
10309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10311 arg2
= static_cast< int >(val2
);
10315 arg3
= wxString_in_helper(obj2
);
10316 if (arg3
== NULL
) SWIG_fail
;
10322 arg4
= wxString_in_helper(obj3
);
10323 if (arg4
== NULL
) SWIG_fail
;
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= SWIG_Py_Void();
10356 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
= 0;
10358 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 PyObject
* obj1
= 0 ;
10366 char * kwnames
[] = {
10367 (char *) "self",(char *) "b", NULL
10370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10372 if (!SWIG_IsOK(res1
)) {
10373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10375 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10377 if (!SWIG_IsOK(ecode2
)) {
10378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10380 arg2
= static_cast< int >(val2
);
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 (arg1
)->SetBorders(arg2
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_Py_Void();
10394 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
= 0;
10396 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10397 wxBitmap
*arg2
= 0 ;
10402 PyObject
* obj0
= 0 ;
10403 PyObject
* obj1
= 0 ;
10404 char * kwnames
[] = {
10405 (char *) "self",(char *) "bmpBg", NULL
10408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10410 if (!SWIG_IsOK(res1
)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10413 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10414 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10415 if (!SWIG_IsOK(res2
)) {
10416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10421 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= SWIG_Py_Void();
10435 SWIGINTERN PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
= 0;
10437 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10438 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10439 wxString arg3
= (wxString
) wxPyEmptyString
;
10444 PyObject
* obj0
= 0 ;
10445 PyObject
* obj1
= 0 ;
10446 PyObject
* obj2
= 0 ;
10447 char * kwnames
[] = {
10448 (char *) "self",(char *) "cfg",(char *) "path", NULL
10451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10453 if (!SWIG_IsOK(res1
)) {
10454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10456 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10457 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10458 if (!SWIG_IsOK(res2
)) {
10459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10461 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10464 wxString
* sptr
= wxString_in_helper(obj2
);
10465 if (sptr
== NULL
) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 (arg1
)->ReadCustomization(arg2
,arg3
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_Py_Void();
10483 SWIGINTERN PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
= 0;
10485 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10486 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10487 wxString arg3
= (wxString
) wxPyEmptyString
;
10492 PyObject
* obj0
= 0 ;
10493 PyObject
* obj1
= 0 ;
10494 PyObject
* obj2
= 0 ;
10495 char * kwnames
[] = {
10496 (char *) "self",(char *) "cfg",(char *) "path", NULL
10499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10501 if (!SWIG_IsOK(res1
)) {
10502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10504 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10506 if (!SWIG_IsOK(res2
)) {
10507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10509 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10512 wxString
* sptr
= wxString_in_helper(obj2
);
10513 if (sptr
== NULL
) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 (arg1
)->WriteCustomization(arg2
,arg3
);
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= SWIG_Py_Void();
10531 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10532 PyObject
*resultobj
= 0;
10533 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10537 PyObject
*swig_obj
[1] ;
10539 if (!args
) SWIG_fail
;
10540 swig_obj
[0] = args
;
10541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10542 if (!SWIG_IsOK(res1
)) {
10543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10545 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= (bool)(arg1
)->HistoryBack();
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10561 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10562 PyObject
*resultobj
= 0;
10563 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10567 PyObject
*swig_obj
[1] ;
10569 if (!args
) SWIG_fail
;
10570 swig_obj
[0] = args
;
10571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10572 if (!SWIG_IsOK(res1
)) {
10573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10575 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (bool)(arg1
)->HistoryForward();
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10591 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10592 PyObject
*resultobj
= 0;
10593 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10597 PyObject
*swig_obj
[1] ;
10599 if (!args
) SWIG_fail
;
10600 swig_obj
[0] = args
;
10601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10602 if (!SWIG_IsOK(res1
)) {
10603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10605 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 result
= (bool)(arg1
)->HistoryCanBack();
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10621 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10622 PyObject
*resultobj
= 0;
10623 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10627 PyObject
*swig_obj
[1] ;
10629 if (!args
) SWIG_fail
;
10630 swig_obj
[0] = args
;
10631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10632 if (!SWIG_IsOK(res1
)) {
10633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10635 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 result
= (bool)(arg1
)->HistoryCanForward();
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10651 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10652 PyObject
*resultobj
= 0;
10653 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10656 PyObject
*swig_obj
[1] ;
10658 if (!args
) SWIG_fail
;
10659 swig_obj
[0] = args
;
10660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10661 if (!SWIG_IsOK(res1
)) {
10662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10664 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 (arg1
)->HistoryClear();
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 resultobj
= SWIG_Py_Void();
10678 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10679 PyObject
*resultobj
= 0;
10680 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10681 wxHtmlContainerCell
*result
= 0 ;
10684 PyObject
*swig_obj
[1] ;
10686 if (!args
) SWIG_fail
;
10687 swig_obj
[0] = args
;
10688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10689 if (!SWIG_IsOK(res1
)) {
10690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10692 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
10706 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10707 PyObject
*resultobj
= 0;
10708 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10709 wxHtmlWinParser
*result
= 0 ;
10712 PyObject
*swig_obj
[1] ;
10714 if (!args
) SWIG_fail
;
10715 swig_obj
[0] = args
;
10716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10717 if (!SWIG_IsOK(res1
)) {
10718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10720 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
10734 SWIGINTERN PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
= 0;
10736 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10737 wxString
*arg2
= 0 ;
10741 bool temp2
= false ;
10742 PyObject
* obj0
= 0 ;
10743 PyObject
* obj1
= 0 ;
10744 char * kwnames
[] = {
10745 (char *) "self",(char *) "anchor", NULL
10748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10750 if (!SWIG_IsOK(res1
)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10753 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10755 arg2
= wxString_in_helper(obj1
);
10756 if (arg2
== NULL
) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10782 SWIGINTERN PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
= 0;
10784 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10785 wxString
*arg2
= 0 ;
10789 bool temp2
= false ;
10790 PyObject
* obj0
= 0 ;
10791 PyObject
* obj1
= 0 ;
10792 char * kwnames
[] = {
10793 (char *) "self",(char *) "anchor", NULL
10796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10798 if (!SWIG_IsOK(res1
)) {
10799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10801 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10803 arg2
= wxString_in_helper(obj1
);
10804 if (arg2
== NULL
) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10830 SWIGINTERN PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
= 0;
10832 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
10835 PyObject
* obj0
= 0 ;
10836 char * kwnames
[] = {
10837 (char *) "filter", NULL
10840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
10841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
10842 if (!SWIG_IsOK(res1
)) {
10843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10845 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 wxPyHtmlWindow::AddFilter(arg1
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 resultobj
= SWIG_Py_Void();
10859 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
= 0;
10861 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10862 wxPoint
*arg2
= 0 ;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 char * kwnames
[] = {
10869 (char *) "self",(char *) "pos", NULL
10872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10874 if (!SWIG_IsOK(res1
)) {
10875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10877 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10880 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 resultobj
= SWIG_Py_Void();
10895 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
= 0;
10897 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10898 wxPoint
*arg2
= 0 ;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 char * kwnames
[] = {
10905 (char *) "self",(char *) "pos", NULL
10908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10910 if (!SWIG_IsOK(res1
)) {
10911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10913 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10916 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10920 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 resultobj
= SWIG_Py_Void();
10931 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10932 PyObject
*resultobj
= 0;
10933 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10936 PyObject
*swig_obj
[1] ;
10938 if (!args
) SWIG_fail
;
10939 swig_obj
[0] = args
;
10940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10941 if (!SWIG_IsOK(res1
)) {
10942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10944 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 (arg1
)->SelectAll();
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 resultobj
= SWIG_Py_Void();
10958 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10959 PyObject
*resultobj
= 0;
10960 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10964 PyObject
*swig_obj
[1] ;
10966 if (!args
) SWIG_fail
;
10967 swig_obj
[0] = args
;
10968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10969 if (!SWIG_IsOK(res1
)) {
10970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10972 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (arg1
)->SelectionToText();
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10992 SWIGINTERN PyObject
*_wrap_HtmlWindow_ToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10993 PyObject
*resultobj
= 0;
10994 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10998 PyObject
*swig_obj
[1] ;
11000 if (!args
) SWIG_fail
;
11001 swig_obj
[0] = args
;
11002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11003 if (!SWIG_IsOK(res1
)) {
11004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11006 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (arg1
)->ToText();
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11026 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
= 0;
11028 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11029 wxHtmlLinkInfo
*arg2
= 0 ;
11034 PyObject
* obj0
= 0 ;
11035 PyObject
* obj1
= 0 ;
11036 char * kwnames
[] = {
11037 (char *) "self",(char *) "link", NULL
11040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11042 if (!SWIG_IsOK(res1
)) {
11043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11045 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
11047 if (!SWIG_IsOK(res2
)) {
11048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11053 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 (arg1
)->OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11060 resultobj
= SWIG_Py_Void();
11067 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnSetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
= 0;
11069 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11070 wxString
*arg2
= 0 ;
11073 bool temp2
= false ;
11074 PyObject
* obj0
= 0 ;
11075 PyObject
* obj1
= 0 ;
11076 char * kwnames
[] = {
11077 (char *) "self",(char *) "title", NULL
11080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnSetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11082 if (!SWIG_IsOK(res1
)) {
11083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11085 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11087 arg2
= wxString_in_helper(obj1
);
11088 if (arg2
== NULL
) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 (arg1
)->OnSetTitle((wxString
const &)*arg2
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= SWIG_Py_Void();
11112 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellMouseHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
= 0;
11114 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11115 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11126 PyObject
* obj0
= 0 ;
11127 PyObject
* obj1
= 0 ;
11128 PyObject
* obj2
= 0 ;
11129 PyObject
* obj3
= 0 ;
11130 char * kwnames
[] = {
11131 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11136 if (!SWIG_IsOK(res1
)) {
11137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11139 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11141 if (!SWIG_IsOK(res2
)) {
11142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11144 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11146 if (!SWIG_IsOK(ecode3
)) {
11147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11149 arg3
= static_cast< int >(val3
);
11150 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11151 if (!SWIG_IsOK(ecode4
)) {
11152 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11154 arg4
= static_cast< int >(val4
);
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 (arg1
)->OnCellMouseHover(arg2
,arg3
,arg4
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= SWIG_Py_Void();
11168 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
= 0;
11170 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11171 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11174 wxMouseEvent
*arg5
= 0 ;
11186 PyObject
* obj0
= 0 ;
11187 PyObject
* obj1
= 0 ;
11188 PyObject
* obj2
= 0 ;
11189 PyObject
* obj3
= 0 ;
11190 PyObject
* obj4
= 0 ;
11191 char * kwnames
[] = {
11192 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11197 if (!SWIG_IsOK(res1
)) {
11198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11200 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11202 if (!SWIG_IsOK(res2
)) {
11203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11205 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11207 if (!SWIG_IsOK(ecode3
)) {
11208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11210 arg3
= static_cast< int >(val3
);
11211 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11212 if (!SWIG_IsOK(ecode4
)) {
11213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11215 arg4
= static_cast< int >(val4
);
11216 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
11217 if (!SWIG_IsOK(res5
)) {
11218 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11223 arg5
= reinterpret_cast< wxMouseEvent
* >(argp5
);
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (bool)(arg1
)->OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11239 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnOpeningURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
= 0;
11241 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11242 wxHtmlURLType arg2
;
11243 wxString
*arg3
= 0 ;
11244 wxString
*arg4
= (wxString
*) 0 ;
11245 wxHtmlOpeningStatus result
;
11250 bool temp3
= false ;
11251 bool temp4
= false ;
11252 PyObject
* obj0
= 0 ;
11253 PyObject
* obj1
= 0 ;
11254 PyObject
* obj2
= 0 ;
11255 PyObject
* obj3
= 0 ;
11256 char * kwnames
[] = {
11257 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11262 if (!SWIG_IsOK(res1
)) {
11263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11265 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11267 if (!SWIG_IsOK(ecode2
)) {
11268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11270 arg2
= static_cast< wxHtmlURLType
>(val2
);
11272 arg3
= wxString_in_helper(obj2
);
11273 if (arg3
== NULL
) SWIG_fail
;
11277 arg4
= wxString_in_helper(obj3
);
11278 if (arg4
== NULL
) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (wxHtmlOpeningStatus
)((wxPyHtmlWindow
const *)arg1
)->OnOpeningURL(arg2
,(wxString
const &)*arg3
,arg4
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= SWIG_From_int(static_cast< int >(result
));
11310 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
= 0;
11312 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11313 SwigValueWrapper
<wxVisualAttributes
> result
;
11316 PyObject
* obj0
= 0 ;
11317 char * kwnames
[] = {
11318 (char *) "variant", NULL
11321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
11323 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11324 if (!SWIG_IsOK(ecode1
)) {
11325 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11327 arg1
= static_cast< wxWindowVariant
>(val1
);
11330 if (!wxPyCheckForApp()) SWIG_fail
;
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 result
= wxPyHtmlWindow::GetClassDefaultAttributes(arg1
);
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
11343 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
= 0;
11345 wxPyHtmlWindow::HTMLCursor arg1
;
11349 PyObject
* obj0
= 0 ;
11350 char * kwnames
[] = {
11351 (char *) "type", NULL
11354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames
,&obj0
)) SWIG_fail
;
11355 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11356 if (!SWIG_IsOK(ecode1
)) {
11357 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11359 arg1
= static_cast< wxPyHtmlWindow::HTMLCursor
>(val1
);
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= wxPyHtmlWindow::GetDefaultHTMLCursor(arg1
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
11373 SWIGINTERN PyObject
*HtmlWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11376 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow
, SWIG_NewClientData(obj
));
11377 return SWIG_Py_Void();
11380 SWIGINTERN PyObject
*HtmlWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11381 return SWIG_Python_InitShadowInstance(args
);
11384 SWIGINTERN PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11385 PyObject
*resultobj
= 0;
11386 wxHtmlDCRenderer
*result
= 0 ;
11388 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlDCRenderer",0,0,0)) SWIG_fail
;
11390 if (!wxPyCheckForApp()) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_NEW
| 0 );
11403 SWIGINTERN PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11404 PyObject
*resultobj
= 0;
11405 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11408 PyObject
*swig_obj
[1] ;
11410 if (!args
) SWIG_fail
;
11411 swig_obj
[0] = args
;
11412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_DISOWN
| 0 );
11413 if (!SWIG_IsOK(res1
)) {
11414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11416 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= SWIG_Py_Void();
11431 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
= 0;
11433 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11434 wxDC
*arg2
= (wxDC
*) 0 ;
11442 PyObject
* obj0
= 0 ;
11443 PyObject
* obj1
= 0 ;
11444 PyObject
* obj2
= 0 ;
11445 char * kwnames
[] = {
11446 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11451 if (!SWIG_IsOK(res1
)) {
11452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11454 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11455 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
11456 if (!SWIG_IsOK(res2
)) {
11457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11459 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11461 if (!SWIG_IsOK(ecode3
)) {
11462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11464 arg3
= static_cast< int >(val3
);
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 (arg1
)->SetDC(arg2
,arg3
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11471 resultobj
= SWIG_Py_Void();
11478 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
*resultobj
= 0;
11480 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11489 PyObject
* obj0
= 0 ;
11490 PyObject
* obj1
= 0 ;
11491 PyObject
* obj2
= 0 ;
11492 char * kwnames
[] = {
11493 (char *) "self",(char *) "width",(char *) "height", NULL
11496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11498 if (!SWIG_IsOK(res1
)) {
11499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11501 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11503 if (!SWIG_IsOK(ecode2
)) {
11504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11506 arg2
= static_cast< int >(val2
);
11507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11508 if (!SWIG_IsOK(ecode3
)) {
11509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11511 arg3
= static_cast< int >(val3
);
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 (arg1
)->SetSize(arg2
,arg3
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= SWIG_Py_Void();
11525 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
= 0;
11527 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11528 wxString
*arg2
= 0 ;
11529 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11530 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11531 bool arg4
= (bool) true ;
11534 bool temp2
= false ;
11535 bool temp3
= false ;
11538 PyObject
* obj0
= 0 ;
11539 PyObject
* obj1
= 0 ;
11540 PyObject
* obj2
= 0 ;
11541 PyObject
* obj3
= 0 ;
11542 char * kwnames
[] = {
11543 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11548 if (!SWIG_IsOK(res1
)) {
11549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11551 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11553 arg2
= wxString_in_helper(obj1
);
11554 if (arg2
== NULL
) SWIG_fail
;
11559 arg3
= wxString_in_helper(obj2
);
11560 if (arg3
== NULL
) SWIG_fail
;
11565 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11566 if (!SWIG_IsOK(ecode4
)) {
11567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11569 arg4
= static_cast< bool >(val4
);
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11577 resultobj
= SWIG_Py_Void();
11600 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
= 0;
11602 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11605 PyObject
*arg4
= (PyObject
*) NULL
;
11608 PyObject
* obj0
= 0 ;
11609 PyObject
* obj1
= 0 ;
11610 PyObject
* obj2
= 0 ;
11611 PyObject
* obj3
= 0 ;
11612 char * kwnames
[] = {
11613 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11618 if (!SWIG_IsOK(res1
)) {
11619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11621 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11623 wxString
* sptr
= wxString_in_helper(obj1
);
11624 if (sptr
== NULL
) SWIG_fail
;
11629 wxString
* sptr
= wxString_in_helper(obj2
);
11630 if (sptr
== NULL
) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_Py_Void();
11650 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
= 0;
11652 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11653 int arg2
= (int) -1 ;
11654 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11655 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11656 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11657 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11662 bool temp3
= false ;
11663 bool temp4
= false ;
11664 PyObject
* obj0
= 0 ;
11665 PyObject
* obj1
= 0 ;
11666 PyObject
* obj2
= 0 ;
11667 PyObject
* obj3
= 0 ;
11668 char * kwnames
[] = {
11669 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11674 if (!SWIG_IsOK(res1
)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11677 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11680 if (!SWIG_IsOK(ecode2
)) {
11681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11683 arg2
= static_cast< int >(val2
);
11687 arg3
= wxString_in_helper(obj2
);
11688 if (arg3
== NULL
) SWIG_fail
;
11694 arg4
= wxString_in_helper(obj3
);
11695 if (arg4
== NULL
) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 resultobj
= SWIG_Py_Void();
11728 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
= 0;
11730 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11733 wxArrayInt
*arg4
= 0 ;
11734 int arg5
= (int) 0 ;
11735 int arg6
= (int) FALSE
;
11736 int arg7
= (int) INT_MAX
;
11744 bool temp4
= false ;
11751 PyObject
* obj0
= 0 ;
11752 PyObject
* obj1
= 0 ;
11753 PyObject
* obj2
= 0 ;
11754 PyObject
* obj3
= 0 ;
11755 PyObject
* obj4
= 0 ;
11756 PyObject
* obj5
= 0 ;
11757 PyObject
* obj6
= 0 ;
11758 char * kwnames
[] = {
11759 (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
11762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11764 if (!SWIG_IsOK(res1
)) {
11765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11767 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11769 if (!SWIG_IsOK(ecode2
)) {
11770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11772 arg2
= static_cast< int >(val2
);
11773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11774 if (!SWIG_IsOK(ecode3
)) {
11775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11777 arg3
= static_cast< int >(val3
);
11779 if (! PySequence_Check(obj3
)) {
11780 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11783 arg4
= new wxArrayInt
;
11785 int i
, len
=PySequence_Length(obj3
);
11786 for (i
=0; i
<len
; i
++) {
11787 PyObject
* item
= PySequence_GetItem(obj3
, i
);
11788 PyObject
* number
= PyNumber_Int(item
);
11789 arg4
->Add(PyInt_AS_LONG(number
));
11795 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11796 if (!SWIG_IsOK(ecode5
)) {
11797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11799 arg5
= static_cast< int >(val5
);
11802 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11803 if (!SWIG_IsOK(ecode6
)) {
11804 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11806 arg6
= static_cast< int >(val6
);
11809 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11810 if (!SWIG_IsOK(ecode7
)) {
11811 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
11813 arg7
= static_cast< int >(val7
);
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 result
= (int)(arg1
)->Render(arg2
,arg3
,*arg4
,arg5
,arg6
,arg7
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 resultobj
= SWIG_From_int(static_cast< int >(result
));
11823 if (temp4
) delete arg4
;
11828 if (temp4
) delete arg4
;
11834 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11835 PyObject
*resultobj
= 0;
11836 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11840 PyObject
*swig_obj
[1] ;
11842 if (!args
) SWIG_fail
;
11843 swig_obj
[0] = args
;
11844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11845 if (!SWIG_IsOK(res1
)) {
11846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11848 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= (int)(arg1
)->GetTotalHeight();
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= SWIG_From_int(static_cast< int >(result
));
11862 SWIGINTERN PyObject
*HtmlDCRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11865 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_NewClientData(obj
));
11866 return SWIG_Py_Void();
11869 SWIGINTERN PyObject
*HtmlDCRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11870 return SWIG_Python_InitShadowInstance(args
);
11873 SWIGINTERN PyObject
*_wrap_new_HtmlPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
= 0;
11875 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
11876 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11877 wxHtmlPrintout
*result
= 0 ;
11878 bool temp1
= false ;
11879 PyObject
* obj0
= 0 ;
11880 char * kwnames
[] = {
11881 (char *) "title", NULL
11884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) SWIG_fail
;
11887 arg1
= wxString_in_helper(obj0
);
11888 if (arg1
== NULL
) SWIG_fail
;
11893 if (!wxPyCheckForApp()) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_NEW
| 0 );
11914 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
= 0;
11916 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11917 wxString
*arg2
= 0 ;
11918 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11919 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11920 bool arg4
= (bool) true ;
11923 bool temp2
= false ;
11924 bool temp3
= false ;
11927 PyObject
* obj0
= 0 ;
11928 PyObject
* obj1
= 0 ;
11929 PyObject
* obj2
= 0 ;
11930 PyObject
* obj3
= 0 ;
11931 char * kwnames
[] = {
11932 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11937 if (!SWIG_IsOK(res1
)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11940 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11942 arg2
= wxString_in_helper(obj1
);
11943 if (arg2
== NULL
) SWIG_fail
;
11948 arg3
= wxString_in_helper(obj2
);
11949 if (arg3
== NULL
) SWIG_fail
;
11954 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11955 if (!SWIG_IsOK(ecode4
)) {
11956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11958 arg4
= static_cast< bool >(val4
);
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= SWIG_Py_Void();
11989 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
= 0;
11991 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11992 wxString
*arg2
= 0 ;
11995 bool temp2
= false ;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 char * kwnames
[] = {
11999 (char *) "self",(char *) "htmlfile", NULL
12002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12004 if (!SWIG_IsOK(res1
)) {
12005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12007 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12009 arg2
= wxString_in_helper(obj1
);
12010 if (arg2
== NULL
) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12019 resultobj
= SWIG_Py_Void();
12034 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
= 0;
12036 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12037 wxString
*arg2
= 0 ;
12038 int arg3
= (int) wxPAGE_ALL
;
12041 bool temp2
= false ;
12044 PyObject
* obj0
= 0 ;
12045 PyObject
* obj1
= 0 ;
12046 PyObject
* obj2
= 0 ;
12047 char * kwnames
[] = {
12048 (char *) "self",(char *) "header",(char *) "pg", NULL
12051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12053 if (!SWIG_IsOK(res1
)) {
12054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12056 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12058 arg2
= wxString_in_helper(obj1
);
12059 if (arg2
== NULL
) SWIG_fail
;
12063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12064 if (!SWIG_IsOK(ecode3
)) {
12065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12067 arg3
= static_cast< int >(val3
);
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 resultobj
= SWIG_Py_Void();
12090 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
= 0;
12092 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12093 wxString
*arg2
= 0 ;
12094 int arg3
= (int) wxPAGE_ALL
;
12097 bool temp2
= false ;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 PyObject
* obj2
= 0 ;
12103 char * kwnames
[] = {
12104 (char *) "self",(char *) "footer",(char *) "pg", NULL
12107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12109 if (!SWIG_IsOK(res1
)) {
12110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12112 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12114 arg2
= wxString_in_helper(obj1
);
12115 if (arg2
== NULL
) SWIG_fail
;
12119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12120 if (!SWIG_IsOK(ecode3
)) {
12121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12123 arg3
= static_cast< int >(val3
);
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12131 resultobj
= SWIG_Py_Void();
12146 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
= 0;
12148 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12151 PyObject
*arg4
= (PyObject
*) NULL
;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 PyObject
* obj2
= 0 ;
12157 PyObject
* obj3
= 0 ;
12158 char * kwnames
[] = {
12159 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12164 if (!SWIG_IsOK(res1
)) {
12165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12167 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12169 wxString
* sptr
= wxString_in_helper(obj1
);
12170 if (sptr
== NULL
) SWIG_fail
;
12175 wxString
* sptr
= wxString_in_helper(obj2
);
12176 if (sptr
== NULL
) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= SWIG_Py_Void();
12196 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
= 0;
12198 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12199 int arg2
= (int) -1 ;
12200 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12201 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12202 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12203 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12208 bool temp3
= false ;
12209 bool temp4
= false ;
12210 PyObject
* obj0
= 0 ;
12211 PyObject
* obj1
= 0 ;
12212 PyObject
* obj2
= 0 ;
12213 PyObject
* obj3
= 0 ;
12214 char * kwnames
[] = {
12215 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12223 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12226 if (!SWIG_IsOK(ecode2
)) {
12227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12229 arg2
= static_cast< int >(val2
);
12233 arg3
= wxString_in_helper(obj2
);
12234 if (arg3
== NULL
) SWIG_fail
;
12240 arg4
= wxString_in_helper(obj3
);
12241 if (arg4
== NULL
) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_Py_Void();
12274 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
= 0;
12276 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12277 float arg2
= (float) 25.2 ;
12278 float arg3
= (float) 25.2 ;
12279 float arg4
= (float) 25.2 ;
12280 float arg5
= (float) 25.2 ;
12281 float arg6
= (float) 5 ;
12294 PyObject
* obj0
= 0 ;
12295 PyObject
* obj1
= 0 ;
12296 PyObject
* obj2
= 0 ;
12297 PyObject
* obj3
= 0 ;
12298 PyObject
* obj4
= 0 ;
12299 PyObject
* obj5
= 0 ;
12300 char * kwnames
[] = {
12301 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12306 if (!SWIG_IsOK(res1
)) {
12307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12309 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12311 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
12312 if (!SWIG_IsOK(ecode2
)) {
12313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12315 arg2
= static_cast< float >(val2
);
12318 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
12319 if (!SWIG_IsOK(ecode3
)) {
12320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12322 arg3
= static_cast< float >(val3
);
12325 ecode4
= SWIG_AsVal_float(obj3
, &val4
);
12326 if (!SWIG_IsOK(ecode4
)) {
12327 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12329 arg4
= static_cast< float >(val4
);
12332 ecode5
= SWIG_AsVal_float(obj4
, &val5
);
12333 if (!SWIG_IsOK(ecode5
)) {
12334 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12336 arg5
= static_cast< float >(val5
);
12339 ecode6
= SWIG_AsVal_float(obj5
, &val6
);
12340 if (!SWIG_IsOK(ecode6
)) {
12341 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12343 arg6
= static_cast< float >(val6
);
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= SWIG_Py_Void();
12358 SWIGINTERN PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
= 0;
12360 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 char * kwnames
[] = {
12365 (char *) "filter", NULL
12368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
12369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlFilter
, 0 | 0 );
12370 if (!SWIG_IsOK(res1
)) {
12371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12373 arg1
= reinterpret_cast< wxHtmlFilter
* >(argp1
);
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 wxHtmlPrintout::AddFilter(arg1
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= SWIG_Py_Void();
12387 SWIGINTERN PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12388 PyObject
*resultobj
= 0;
12390 if (!SWIG_Python_UnpackTuple(args
,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail
;
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 wxHtmlPrintout::CleanUpStatics();
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= SWIG_Py_Void();
12404 SWIGINTERN PyObject
*HtmlPrintout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12407 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout
, SWIG_NewClientData(obj
));
12408 return SWIG_Py_Void();
12411 SWIGINTERN PyObject
*HtmlPrintout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12412 return SWIG_Python_InitShadowInstance(args
);
12415 SWIGINTERN PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
= 0;
12417 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
12418 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12419 wxWindow
*arg2
= (wxWindow
*) NULL
;
12420 wxHtmlEasyPrinting
*result
= 0 ;
12421 bool temp1
= false ;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 char * kwnames
[] = {
12427 (char *) "name",(char *) "parentWindow", NULL
12430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12433 arg1
= wxString_in_helper(obj0
);
12434 if (arg1
== NULL
) SWIG_fail
;
12439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12440 if (!SWIG_IsOK(res2
)) {
12441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12443 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12446 if (!wxPyCheckForApp()) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_NEW
| 0 );
12467 SWIGINTERN PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12468 PyObject
*resultobj
= 0;
12469 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12472 PyObject
*swig_obj
[1] ;
12474 if (!args
) SWIG_fail
;
12475 swig_obj
[0] = args
;
12476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_DISOWN
| 0 );
12477 if (!SWIG_IsOK(res1
)) {
12478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12480 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 resultobj
= SWIG_Py_Void();
12495 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
= 0;
12497 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12498 wxString
*arg2
= 0 ;
12501 bool temp2
= false ;
12502 PyObject
* obj0
= 0 ;
12503 PyObject
* obj1
= 0 ;
12504 char * kwnames
[] = {
12505 (char *) "self",(char *) "htmlfile", NULL
12508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12510 if (!SWIG_IsOK(res1
)) {
12511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12513 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12515 arg2
= wxString_in_helper(obj1
);
12516 if (arg2
== NULL
) SWIG_fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 (arg1
)->PreviewFile((wxString
const &)*arg2
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12525 resultobj
= SWIG_Py_Void();
12540 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
*resultobj
= 0;
12542 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12543 wxString
*arg2
= 0 ;
12544 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12545 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12548 bool temp2
= false ;
12549 bool temp3
= false ;
12550 PyObject
* obj0
= 0 ;
12551 PyObject
* obj1
= 0 ;
12552 PyObject
* obj2
= 0 ;
12553 char * kwnames
[] = {
12554 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12559 if (!SWIG_IsOK(res1
)) {
12560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12562 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12564 arg2
= wxString_in_helper(obj1
);
12565 if (arg2
== NULL
) SWIG_fail
;
12570 arg3
= wxString_in_helper(obj2
);
12571 if (arg3
== NULL
) SWIG_fail
;
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= SWIG_Py_Void();
12604 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
= 0;
12606 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12607 wxString
*arg2
= 0 ;
12610 bool temp2
= false ;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 char * kwnames
[] = {
12614 (char *) "self",(char *) "htmlfile", NULL
12617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12619 if (!SWIG_IsOK(res1
)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12622 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12624 arg2
= wxString_in_helper(obj1
);
12625 if (arg2
== NULL
) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 (arg1
)->PrintFile((wxString
const &)*arg2
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= SWIG_Py_Void();
12649 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12650 PyObject
*resultobj
= 0;
12651 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12652 wxString
*arg2
= 0 ;
12653 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12654 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12657 bool temp2
= false ;
12658 bool temp3
= false ;
12659 PyObject
* obj0
= 0 ;
12660 PyObject
* obj1
= 0 ;
12661 PyObject
* obj2
= 0 ;
12662 char * kwnames
[] = {
12663 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12668 if (!SWIG_IsOK(res1
)) {
12669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12671 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12673 arg2
= wxString_in_helper(obj1
);
12674 if (arg2
== NULL
) SWIG_fail
;
12679 arg3
= wxString_in_helper(obj2
);
12680 if (arg3
== NULL
) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= SWIG_Py_Void();
12713 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12714 PyObject
*resultobj
= 0;
12715 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12718 PyObject
*swig_obj
[1] ;
12720 if (!args
) SWIG_fail
;
12721 swig_obj
[0] = args
;
12722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12723 if (!SWIG_IsOK(res1
)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12726 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 (arg1
)->PageSetup();
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= SWIG_Py_Void();
12740 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
= 0;
12742 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12743 wxString
*arg2
= 0 ;
12744 int arg3
= (int) wxPAGE_ALL
;
12747 bool temp2
= false ;
12750 PyObject
* obj0
= 0 ;
12751 PyObject
* obj1
= 0 ;
12752 PyObject
* obj2
= 0 ;
12753 char * kwnames
[] = {
12754 (char *) "self",(char *) "header",(char *) "pg", NULL
12757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12759 if (!SWIG_IsOK(res1
)) {
12760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12762 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12764 arg2
= wxString_in_helper(obj1
);
12765 if (arg2
== NULL
) SWIG_fail
;
12769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12770 if (!SWIG_IsOK(ecode3
)) {
12771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12773 arg3
= static_cast< int >(val3
);
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= SWIG_Py_Void();
12796 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
= 0;
12798 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12799 wxString
*arg2
= 0 ;
12800 int arg3
= (int) wxPAGE_ALL
;
12803 bool temp2
= false ;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 PyObject
* obj2
= 0 ;
12809 char * kwnames
[] = {
12810 (char *) "self",(char *) "footer",(char *) "pg", NULL
12813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12815 if (!SWIG_IsOK(res1
)) {
12816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12818 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12820 arg2
= wxString_in_helper(obj1
);
12821 if (arg2
== NULL
) SWIG_fail
;
12825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12826 if (!SWIG_IsOK(ecode3
)) {
12827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12829 arg3
= static_cast< int >(val3
);
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= SWIG_Py_Void();
12852 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
= 0;
12854 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12857 PyObject
*arg4
= (PyObject
*) NULL
;
12860 PyObject
* obj0
= 0 ;
12861 PyObject
* obj1
= 0 ;
12862 PyObject
* obj2
= 0 ;
12863 PyObject
* obj3
= 0 ;
12864 char * kwnames
[] = {
12865 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12870 if (!SWIG_IsOK(res1
)) {
12871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12873 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12875 wxString
* sptr
= wxString_in_helper(obj1
);
12876 if (sptr
== NULL
) SWIG_fail
;
12881 wxString
* sptr
= wxString_in_helper(obj2
);
12882 if (sptr
== NULL
) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12895 resultobj
= SWIG_Py_Void();
12902 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
= 0;
12904 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12905 int arg2
= (int) -1 ;
12906 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12907 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12908 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12909 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12914 bool temp3
= false ;
12915 bool temp4
= false ;
12916 PyObject
* obj0
= 0 ;
12917 PyObject
* obj1
= 0 ;
12918 PyObject
* obj2
= 0 ;
12919 PyObject
* obj3
= 0 ;
12920 char * kwnames
[] = {
12921 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12926 if (!SWIG_IsOK(res1
)) {
12927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12929 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12932 if (!SWIG_IsOK(ecode2
)) {
12933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12935 arg2
= static_cast< int >(val2
);
12939 arg3
= wxString_in_helper(obj2
);
12940 if (arg3
== NULL
) SWIG_fail
;
12946 arg4
= wxString_in_helper(obj3
);
12947 if (arg4
== NULL
) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= SWIG_Py_Void();
12980 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12981 PyObject
*resultobj
= 0;
12982 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12983 wxPrintData
*result
= 0 ;
12986 PyObject
*swig_obj
[1] ;
12988 if (!args
) SWIG_fail
;
12989 swig_obj
[0] = args
;
12990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12991 if (!SWIG_IsOK(res1
)) {
12992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12994 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (wxPrintData
*)(arg1
)->GetPrintData();
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
13008 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13009 PyObject
*resultobj
= 0;
13010 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
13011 wxPageSetupDialogData
*result
= 0 ;
13014 PyObject
*swig_obj
[1] ;
13016 if (!args
) SWIG_fail
;
13017 swig_obj
[0] = args
;
13018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
13019 if (!SWIG_IsOK(res1
)) {
13020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13022 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
13036 SWIGINTERN PyObject
*HtmlEasyPrinting_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13039 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_NewClientData(obj
));
13040 return SWIG_Py_Void();
13043 SWIGINTERN PyObject
*HtmlEasyPrinting_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13044 return SWIG_Python_InitShadowInstance(args
);
13047 SWIGINTERN PyObject
*_wrap_new_HtmlBookRecord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
= 0;
13049 wxString
*arg1
= 0 ;
13050 wxString
*arg2
= 0 ;
13051 wxString
*arg3
= 0 ;
13052 wxString
*arg4
= 0 ;
13053 wxHtmlBookRecord
*result
= 0 ;
13054 bool temp1
= false ;
13055 bool temp2
= false ;
13056 bool temp3
= false ;
13057 bool temp4
= false ;
13058 PyObject
* obj0
= 0 ;
13059 PyObject
* obj1
= 0 ;
13060 PyObject
* obj2
= 0 ;
13061 PyObject
* obj3
= 0 ;
13062 char * kwnames
[] = {
13063 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13068 arg1
= wxString_in_helper(obj0
);
13069 if (arg1
== NULL
) SWIG_fail
;
13073 arg2
= wxString_in_helper(obj1
);
13074 if (arg2
== NULL
) SWIG_fail
;
13078 arg3
= wxString_in_helper(obj2
);
13079 if (arg3
== NULL
) SWIG_fail
;
13083 arg4
= wxString_in_helper(obj3
);
13084 if (arg4
== NULL
) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_NEW
| 0 );
13132 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13133 PyObject
*resultobj
= 0;
13134 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13138 PyObject
*swig_obj
[1] ;
13140 if (!args
) SWIG_fail
;
13141 swig_obj
[0] = args
;
13142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13146 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (arg1
)->GetBookFile();
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13166 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13167 PyObject
*resultobj
= 0;
13168 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13172 PyObject
*swig_obj
[1] ;
13174 if (!args
) SWIG_fail
;
13175 swig_obj
[0] = args
;
13176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13177 if (!SWIG_IsOK(res1
)) {
13178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13180 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 result
= (arg1
)->GetTitle();
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13200 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13201 PyObject
*resultobj
= 0;
13202 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13206 PyObject
*swig_obj
[1] ;
13208 if (!args
) SWIG_fail
;
13209 swig_obj
[0] = args
;
13210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13211 if (!SWIG_IsOK(res1
)) {
13212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13214 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (arg1
)->GetStart();
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13234 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13235 PyObject
*resultobj
= 0;
13236 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13240 PyObject
*swig_obj
[1] ;
13242 if (!args
) SWIG_fail
;
13243 swig_obj
[0] = args
;
13244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13245 if (!SWIG_IsOK(res1
)) {
13246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13248 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 result
= (arg1
)->GetBasePath();
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13268 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
= 0;
13270 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 PyObject
* obj2
= 0 ;
13282 char * kwnames
[] = {
13283 (char *) "self",(char *) "start",(char *) "end", NULL
13286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13288 if (!SWIG_IsOK(res1
)) {
13289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13291 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13293 if (!SWIG_IsOK(ecode2
)) {
13294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13296 arg2
= static_cast< int >(val2
);
13297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13298 if (!SWIG_IsOK(ecode3
)) {
13299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13301 arg3
= static_cast< int >(val3
);
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 (arg1
)->SetContentsRange(arg2
,arg3
);
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13308 resultobj
= SWIG_Py_Void();
13315 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13316 PyObject
*resultobj
= 0;
13317 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13321 PyObject
*swig_obj
[1] ;
13323 if (!args
) SWIG_fail
;
13324 swig_obj
[0] = args
;
13325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13326 if (!SWIG_IsOK(res1
)) {
13327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13329 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (int)(arg1
)->GetContentsStart();
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= SWIG_From_int(static_cast< int >(result
));
13343 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13344 PyObject
*resultobj
= 0;
13345 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13349 PyObject
*swig_obj
[1] ;
13351 if (!args
) SWIG_fail
;
13352 swig_obj
[0] = args
;
13353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13354 if (!SWIG_IsOK(res1
)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13357 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 result
= (int)(arg1
)->GetContentsEnd();
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= SWIG_From_int(static_cast< int >(result
));
13371 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
= 0;
13373 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13374 wxString
*arg2
= 0 ;
13377 bool temp2
= false ;
13378 PyObject
* obj0
= 0 ;
13379 PyObject
* obj1
= 0 ;
13380 char * kwnames
[] = {
13381 (char *) "self",(char *) "title", NULL
13384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13386 if (!SWIG_IsOK(res1
)) {
13387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13389 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13391 arg2
= wxString_in_helper(obj1
);
13392 if (arg2
== NULL
) SWIG_fail
;
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 (arg1
)->SetTitle((wxString
const &)*arg2
);
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= SWIG_Py_Void();
13416 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
= 0;
13418 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13419 wxString
*arg2
= 0 ;
13422 bool temp2
= false ;
13423 PyObject
* obj0
= 0 ;
13424 PyObject
* obj1
= 0 ;
13425 char * kwnames
[] = {
13426 (char *) "self",(char *) "path", NULL
13429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13431 if (!SWIG_IsOK(res1
)) {
13432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13434 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13436 arg2
= wxString_in_helper(obj1
);
13437 if (arg2
== NULL
) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 (arg1
)->SetBasePath((wxString
const &)*arg2
);
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= SWIG_Py_Void();
13461 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
= 0;
13463 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13464 wxString
*arg2
= 0 ;
13467 bool temp2
= false ;
13468 PyObject
* obj0
= 0 ;
13469 PyObject
* obj1
= 0 ;
13470 char * kwnames
[] = {
13471 (char *) "self",(char *) "start", NULL
13474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13476 if (!SWIG_IsOK(res1
)) {
13477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13479 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13481 arg2
= wxString_in_helper(obj1
);
13482 if (arg2
== NULL
) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 (arg1
)->SetStart((wxString
const &)*arg2
);
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= SWIG_Py_Void();
13506 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
= 0;
13508 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13509 wxString
*arg2
= 0 ;
13513 bool temp2
= false ;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 char * kwnames
[] = {
13517 (char *) "self",(char *) "page", NULL
13520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13522 if (!SWIG_IsOK(res1
)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13525 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13527 arg2
= wxString_in_helper(obj1
);
13528 if (arg2
== NULL
) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13558 SWIGINTERN PyObject
*HtmlBookRecord_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13561 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord
, SWIG_NewClientData(obj
));
13562 return SWIG_Py_Void();
13565 SWIGINTERN PyObject
*HtmlBookRecord_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13566 return SWIG_Python_InitShadowInstance(args
);
13569 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13570 PyObject
*resultobj
= 0;
13571 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13575 PyObject
*swig_obj
[1] ;
13577 if (!args
) SWIG_fail
;
13578 swig_obj
[0] = args
;
13579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13580 if (!SWIG_IsOK(res1
)) {
13581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13583 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (bool)(arg1
)->Search();
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13599 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13600 PyObject
*resultobj
= 0;
13601 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13605 PyObject
*swig_obj
[1] ;
13607 if (!args
) SWIG_fail
;
13608 swig_obj
[0] = args
;
13609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13610 if (!SWIG_IsOK(res1
)) {
13611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13613 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= (bool)(arg1
)->IsActive();
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13629 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13630 PyObject
*resultobj
= 0;
13631 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13635 PyObject
*swig_obj
[1] ;
13637 if (!args
) SWIG_fail
;
13638 swig_obj
[0] = args
;
13639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13640 if (!SWIG_IsOK(res1
)) {
13641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13643 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 result
= (int)(arg1
)->GetCurIndex();
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13650 resultobj
= SWIG_From_int(static_cast< int >(result
));
13657 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13658 PyObject
*resultobj
= 0;
13659 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13663 PyObject
*swig_obj
[1] ;
13665 if (!args
) SWIG_fail
;
13666 swig_obj
[0] = args
;
13667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13668 if (!SWIG_IsOK(res1
)) {
13669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13671 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 result
= (int)(arg1
)->GetMaxIndex();
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13678 resultobj
= SWIG_From_int(static_cast< int >(result
));
13685 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13686 PyObject
*resultobj
= 0;
13687 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13688 wxString
*result
= 0 ;
13691 PyObject
*swig_obj
[1] ;
13693 if (!args
) SWIG_fail
;
13694 swig_obj
[0] = args
;
13695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13699 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 wxString
const &_result_ref
= (arg1
)->GetName();
13704 result
= (wxString
*) &_result_ref
;
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13711 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13713 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13722 SWIGINTERN PyObject
*HtmlSearchStatus_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13725 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_NewClientData(obj
));
13726 return SWIG_Py_Void();
13729 SWIGINTERN PyObject
*_wrap_new_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13730 PyObject
*resultobj
= 0;
13731 wxHtmlHelpData
*result
= 0 ;
13733 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlHelpData",0,0,0)) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_NEW
| 0 );
13747 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13748 PyObject
*resultobj
= 0;
13749 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13752 PyObject
*swig_obj
[1] ;
13754 if (!args
) SWIG_fail
;
13755 swig_obj
[0] = args
;
13756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_DISOWN
| 0 );
13757 if (!SWIG_IsOK(res1
)) {
13758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13760 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= SWIG_Py_Void();
13775 SWIGINTERN PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
= 0;
13777 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13778 wxString
*arg2
= 0 ;
13781 bool temp2
= false ;
13782 PyObject
* obj0
= 0 ;
13783 PyObject
* obj1
= 0 ;
13784 char * kwnames
[] = {
13785 (char *) "self",(char *) "path", NULL
13788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13790 if (!SWIG_IsOK(res1
)) {
13791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13793 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13795 arg2
= wxString_in_helper(obj1
);
13796 if (arg2
== NULL
) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 (arg1
)->SetTempDir((wxString
const &)*arg2
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_Py_Void();
13820 SWIGINTERN PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
= 0;
13822 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13823 wxString
*arg2
= 0 ;
13827 bool temp2
= false ;
13828 PyObject
* obj0
= 0 ;
13829 PyObject
* obj1
= 0 ;
13830 char * kwnames
[] = {
13831 (char *) "self",(char *) "book", NULL
13834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13836 if (!SWIG_IsOK(res1
)) {
13837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13839 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13841 arg2
= wxString_in_helper(obj1
);
13842 if (arg2
== NULL
) SWIG_fail
;
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13868 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
= 0;
13870 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13871 wxString
*arg2
= 0 ;
13875 bool temp2
= false ;
13876 PyObject
* obj0
= 0 ;
13877 PyObject
* obj1
= 0 ;
13878 char * kwnames
[] = {
13879 (char *) "self",(char *) "page", NULL
13882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13884 if (!SWIG_IsOK(res1
)) {
13885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13887 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13889 arg2
= wxString_in_helper(obj1
);
13890 if (arg2
== NULL
) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13920 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
= 0;
13922 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13929 PyObject
* obj0
= 0 ;
13930 PyObject
* obj1
= 0 ;
13931 char * kwnames
[] = {
13932 (char *) "self",(char *) "id", NULL
13935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13937 if (!SWIG_IsOK(res1
)) {
13938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13940 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13942 if (!SWIG_IsOK(ecode2
)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13945 arg2
= static_cast< int >(val2
);
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 result
= (arg1
)->FindPageById(arg2
);
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13965 SWIGINTERN PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13966 PyObject
*resultobj
= 0;
13967 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13968 wxHtmlBookRecArray
*result
= 0 ;
13971 PyObject
*swig_obj
[1] ;
13973 if (!args
) SWIG_fail
;
13974 swig_obj
[0] = args
;
13975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13976 if (!SWIG_IsOK(res1
)) {
13977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13979 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
13984 result
= (wxHtmlBookRecArray
*) &_result_ref
;
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0 | 0 );
13996 SWIGINTERN PyObject
*HtmlHelpData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13999 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData
, SWIG_NewClientData(obj
));
14000 return SWIG_Py_Void();
14003 SWIGINTERN PyObject
*HtmlHelpData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14004 return SWIG_Python_InitShadowInstance(args
);
14007 SWIGINTERN PyObject
*_wrap_new_HtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
= 0;
14009 wxWindow
*arg1
= (wxWindow
*) 0 ;
14011 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14012 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14013 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14014 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14015 int arg5
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14016 int arg6
= (int) wxHF_DEFAULT_STYLE
;
14017 wxHtmlHelpData
*arg7
= (wxHtmlHelpData
*) NULL
;
14018 wxHtmlHelpWindow
*result
= 0 ;
14031 PyObject
* obj0
= 0 ;
14032 PyObject
* obj1
= 0 ;
14033 PyObject
* obj2
= 0 ;
14034 PyObject
* obj3
= 0 ;
14035 PyObject
* obj4
= 0 ;
14036 PyObject
* obj5
= 0 ;
14037 PyObject
* obj6
= 0 ;
14038 char * kwnames
[] = {
14039 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14044 if (!SWIG_IsOK(res1
)) {
14045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14047 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14049 if (!SWIG_IsOK(ecode2
)) {
14050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14052 arg2
= static_cast< int >(val2
);
14056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14062 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14066 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14067 if (!SWIG_IsOK(ecode5
)) {
14068 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14070 arg5
= static_cast< int >(val5
);
14073 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14074 if (!SWIG_IsOK(ecode6
)) {
14075 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14077 arg6
= static_cast< int >(val6
);
14080 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14081 if (!SWIG_IsOK(res7
)) {
14082 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14084 arg7
= reinterpret_cast< wxHtmlHelpData
* >(argp7
);
14087 if (!wxPyCheckForApp()) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_NEW
| 0 );
14100 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
= 0;
14102 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
14103 wxHtmlHelpWindow
*result
= 0 ;
14106 PyObject
* obj0
= 0 ;
14107 char * kwnames
[] = {
14108 (char *) "data", NULL
14111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpWindow",kwnames
,&obj0
)) SWIG_fail
;
14113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14114 if (!SWIG_IsOK(res1
)) {
14115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14117 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
14120 if (!wxPyCheckForApp()) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
);
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_OWN
| 0 );
14133 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
= 0;
14135 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14136 wxWindow
*arg2
= (wxWindow
*) 0 ;
14138 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14139 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14140 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14141 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14142 int arg6
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14143 int arg7
= (int) wxHF_DEFAULT_STYLE
;
14157 PyObject
* obj0
= 0 ;
14158 PyObject
* obj1
= 0 ;
14159 PyObject
* obj2
= 0 ;
14160 PyObject
* obj3
= 0 ;
14161 PyObject
* obj4
= 0 ;
14162 PyObject
* obj5
= 0 ;
14163 PyObject
* obj6
= 0 ;
14164 char * kwnames
[] = {
14165 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14170 if (!SWIG_IsOK(res1
)) {
14171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14173 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14174 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14175 if (!SWIG_IsOK(res2
)) {
14176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14178 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14180 if (!SWIG_IsOK(ecode3
)) {
14181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14183 arg3
= static_cast< int >(val3
);
14187 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14193 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14197 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14198 if (!SWIG_IsOK(ecode6
)) {
14199 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14201 arg6
= static_cast< int >(val6
);
14204 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14205 if (!SWIG_IsOK(ecode7
)) {
14206 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14208 arg7
= static_cast< int >(val7
);
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
);
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14225 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14226 PyObject
*resultobj
= 0;
14227 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14228 wxHtmlHelpData
*result
= 0 ;
14231 PyObject
*swig_obj
[1] ;
14233 if (!args
) SWIG_fail
;
14234 swig_obj
[0] = args
;
14235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14236 if (!SWIG_IsOK(res1
)) {
14237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14239 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14253 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14254 PyObject
*resultobj
= 0;
14255 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14256 wxHtmlHelpController
*result
= 0 ;
14259 PyObject
*swig_obj
[1] ;
14261 if (!args
) SWIG_fail
;
14262 swig_obj
[0] = args
;
14263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14264 if (!SWIG_IsOK(res1
)) {
14265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14267 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 result
= (wxHtmlHelpController
*)((wxHtmlHelpWindow
const *)arg1
)->GetController();
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
14281 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
= 0;
14283 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14284 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 PyObject
* obj1
= 0 ;
14290 char * kwnames
[] = {
14291 (char *) "self",(char *) "controller", NULL
14294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14296 if (!SWIG_IsOK(res1
)) {
14297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14299 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14300 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
14301 if (!SWIG_IsOK(res2
)) {
14302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 (arg1
)->SetController(arg2
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= SWIG_Py_Void();
14317 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14318 PyObject
*resultobj
= 0;
14319 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14320 wxString
*arg2
= 0 ;
14324 bool temp2
= false ;
14325 PyObject
* obj0
= 0 ;
14326 PyObject
* obj1
= 0 ;
14327 char * kwnames
[] = {
14328 (char *) "self",(char *) "x", NULL
14331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14333 if (!SWIG_IsOK(res1
)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14336 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14338 arg2
= wxString_in_helper(obj1
);
14339 if (arg2
== NULL
) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= (bool)(arg1
)->Display((wxString
const &)*arg2
);
14345 wxPyEndAllowThreads(__tstate
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14365 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
= 0;
14367 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14374 PyObject
* obj0
= 0 ;
14375 PyObject
* obj1
= 0 ;
14376 char * kwnames
[] = {
14377 (char *) "self",(char *) "id", NULL
14380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14382 if (!SWIG_IsOK(res1
)) {
14383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14385 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14387 if (!SWIG_IsOK(ecode2
)) {
14388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14390 arg2
= static_cast< int >(val2
);
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (bool)(arg1
)->Display(arg2
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14406 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14407 PyObject
*resultobj
= 0;
14408 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14412 PyObject
*swig_obj
[1] ;
14414 if (!args
) SWIG_fail
;
14415 swig_obj
[0] = args
;
14416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14417 if (!SWIG_IsOK(res1
)) {
14418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14420 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14423 result
= (bool)(arg1
)->DisplayContents();
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14436 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14437 PyObject
*resultobj
= 0;
14438 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14442 PyObject
*swig_obj
[1] ;
14444 if (!args
) SWIG_fail
;
14445 swig_obj
[0] = args
;
14446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14447 if (!SWIG_IsOK(res1
)) {
14448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14450 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= (bool)(arg1
)->DisplayIndex();
14454 wxPyEndAllowThreads(__tstate
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14466 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
= 0;
14468 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14469 wxString
*arg2
= 0 ;
14470 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
14474 bool temp2
= false ;
14477 PyObject
* obj0
= 0 ;
14478 PyObject
* obj1
= 0 ;
14479 PyObject
* obj2
= 0 ;
14480 char * kwnames
[] = {
14481 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14486 if (!SWIG_IsOK(res1
)) {
14487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14489 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14491 arg2
= wxString_in_helper(obj1
);
14492 if (arg2
== NULL
) SWIG_fail
;
14497 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
14498 if (!SWIG_IsOK(res3
)) {
14499 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14504 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
14506 if (SWIG_IsNewObj(res3
)) delete temp
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14533 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
= 0;
14535 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14536 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14537 wxString
const &arg3_defvalue
= wxEmptyString
;
14538 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14543 bool temp3
= false ;
14544 PyObject
* obj0
= 0 ;
14545 PyObject
* obj1
= 0 ;
14546 PyObject
* obj2
= 0 ;
14547 char * kwnames
[] = {
14548 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14553 if (!SWIG_IsOK(res1
)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14556 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14557 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14558 if (!SWIG_IsOK(res2
)) {
14559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14561 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14564 arg3
= wxString_in_helper(obj2
);
14565 if (arg3
== NULL
) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= SWIG_Py_Void();
14590 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14591 PyObject
*resultobj
= 0;
14592 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14593 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14594 wxString
const &arg3_defvalue
= wxEmptyString
;
14595 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14600 bool temp3
= false ;
14601 PyObject
* obj0
= 0 ;
14602 PyObject
* obj1
= 0 ;
14603 PyObject
* obj2
= 0 ;
14604 char * kwnames
[] = {
14605 (char *) "self",(char *) "cfg",(char *) "path", NULL
14608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14610 if (!SWIG_IsOK(res1
)) {
14611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14613 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14615 if (!SWIG_IsOK(res2
)) {
14616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14618 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14621 arg3
= wxString_in_helper(obj2
);
14622 if (arg3
== NULL
) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 (arg1
)->ReadCustomization(arg2
,(wxString
const &)*arg3
);
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= SWIG_Py_Void();
14647 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
= 0;
14649 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14650 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14651 wxString
const &arg3_defvalue
= wxEmptyString
;
14652 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14657 bool temp3
= false ;
14658 PyObject
* obj0
= 0 ;
14659 PyObject
* obj1
= 0 ;
14660 PyObject
* obj2
= 0 ;
14661 char * kwnames
[] = {
14662 (char *) "self",(char *) "cfg",(char *) "path", NULL
14665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14667 if (!SWIG_IsOK(res1
)) {
14668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14670 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14672 if (!SWIG_IsOK(res2
)) {
14673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14675 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14678 arg3
= wxString_in_helper(obj2
);
14679 if (arg3
== NULL
) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 (arg1
)->WriteCustomization(arg2
,(wxString
const &)*arg3
);
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= SWIG_Py_Void();
14704 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14705 PyObject
*resultobj
= 0;
14706 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14709 PyObject
*swig_obj
[1] ;
14711 if (!args
) SWIG_fail
;
14712 swig_obj
[0] = args
;
14713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14714 if (!SWIG_IsOK(res1
)) {
14715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14717 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 (arg1
)->NotifyPageChanged();
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 resultobj
= SWIG_Py_Void();
14731 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_RefreshLists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14732 PyObject
*resultobj
= 0;
14733 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14736 PyObject
*swig_obj
[1] ;
14738 if (!args
) SWIG_fail
;
14739 swig_obj
[0] = args
;
14740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14741 if (!SWIG_IsOK(res1
)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14744 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 (arg1
)->RefreshLists();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= SWIG_Py_Void();
14758 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14759 PyObject
*resultobj
= 0;
14760 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14761 wxHtmlWindow
*result
= 0 ;
14764 PyObject
*swig_obj
[1] ;
14766 if (!args
) SWIG_fail
;
14767 swig_obj
[0] = args
;
14768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14769 if (!SWIG_IsOK(res1
)) {
14770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14772 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 result
= (wxHtmlWindow
*)((wxHtmlHelpWindow
const *)arg1
)->GetHtmlWindow();
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindow
, 0 | 0 );
14786 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14787 PyObject
*resultobj
= 0;
14788 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14789 wxSplitterWindow
*result
= 0 ;
14792 PyObject
*swig_obj
[1] ;
14794 if (!args
) SWIG_fail
;
14795 swig_obj
[0] = args
;
14796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14797 if (!SWIG_IsOK(res1
)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14800 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= (wxSplitterWindow
*)(arg1
)->GetSplitterWindow();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
14814 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14815 PyObject
*resultobj
= 0;
14816 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14817 wxToolBar
*result
= 0 ;
14820 PyObject
*swig_obj
[1] ;
14822 if (!args
) SWIG_fail
;
14823 swig_obj
[0] = args
;
14824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14825 if (!SWIG_IsOK(res1
)) {
14826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14828 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (wxToolBar
*)((wxHtmlHelpWindow
const *)arg1
)->GetToolBar();
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14844 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetCfgData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14845 PyObject
*resultobj
= 0;
14846 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14847 wxHtmlHelpFrameCfg
*result
= 0 ;
14850 PyObject
*swig_obj
[1] ;
14852 if (!args
) SWIG_fail
;
14853 swig_obj
[0] = args
;
14854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14855 if (!SWIG_IsOK(res1
)) {
14856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14858 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 wxHtmlHelpFrameCfg
&_result_ref
= (arg1
)->GetCfgData();
14863 result
= (wxHtmlHelpFrameCfg
*) &_result_ref
;
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrameCfg
, 0 | 0 );
14875 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14876 PyObject
*resultobj
= 0;
14877 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14878 wxPyTreeCtrl
*result
= 0 ;
14881 PyObject
*swig_obj
[1] ;
14883 if (!args
) SWIG_fail
;
14884 swig_obj
[0] = args
;
14885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14886 if (!SWIG_IsOK(res1
)) {
14887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14889 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (wxPyTreeCtrl
*)((wxHtmlHelpWindow
const *)arg1
)->GetTreeCtrl();
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14905 SWIGINTERN PyObject
*HtmlHelpWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14908 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_NewClientData(obj
));
14909 return SWIG_Py_Void();
14912 SWIGINTERN PyObject
*HtmlHelpWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14913 return SWIG_Python_InitShadowInstance(args
);
14916 SWIGINTERN PyObject
*_wrap_new_HtmlWindowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
= 0;
14918 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14919 int arg2
= (int) 0 ;
14920 wxHtmlWindowEvent
*result
= 0 ;
14925 PyObject
* obj0
= 0 ;
14926 PyObject
* obj1
= 0 ;
14927 char * kwnames
[] = {
14928 (char *) "commandType",(char *) "id", NULL
14931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlWindowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14933 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14934 if (!SWIG_IsOK(ecode1
)) {
14935 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14937 arg1
= static_cast< wxEventType
>(val1
);
14940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14941 if (!SWIG_IsOK(ecode2
)) {
14942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'");
14944 arg2
= static_cast< int >(val2
);
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 result
= (wxHtmlWindowEvent
*)new wxHtmlWindowEvent(arg1
,arg2
);
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_POINTER_NEW
| 0 );
14959 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
= 0;
14961 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
14962 wxString
*arg2
= 0 ;
14965 bool temp2
= false ;
14966 PyObject
* obj0
= 0 ;
14967 PyObject
* obj1
= 0 ;
14968 char * kwnames
[] = {
14969 (char *) "self",(char *) "url", NULL
14972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
14974 if (!SWIG_IsOK(res1
)) {
14975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'");
14977 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
14979 arg2
= wxString_in_helper(obj1
);
14980 if (arg2
== NULL
) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 (arg1
)->SetURL((wxString
const &)*arg2
);
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_Py_Void();
15004 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15005 PyObject
*resultobj
= 0;
15006 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
15007 wxString
*result
= 0 ;
15010 PyObject
*swig_obj
[1] ;
15012 if (!args
) SWIG_fail
;
15013 swig_obj
[0] = args
;
15014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
15015 if (!SWIG_IsOK(res1
)) {
15016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'");
15018 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 wxString
const &_result_ref
= ((wxHtmlWindowEvent
const *)arg1
)->GetURL();
15023 result
= (wxString
*) &_result_ref
;
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15032 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15041 SWIGINTERN PyObject
*HtmlWindowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15044 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_NewClientData(obj
));
15045 return SWIG_Py_Void();
15048 SWIGINTERN PyObject
*HtmlWindowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15049 return SWIG_Python_InitShadowInstance(args
);
15052 SWIGINTERN PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
= 0;
15054 wxWindow
*arg1
= (wxWindow
*) 0 ;
15056 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15057 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15058 int arg4
= (int) wxHF_DEFAULTSTYLE
;
15059 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15060 wxHtmlHelpFrame
*result
= 0 ;
15065 bool temp3
= false ;
15070 PyObject
* obj0
= 0 ;
15071 PyObject
* obj1
= 0 ;
15072 PyObject
* obj2
= 0 ;
15073 PyObject
* obj3
= 0 ;
15074 PyObject
* obj4
= 0 ;
15075 char * kwnames
[] = {
15076 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15081 if (!SWIG_IsOK(res1
)) {
15082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15084 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15086 if (!SWIG_IsOK(ecode2
)) {
15087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15089 arg2
= static_cast< int >(val2
);
15092 arg3
= wxString_in_helper(obj2
);
15093 if (arg3
== NULL
) SWIG_fail
;
15098 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15099 if (!SWIG_IsOK(ecode4
)) {
15100 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15102 arg4
= static_cast< int >(val4
);
15105 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15106 if (!SWIG_IsOK(res5
)) {
15107 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15109 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15112 if (!wxPyCheckForApp()) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_NEW
| 0 );
15133 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
= 0;
15135 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15136 wxHtmlHelpFrame
*result
= 0 ;
15139 PyObject
* obj0
= 0 ;
15140 char * kwnames
[] = {
15141 (char *) "data", NULL
15144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpFrame",kwnames
,&obj0
)) SWIG_fail
;
15146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15147 if (!SWIG_IsOK(res1
)) {
15148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15150 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15153 if (!wxPyCheckForApp()) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
);
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_OWN
| 0 );
15166 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
= 0;
15168 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15169 wxWindow
*arg2
= (wxWindow
*) 0 ;
15171 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15172 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15173 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15181 bool temp4
= false ;
15184 PyObject
* obj0
= 0 ;
15185 PyObject
* obj1
= 0 ;
15186 PyObject
* obj2
= 0 ;
15187 PyObject
* obj3
= 0 ;
15188 PyObject
* obj4
= 0 ;
15189 char * kwnames
[] = {
15190 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15195 if (!SWIG_IsOK(res1
)) {
15196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15198 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15199 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15200 if (!SWIG_IsOK(res2
)) {
15201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15203 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15204 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15205 if (!SWIG_IsOK(ecode3
)) {
15206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15208 arg3
= static_cast< int >(val3
);
15211 arg4
= wxString_in_helper(obj3
);
15212 if (arg4
== NULL
) SWIG_fail
;
15217 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15218 if (!SWIG_IsOK(ecode5
)) {
15219 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15221 arg5
= static_cast< int >(val5
);
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15246 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15247 PyObject
*resultobj
= 0;
15248 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15249 wxHtmlHelpData
*result
= 0 ;
15252 PyObject
*swig_obj
[1] ;
15254 if (!args
) SWIG_fail
;
15255 swig_obj
[0] = args
;
15256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15257 if (!SWIG_IsOK(res1
)) {
15258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15260 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15274 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
= 0;
15276 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15277 wxString
*arg2
= 0 ;
15280 bool temp2
= false ;
15281 PyObject
* obj0
= 0 ;
15282 PyObject
* obj1
= 0 ;
15283 char * kwnames
[] = {
15284 (char *) "self",(char *) "format", NULL
15287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15289 if (!SWIG_IsOK(res1
)) {
15290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15292 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15294 arg2
= wxString_in_helper(obj1
);
15295 if (arg2
== NULL
) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15304 resultobj
= SWIG_Py_Void();
15319 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15320 PyObject
*resultobj
= 0;
15321 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15324 PyObject
*swig_obj
[1] ;
15326 if (!args
) SWIG_fail
;
15327 swig_obj
[0] = args
;
15328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15329 if (!SWIG_IsOK(res1
)) {
15330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15332 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 (arg1
)->AddGrabIfNeeded();
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= SWIG_Py_Void();
15346 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15347 PyObject
*resultobj
= 0;
15348 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15349 wxHtmlHelpController
*result
= 0 ;
15352 PyObject
*swig_obj
[1] ;
15354 if (!args
) SWIG_fail
;
15355 swig_obj
[0] = args
;
15356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15357 if (!SWIG_IsOK(res1
)) {
15358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15360 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (wxHtmlHelpController
*)((wxHtmlHelpFrame
const *)arg1
)->GetController();
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15374 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
= 0;
15376 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15377 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 PyObject
* obj1
= 0 ;
15383 char * kwnames
[] = {
15384 (char *) "self",(char *) "controller", NULL
15387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15389 if (!SWIG_IsOK(res1
)) {
15390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15392 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15393 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15394 if (!SWIG_IsOK(res2
)) {
15395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 (arg1
)->SetController(arg2
);
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= SWIG_Py_Void();
15410 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15411 PyObject
*resultobj
= 0;
15412 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15413 wxHtmlHelpWindow
*result
= 0 ;
15416 PyObject
*swig_obj
[1] ;
15418 if (!args
) SWIG_fail
;
15419 swig_obj
[0] = args
;
15420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15421 if (!SWIG_IsOK(res1
)) {
15422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15424 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpFrame
const *)arg1
)->GetHelpWindow();
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15432 resultobj
= wxPyMake_wxObject(result
, 0);
15440 SWIGINTERN PyObject
*HtmlHelpFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15443 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_NewClientData(obj
));
15444 return SWIG_Py_Void();
15447 SWIGINTERN PyObject
*HtmlHelpFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15448 return SWIG_Python_InitShadowInstance(args
);
15451 SWIGINTERN PyObject
*_wrap_new_HtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
= 0;
15453 wxWindow
*arg1
= (wxWindow
*) 0 ;
15455 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15456 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15457 int arg4
= (int) wxHF_DEFAULT_STYLE
;
15458 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15459 wxHtmlHelpDialog
*result
= 0 ;
15464 bool temp3
= false ;
15469 PyObject
* obj0
= 0 ;
15470 PyObject
* obj1
= 0 ;
15471 PyObject
* obj2
= 0 ;
15472 PyObject
* obj3
= 0 ;
15473 PyObject
* obj4
= 0 ;
15474 char * kwnames
[] = {
15475 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15480 if (!SWIG_IsOK(res1
)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15483 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15485 if (!SWIG_IsOK(ecode2
)) {
15486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15488 arg2
= static_cast< int >(val2
);
15491 arg3
= wxString_in_helper(obj2
);
15492 if (arg3
== NULL
) SWIG_fail
;
15497 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15498 if (!SWIG_IsOK(ecode4
)) {
15499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15501 arg4
= static_cast< int >(val4
);
15504 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15505 if (!SWIG_IsOK(res5
)) {
15506 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15508 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15511 if (!wxPyCheckForApp()) SWIG_fail
;
15512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15513 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_NEW
| 0 );
15532 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
= 0;
15534 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15535 wxHtmlHelpDialog
*result
= 0 ;
15538 PyObject
* obj0
= 0 ;
15539 char * kwnames
[] = {
15540 (char *) "data", NULL
15543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpDialog",kwnames
,&obj0
)) SWIG_fail
;
15545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15546 if (!SWIG_IsOK(res1
)) {
15547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15549 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15552 if (!wxPyCheckForApp()) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_OWN
| 0 );
15565 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
= 0;
15567 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15568 wxWindow
*arg2
= (wxWindow
*) 0 ;
15570 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15571 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15572 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15580 bool temp4
= false ;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 PyObject
* obj2
= 0 ;
15586 PyObject
* obj3
= 0 ;
15587 PyObject
* obj4
= 0 ;
15588 char * kwnames
[] = {
15589 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15594 if (!SWIG_IsOK(res1
)) {
15595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15597 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15598 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15599 if (!SWIG_IsOK(res2
)) {
15600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15602 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15604 if (!SWIG_IsOK(ecode3
)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15607 arg3
= static_cast< int >(val3
);
15610 arg4
= wxString_in_helper(obj3
);
15611 if (arg4
== NULL
) SWIG_fail
;
15616 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15617 if (!SWIG_IsOK(ecode5
)) {
15618 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15620 arg5
= static_cast< int >(val5
);
15623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15624 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15645 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15646 PyObject
*resultobj
= 0;
15647 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15648 wxHtmlHelpData
*result
= 0 ;
15651 PyObject
*swig_obj
[1] ;
15653 if (!args
) SWIG_fail
;
15654 swig_obj
[0] = args
;
15655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15656 if (!SWIG_IsOK(res1
)) {
15657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15659 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15673 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15674 PyObject
*resultobj
= 0;
15675 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15676 wxHtmlHelpController
*result
= 0 ;
15679 PyObject
*swig_obj
[1] ;
15681 if (!args
) SWIG_fail
;
15682 swig_obj
[0] = args
;
15683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15684 if (!SWIG_IsOK(res1
)) {
15685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15687 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (wxHtmlHelpController
*)((wxHtmlHelpDialog
const *)arg1
)->GetController();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15701 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
= 0;
15703 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15704 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 PyObject
* obj1
= 0 ;
15710 char * kwnames
[] = {
15711 (char *) "self",(char *) "controller", NULL
15714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15716 if (!SWIG_IsOK(res1
)) {
15717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15719 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15720 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15721 if (!SWIG_IsOK(res2
)) {
15722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 (arg1
)->SetController(arg2
);
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 resultobj
= SWIG_Py_Void();
15737 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15738 PyObject
*resultobj
= 0;
15739 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15740 wxHtmlHelpWindow
*result
= 0 ;
15743 PyObject
*swig_obj
[1] ;
15745 if (!args
) SWIG_fail
;
15746 swig_obj
[0] = args
;
15747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15748 if (!SWIG_IsOK(res1
)) {
15749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15751 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpDialog
const *)arg1
)->GetHelpWindow();
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15759 resultobj
= wxPyMake_wxObject(result
, 0);
15767 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
= 0;
15769 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15770 wxString
*arg2
= 0 ;
15773 bool temp2
= false ;
15774 PyObject
* obj0
= 0 ;
15775 PyObject
* obj1
= 0 ;
15776 char * kwnames
[] = {
15777 (char *) "self",(char *) "format", NULL
15780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15782 if (!SWIG_IsOK(res1
)) {
15783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15785 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15787 arg2
= wxString_in_helper(obj1
);
15788 if (arg2
== NULL
) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= SWIG_Py_Void();
15812 SWIGINTERN PyObject
*HtmlHelpDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15815 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_NewClientData(obj
));
15816 return SWIG_Py_Void();
15819 SWIGINTERN PyObject
*HtmlHelpDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15820 return SWIG_Python_InitShadowInstance(args
);
15823 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15824 PyObject
*resultobj
= 0;
15825 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15826 wxString
*arg2
= 0 ;
15831 bool temp2
= false ;
15835 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
15836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15837 if (!SWIG_IsOK(res1
)) {
15838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15840 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15842 arg2
= wxString_in_helper(swig_obj
[1]);
15843 if (arg2
== NULL
) SWIG_fail
;
15846 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
15847 if (!SWIG_IsOK(ecode3
)) {
15848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
15850 arg3
= static_cast< int >(val3
);
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
,arg3
);
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15874 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15875 PyObject
*resultobj
= 0;
15876 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15877 wxString
*arg2
= 0 ;
15881 bool temp2
= false ;
15883 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
15884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15885 if (!SWIG_IsOK(res1
)) {
15886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15888 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15890 arg2
= wxString_in_helper(swig_obj
[1]);
15891 if (arg2
== NULL
) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15917 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize(PyObject
*self
, PyObject
*args
) {
15921 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_Initialize",0,3,argv
))) SWIG_fail
;
15924 return _wrap_HelpControllerBase_Initialize__SWIG_1(self
, argc
, argv
);
15927 return _wrap_HelpControllerBase_Initialize__SWIG_0(self
, argc
, argv
);
15931 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_Initialize'");
15936 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetViewer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
= 0;
15938 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15939 wxString
*arg2
= 0 ;
15940 long arg3
= (long) 0 ;
15943 bool temp2
= false ;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 PyObject
* obj2
= 0 ;
15949 char * kwnames
[] = {
15950 (char *) "self",(char *) "viewer",(char *) "flags", NULL
15953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15955 if (!SWIG_IsOK(res1
)) {
15956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15958 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15960 arg2
= wxString_in_helper(obj1
);
15961 if (arg2
== NULL
) SWIG_fail
;
15965 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15966 if (!SWIG_IsOK(ecode3
)) {
15967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
15969 arg3
= static_cast< long >(val3
);
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 (arg1
)->SetViewer((wxString
const &)*arg2
,arg3
);
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= SWIG_Py_Void();
15992 SWIGINTERN PyObject
*_wrap_HelpControllerBase_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
= 0;
15994 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15995 wxString
const &arg2_defvalue
= wxEmptyString
;
15996 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16000 bool temp2
= false ;
16001 PyObject
* obj0
= 0 ;
16002 PyObject
* obj1
= 0 ;
16003 char * kwnames
[] = {
16004 (char *) "self",(char *) "file", NULL
16007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HelpControllerBase_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16009 if (!SWIG_IsOK(res1
)) {
16010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16012 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16015 arg2
= wxString_in_helper(obj1
);
16016 if (arg2
== NULL
) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16043 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16044 PyObject
*resultobj
= 0;
16045 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16049 PyObject
*swig_obj
[1] ;
16051 if (!args
) SWIG_fail
;
16052 swig_obj
[0] = args
;
16053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16054 if (!SWIG_IsOK(res1
)) {
16055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16057 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16060 result
= (bool)(arg1
)->DisplayContents();
16061 wxPyEndAllowThreads(__tstate
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16073 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16074 PyObject
*resultobj
= 0;
16075 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16083 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16085 if (!SWIG_IsOK(res1
)) {
16086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16088 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16089 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16090 if (!SWIG_IsOK(ecode2
)) {
16091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16093 arg2
= static_cast< int >(val2
);
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (bool)(arg1
)->DisplaySection(arg2
);
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16109 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
= 0;
16111 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 PyObject
* obj1
= 0 ;
16120 char * kwnames
[] = {
16121 (char *) "self",(char *) "contextId", NULL
16124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16126 if (!SWIG_IsOK(res1
)) {
16127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16129 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16131 if (!SWIG_IsOK(ecode2
)) {
16132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16134 arg2
= static_cast< int >(val2
);
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 result
= (bool)(arg1
)->DisplayContextPopup(arg2
);
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16150 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayTextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
= 0;
16152 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16153 wxString
*arg2
= 0 ;
16154 wxPoint
*arg3
= 0 ;
16158 bool temp2
= false ;
16160 PyObject
* obj0
= 0 ;
16161 PyObject
* obj1
= 0 ;
16162 PyObject
* obj2
= 0 ;
16163 char * kwnames
[] = {
16164 (char *) "self",(char *) "text",(char *) "pos", NULL
16167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16169 if (!SWIG_IsOK(res1
)) {
16170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16172 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16174 arg2
= wxString_in_helper(obj1
);
16175 if (arg2
== NULL
) SWIG_fail
;
16180 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 result
= (bool)(arg1
)->DisplayTextPopup((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16205 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16206 PyObject
*resultobj
= 0;
16207 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16208 wxString
*arg2
= 0 ;
16212 bool temp2
= false ;
16214 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16216 if (!SWIG_IsOK(res1
)) {
16217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16219 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16221 arg2
= wxString_in_helper(swig_obj
[1]);
16222 if (arg2
== NULL
) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= (bool)(arg1
)->DisplaySection((wxString
const &)*arg2
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16248 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection(PyObject
*self
, PyObject
*args
) {
16252 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_DisplaySection",0,2,argv
))) SWIG_fail
;
16258 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
16261 if (!_v
) goto check_1
;
16262 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self
, argc
, argv
);
16267 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self
, argc
, argv
);
16271 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16276 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
= 0;
16278 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16285 PyObject
* obj0
= 0 ;
16286 PyObject
* obj1
= 0 ;
16287 char * kwnames
[] = {
16288 (char *) "self",(char *) "blockNo", NULL
16291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16293 if (!SWIG_IsOK(res1
)) {
16294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16296 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16297 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
16298 if (!SWIG_IsOK(ecode2
)) {
16299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16301 arg2
= static_cast< long >(val2
);
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 result
= (bool)(arg1
)->DisplayBlock(arg2
);
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16317 SWIGINTERN PyObject
*_wrap_HelpControllerBase_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
= 0;
16319 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16320 wxString
*arg2
= 0 ;
16321 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
16325 bool temp2
= false ;
16328 PyObject
* obj0
= 0 ;
16329 PyObject
* obj1
= 0 ;
16330 PyObject
* obj2
= 0 ;
16331 char * kwnames
[] = {
16332 (char *) "self",(char *) "k",(char *) "mode", NULL
16335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16337 if (!SWIG_IsOK(res1
)) {
16338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16340 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16342 arg2
= wxString_in_helper(obj1
);
16343 if (arg2
== NULL
) SWIG_fail
;
16348 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
16349 if (!SWIG_IsOK(res3
)) {
16350 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16355 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
16357 if (SWIG_IsNewObj(res3
)) delete temp
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16384 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
= 0;
16386 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16387 wxString
*arg2
= 0 ;
16389 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16390 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16391 bool arg5
= (bool) false ;
16394 bool temp2
= false ;
16399 PyObject
* obj0
= 0 ;
16400 PyObject
* obj1
= 0 ;
16401 PyObject
* obj2
= 0 ;
16402 PyObject
* obj3
= 0 ;
16403 PyObject
* obj4
= 0 ;
16404 char * kwnames
[] = {
16405 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16410 if (!SWIG_IsOK(res1
)) {
16411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16413 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16415 arg2
= wxString_in_helper(obj1
);
16416 if (arg2
== NULL
) SWIG_fail
;
16421 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16430 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16431 if (!SWIG_IsOK(ecode5
)) {
16432 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16434 arg5
= static_cast< bool >(val5
);
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 (arg1
)->SetFrameParameters((wxString
const &)*arg2
,(wxSize
const &)*arg3
,(wxPoint
const &)*arg4
,arg5
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 resultobj
= SWIG_Py_Void();
16457 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
= 0;
16459 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16460 wxSize
*arg2
= (wxSize
*) NULL
;
16461 wxPoint
*arg3
= (wxPoint
*) NULL
;
16462 bool *arg4
= (bool *) NULL
;
16463 wxFrame
*result
= 0 ;
16472 PyObject
* obj0
= 0 ;
16473 PyObject
* obj1
= 0 ;
16474 PyObject
* obj2
= 0 ;
16475 PyObject
* obj3
= 0 ;
16476 char * kwnames
[] = {
16477 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16482 if (!SWIG_IsOK(res1
)) {
16483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16485 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16487 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
16488 if (!SWIG_IsOK(res2
)) {
16489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
16491 arg2
= reinterpret_cast< wxSize
* >(argp2
);
16494 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPoint
, 0 | 0 );
16495 if (!SWIG_IsOK(res3
)) {
16496 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
16498 arg3
= reinterpret_cast< wxPoint
* >(argp3
);
16501 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_bool
, 0 | 0 );
16502 if (!SWIG_IsOK(res4
)) {
16503 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
16505 arg4
= reinterpret_cast< bool * >(argp4
);
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= (wxFrame
*)(arg1
)->GetFrameParameters(arg2
,arg3
,arg4
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= wxPyMake_wxObject(result
, 0);
16522 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Quit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16523 PyObject
*resultobj
= 0;
16524 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16528 PyObject
*swig_obj
[1] ;
16530 if (!args
) SWIG_fail
;
16531 swig_obj
[0] = args
;
16532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16533 if (!SWIG_IsOK(res1
)) {
16534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16536 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= (bool)(arg1
)->Quit();
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16552 SWIGINTERN PyObject
*_wrap_HelpControllerBase_OnQuit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16553 PyObject
*resultobj
= 0;
16554 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16557 PyObject
*swig_obj
[1] ;
16559 if (!args
) SWIG_fail
;
16560 swig_obj
[0] = args
;
16561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16562 if (!SWIG_IsOK(res1
)) {
16563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16565 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 wxPyEndAllowThreads(__tstate
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16572 resultobj
= SWIG_Py_Void();
16579 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
= 0;
16581 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16582 wxWindow
*arg2
= (wxWindow
*) 0 ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 char * kwnames
[] = {
16590 (char *) "self",(char *) "win", NULL
16593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16595 if (!SWIG_IsOK(res1
)) {
16596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16598 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16599 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16600 if (!SWIG_IsOK(res2
)) {
16601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16603 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 (arg1
)->SetParentWindow(arg2
);
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= SWIG_Py_Void();
16617 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16618 PyObject
*resultobj
= 0;
16619 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16620 wxWindow
*result
= 0 ;
16623 PyObject
*swig_obj
[1] ;
16625 if (!args
) SWIG_fail
;
16626 swig_obj
[0] = args
;
16627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16628 if (!SWIG_IsOK(res1
)) {
16629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16631 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (wxWindow
*)((wxHelpControllerBase
const *)arg1
)->GetParentWindow();
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16639 resultobj
= wxPyMake_wxObject(result
, 0);
16647 SWIGINTERN PyObject
*HelpControllerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16649 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16650 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase
, SWIG_NewClientData(obj
));
16651 return SWIG_Py_Void();
16654 SWIGINTERN PyObject
*_wrap_new_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16655 PyObject
*resultobj
= 0;
16656 int arg1
= (int) wxHF_DEFAULT_STYLE
;
16657 wxWindow
*arg2
= (wxWindow
*) NULL
;
16658 wxHtmlHelpController
*result
= 0 ;
16663 PyObject
* obj0
= 0 ;
16664 PyObject
* obj1
= 0 ;
16665 char * kwnames
[] = {
16666 (char *) "style",(char *) "parentWindow", NULL
16669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlHelpController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16671 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16672 if (!SWIG_IsOK(ecode1
)) {
16673 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16675 arg1
= static_cast< int >(val1
);
16678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16679 if (!SWIG_IsOK(res2
)) {
16680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16682 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16685 if (!wxPyCheckForApp()) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
,arg2
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_NEW
| 0 );
16698 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16699 PyObject
*resultobj
= 0;
16700 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16703 PyObject
*swig_obj
[1] ;
16705 if (!args
) SWIG_fail
;
16706 swig_obj
[0] = args
;
16707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
16708 if (!SWIG_IsOK(res1
)) {
16709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16711 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16719 resultobj
= SWIG_Py_Void();
16726 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16727 PyObject
*resultobj
= 0;
16728 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16729 wxHtmlHelpWindow
*result
= 0 ;
16732 PyObject
*swig_obj
[1] ;
16734 if (!args
) SWIG_fail
;
16735 swig_obj
[0] = args
;
16736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16737 if (!SWIG_IsOK(res1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16740 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 result
= (wxHtmlHelpWindow
*)(arg1
)->GetHelpWindow();
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= wxPyMake_wxObject(result
, 0);
16756 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
= 0;
16758 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16759 wxHtmlHelpWindow
*arg2
= (wxHtmlHelpWindow
*) 0 ;
16764 PyObject
* obj0
= 0 ;
16765 PyObject
* obj1
= 0 ;
16766 char * kwnames
[] = {
16767 (char *) "self",(char *) "helpWindow", NULL
16770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16772 if (!SWIG_IsOK(res1
)) {
16773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16775 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
16777 if (!SWIG_IsOK(res2
)) {
16778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16780 arg2
= reinterpret_cast< wxHtmlHelpWindow
* >(argp2
);
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 (arg1
)->SetHelpWindow(arg2
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= SWIG_Py_Void();
16794 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16795 PyObject
*resultobj
= 0;
16796 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16797 wxHtmlHelpFrame
*result
= 0 ;
16800 PyObject
*swig_obj
[1] ;
16802 if (!args
) SWIG_fail
;
16803 swig_obj
[0] = args
;
16804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16805 if (!SWIG_IsOK(res1
)) {
16806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16808 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16816 resultobj
= wxPyMake_wxObject(result
, 0);
16824 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16825 PyObject
*resultobj
= 0;
16826 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16827 wxHtmlHelpDialog
*result
= 0 ;
16830 PyObject
*swig_obj
[1] ;
16832 if (!args
) SWIG_fail
;
16833 swig_obj
[0] = args
;
16834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16835 if (!SWIG_IsOK(res1
)) {
16836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16838 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= (wxHtmlHelpDialog
*)(arg1
)->GetDialog();
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16846 resultobj
= wxPyMake_wxObject(result
, 0);
16854 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
= 0;
16856 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16857 wxString
*arg2
= 0 ;
16860 bool temp2
= false ;
16861 PyObject
* obj0
= 0 ;
16862 PyObject
* obj1
= 0 ;
16863 char * kwnames
[] = {
16864 (char *) "self",(char *) "format", NULL
16867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16869 if (!SWIG_IsOK(res1
)) {
16870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16872 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16874 arg2
= wxString_in_helper(obj1
);
16875 if (arg2
== NULL
) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
16881 wxPyEndAllowThreads(__tstate
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= SWIG_Py_Void();
16899 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
= 0;
16901 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16902 wxString
*arg2
= 0 ;
16905 bool temp2
= false ;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 char * kwnames
[] = {
16909 (char *) "self",(char *) "path", NULL
16912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16914 if (!SWIG_IsOK(res1
)) {
16915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16917 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16919 arg2
= wxString_in_helper(obj1
);
16920 if (arg2
== NULL
) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 (arg1
)->SetTempDir((wxString
const &)*arg2
);
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= SWIG_Py_Void();
16944 SWIGINTERN PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
= 0;
16946 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16947 wxString
*arg2
= 0 ;
16948 int arg3
= (int) false ;
16952 bool temp2
= false ;
16955 PyObject
* obj0
= 0 ;
16956 PyObject
* obj1
= 0 ;
16957 PyObject
* obj2
= 0 ;
16958 char * kwnames
[] = {
16959 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
16962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16964 if (!SWIG_IsOK(res1
)) {
16965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16967 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16969 arg2
= wxString_in_helper(obj1
);
16970 if (arg2
== NULL
) SWIG_fail
;
16974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16975 if (!SWIG_IsOK(ecode3
)) {
16976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
16978 arg3
= static_cast< int >(val3
);
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17003 SWIGINTERN PyObject
*_wrap_HtmlHelpController_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17004 PyObject
*resultobj
= 0;
17005 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17006 wxString
*arg2
= 0 ;
17009 bool temp2
= false ;
17010 PyObject
* obj0
= 0 ;
17011 PyObject
* obj1
= 0 ;
17012 char * kwnames
[] = {
17013 (char *) "self",(char *) "x", NULL
17016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17018 if (!SWIG_IsOK(res1
)) {
17019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17021 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17023 arg2
= wxString_in_helper(obj1
);
17024 if (arg2
== NULL
) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 (arg1
)->Display((wxString
const &)*arg2
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= SWIG_Py_Void();
17048 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
= 0;
17050 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 PyObject
* obj1
= 0 ;
17058 char * kwnames
[] = {
17059 (char *) "self",(char *) "id", NULL
17062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17064 if (!SWIG_IsOK(res1
)) {
17065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17067 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17069 if (!SWIG_IsOK(ecode2
)) {
17070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17072 arg2
= static_cast< int >(val2
);
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 (arg1
)->Display(arg2
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17079 resultobj
= SWIG_Py_Void();
17086 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17087 PyObject
*resultobj
= 0;
17088 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17091 PyObject
*swig_obj
[1] ;
17093 if (!args
) SWIG_fail
;
17094 swig_obj
[0] = args
;
17095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17096 if (!SWIG_IsOK(res1
)) {
17097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17099 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 (arg1
)->DisplayContents();
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= SWIG_Py_Void();
17113 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17114 PyObject
*resultobj
= 0;
17115 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17118 PyObject
*swig_obj
[1] ;
17120 if (!args
) SWIG_fail
;
17121 swig_obj
[0] = args
;
17122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17123 if (!SWIG_IsOK(res1
)) {
17124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17126 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17129 (arg1
)->DisplayIndex();
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= SWIG_Py_Void();
17140 SWIGINTERN PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
= 0;
17142 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17143 wxString
*arg2
= 0 ;
17147 bool temp2
= false ;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 char * kwnames
[] = {
17151 (char *) "self",(char *) "keyword", NULL
17154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17156 if (!SWIG_IsOK(res1
)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17159 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17161 arg2
= wxString_in_helper(obj1
);
17162 if (arg2
== NULL
) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17188 SWIGINTERN PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
= 0;
17190 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17191 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17192 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17193 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17198 bool temp3
= false ;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 PyObject
* obj2
= 0 ;
17202 char * kwnames
[] = {
17203 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17208 if (!SWIG_IsOK(res1
)) {
17209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17211 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17212 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17213 if (!SWIG_IsOK(res2
)) {
17214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17216 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17219 arg3
= wxString_in_helper(obj2
);
17220 if (arg3
== NULL
) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= SWIG_Py_Void();
17245 SWIGINTERN PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
= 0;
17247 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17248 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17249 wxString arg3
= (wxString
) wxPyEmptyString
;
17254 PyObject
* obj0
= 0 ;
17255 PyObject
* obj1
= 0 ;
17256 PyObject
* obj2
= 0 ;
17257 char * kwnames
[] = {
17258 (char *) "self",(char *) "cfg",(char *) "path", NULL
17261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17263 if (!SWIG_IsOK(res1
)) {
17264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17266 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17268 if (!SWIG_IsOK(res2
)) {
17269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17271 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17274 wxString
* sptr
= wxString_in_helper(obj2
);
17275 if (sptr
== NULL
) SWIG_fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 (arg1
)->ReadCustomization(arg2
,arg3
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= SWIG_Py_Void();
17293 SWIGINTERN PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
= 0;
17295 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17296 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17297 wxString arg3
= (wxString
) wxPyEmptyString
;
17302 PyObject
* obj0
= 0 ;
17303 PyObject
* obj1
= 0 ;
17304 PyObject
* obj2
= 0 ;
17305 char * kwnames
[] = {
17306 (char *) "self",(char *) "cfg",(char *) "path", NULL
17309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17311 if (!SWIG_IsOK(res1
)) {
17312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17314 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17315 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17316 if (!SWIG_IsOK(res2
)) {
17317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17319 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17322 wxString
* sptr
= wxString_in_helper(obj2
);
17323 if (sptr
== NULL
) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 (arg1
)->WriteCustomization(arg2
,arg3
);
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= SWIG_Py_Void();
17341 SWIGINTERN PyObject
*_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17342 PyObject
*resultobj
= 0;
17343 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17346 PyObject
*swig_obj
[1] ;
17348 if (!args
) SWIG_fail
;
17349 swig_obj
[0] = args
;
17350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17351 if (!SWIG_IsOK(res1
)) {
17352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17354 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 (arg1
)->MakeModalIfNeeded();
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17361 resultobj
= SWIG_Py_Void();
17368 SWIGINTERN PyObject
*_wrap_HtmlHelpController_FindTopLevelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17369 PyObject
*resultobj
= 0;
17370 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17371 wxWindow
*result
= 0 ;
17374 PyObject
*swig_obj
[1] ;
17376 if (!args
) SWIG_fail
;
17377 swig_obj
[0] = args
;
17378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17382 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (wxWindow
*)(arg1
)->FindTopLevelWindow();
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= wxPyMake_wxObject(result
, 0);
17398 SWIGINTERN PyObject
*HtmlHelpController_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17401 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController
, SWIG_NewClientData(obj
));
17402 return SWIG_Py_Void();
17405 SWIGINTERN PyObject
*HtmlHelpController_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17406 return SWIG_Python_InitShadowInstance(args
);
17409 SWIGINTERN PyObject
*_wrap_new_HtmlModalHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
= 0;
17411 wxWindow
*arg1
= (wxWindow
*) 0 ;
17412 wxString
*arg2
= 0 ;
17413 wxString
const &arg3_defvalue
= wxEmptyString
;
17414 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17415 int arg4
= (int) wxHF_DEFAULT_STYLE
|wxHF_DIALOG
|wxHF_MODAL
;
17416 wxHtmlModalHelp
*result
= 0 ;
17419 bool temp2
= false ;
17420 bool temp3
= false ;
17423 PyObject
* obj0
= 0 ;
17424 PyObject
* obj1
= 0 ;
17425 PyObject
* obj2
= 0 ;
17426 PyObject
* obj3
= 0 ;
17427 char * kwnames
[] = {
17428 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_HtmlModalHelp",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17433 if (!SWIG_IsOK(res1
)) {
17434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17438 arg2
= wxString_in_helper(obj1
);
17439 if (arg2
== NULL
) SWIG_fail
;
17444 arg3
= wxString_in_helper(obj2
);
17445 if (arg3
== NULL
) SWIG_fail
;
17450 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17451 if (!SWIG_IsOK(ecode4
)) {
17452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17454 arg4
= static_cast< int >(val4
);
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= (wxHtmlModalHelp
*)new wxHtmlModalHelp(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlModalHelp
, SWIG_POINTER_NEW
| 0 );
17485 SWIGINTERN PyObject
*HtmlModalHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17488 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp
, SWIG_NewClientData(obj
));
17489 return SWIG_Py_Void();
17492 SWIGINTERN PyObject
*HtmlModalHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17493 return SWIG_Python_InitShadowInstance(args
);
17496 static PyMethodDef SwigMethods
[] = {
17497 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17498 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
)_wrap_HtmlLinkInfo_GetHref
, METH_O
, NULL
},
17499 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
)_wrap_HtmlLinkInfo_GetTarget
, METH_O
, NULL
},
17500 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
)_wrap_HtmlLinkInfo_GetEvent
, METH_O
, NULL
},
17501 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
)_wrap_HtmlLinkInfo_GetHtmlCell
, METH_O
, NULL
},
17502 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17503 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17504 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
17505 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit
, METH_VARARGS
, NULL
},
17506 { (char *)"HtmlTag_GetName", (PyCFunction
)_wrap_HtmlTag_GetName
, METH_O
, NULL
},
17507 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17508 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17509 { (char *)"HtmlTag_GetAllParams", (PyCFunction
)_wrap_HtmlTag_GetAllParams
, METH_O
, NULL
},
17510 { (char *)"HtmlTag_HasEnding", (PyCFunction
)_wrap_HtmlTag_HasEnding
, METH_O
, NULL
},
17511 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
)_wrap_HtmlTag_GetBeginPos
, METH_O
, NULL
},
17512 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
)_wrap_HtmlTag_GetEndPos1
, METH_O
, NULL
},
17513 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
)_wrap_HtmlTag_GetEndPos2
, METH_O
, NULL
},
17514 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
17515 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17516 { (char *)"HtmlParser_GetFS", (PyCFunction
)_wrap_HtmlParser_GetFS
, METH_O
, NULL
},
17517 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17518 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17519 { (char *)"HtmlParser_DoneParser", (PyCFunction
)_wrap_HtmlParser_DoneParser
, METH_O
, NULL
},
17520 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17521 { (char *)"HtmlParser_StopParsing", (PyCFunction
)_wrap_HtmlParser_StopParsing
, METH_O
, NULL
},
17522 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17523 { (char *)"HtmlParser_GetSource", (PyCFunction
)_wrap_HtmlParser_GetSource
, METH_O
, NULL
},
17524 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17525 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
)_wrap_HtmlParser_PopTagHandler
, METH_O
, NULL
},
17526 { (char *)"HtmlParser_GetInnerSource", (PyCFunction
) _wrap_HtmlParser_GetInnerSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17527 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
17528 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17529 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17530 { (char *)"HtmlWinParser_GetDC", (PyCFunction
)_wrap_HtmlWinParser_GetDC
, METH_O
, NULL
},
17531 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
)_wrap_HtmlWinParser_GetCharHeight
, METH_O
, NULL
},
17532 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
)_wrap_HtmlWinParser_GetCharWidth
, METH_O
, NULL
},
17533 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
)_wrap_HtmlWinParser_GetWindow
, METH_O
, NULL
},
17534 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction
)_wrap_HtmlWinParser_GetWindowInterface
, METH_O
, NULL
},
17535 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17536 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17537 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
)_wrap_HtmlWinParser_GetContainer
, METH_O
, NULL
},
17538 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
)_wrap_HtmlWinParser_OpenContainer
, METH_O
, NULL
},
17539 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17540 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
)_wrap_HtmlWinParser_CloseContainer
, METH_O
, NULL
},
17541 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
)_wrap_HtmlWinParser_GetFontSize
, METH_O
, NULL
},
17542 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17543 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
)_wrap_HtmlWinParser_GetFontBold
, METH_O
, NULL
},
17544 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17545 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
)_wrap_HtmlWinParser_GetFontItalic
, METH_O
, NULL
},
17546 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17547 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
)_wrap_HtmlWinParser_GetFontUnderlined
, METH_O
, NULL
},
17548 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17549 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
)_wrap_HtmlWinParser_GetFontFixed
, METH_O
, NULL
},
17550 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17551 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
)_wrap_HtmlWinParser_GetAlign
, METH_O
, NULL
},
17552 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17553 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
)_wrap_HtmlWinParser_GetLinkColor
, METH_O
, NULL
},
17554 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17555 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
)_wrap_HtmlWinParser_GetActualColor
, METH_O
, NULL
},
17556 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17557 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17558 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
)_wrap_HtmlWinParser_CreateCurrentFont
, METH_O
, NULL
},
17559 { (char *)"HtmlWinParser_GetLink", (PyCFunction
)_wrap_HtmlWinParser_GetLink
, METH_O
, NULL
},
17560 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
17561 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit
, METH_VARARGS
, NULL
},
17562 { (char *)"new_HtmlTagHandler", (PyCFunction
)_wrap_new_HtmlTagHandler
, METH_NOARGS
, NULL
},
17563 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17564 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17565 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
)_wrap_HtmlTagHandler_GetParser
, METH_O
, NULL
},
17566 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17567 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
17568 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit
, METH_VARARGS
, NULL
},
17569 { (char *)"new_HtmlWinTagHandler", (PyCFunction
)_wrap_new_HtmlWinTagHandler
, METH_NOARGS
, NULL
},
17570 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17571 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17572 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
)_wrap_HtmlWinTagHandler_GetParser
, METH_O
, NULL
},
17573 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17574 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
17575 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit
, METH_VARARGS
, NULL
},
17576 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17577 { (char *)"new_HtmlSelection", (PyCFunction
)_wrap_new_HtmlSelection
, METH_NOARGS
, NULL
},
17578 { (char *)"delete_HtmlSelection", (PyCFunction
)_wrap_delete_HtmlSelection
, METH_O
, NULL
},
17579 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17580 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17581 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
)_wrap_HtmlSelection_GetFromCell
, METH_O
, NULL
},
17582 { (char *)"HtmlSelection_GetToCell", (PyCFunction
)_wrap_HtmlSelection_GetToCell
, METH_O
, NULL
},
17583 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPos
, METH_O
, NULL
},
17584 { (char *)"HtmlSelection_GetToPos", (PyCFunction
)_wrap_HtmlSelection_GetToPos
, METH_O
, NULL
},
17585 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPrivPos
, METH_O
, NULL
},
17586 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetToPrivPos
, METH_O
, NULL
},
17587 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17588 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17589 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
)_wrap_HtmlSelection_ClearPrivPos
, METH_O
, NULL
},
17590 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
)_wrap_HtmlSelection_IsEmpty
, METH_O
, NULL
},
17591 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
17592 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit
, METH_VARARGS
, NULL
},
17593 { (char *)"new_HtmlRenderingState", (PyCFunction
)_wrap_new_HtmlRenderingState
, METH_NOARGS
, NULL
},
17594 { (char *)"delete_HtmlRenderingState", (PyCFunction
)_wrap_delete_HtmlRenderingState
, METH_O
, NULL
},
17595 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17596 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
)_wrap_HtmlRenderingState_GetSelectionState
, METH_O
, NULL
},
17597 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17598 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetFgColour
, METH_O
, NULL
},
17599 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17600 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetBgColour
, METH_O
, NULL
},
17601 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
17602 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit
, METH_VARARGS
, NULL
},
17603 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17604 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17605 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17606 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17607 { (char *)"new_HtmlRenderingInfo", (PyCFunction
)_wrap_new_HtmlRenderingInfo
, METH_NOARGS
, NULL
},
17608 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
)_wrap_delete_HtmlRenderingInfo
, METH_O
, NULL
},
17609 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17610 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
)_wrap_HtmlRenderingInfo_GetSelection
, METH_O
, NULL
},
17611 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17612 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
)_wrap_HtmlRenderingInfo_GetStyle
, METH_O
, NULL
},
17613 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
)_wrap_HtmlRenderingInfo_GetState
, METH_O
, NULL
},
17614 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
17615 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit
, METH_VARARGS
, NULL
},
17616 { (char *)"new_HtmlCell", (PyCFunction
)_wrap_new_HtmlCell
, METH_NOARGS
, NULL
},
17617 { (char *)"delete_HtmlCell", (PyCFunction
)_wrap_delete_HtmlCell
, METH_O
, NULL
},
17618 { (char *)"HtmlCell_GetPosX", (PyCFunction
)_wrap_HtmlCell_GetPosX
, METH_O
, NULL
},
17619 { (char *)"HtmlCell_GetPosY", (PyCFunction
)_wrap_HtmlCell_GetPosY
, METH_O
, NULL
},
17620 { (char *)"HtmlCell_GetWidth", (PyCFunction
)_wrap_HtmlCell_GetWidth
, METH_O
, NULL
},
17621 { (char *)"HtmlCell_GetHeight", (PyCFunction
)_wrap_HtmlCell_GetHeight
, METH_O
, NULL
},
17622 { (char *)"HtmlCell_GetDescent", (PyCFunction
)_wrap_HtmlCell_GetDescent
, METH_O
, NULL
},
17623 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
)_wrap_HtmlCell_GetMaxTotalWidth
, METH_O
, NULL
},
17624 { (char *)"HtmlCell_GetId", (PyCFunction
)_wrap_HtmlCell_GetId
, METH_O
, NULL
},
17625 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17626 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17627 { (char *)"HtmlCell_GetNext", (PyCFunction
)_wrap_HtmlCell_GetNext
, METH_O
, NULL
},
17628 { (char *)"HtmlCell_GetParent", (PyCFunction
)_wrap_HtmlCell_GetParent
, METH_O
, NULL
},
17629 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
)_wrap_HtmlCell_GetFirstChild
, METH_O
, NULL
},
17630 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction
) _wrap_HtmlCell_GetMouseCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17631 { (char *)"HtmlCell_GetCursor", (PyCFunction
)_wrap_HtmlCell_GetCursor
, METH_O
, NULL
},
17632 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
)_wrap_HtmlCell_IsFormattingCell
, METH_O
, NULL
},
17633 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17634 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17635 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17636 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17637 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17638 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17639 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17640 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17641 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction
) _wrap_HtmlCell_ProcessMouseClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17642 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17643 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlCell_IsLinebreakAllowed
, METH_O
, NULL
},
17644 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
)_wrap_HtmlCell_IsTerminalCell
, METH_O
, NULL
},
17645 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17646 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17647 { (char *)"HtmlCell_GetRootCell", (PyCFunction
)_wrap_HtmlCell_GetRootCell
, METH_O
, NULL
},
17648 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
)_wrap_HtmlCell_GetFirstTerminal
, METH_O
, NULL
},
17649 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
)_wrap_HtmlCell_GetLastTerminal
, METH_O
, NULL
},
17650 { (char *)"HtmlCell_GetDepth", (PyCFunction
)_wrap_HtmlCell_GetDepth
, METH_O
, NULL
},
17651 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17652 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17653 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
17654 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit
, METH_VARARGS
, NULL
},
17655 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17656 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction
) _wrap_HtmlWordCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17657 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlWordCell_IsLinebreakAllowed
, METH_O
, NULL
},
17658 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction
) _wrap_HtmlWordCell_SetPreviousWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17659 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
17660 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit
, METH_VARARGS
, NULL
},
17661 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17662 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17663 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17664 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignHor
, METH_O
, NULL
},
17665 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17666 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignVer
, METH_O
, NULL
},
17667 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17668 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17669 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17670 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17671 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17672 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17673 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17674 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17675 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
)_wrap_HtmlContainerCell_GetBackgroundColour
, METH_O
, NULL
},
17676 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17677 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
)_wrap_HtmlContainerCell_GetFirstChild
, METH_O
, NULL
},
17678 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
17679 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit
, METH_VARARGS
, NULL
},
17680 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17681 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
17682 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit
, METH_VARARGS
, NULL
},
17683 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17684 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
17685 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit
, METH_VARARGS
, NULL
},
17686 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17687 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
17688 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit
, METH_VARARGS
, NULL
},
17689 { (char *)"new_HtmlFilter", (PyCFunction
)_wrap_new_HtmlFilter
, METH_NOARGS
, NULL
},
17690 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17691 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
17692 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit
, METH_VARARGS
, NULL
},
17693 { (char *)"delete_HtmlWindowInterface", (PyCFunction
)_wrap_delete_HtmlWindowInterface
, METH_O
, NULL
},
17694 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLWindowTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17695 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction
) _wrap_HtmlWindowInterface_HTMLCoordsToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17696 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLWindow
, METH_O
, NULL
},
17697 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour
, METH_O
, NULL
},
17698 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17699 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17700 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17701 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister
, METH_VARARGS
, NULL
},
17702 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17703 { (char *)"new_PreHtmlWindow", (PyCFunction
)_wrap_new_PreHtmlWindow
, METH_NOARGS
, NULL
},
17704 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17705 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17706 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17707 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17708 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17709 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17710 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPage
, METH_O
, NULL
},
17711 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
)_wrap_HtmlWindow_GetOpenedAnchor
, METH_O
, NULL
},
17712 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPageTitle
, METH_O
, NULL
},
17713 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17714 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
)_wrap_HtmlWindow_GetRelatedFrame
, METH_O
, NULL
},
17715 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17716 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17717 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17718 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17719 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17720 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17721 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17722 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
)_wrap_HtmlWindow_HistoryBack
, METH_O
, NULL
},
17723 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
)_wrap_HtmlWindow_HistoryForward
, METH_O
, NULL
},
17724 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
)_wrap_HtmlWindow_HistoryCanBack
, METH_O
, NULL
},
17725 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
)_wrap_HtmlWindow_HistoryCanForward
, METH_O
, NULL
},
17726 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
)_wrap_HtmlWindow_HistoryClear
, METH_O
, NULL
},
17727 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
)_wrap_HtmlWindow_GetInternalRepresentation
, METH_O
, NULL
},
17728 { (char *)"HtmlWindow_GetParser", (PyCFunction
)_wrap_HtmlWindow_GetParser
, METH_O
, NULL
},
17729 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17730 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17731 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17732 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17733 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17734 { (char *)"HtmlWindow_SelectAll", (PyCFunction
)_wrap_HtmlWindow_SelectAll
, METH_O
, NULL
},
17735 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
)_wrap_HtmlWindow_SelectionToText
, METH_O
, NULL
},
17736 { (char *)"HtmlWindow_ToText", (PyCFunction
)_wrap_HtmlWindow_ToText
, METH_O
, NULL
},
17737 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17738 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17739 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17740 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17741 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction
) _wrap_HtmlWindow_OnOpeningURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17742 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17743 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction
) _wrap_HtmlWindow_GetDefaultHTMLCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17744 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
17745 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit
, METH_VARARGS
, NULL
},
17746 { (char *)"new_HtmlDCRenderer", (PyCFunction
)_wrap_new_HtmlDCRenderer
, METH_NOARGS
, NULL
},
17747 { (char *)"delete_HtmlDCRenderer", (PyCFunction
)_wrap_delete_HtmlDCRenderer
, METH_O
, NULL
},
17748 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17749 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17750 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17751 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17752 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17753 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17754 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
)_wrap_HtmlDCRenderer_GetTotalHeight
, METH_O
, NULL
},
17755 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
17756 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit
, METH_VARARGS
, NULL
},
17757 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17758 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17759 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17760 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17761 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17762 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17763 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17764 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17765 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17766 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
)_wrap_HtmlPrintout_CleanUpStatics
, METH_NOARGS
, NULL
},
17767 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
17768 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit
, METH_VARARGS
, NULL
},
17769 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17770 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
)_wrap_delete_HtmlEasyPrinting
, METH_O
, NULL
},
17771 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17772 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17773 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17774 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17775 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
)_wrap_HtmlEasyPrinting_PageSetup
, METH_O
, NULL
},
17776 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17777 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17778 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17779 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17780 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPrintData
, METH_O
, NULL
},
17781 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPageSetupData
, METH_O
, NULL
},
17782 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
17783 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit
, METH_VARARGS
, NULL
},
17784 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17785 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
)_wrap_HtmlBookRecord_GetBookFile
, METH_O
, NULL
},
17786 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
)_wrap_HtmlBookRecord_GetTitle
, METH_O
, NULL
},
17787 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
)_wrap_HtmlBookRecord_GetStart
, METH_O
, NULL
},
17788 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
)_wrap_HtmlBookRecord_GetBasePath
, METH_O
, NULL
},
17789 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17790 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsStart
, METH_O
, NULL
},
17791 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsEnd
, METH_O
, NULL
},
17792 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17793 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17794 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17795 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17796 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
17797 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit
, METH_VARARGS
, NULL
},
17798 { (char *)"HtmlSearchStatus_Search", (PyCFunction
)_wrap_HtmlSearchStatus_Search
, METH_O
, NULL
},
17799 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
)_wrap_HtmlSearchStatus_IsActive
, METH_O
, NULL
},
17800 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetCurIndex
, METH_O
, NULL
},
17801 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetMaxIndex
, METH_O
, NULL
},
17802 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
)_wrap_HtmlSearchStatus_GetName
, METH_O
, NULL
},
17803 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
17804 { (char *)"new_HtmlHelpData", (PyCFunction
)_wrap_new_HtmlHelpData
, METH_NOARGS
, NULL
},
17805 { (char *)"delete_HtmlHelpData", (PyCFunction
)_wrap_delete_HtmlHelpData
, METH_O
, NULL
},
17806 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17807 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17808 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17809 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17810 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
)_wrap_HtmlHelpData_GetBookRecArray
, METH_O
, NULL
},
17811 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
17812 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit
, METH_VARARGS
, NULL
},
17813 { (char *)"new_HtmlHelpWindow", (PyCFunction
) _wrap_new_HtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17814 { (char *)"new_PreHtmlHelpWindow", (PyCFunction
) _wrap_new_PreHtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17815 { (char *)"HtmlHelpWindow_Create", (PyCFunction
) _wrap_HtmlHelpWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17816 { (char *)"HtmlHelpWindow_GetData", (PyCFunction
)_wrap_HtmlHelpWindow_GetData
, METH_O
, NULL
},
17817 { (char *)"HtmlHelpWindow_GetController", (PyCFunction
)_wrap_HtmlHelpWindow_GetController
, METH_O
, NULL
},
17818 { (char *)"HtmlHelpWindow_SetController", (PyCFunction
) _wrap_HtmlHelpWindow_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17819 { (char *)"HtmlHelpWindow_Display", (PyCFunction
) _wrap_HtmlHelpWindow_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17820 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction
) _wrap_HtmlHelpWindow_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17821 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayContents
, METH_O
, NULL
},
17822 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayIndex
, METH_O
, NULL
},
17823 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpWindow_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17824 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction
) _wrap_HtmlHelpWindow_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17825 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17826 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17827 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction
)_wrap_HtmlHelpWindow_NotifyPageChanged
, METH_O
, NULL
},
17828 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction
)_wrap_HtmlHelpWindow_RefreshLists
, METH_O
, NULL
},
17829 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetHtmlWindow
, METH_O
, NULL
},
17830 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetSplitterWindow
, METH_O
, NULL
},
17831 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction
)_wrap_HtmlHelpWindow_GetToolBar
, METH_O
, NULL
},
17832 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction
)_wrap_HtmlHelpWindow_GetCfgData
, METH_O
, NULL
},
17833 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction
)_wrap_HtmlHelpWindow_GetTreeCtrl
, METH_O
, NULL
},
17834 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister
, METH_VARARGS
, NULL
},
17835 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit
, METH_VARARGS
, NULL
},
17836 { (char *)"new_HtmlWindowEvent", (PyCFunction
) _wrap_new_HtmlWindowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17837 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction
) _wrap_HtmlWindowEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17838 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction
)_wrap_HtmlWindowEvent_GetURL
, METH_O
, NULL
},
17839 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister
, METH_VARARGS
, NULL
},
17840 { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit
, METH_VARARGS
, NULL
},
17841 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17842 { (char *)"new_PreHtmlHelpFrame", (PyCFunction
) _wrap_new_PreHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17843 { (char *)"HtmlHelpFrame_Create", (PyCFunction
) _wrap_HtmlHelpFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17844 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
)_wrap_HtmlHelpFrame_GetData
, METH_O
, NULL
},
17845 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17846 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction
)_wrap_HtmlHelpFrame_AddGrabIfNeeded
, METH_O
, NULL
},
17847 { (char *)"HtmlHelpFrame_GetController", (PyCFunction
)_wrap_HtmlHelpFrame_GetController
, METH_O
, NULL
},
17848 { (char *)"HtmlHelpFrame_SetController", (PyCFunction
) _wrap_HtmlHelpFrame_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17849 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpFrame_GetHelpWindow
, METH_O
, NULL
},
17850 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
17851 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit
, METH_VARARGS
, NULL
},
17852 { (char *)"new_HtmlHelpDialog", (PyCFunction
) _wrap_new_HtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17853 { (char *)"new_PreHtmlHelpDialog", (PyCFunction
) _wrap_new_PreHtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17854 { (char *)"HtmlHelpDialog_Create", (PyCFunction
) _wrap_HtmlHelpDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17855 { (char *)"HtmlHelpDialog_GetData", (PyCFunction
)_wrap_HtmlHelpDialog_GetData
, METH_O
, NULL
},
17856 { (char *)"HtmlHelpDialog_GetController", (PyCFunction
)_wrap_HtmlHelpDialog_GetController
, METH_O
, NULL
},
17857 { (char *)"HtmlHelpDialog_SetController", (PyCFunction
) _wrap_HtmlHelpDialog_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17858 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpDialog_GetHelpWindow
, METH_O
, NULL
},
17859 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpDialog_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17860 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister
, METH_VARARGS
, NULL
},
17861 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit
, METH_VARARGS
, NULL
},
17862 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize
, METH_VARARGS
, NULL
},
17863 { (char *)"HelpControllerBase_SetViewer", (PyCFunction
) _wrap_HelpControllerBase_SetViewer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17864 { (char *)"HelpControllerBase_LoadFile", (PyCFunction
) _wrap_HelpControllerBase_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17865 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction
)_wrap_HelpControllerBase_DisplayContents
, METH_O
, NULL
},
17866 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayContextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17867 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayTextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17868 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection
, METH_VARARGS
, NULL
},
17869 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction
) _wrap_HelpControllerBase_DisplayBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17870 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction
) _wrap_HelpControllerBase_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17871 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_SetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17872 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_GetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17873 { (char *)"HelpControllerBase_Quit", (PyCFunction
)_wrap_HelpControllerBase_Quit
, METH_O
, NULL
},
17874 { (char *)"HelpControllerBase_OnQuit", (PyCFunction
)_wrap_HelpControllerBase_OnQuit
, METH_O
, NULL
},
17875 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction
) _wrap_HelpControllerBase_SetParentWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17876 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction
)_wrap_HelpControllerBase_GetParentWindow
, METH_O
, NULL
},
17877 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister
, METH_VARARGS
, NULL
},
17878 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17879 { (char *)"delete_HtmlHelpController", (PyCFunction
)_wrap_delete_HtmlHelpController
, METH_O
, NULL
},
17880 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpController_GetHelpWindow
, METH_O
, NULL
},
17881 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction
) _wrap_HtmlHelpController_SetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17882 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
)_wrap_HtmlHelpController_GetFrame
, METH_O
, NULL
},
17883 { (char *)"HtmlHelpController_GetDialog", (PyCFunction
)_wrap_HtmlHelpController_GetDialog
, METH_O
, NULL
},
17884 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17885 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17886 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17887 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17888 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17889 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
)_wrap_HtmlHelpController_DisplayContents
, METH_O
, NULL
},
17890 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpController_DisplayIndex
, METH_O
, NULL
},
17891 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17892 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17893 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17894 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17895 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction
)_wrap_HtmlHelpController_MakeModalIfNeeded
, METH_O
, NULL
},
17896 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction
)_wrap_HtmlHelpController_FindTopLevelWindow
, METH_O
, NULL
},
17897 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
17898 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit
, METH_VARARGS
, NULL
},
17899 { (char *)"new_HtmlModalHelp", (PyCFunction
) _wrap_new_HtmlModalHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17900 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister
, METH_VARARGS
, NULL
},
17901 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit
, METH_VARARGS
, NULL
},
17902 { NULL
, NULL
, 0, NULL
}
17906 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17908 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
17909 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
17911 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
17912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17914 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
17915 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
17917 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
17918 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
17920 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
17921 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
17923 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
17924 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
17926 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
17927 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
17929 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
17930 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17932 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
17933 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
17935 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
17936 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
17938 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
17939 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
17941 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
17942 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17944 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
17945 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
17947 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
17948 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
17950 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
17951 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
17953 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
17954 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17956 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
17957 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
17959 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
17960 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
17962 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
17963 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
17965 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
17966 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
17968 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
17969 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
17971 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
17972 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
17974 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
17975 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
17977 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
17978 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
17980 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
17981 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
17983 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
17984 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
17986 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
17987 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17989 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
17990 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
17992 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
17993 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
17995 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
17996 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
17998 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
17999 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18001 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
18002 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
18004 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
18005 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
18007 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
18008 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18010 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18011 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18013 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18014 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18016 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18017 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18019 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x
) {
18020 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18022 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18023 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18025 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18026 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18028 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18029 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18031 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18032 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18034 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18035 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18037 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18038 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18040 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18041 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18043 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
18044 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18046 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
18047 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18049 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
18050 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18052 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
18053 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18055 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
18056 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18058 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x
) {
18059 return (void *)((wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18061 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
18062 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18064 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
18065 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18067 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
18068 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18070 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
18071 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18073 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
18074 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
18076 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
18077 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
18079 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
18080 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
18082 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
18083 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
18085 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
18086 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18088 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
18089 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18091 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
18092 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18094 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
18095 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18097 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
18098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18100 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
18101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18103 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
18104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18106 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
18107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18109 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
18110 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18112 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
18113 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
18115 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
18116 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
18118 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
18119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18121 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
18122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
18124 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
18125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18127 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
18128 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
18130 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
18131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18133 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
18134 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
18136 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
18137 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
18139 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
18140 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
18142 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
18143 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
18145 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
18146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18148 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
18149 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
18151 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
18152 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
18154 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
18155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18157 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
18158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18160 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x
) {
18161 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18163 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
18164 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
18166 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
18167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18169 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
18170 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18172 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
18173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18175 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
18176 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
18178 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
18179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18181 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
18182 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
18184 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
18185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18187 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
18188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18190 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
18191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18193 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18196 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18199 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
18200 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18202 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
18203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18205 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
18206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18208 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
18209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18211 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
18212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18214 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
18215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18217 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
18218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18220 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x
) {
18221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18223 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
18224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18226 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
18227 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18229 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
18230 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
18232 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
18233 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
18235 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
18236 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
18238 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
18239 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
18241 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
18242 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18244 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
18245 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
18247 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
18248 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18250 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
18251 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
18253 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
18254 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
18256 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
18257 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18259 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18260 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18262 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
18263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18265 static void *_p_wxEventTo_p_wxObject(void *x
) {
18266 return (void *)((wxObject
*) ((wxEvent
*) x
));
18268 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
18269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18271 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18272 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18274 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18275 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18277 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
18278 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18280 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18283 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18286 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
18287 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
18289 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18290 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18292 static void *_p_wxImageTo_p_wxObject(void *x
) {
18293 return (void *)((wxObject
*) ((wxImage
*) x
));
18295 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18296 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18298 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
18299 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
18301 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
18302 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18304 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
18305 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
18307 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18308 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18310 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
18311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18313 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
18314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18316 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
18317 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
18319 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18320 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18322 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18325 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18326 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18328 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18329 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18331 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18332 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18334 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
18335 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
18337 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18338 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18340 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
18341 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
18343 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
18344 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
18346 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
18347 return (void *)((wxObject
*) ((wxPrinter
*) x
));
18349 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18352 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
18353 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
18355 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
18356 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
18358 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18359 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18361 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18362 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18364 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18365 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18367 static void *_p_wxControlTo_p_wxObject(void *x
) {
18368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18370 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
18371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18373 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
18374 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18376 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
18377 return (void *)((wxObject
*) ((wxColourData
*) x
));
18379 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18380 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18382 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18383 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18385 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18386 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18388 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18389 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18391 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18392 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18394 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18395 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18397 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18398 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18400 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18401 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18403 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
18404 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
18406 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
18407 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18409 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
18410 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18412 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
18413 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
18415 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
18416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18418 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
18419 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
18421 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18422 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18424 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18425 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18427 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18428 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18430 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
18431 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
18433 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
18434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18436 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
18437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18439 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
18440 return (void *)((wxObject
*) ((wxPrintData
*) x
));
18442 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
18443 return (void *)((wxObject
*) ((wxFontData
*) x
));
18445 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
18446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18448 static void *_p_wxFrameTo_p_wxObject(void *x
) {
18449 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18451 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18452 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18454 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18455 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18457 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
18458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18460 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18461 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18463 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
18464 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
18466 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
18467 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
18469 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18470 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18472 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18473 return (void *)((wxObject
*) ((wxSizer
*) x
));
18475 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18476 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18478 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18479 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18481 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18482 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18484 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
18485 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18487 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18488 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18490 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18491 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18493 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
18494 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
18496 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18497 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18499 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
18500 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18502 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18503 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18505 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18506 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18508 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18509 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18511 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18512 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18514 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
18515 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
18517 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
18518 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
18520 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
18521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18523 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
18524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18526 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
18527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18529 static void *_p_wxDialogTo_p_wxObject(void *x
) {
18530 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18532 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18533 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18535 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18536 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18538 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x
) {
18539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18541 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
18542 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18544 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
18545 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
18547 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18548 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18550 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18551 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18553 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18554 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18556 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18557 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18559 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
18560 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
18562 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18563 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18565 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18566 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18568 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18569 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18571 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18572 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18574 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18575 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18577 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18578 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18580 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18581 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18583 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18584 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18586 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18587 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18589 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x
) {
18590 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18592 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18593 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18595 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x
) {
18596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18598 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
18599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18601 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
18602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18604 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
18605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
18607 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
18608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18610 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
18611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
18613 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
18614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18616 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
18617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
18619 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
18620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18622 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
18623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
18625 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
18626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
18628 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
18629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
18631 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
18632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
18634 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
18635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18637 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18638 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18640 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x
) {
18641 return (void *)((wxObject
*) ((wxHelpControllerBase
*) x
));
18643 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
18644 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
18646 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
18647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18649 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
18650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18652 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
18653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18655 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
18656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18658 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
18659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18661 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
18662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18664 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
18665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18667 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
18668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18670 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
18671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18673 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
18674 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
18676 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
18677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
18679 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18680 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18682 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18683 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18685 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18686 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18688 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18689 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18691 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
18692 return (void *)((wxObject
*) (wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
18694 static void *_p_wxPanelTo_p_wxObject(void *x
) {
18695 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
18697 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
18698 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18700 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18701 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18703 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
18704 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
18706 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18707 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18709 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18710 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18712 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18713 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18715 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18716 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18718 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
18719 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18721 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
18722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
18724 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18725 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18727 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18728 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18730 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18731 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18733 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
18734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18736 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
18737 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18739 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18742 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
18743 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18745 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
18746 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18748 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
18749 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
18751 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18752 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18754 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
18755 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18757 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
18758 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18760 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
18761 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18763 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
18764 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18766 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
18767 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18769 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
18770 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18772 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
18773 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18775 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
18776 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18778 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
18779 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18781 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
18782 return (void *)((wxWindow
*) ((wxPanel
*) x
));
18784 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
18785 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
18787 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
18788 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18790 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
18791 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
18793 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
18794 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18796 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
18797 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
18799 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
18800 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18802 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
18803 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
18805 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
18806 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
18808 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
18809 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
18811 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
18812 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
18814 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
18815 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
18817 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
18818 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
18820 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
18821 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18823 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
18824 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18826 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x
) {
18827 return (void *)((wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18829 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18830 return (void *)((wxWindow
*) ((wxControl
*) x
));
18832 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
18833 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18835 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
18836 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18838 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
18839 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18841 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18842 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18844 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
18845 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
18847 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
18848 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18850 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
18851 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18853 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
18854 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18856 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
18857 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
18859 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
18860 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18862 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
18863 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18865 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
18866 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
18868 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
18869 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18871 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
18872 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18874 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
18875 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18877 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
18878 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
18880 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x
) {
18881 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18883 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
18884 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18886 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
18887 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18889 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
18890 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18892 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
18893 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18895 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
18896 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
18898 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
18899 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
18901 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
18902 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
18904 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
18905 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
18907 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
18908 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
18910 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
18911 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
18913 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x
) {
18914 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18916 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
18917 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
18919 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
18920 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
18922 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
18923 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
18925 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
18926 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
18928 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18929 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
18931 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18932 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18934 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18935 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
18937 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
18938 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18940 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
18941 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18943 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
18944 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
18946 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
18947 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
18949 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
18950 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
18952 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
18953 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
18955 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
18956 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18958 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
18959 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
18961 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
18962 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18964 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
18965 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
18967 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
18968 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
18970 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
18971 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
18973 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x
) {
18974 return (void *)((wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18976 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
18977 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
18979 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
18980 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18982 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
18983 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18985 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
18986 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
18988 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
18989 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18991 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
18992 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
18994 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
18995 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
18997 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
18998 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
19000 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
19001 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
19003 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
19004 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19006 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
19007 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19009 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
19010 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
19012 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
19013 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19015 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
19016 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19018 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
19019 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
19021 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
19022 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19024 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
19025 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
19027 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
19028 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19030 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
19031 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
19033 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x
) {
19034 return (void *)((wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
19036 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19037 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19039 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19040 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19042 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19043 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19045 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
19046 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
19048 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19049 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19051 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19052 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19054 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19055 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19057 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19058 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19060 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
19061 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
19063 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19064 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19066 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19067 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19069 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x
) {
19070 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
19072 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19073 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19075 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19076 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19078 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19079 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
19080 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};
19081 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
19082 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19083 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19084 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19085 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
19086 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19087 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19088 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19089 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19090 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19091 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19092 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
19093 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19094 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19095 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19096 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19097 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19098 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19099 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19100 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19101 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19102 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19103 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19104 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
= {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19105 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19106 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19107 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19108 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19109 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19110 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19111 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19112 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19113 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19114 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
19115 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19116 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19117 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19118 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19119 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19120 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19121 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19122 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19123 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19124 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19125 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19126 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19127 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19128 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19129 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19130 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19131 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19132 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19133 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19134 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19135 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19136 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19137 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19138 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19139 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19140 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19141 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19142 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19143 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19144 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19145 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19146 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19147 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19148 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19149 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19150 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19151 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19152 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
19153 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19154 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19155 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19156 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19157 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19158 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19159 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19160 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19161 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19162 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19163 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19164 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19165 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19166 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19167 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
19168 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19169 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
19170 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19171 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19172 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19173 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19174 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19175 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19176 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19177 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19178 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
19179 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19180 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19181 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19182 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19183 static swig_type_info _swigt__p_wxHelpControllerBase
= {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19184 static swig_type_info _swigt__p_wxHelpSearchMode
= {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19185 static swig_type_info _swigt__p_wxHtmlBookRecArray
= {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19186 static swig_type_info _swigt__p_wxHtmlBookRecord
= {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19187 static swig_type_info _swigt__p_wxHtmlCell
= {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19188 static swig_type_info _swigt__p_wxHtmlColourCell
= {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19189 static swig_type_info _swigt__p_wxHtmlContainerCell
= {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19190 static swig_type_info _swigt__p_wxHtmlDCRenderer
= {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19191 static swig_type_info _swigt__p_wxHtmlEasyPrinting
= {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19192 static swig_type_info _swigt__p_wxHtmlFilter
= {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19193 static swig_type_info _swigt__p_wxHtmlFontCell
= {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19194 static swig_type_info _swigt__p_wxHtmlHelpController
= {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19195 static swig_type_info _swigt__p_wxHtmlHelpData
= {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19196 static swig_type_info _swigt__p_wxHtmlHelpDialog
= {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19197 static swig_type_info _swigt__p_wxHtmlHelpFrame
= {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19198 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg
= {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19199 static swig_type_info _swigt__p_wxHtmlHelpWindow
= {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19200 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19201 static swig_type_info _swigt__p_wxHtmlModalHelp
= {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19202 static swig_type_info _swigt__p_wxHtmlParser
= {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19203 static swig_type_info _swigt__p_wxHtmlPrintout
= {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19204 static swig_type_info _swigt__p_wxHtmlRenderingInfo
= {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19205 static swig_type_info _swigt__p_wxHtmlRenderingState
= {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19206 static swig_type_info _swigt__p_wxHtmlRenderingStyle
= {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19207 static swig_type_info _swigt__p_wxHtmlSearchStatus
= {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19208 static swig_type_info _swigt__p_wxHtmlSelection
= {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19209 static swig_type_info _swigt__p_wxHtmlTag
= {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19210 static swig_type_info _swigt__p_wxHtmlTagHandler
= {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19211 static swig_type_info _swigt__p_wxHtmlWidgetCell
= {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19212 static swig_type_info _swigt__p_wxHtmlWinParser
= {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19213 static swig_type_info _swigt__p_wxHtmlWindow
= {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
19214 static swig_type_info _swigt__p_wxHtmlWindowEvent
= {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0};
19215 static swig_type_info _swigt__p_wxHtmlWindowInterface
= {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19216 static swig_type_info _swigt__p_wxHtmlWordCell
= {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19217 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19218 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
19219 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19220 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19221 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19222 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
19223 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
19224 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19225 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19226 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19227 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
19228 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19229 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19230 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19231 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
19232 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19233 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
19234 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19235 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19236 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19237 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19238 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
19239 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19240 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19241 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
19242 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19243 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19244 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19245 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19246 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19247 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19248 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19249 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19250 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19251 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19252 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19253 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19254 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19255 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19256 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19257 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19258 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19259 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19260 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19261 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19262 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19263 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19264 static swig_type_info _swigt__p_wxPyHtmlFilter
= {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19265 static swig_type_info _swigt__p_wxPyHtmlTagHandler
= {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19266 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
= {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19267 static swig_type_info _swigt__p_wxPyHtmlWindow
= {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19268 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19269 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19270 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19271 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19272 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19273 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19274 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19275 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19277 static swig_type_info
*swig_type_initial
[] = {
19280 &_swigt__p_form_ops_t
,
19282 &_swigt__p_unsigned_char
,
19283 &_swigt__p_unsigned_int
,
19284 &_swigt__p_unsigned_long
,
19285 &_swigt__p_wxANIHandler
,
19286 &_swigt__p_wxAcceleratorTable
,
19287 &_swigt__p_wxActivateEvent
,
19288 &_swigt__p_wxArrayInt
,
19289 &_swigt__p_wxBMPHandler
,
19290 &_swigt__p_wxBitmap
,
19291 &_swigt__p_wxBoxSizer
,
19292 &_swigt__p_wxCURHandler
,
19293 &_swigt__p_wxCalculateLayoutEvent
,
19294 &_swigt__p_wxChildFocusEvent
,
19295 &_swigt__p_wxClipboardTextEvent
,
19296 &_swigt__p_wxCloseEvent
,
19297 &_swigt__p_wxColour
,
19298 &_swigt__p_wxColourData
,
19299 &_swigt__p_wxColourDialog
,
19300 &_swigt__p_wxCommandEvent
,
19301 &_swigt__p_wxConfigBase
,
19302 &_swigt__p_wxContextMenuEvent
,
19303 &_swigt__p_wxControl
,
19304 &_swigt__p_wxControlWithItems
,
19305 &_swigt__p_wxCursor
,
19307 &_swigt__p_wxDateEvent
,
19308 &_swigt__p_wxDefaultHtmlRenderingStyle
,
19309 &_swigt__p_wxDialog
,
19310 &_swigt__p_wxDirDialog
,
19311 &_swigt__p_wxDisplayChangedEvent
,
19312 &_swigt__p_wxDropFilesEvent
,
19313 &_swigt__p_wxDuplexMode
,
19314 &_swigt__p_wxEraseEvent
,
19315 &_swigt__p_wxEvent
,
19316 &_swigt__p_wxEvtHandler
,
19317 &_swigt__p_wxFSFile
,
19318 &_swigt__p_wxFileDialog
,
19319 &_swigt__p_wxFileSystem
,
19320 &_swigt__p_wxFindDialogEvent
,
19321 &_swigt__p_wxFindReplaceData
,
19322 &_swigt__p_wxFindReplaceDialog
,
19323 &_swigt__p_wxFlexGridSizer
,
19324 &_swigt__p_wxFocusEvent
,
19326 &_swigt__p_wxFontData
,
19327 &_swigt__p_wxFontDialog
,
19328 &_swigt__p_wxFrame
,
19329 &_swigt__p_wxGBSizerItem
,
19330 &_swigt__p_wxGIFHandler
,
19331 &_swigt__p_wxGridBagSizer
,
19332 &_swigt__p_wxGridSizer
,
19333 &_swigt__p_wxHelpControllerBase
,
19334 &_swigt__p_wxHelpSearchMode
,
19335 &_swigt__p_wxHtmlBookRecArray
,
19336 &_swigt__p_wxHtmlBookRecord
,
19337 &_swigt__p_wxHtmlCell
,
19338 &_swigt__p_wxHtmlColourCell
,
19339 &_swigt__p_wxHtmlContainerCell
,
19340 &_swigt__p_wxHtmlDCRenderer
,
19341 &_swigt__p_wxHtmlEasyPrinting
,
19342 &_swigt__p_wxHtmlFilter
,
19343 &_swigt__p_wxHtmlFontCell
,
19344 &_swigt__p_wxHtmlHelpController
,
19345 &_swigt__p_wxHtmlHelpData
,
19346 &_swigt__p_wxHtmlHelpDialog
,
19347 &_swigt__p_wxHtmlHelpFrame
,
19348 &_swigt__p_wxHtmlHelpFrameCfg
,
19349 &_swigt__p_wxHtmlHelpWindow
,
19350 &_swigt__p_wxHtmlLinkInfo
,
19351 &_swigt__p_wxHtmlModalHelp
,
19352 &_swigt__p_wxHtmlParser
,
19353 &_swigt__p_wxHtmlPrintout
,
19354 &_swigt__p_wxHtmlRenderingInfo
,
19355 &_swigt__p_wxHtmlRenderingState
,
19356 &_swigt__p_wxHtmlRenderingStyle
,
19357 &_swigt__p_wxHtmlSearchStatus
,
19358 &_swigt__p_wxHtmlSelection
,
19359 &_swigt__p_wxHtmlTag
,
19360 &_swigt__p_wxHtmlTagHandler
,
19361 &_swigt__p_wxHtmlWidgetCell
,
19362 &_swigt__p_wxHtmlWinParser
,
19363 &_swigt__p_wxHtmlWindow
,
19364 &_swigt__p_wxHtmlWindowEvent
,
19365 &_swigt__p_wxHtmlWindowInterface
,
19366 &_swigt__p_wxHtmlWordCell
,
19367 &_swigt__p_wxICOHandler
,
19368 &_swigt__p_wxIconizeEvent
,
19369 &_swigt__p_wxIdleEvent
,
19370 &_swigt__p_wxImage
,
19371 &_swigt__p_wxImageHandler
,
19372 &_swigt__p_wxIndividualLayoutConstraint
,
19373 &_swigt__p_wxInitDialogEvent
,
19374 &_swigt__p_wxJPEGHandler
,
19375 &_swigt__p_wxKeyEvent
,
19376 &_swigt__p_wxLayoutAlgorithm
,
19377 &_swigt__p_wxLayoutConstraints
,
19378 &_swigt__p_wxMDIChildFrame
,
19379 &_swigt__p_wxMDIClientWindow
,
19380 &_swigt__p_wxMDIParentFrame
,
19381 &_swigt__p_wxMaximizeEvent
,
19383 &_swigt__p_wxMenuBar
,
19384 &_swigt__p_wxMenuEvent
,
19385 &_swigt__p_wxMenuItem
,
19386 &_swigt__p_wxMessageDialog
,
19387 &_swigt__p_wxMiniFrame
,
19388 &_swigt__p_wxMouseCaptureChangedEvent
,
19389 &_swigt__p_wxMouseEvent
,
19390 &_swigt__p_wxMoveEvent
,
19391 &_swigt__p_wxMultiChoiceDialog
,
19392 &_swigt__p_wxNavigationKeyEvent
,
19393 &_swigt__p_wxNcPaintEvent
,
19394 &_swigt__p_wxNotifyEvent
,
19395 &_swigt__p_wxNumberEntryDialog
,
19396 &_swigt__p_wxObject
,
19397 &_swigt__p_wxPCXHandler
,
19398 &_swigt__p_wxPNGHandler
,
19399 &_swigt__p_wxPNMHandler
,
19400 &_swigt__p_wxPageSetupDialog
,
19401 &_swigt__p_wxPageSetupDialogData
,
19402 &_swigt__p_wxPaintEvent
,
19403 &_swigt__p_wxPaletteChangedEvent
,
19404 &_swigt__p_wxPanel
,
19405 &_swigt__p_wxPaperSize
,
19406 &_swigt__p_wxPasswordEntryDialog
,
19407 &_swigt__p_wxPoint
,
19408 &_swigt__p_wxPopupWindow
,
19409 &_swigt__p_wxPreviewCanvas
,
19410 &_swigt__p_wxPreviewControlBar
,
19411 &_swigt__p_wxPreviewFrame
,
19412 &_swigt__p_wxPrintData
,
19413 &_swigt__p_wxPrintDialog
,
19414 &_swigt__p_wxPrintDialogData
,
19415 &_swigt__p_wxPrintPreview
,
19416 &_swigt__p_wxPrinter
,
19417 &_swigt__p_wxProgressDialog
,
19418 &_swigt__p_wxPyApp
,
19419 &_swigt__p_wxPyCommandEvent
,
19420 &_swigt__p_wxPyEvent
,
19421 &_swigt__p_wxPyHtmlFilter
,
19422 &_swigt__p_wxPyHtmlListBox
,
19423 &_swigt__p_wxPyHtmlTagHandler
,
19424 &_swigt__p_wxPyHtmlWinTagHandler
,
19425 &_swigt__p_wxPyHtmlWindow
,
19426 &_swigt__p_wxPyImageHandler
,
19427 &_swigt__p_wxPyPanel
,
19428 &_swigt__p_wxPyPopupTransientWindow
,
19429 &_swigt__p_wxPyPreviewControlBar
,
19430 &_swigt__p_wxPyPreviewFrame
,
19431 &_swigt__p_wxPyPrintPreview
,
19432 &_swigt__p_wxPyPrintout
,
19433 &_swigt__p_wxPyScrolledWindow
,
19434 &_swigt__p_wxPySizer
,
19435 &_swigt__p_wxPyTaskBarIcon
,
19436 &_swigt__p_wxPyVListBox
,
19437 &_swigt__p_wxPyVScrolledWindow
,
19438 &_swigt__p_wxPyValidator
,
19439 &_swigt__p_wxPyWindow
,
19440 &_swigt__p_wxQueryLayoutInfoEvent
,
19441 &_swigt__p_wxQueryNewPaletteEvent
,
19442 &_swigt__p_wxSashEvent
,
19443 &_swigt__p_wxSashLayoutWindow
,
19444 &_swigt__p_wxSashWindow
,
19445 &_swigt__p_wxScrollEvent
,
19446 &_swigt__p_wxScrollWinEvent
,
19447 &_swigt__p_wxScrolledWindow
,
19448 &_swigt__p_wxSetCursorEvent
,
19449 &_swigt__p_wxShowEvent
,
19450 &_swigt__p_wxSingleChoiceDialog
,
19452 &_swigt__p_wxSizeEvent
,
19453 &_swigt__p_wxSizer
,
19454 &_swigt__p_wxSizerItem
,
19455 &_swigt__p_wxSplashScreen
,
19456 &_swigt__p_wxSplashScreenWindow
,
19457 &_swigt__p_wxSplitterEvent
,
19458 &_swigt__p_wxSplitterWindow
,
19459 &_swigt__p_wxStaticBoxSizer
,
19460 &_swigt__p_wxStatusBar
,
19461 &_swigt__p_wxStdDialogButtonSizer
,
19462 &_swigt__p_wxString
,
19463 &_swigt__p_wxSysColourChangedEvent
,
19464 &_swigt__p_wxTIFFHandler
,
19465 &_swigt__p_wxTaskBarIconEvent
,
19466 &_swigt__p_wxTextEntryDialog
,
19467 &_swigt__p_wxTipWindow
,
19468 &_swigt__p_wxTopLevelWindow
,
19469 &_swigt__p_wxUpdateUIEvent
,
19470 &_swigt__p_wxValidator
,
19471 &_swigt__p_wxVisualAttributes
,
19472 &_swigt__p_wxWindow
,
19473 &_swigt__p_wxWindowCreateEvent
,
19474 &_swigt__p_wxWindowDestroyEvent
,
19475 &_swigt__p_wxXPMHandler
,
19478 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
19479 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
19480 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
19481 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
19482 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
19483 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
19484 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
19485 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
19486 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
19487 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
19488 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
19489 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19490 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
19491 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
19492 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
19493 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
19494 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19495 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19496 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19497 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19498 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19499 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
19500 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}};
19501 static swig_cast_info _swigc__p_wxConfigBase
[] = { {&_swigt__p_wxConfigBase
, 0, 0, 0},{0, 0, 0, 0}};
19502 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
19503 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
19504 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle
[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle
, 0, 0, 0},{0, 0, 0, 0}};
19505 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
19506 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
19507 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
19508 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
19509 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19510 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19511 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19512 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19513 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19514 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
19515 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19516 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}};
19517 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
19518 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19519 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19520 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19521 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
19522 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19523 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19524 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
19525 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
19526 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
19527 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19528 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19529 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19530 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19531 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
19532 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19533 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19534 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19535 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19536 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19537 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19538 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19539 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
19540 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
19541 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19542 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19543 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19544 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
19545 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
19546 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}};
19547 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
19548 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
19549 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
19550 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
19551 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
19552 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
19553 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
19554 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 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_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19557 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19558 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19559 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
19560 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
19561 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
19562 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
19563 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19564 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19565 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19566 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
19567 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
19568 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
19569 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
19570 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
19571 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
19572 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
19573 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
19574 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19575 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19576 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
19577 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
19578 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
19579 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_wxTipWindow
, _p_wxTipWindowTo_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_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_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}};
19580 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
19581 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
19582 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_wxTipWindow
, _p_wxTipWindowTo_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}};
19583 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}};
19584 static swig_cast_info _swigc__p_wxHelpSearchMode
[] = { {&_swigt__p_wxHelpSearchMode
, 0, 0, 0},{0, 0, 0, 0}};
19585 static swig_cast_info _swigc__p_wxHtmlBookRecArray
[] = { {&_swigt__p_wxHtmlBookRecArray
, 0, 0, 0},{0, 0, 0, 0}};
19586 static swig_cast_info _swigc__p_wxHtmlBookRecord
[] = { {&_swigt__p_wxHtmlBookRecord
, 0, 0, 0},{0, 0, 0, 0}};
19587 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}};
19588 static swig_cast_info _swigc__p_wxHtmlColourCell
[] = { {&_swigt__p_wxHtmlColourCell
, 0, 0, 0},{0, 0, 0, 0}};
19589 static swig_cast_info _swigc__p_wxHtmlContainerCell
[] = { {&_swigt__p_wxHtmlContainerCell
, 0, 0, 0},{0, 0, 0, 0}};
19590 static swig_cast_info _swigc__p_wxHtmlDCRenderer
[] = { {&_swigt__p_wxHtmlDCRenderer
, 0, 0, 0},{0, 0, 0, 0}};
19591 static swig_cast_info _swigc__p_wxHtmlEasyPrinting
[] = { {&_swigt__p_wxHtmlEasyPrinting
, 0, 0, 0},{0, 0, 0, 0}};
19592 static swig_cast_info _swigc__p_wxHtmlFilter
[] = { {&_swigt__p_wxHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19593 static swig_cast_info _swigc__p_wxHtmlFontCell
[] = { {&_swigt__p_wxHtmlFontCell
, 0, 0, 0},{0, 0, 0, 0}};
19594 static swig_cast_info _swigc__p_wxHtmlHelpController
[] = { {&_swigt__p_wxHtmlHelpController
, 0, 0, 0},{0, 0, 0, 0}};
19595 static swig_cast_info _swigc__p_wxHtmlHelpData
[] = { {&_swigt__p_wxHtmlHelpData
, 0, 0, 0},{0, 0, 0, 0}};
19596 static swig_cast_info _swigc__p_wxHtmlHelpDialog
[] = { {&_swigt__p_wxHtmlHelpDialog
, 0, 0, 0},{0, 0, 0, 0}};
19597 static swig_cast_info _swigc__p_wxHtmlHelpFrame
[] = { {&_swigt__p_wxHtmlHelpFrame
, 0, 0, 0},{0, 0, 0, 0}};
19598 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg
[] = { {&_swigt__p_wxHtmlHelpFrameCfg
, 0, 0, 0},{0, 0, 0, 0}};
19599 static swig_cast_info _swigc__p_wxHtmlHelpWindow
[] = { {&_swigt__p_wxHtmlHelpWindow
, 0, 0, 0},{0, 0, 0, 0}};
19600 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
19601 static swig_cast_info _swigc__p_wxHtmlModalHelp
[] = { {&_swigt__p_wxHtmlModalHelp
, 0, 0, 0},{0, 0, 0, 0}};
19602 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}};
19603 static swig_cast_info _swigc__p_wxHtmlPrintout
[] = { {&_swigt__p_wxHtmlPrintout
, 0, 0, 0},{0, 0, 0, 0}};
19604 static swig_cast_info _swigc__p_wxHtmlRenderingInfo
[] = { {&_swigt__p_wxHtmlRenderingInfo
, 0, 0, 0},{0, 0, 0, 0}};
19605 static swig_cast_info _swigc__p_wxHtmlRenderingState
[] = { {&_swigt__p_wxHtmlRenderingState
, 0, 0, 0},{0, 0, 0, 0}};
19606 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}};
19607 static swig_cast_info _swigc__p_wxHtmlSearchStatus
[] = { {&_swigt__p_wxHtmlSearchStatus
, 0, 0, 0},{0, 0, 0, 0}};
19608 static swig_cast_info _swigc__p_wxHtmlSelection
[] = { {&_swigt__p_wxHtmlSelection
, 0, 0, 0},{0, 0, 0, 0}};
19609 static swig_cast_info _swigc__p_wxHtmlTag
[] = { {&_swigt__p_wxHtmlTag
, 0, 0, 0},{0, 0, 0, 0}};
19610 static swig_cast_info _swigc__p_wxHtmlTagHandler
[] = { {&_swigt__p_wxHtmlTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19611 static swig_cast_info _swigc__p_wxHtmlWidgetCell
[] = { {&_swigt__p_wxHtmlWidgetCell
, 0, 0, 0},{0, 0, 0, 0}};
19612 static swig_cast_info _swigc__p_wxHtmlWinParser
[] = { {&_swigt__p_wxHtmlWinParser
, 0, 0, 0},{0, 0, 0, 0}};
19613 static swig_cast_info _swigc__p_wxHtmlWindow
[] = { {&_swigt__p_wxHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19614 static swig_cast_info _swigc__p_wxHtmlWindowEvent
[] = { {&_swigt__p_wxHtmlWindowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19615 static swig_cast_info _swigc__p_wxHtmlWindowInterface
[] = { {&_swigt__p_wxHtmlWindowInterface
, 0, 0, 0},{0, 0, 0, 0}};
19616 static swig_cast_info _swigc__p_wxHtmlWordCell
[] = { {&_swigt__p_wxHtmlWordCell
, 0, 0, 0},{0, 0, 0, 0}};
19617 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19618 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}};
19619 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
19620 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
19621 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
19622 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
19623 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
19624 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
19625 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19626 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
19627 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19628 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19629 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
19630 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
19631 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
19632 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
19633 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19634 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19635 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
19636 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19637 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19638 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19639 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
19640 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
19641 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19642 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19643 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
19644 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
19645 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19646 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19647 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19648 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19649 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
19650 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
19651 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
19652 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
19653 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19654 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19655 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
19656 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19657 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19658 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_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_wxTipWindow
, _p_wxTipWindowTo_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}};
19659 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19660 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}};
19661 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
19662 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
19663 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
19664 static swig_cast_info _swigc__p_wxPyHtmlFilter
[] = { {&_swigt__p_wxPyHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19665 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}};
19666 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler
[] = { {&_swigt__p_wxPyHtmlWinTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19667 static swig_cast_info _swigc__p_wxPyHtmlWindow
[] = { {&_swigt__p_wxPyHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19668 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}};
19669 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}};
19670 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
19671 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
19672 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
19673 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_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_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_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}};
19674 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
19675 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_wxTipWindow
, _p_wxTipWindowTo_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_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}};
19677 static swig_cast_info
*swig_cast_initial
[] = {
19680 _swigc__p_form_ops_t
,
19682 _swigc__p_unsigned_char
,
19683 _swigc__p_unsigned_int
,
19684 _swigc__p_unsigned_long
,
19685 _swigc__p_wxANIHandler
,
19686 _swigc__p_wxAcceleratorTable
,
19687 _swigc__p_wxActivateEvent
,
19688 _swigc__p_wxArrayInt
,
19689 _swigc__p_wxBMPHandler
,
19690 _swigc__p_wxBitmap
,
19691 _swigc__p_wxBoxSizer
,
19692 _swigc__p_wxCURHandler
,
19693 _swigc__p_wxCalculateLayoutEvent
,
19694 _swigc__p_wxChildFocusEvent
,
19695 _swigc__p_wxClipboardTextEvent
,
19696 _swigc__p_wxCloseEvent
,
19697 _swigc__p_wxColour
,
19698 _swigc__p_wxColourData
,
19699 _swigc__p_wxColourDialog
,
19700 _swigc__p_wxCommandEvent
,
19701 _swigc__p_wxConfigBase
,
19702 _swigc__p_wxContextMenuEvent
,
19703 _swigc__p_wxControl
,
19704 _swigc__p_wxControlWithItems
,
19705 _swigc__p_wxCursor
,
19707 _swigc__p_wxDateEvent
,
19708 _swigc__p_wxDefaultHtmlRenderingStyle
,
19709 _swigc__p_wxDialog
,
19710 _swigc__p_wxDirDialog
,
19711 _swigc__p_wxDisplayChangedEvent
,
19712 _swigc__p_wxDropFilesEvent
,
19713 _swigc__p_wxDuplexMode
,
19714 _swigc__p_wxEraseEvent
,
19716 _swigc__p_wxEvtHandler
,
19717 _swigc__p_wxFSFile
,
19718 _swigc__p_wxFileDialog
,
19719 _swigc__p_wxFileSystem
,
19720 _swigc__p_wxFindDialogEvent
,
19721 _swigc__p_wxFindReplaceData
,
19722 _swigc__p_wxFindReplaceDialog
,
19723 _swigc__p_wxFlexGridSizer
,
19724 _swigc__p_wxFocusEvent
,
19726 _swigc__p_wxFontData
,
19727 _swigc__p_wxFontDialog
,
19729 _swigc__p_wxGBSizerItem
,
19730 _swigc__p_wxGIFHandler
,
19731 _swigc__p_wxGridBagSizer
,
19732 _swigc__p_wxGridSizer
,
19733 _swigc__p_wxHelpControllerBase
,
19734 _swigc__p_wxHelpSearchMode
,
19735 _swigc__p_wxHtmlBookRecArray
,
19736 _swigc__p_wxHtmlBookRecord
,
19737 _swigc__p_wxHtmlCell
,
19738 _swigc__p_wxHtmlColourCell
,
19739 _swigc__p_wxHtmlContainerCell
,
19740 _swigc__p_wxHtmlDCRenderer
,
19741 _swigc__p_wxHtmlEasyPrinting
,
19742 _swigc__p_wxHtmlFilter
,
19743 _swigc__p_wxHtmlFontCell
,
19744 _swigc__p_wxHtmlHelpController
,
19745 _swigc__p_wxHtmlHelpData
,
19746 _swigc__p_wxHtmlHelpDialog
,
19747 _swigc__p_wxHtmlHelpFrame
,
19748 _swigc__p_wxHtmlHelpFrameCfg
,
19749 _swigc__p_wxHtmlHelpWindow
,
19750 _swigc__p_wxHtmlLinkInfo
,
19751 _swigc__p_wxHtmlModalHelp
,
19752 _swigc__p_wxHtmlParser
,
19753 _swigc__p_wxHtmlPrintout
,
19754 _swigc__p_wxHtmlRenderingInfo
,
19755 _swigc__p_wxHtmlRenderingState
,
19756 _swigc__p_wxHtmlRenderingStyle
,
19757 _swigc__p_wxHtmlSearchStatus
,
19758 _swigc__p_wxHtmlSelection
,
19759 _swigc__p_wxHtmlTag
,
19760 _swigc__p_wxHtmlTagHandler
,
19761 _swigc__p_wxHtmlWidgetCell
,
19762 _swigc__p_wxHtmlWinParser
,
19763 _swigc__p_wxHtmlWindow
,
19764 _swigc__p_wxHtmlWindowEvent
,
19765 _swigc__p_wxHtmlWindowInterface
,
19766 _swigc__p_wxHtmlWordCell
,
19767 _swigc__p_wxICOHandler
,
19768 _swigc__p_wxIconizeEvent
,
19769 _swigc__p_wxIdleEvent
,
19771 _swigc__p_wxImageHandler
,
19772 _swigc__p_wxIndividualLayoutConstraint
,
19773 _swigc__p_wxInitDialogEvent
,
19774 _swigc__p_wxJPEGHandler
,
19775 _swigc__p_wxKeyEvent
,
19776 _swigc__p_wxLayoutAlgorithm
,
19777 _swigc__p_wxLayoutConstraints
,
19778 _swigc__p_wxMDIChildFrame
,
19779 _swigc__p_wxMDIClientWindow
,
19780 _swigc__p_wxMDIParentFrame
,
19781 _swigc__p_wxMaximizeEvent
,
19783 _swigc__p_wxMenuBar
,
19784 _swigc__p_wxMenuEvent
,
19785 _swigc__p_wxMenuItem
,
19786 _swigc__p_wxMessageDialog
,
19787 _swigc__p_wxMiniFrame
,
19788 _swigc__p_wxMouseCaptureChangedEvent
,
19789 _swigc__p_wxMouseEvent
,
19790 _swigc__p_wxMoveEvent
,
19791 _swigc__p_wxMultiChoiceDialog
,
19792 _swigc__p_wxNavigationKeyEvent
,
19793 _swigc__p_wxNcPaintEvent
,
19794 _swigc__p_wxNotifyEvent
,
19795 _swigc__p_wxNumberEntryDialog
,
19796 _swigc__p_wxObject
,
19797 _swigc__p_wxPCXHandler
,
19798 _swigc__p_wxPNGHandler
,
19799 _swigc__p_wxPNMHandler
,
19800 _swigc__p_wxPageSetupDialog
,
19801 _swigc__p_wxPageSetupDialogData
,
19802 _swigc__p_wxPaintEvent
,
19803 _swigc__p_wxPaletteChangedEvent
,
19805 _swigc__p_wxPaperSize
,
19806 _swigc__p_wxPasswordEntryDialog
,
19808 _swigc__p_wxPopupWindow
,
19809 _swigc__p_wxPreviewCanvas
,
19810 _swigc__p_wxPreviewControlBar
,
19811 _swigc__p_wxPreviewFrame
,
19812 _swigc__p_wxPrintData
,
19813 _swigc__p_wxPrintDialog
,
19814 _swigc__p_wxPrintDialogData
,
19815 _swigc__p_wxPrintPreview
,
19816 _swigc__p_wxPrinter
,
19817 _swigc__p_wxProgressDialog
,
19819 _swigc__p_wxPyCommandEvent
,
19820 _swigc__p_wxPyEvent
,
19821 _swigc__p_wxPyHtmlFilter
,
19822 _swigc__p_wxPyHtmlListBox
,
19823 _swigc__p_wxPyHtmlTagHandler
,
19824 _swigc__p_wxPyHtmlWinTagHandler
,
19825 _swigc__p_wxPyHtmlWindow
,
19826 _swigc__p_wxPyImageHandler
,
19827 _swigc__p_wxPyPanel
,
19828 _swigc__p_wxPyPopupTransientWindow
,
19829 _swigc__p_wxPyPreviewControlBar
,
19830 _swigc__p_wxPyPreviewFrame
,
19831 _swigc__p_wxPyPrintPreview
,
19832 _swigc__p_wxPyPrintout
,
19833 _swigc__p_wxPyScrolledWindow
,
19834 _swigc__p_wxPySizer
,
19835 _swigc__p_wxPyTaskBarIcon
,
19836 _swigc__p_wxPyVListBox
,
19837 _swigc__p_wxPyVScrolledWindow
,
19838 _swigc__p_wxPyValidator
,
19839 _swigc__p_wxPyWindow
,
19840 _swigc__p_wxQueryLayoutInfoEvent
,
19841 _swigc__p_wxQueryNewPaletteEvent
,
19842 _swigc__p_wxSashEvent
,
19843 _swigc__p_wxSashLayoutWindow
,
19844 _swigc__p_wxSashWindow
,
19845 _swigc__p_wxScrollEvent
,
19846 _swigc__p_wxScrollWinEvent
,
19847 _swigc__p_wxScrolledWindow
,
19848 _swigc__p_wxSetCursorEvent
,
19849 _swigc__p_wxShowEvent
,
19850 _swigc__p_wxSingleChoiceDialog
,
19852 _swigc__p_wxSizeEvent
,
19854 _swigc__p_wxSizerItem
,
19855 _swigc__p_wxSplashScreen
,
19856 _swigc__p_wxSplashScreenWindow
,
19857 _swigc__p_wxSplitterEvent
,
19858 _swigc__p_wxSplitterWindow
,
19859 _swigc__p_wxStaticBoxSizer
,
19860 _swigc__p_wxStatusBar
,
19861 _swigc__p_wxStdDialogButtonSizer
,
19862 _swigc__p_wxString
,
19863 _swigc__p_wxSysColourChangedEvent
,
19864 _swigc__p_wxTIFFHandler
,
19865 _swigc__p_wxTaskBarIconEvent
,
19866 _swigc__p_wxTextEntryDialog
,
19867 _swigc__p_wxTipWindow
,
19868 _swigc__p_wxTopLevelWindow
,
19869 _swigc__p_wxUpdateUIEvent
,
19870 _swigc__p_wxValidator
,
19871 _swigc__p_wxVisualAttributes
,
19872 _swigc__p_wxWindow
,
19873 _swigc__p_wxWindowCreateEvent
,
19874 _swigc__p_wxWindowDestroyEvent
,
19875 _swigc__p_wxXPMHandler
,
19879 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19881 static swig_const_info swig_const_table
[] = {
19882 {0, 0, 0, 0.0, 0, 0}};
19887 /* -----------------------------------------------------------------------------
19888 * Type initialization:
19889 * This problem is tough by the requirement that no dynamic
19890 * memory is used. Also, since swig_type_info structures store pointers to
19891 * swig_cast_info structures and swig_cast_info structures store pointers back
19892 * to swig_type_info structures, we need some lookup code at initialization.
19893 * The idea is that swig generates all the structures that are needed.
19894 * The runtime then collects these partially filled structures.
19895 * The SWIG_InitializeModule function takes these initial arrays out of
19896 * swig_module, and does all the lookup, filling in the swig_module.types
19897 * array with the correct data and linking the correct swig_cast_info
19898 * structures together.
19900 * The generated swig_type_info structures are assigned staticly to an initial
19901 * array. We just loop though that array, and handle each type individually.
19902 * First we lookup if this type has been already loaded, and if so, use the
19903 * loaded structure instead of the generated one. Then we have to fill in the
19904 * cast linked list. The cast data is initially stored in something like a
19905 * two-dimensional array. Each row corresponds to a type (there are the same
19906 * number of rows as there are in the swig_type_initial array). Each entry in
19907 * a column is one of the swig_cast_info structures for that type.
19908 * The cast_initial array is actually an array of arrays, because each row has
19909 * a variable number of columns. So to actually build the cast linked list,
19910 * we find the array of casts associated with the type, and loop through it
19911 * adding the casts to the list. The one last trick we need to do is making
19912 * sure the type pointer in the swig_cast_info struct is correct.
19914 * First off, we lookup the cast->type name to see if it is already loaded.
19915 * There are three cases to handle:
19916 * 1) If the cast->type has already been loaded AND the type we are adding
19917 * casting info to has not been loaded (it is in this module), THEN we
19918 * replace the cast->type pointer with the type pointer that has already
19920 * 2) If BOTH types (the one we are adding casting info to, and the
19921 * cast->type) are loaded, THEN the cast info has already been loaded by
19922 * the previous module so we just ignore it.
19923 * 3) Finally, if cast->type has not already been loaded, then we add that
19924 * swig_cast_info to the linked list (because the cast->type) pointer will
19926 * ----------------------------------------------------------------------------- */
19936 #define SWIGRUNTIME_DEBUG
19940 SWIG_InitializeModule(void *clientdata
) {
19942 swig_module_info
*module_head
;
19943 static int init_run
= 0;
19945 clientdata
= clientdata
;
19947 if (init_run
) return;
19950 /* Initialize the swig_module */
19951 swig_module
.type_initial
= swig_type_initial
;
19952 swig_module
.cast_initial
= swig_cast_initial
;
19954 /* Try and load any already created modules */
19955 module_head
= SWIG_GetModule(clientdata
);
19957 swig_module
.next
= module_head
->next
;
19958 module_head
->next
= &swig_module
;
19960 /* This is the first module loaded */
19961 swig_module
.next
= &swig_module
;
19962 SWIG_SetModule(clientdata
, &swig_module
);
19965 /* Now work on filling in swig_module.types */
19966 #ifdef SWIGRUNTIME_DEBUG
19967 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
19969 for (i
= 0; i
< swig_module
.size
; ++i
) {
19970 swig_type_info
*type
= 0;
19971 swig_type_info
*ret
;
19972 swig_cast_info
*cast
;
19974 #ifdef SWIGRUNTIME_DEBUG
19975 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
19978 /* if there is another module already loaded */
19979 if (swig_module
.next
!= &swig_module
) {
19980 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
19983 /* Overwrite clientdata field */
19984 #ifdef SWIGRUNTIME_DEBUG
19985 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
19987 if (swig_module
.type_initial
[i
]->clientdata
) {
19988 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
19989 #ifdef SWIGRUNTIME_DEBUG
19990 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
19994 type
= swig_module
.type_initial
[i
];
19997 /* Insert casting types */
19998 cast
= swig_module
.cast_initial
[i
];
19999 while (cast
->type
) {
20000 /* Don't need to add information already in the list */
20002 #ifdef SWIGRUNTIME_DEBUG
20003 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
20005 if (swig_module
.next
!= &swig_module
) {
20006 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
20007 #ifdef SWIGRUNTIME_DEBUG
20008 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
20012 if (type
== swig_module
.type_initial
[i
]) {
20013 #ifdef SWIGRUNTIME_DEBUG
20014 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
20019 /* Check for casting already in the list */
20020 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
20021 #ifdef SWIGRUNTIME_DEBUG
20022 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
20024 if (!ocast
) ret
= 0;
20029 #ifdef SWIGRUNTIME_DEBUG
20030 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
20033 type
->cast
->prev
= cast
;
20034 cast
->next
= type
->cast
;
20040 /* Set entry in modules->types array equal to the type */
20041 swig_module
.types
[i
] = type
;
20043 swig_module
.types
[i
] = 0;
20045 #ifdef SWIGRUNTIME_DEBUG
20046 printf("**** SWIG_InitializeModule: Cast List ******\n");
20047 for (i
= 0; i
< swig_module
.size
; ++i
) {
20049 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
20050 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20051 while (cast
->type
) {
20052 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
20056 printf("---- Total casts: %d\n",j
);
20058 printf("**** SWIG_InitializeModule: Cast List ******\n");
20062 /* This function will propagate the clientdata field of type to
20063 * any new swig_type_info structures that have been added into the list
20064 * of equivalent types. It is like calling
20065 * SWIG_TypeClientData(type, clientdata) a second time.
20068 SWIG_PropagateClientData(void) {
20070 swig_cast_info
*equiv
;
20071 static int init_run
= 0;
20073 if (init_run
) return;
20076 for (i
= 0; i
< swig_module
.size
; i
++) {
20077 if (swig_module
.types
[i
]->clientdata
) {
20078 equiv
= swig_module
.types
[i
]->cast
;
20080 if (!equiv
->converter
) {
20081 if (equiv
->type
&& !equiv
->type
->clientdata
)
20082 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
20084 equiv
= equiv
->next
;
20104 /* Python-specific SWIG API */
20105 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20106 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20107 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20109 /* -----------------------------------------------------------------------------
20110 * global variable support code.
20111 * ----------------------------------------------------------------------------- */
20113 typedef struct swig_globalvar
{
20114 char *name
; /* Name of global variable */
20115 PyObject
*(*get_attr
)(void); /* Return the current value */
20116 int (*set_attr
)(PyObject
*); /* Set the value */
20117 struct swig_globalvar
*next
;
20120 typedef struct swig_varlinkobject
{
20122 swig_globalvar
*vars
;
20123 } swig_varlinkobject
;
20125 SWIGINTERN PyObject
*
20126 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
20127 return PyString_FromString("<Swig global variables>");
20130 SWIGINTERN PyObject
*
20131 swig_varlink_str(swig_varlinkobject
*v
) {
20132 PyObject
*str
= PyString_FromString("(");
20133 swig_globalvar
*var
;
20134 for (var
= v
->vars
; var
; var
=var
->next
) {
20135 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
20136 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
20138 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
20143 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
20144 PyObject
*str
= swig_varlink_str(v
);
20145 fprintf(fp
,"Swig global variables ");
20146 fprintf(fp
,"%s\n", PyString_AsString(str
));
20152 swig_varlink_dealloc(swig_varlinkobject
*v
) {
20153 swig_globalvar
*var
= v
->vars
;
20155 swig_globalvar
*n
= var
->next
;
20162 SWIGINTERN PyObject
*
20163 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
20164 PyObject
*res
= NULL
;
20165 swig_globalvar
*var
= v
->vars
;
20167 if (strcmp(var
->name
,n
) == 0) {
20168 res
= (*var
->get_attr
)();
20173 if (res
== NULL
&& !PyErr_Occurred()) {
20174 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20180 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
20182 swig_globalvar
*var
= v
->vars
;
20184 if (strcmp(var
->name
,n
) == 0) {
20185 res
= (*var
->set_attr
)(p
);
20190 if (res
== 1 && !PyErr_Occurred()) {
20191 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20196 SWIGINTERN PyTypeObject
*
20197 swig_varlink_type(void) {
20198 static char varlink__doc__
[] = "Swig var link object";
20199 static PyTypeObject varlink_type
;
20200 static int type_init
= 0;
20202 const PyTypeObject tmp
20204 PyObject_HEAD_INIT(NULL
)
20205 0, /* Number of items in variable part (ob_size) */
20206 (char *)"swigvarlink", /* Type name (tp_name) */
20207 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
20208 0, /* Itemsize (tp_itemsize) */
20209 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
20210 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
20211 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
20212 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
20213 0, /* tp_compare */
20214 (reprfunc
) swig_varlink_repr
, /* tp_repr */
20215 0, /* tp_as_number */
20216 0, /* tp_as_sequence */
20217 0, /* tp_as_mapping */
20220 (reprfunc
)swig_varlink_str
, /* tp_str */
20221 0, /* tp_getattro */
20222 0, /* tp_setattro */
20223 0, /* tp_as_buffer */
20225 varlink__doc__
, /* tp_doc */
20226 0, /* tp_traverse */
20228 0, /* tp_richcompare */
20229 0, /* tp_weaklistoffset */
20230 #if PY_VERSION_HEX >= 0x02020000
20231 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20233 #if PY_VERSION_HEX >= 0x02030000
20236 #ifdef COUNT_ALLOCS
20237 0,0,0,0 /* tp_alloc -> tp_next */
20240 varlink_type
= tmp
;
20241 varlink_type
.ob_type
= &PyType_Type
;
20244 return &varlink_type
;
20247 /* Create a variable linking object for use later */
20248 SWIGINTERN PyObject
*
20249 SWIG_Python_newvarlink(void) {
20250 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
20254 return ((PyObject
*) result
);
20258 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
20259 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
20260 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
20262 size_t size
= strlen(name
)+1;
20263 gv
->name
= (char *)malloc(size
);
20265 strncpy(gv
->name
,name
,size
);
20266 gv
->get_attr
= get_attr
;
20267 gv
->set_attr
= set_attr
;
20268 gv
->next
= v
->vars
;
20274 SWIGINTERN PyObject
*
20276 static PyObject
*_SWIG_globals
= 0;
20277 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
20278 return _SWIG_globals
;
20281 /* -----------------------------------------------------------------------------
20282 * constants/methods manipulation
20283 * ----------------------------------------------------------------------------- */
20285 /* Install Constants */
20287 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
20290 for (i
= 0; constants
[i
].type
; ++i
) {
20291 switch(constants
[i
].type
) {
20292 case SWIG_PY_POINTER
:
20293 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
20295 case SWIG_PY_BINARY
:
20296 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
20303 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
20309 /* -----------------------------------------------------------------------------*/
20310 /* Fix SwigMethods to carry the callback ptrs when needed */
20311 /* -----------------------------------------------------------------------------*/
20314 SWIG_Python_FixMethods(PyMethodDef
*methods
,
20315 swig_const_info
*const_table
,
20316 swig_type_info
**types
,
20317 swig_type_info
**types_initial
) {
20319 for (i
= 0; methods
[i
].ml_name
; ++i
) {
20320 const char *c
= methods
[i
].ml_doc
;
20321 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
20323 swig_const_info
*ci
= 0;
20324 const char *name
= c
+ 10;
20325 for (j
= 0; const_table
[j
].type
; ++j
) {
20326 if (strncmp(const_table
[j
].name
, name
,
20327 strlen(const_table
[j
].name
)) == 0) {
20328 ci
= &(const_table
[j
]);
20333 size_t shift
= (ci
->ptype
) - types
;
20334 swig_type_info
*ty
= types_initial
[shift
];
20335 size_t ldoc
= (c
- methods
[i
].ml_doc
);
20336 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
20337 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
20340 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
20342 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
20344 strncpy(buff
, "swig_ptr: ", 10);
20346 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
20347 methods
[i
].ml_doc
= ndoc
;
20359 /* -----------------------------------------------------------------------------*
20360 * Partial Init method
20361 * -----------------------------------------------------------------------------*/
20366 SWIGEXPORT
void SWIG_init(void) {
20369 /* Fix SwigMethods to carry the callback ptrs when needed */
20370 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
20372 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20373 d
= PyModule_GetDict(m
);
20375 SWIG_InitializeModule(0);
20376 SWIG_InstallConstants(d
,swig_const_table
);
20379 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
20380 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get
, HtmlWindowNameStr_set
);
20381 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get
, HtmlPrintoutTitleStr_set
);
20382 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get
, HtmlPrintingTitleStr_set
);
20383 SWIG_Python_SetConstant(d
, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT
)));
20384 SWIG_Python_SetConstant(d
, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER
)));
20385 SWIG_Python_SetConstant(d
, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT
)));
20386 SWIG_Python_SetConstant(d
, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM
)));
20387 SWIG_Python_SetConstant(d
, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP
)));
20388 SWIG_Python_SetConstant(d
, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND
)));
20389 SWIG_Python_SetConstant(d
, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND
)));
20390 SWIG_Python_SetConstant(d
, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS
)));
20391 SWIG_Python_SetConstant(d
, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT
)));
20392 SWIG_Python_SetConstant(d
, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT
)));
20393 SWIG_Python_SetConstant(d
, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT
)));
20394 SWIG_Python_SetConstant(d
, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP
)));
20395 SWIG_Python_SetConstant(d
, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM
)));
20396 SWIG_Python_SetConstant(d
, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL
)));
20397 SWIG_Python_SetConstant(d
, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL
)));
20398 SWIG_Python_SetConstant(d
, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL
)));
20399 SWIG_Python_SetConstant(d
, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR
)));
20400 SWIG_Python_SetConstant(d
, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP
)));
20401 SWIG_Python_SetConstant(d
, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER
)));
20402 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_1",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_1
)));
20403 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_2",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_2
)));
20404 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_3",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_3
)));
20405 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_4",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_4
)));
20406 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_5",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_5
)));
20407 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_6",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_6
)));
20408 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_7",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_7
)));
20409 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER
)));
20410 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO
)));
20411 SWIG_Python_SetConstant(d
, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION
)));
20412 SWIG_Python_SetConstant(d
, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE
)));
20413 SWIG_Python_SetConstant(d
, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN
)));
20414 SWIG_Python_SetConstant(d
, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK
)));
20415 SWIG_Python_SetConstant(d
, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT
)));
20416 SWIG_Python_SetConstant(d
, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE
)));
20417 SWIG_Python_SetConstant(d
, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE
)));
20418 SWIG_Python_SetConstant(d
, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER
)));
20419 SWIG_Python_SetConstant(d
, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT
)));
20420 SWIG_Python_SetConstant(d
, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN
)));
20421 SWIG_Python_SetConstant(d
, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING
)));
20422 SWIG_Python_SetConstant(d
, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT
)));
20423 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE
)));
20424 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER
)));
20425 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default
)));
20426 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link
)));
20427 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text
)));
20428 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default
)));
20429 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link
)));
20430 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text
)));
20431 SWIG_Python_SetConstant(d
, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD
)));
20432 SWIG_Python_SetConstant(d
, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN
)));
20433 SWIG_Python_SetConstant(d
, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL
)));
20434 SWIG_Python_SetConstant(d
, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR
)));
20435 SWIG_Python_SetConstant(d
, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS
)));
20436 SWIG_Python_SetConstant(d
, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX
)));
20437 SWIG_Python_SetConstant(d
, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH
)));
20438 SWIG_Python_SetConstant(d
, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS
)));
20439 SWIG_Python_SetConstant(d
, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES
)));
20440 SWIG_Python_SetConstant(d
, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT
)));
20441 SWIG_Python_SetConstant(d
, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR
)));
20442 SWIG_Python_SetConstant(d
, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS
)));
20443 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK
)));
20444 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER
)));
20445 SWIG_Python_SetConstant(d
, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER
)));
20446 SWIG_Python_SetConstant(d
, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE
)));
20447 SWIG_Python_SetConstant(d
, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED
)));
20448 SWIG_Python_SetConstant(d
, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG
)));
20449 SWIG_Python_SetConstant(d
, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME
)));
20450 SWIG_Python_SetConstant(d
, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL
)));
20451 SWIG_Python_SetConstant(d
, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL
)));
20452 SWIG_Python_SetConstant(d
, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK
)));
20453 SWIG_Python_SetConstant(d
, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD
)));
20454 SWIG_Python_SetConstant(d
, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE
)));
20455 SWIG_Python_SetConstant(d
, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP
)));
20456 SWIG_Python_SetConstant(d
, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN
)));
20457 SWIG_Python_SetConstant(d
, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT
)));
20458 SWIG_Python_SetConstant(d
, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE
)));
20459 SWIG_Python_SetConstant(d
, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS
)));
20460 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST
)));
20461 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD
)));
20462 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE
)));
20463 SWIG_Python_SetConstant(d
, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL
)));
20464 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE
)));
20465 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST
)));
20466 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT
)));
20467 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON
)));
20468 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL
)));
20469 SWIG_Python_SetConstant(d
, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK
)));
20470 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE
)));
20471 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT
)));
20472 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST
)));
20473 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON
)));
20474 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE
)));
20475 SWIG_Python_SetConstant(d
, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO
)));
20477 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20478 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20479 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20480 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");