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_char swig_types[0]
2467
#define SWIGTYPE_p_double 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_wxHtmlCellEvent swig_types[60]
2527
#define SWIGTYPE_p_wxHtmlColourCell swig_types[61]
2528
#define SWIGTYPE_p_wxHtmlContainerCell swig_types[62]
2529
#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[63]
2530
#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[64]
2531
#define SWIGTYPE_p_wxHtmlFilter swig_types[65]
2532
#define SWIGTYPE_p_wxHtmlFontCell swig_types[66]
2533
#define SWIGTYPE_p_wxHtmlHelpController swig_types[67]
2534
#define SWIGTYPE_p_wxHtmlHelpData swig_types[68]
2535
#define SWIGTYPE_p_wxHtmlHelpDialog swig_types[69]
2536
#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[70]
2537
#define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[71]
2538
#define SWIGTYPE_p_wxHtmlHelpWindow swig_types[72]
2539
#define SWIGTYPE_p_wxHtmlLinkEvent swig_types[73]
2540
#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[74]
2541
#define SWIGTYPE_p_wxHtmlModalHelp swig_types[75]
2542
#define SWIGTYPE_p_wxHtmlParser swig_types[76]
2543
#define SWIGTYPE_p_wxHtmlPrintout swig_types[77]
2544
#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[78]
2545
#define SWIGTYPE_p_wxHtmlRenderingState swig_types[79]
2546
#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[80]
2547
#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[81]
2548
#define SWIGTYPE_p_wxHtmlSelection swig_types[82]
2549
#define SWIGTYPE_p_wxHtmlTag swig_types[83]
2550
#define SWIGTYPE_p_wxHtmlTagHandler swig_types[84]
2551
#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[85]
2552
#define SWIGTYPE_p_wxHtmlWinParser swig_types[86]
2553
#define SWIGTYPE_p_wxHtmlWindowInterface swig_types[87]
2554
#define SWIGTYPE_p_wxHtmlWordCell swig_types[88]
2555
#define SWIGTYPE_p_wxICOHandler swig_types[89]
2556
#define SWIGTYPE_p_wxIconizeEvent swig_types[90]
2557
#define SWIGTYPE_p_wxIdleEvent swig_types[91]
2558
#define SWIGTYPE_p_wxImage swig_types[92]
2559
#define SWIGTYPE_p_wxImageHandler swig_types[93]
2560
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[94]
2561
#define SWIGTYPE_p_wxInitDialogEvent swig_types[95]
2562
#define SWIGTYPE_p_wxJPEGHandler swig_types[96]
2563
#define SWIGTYPE_p_wxKeyEvent swig_types[97]
2564
#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[98]
2565
#define SWIGTYPE_p_wxLayoutConstraints swig_types[99]
2566
#define SWIGTYPE_p_wxMDIChildFrame swig_types[100]
2567
#define SWIGTYPE_p_wxMDIClientWindow swig_types[101]
2568
#define SWIGTYPE_p_wxMDIParentFrame swig_types[102]
2569
#define SWIGTYPE_p_wxMaximizeEvent swig_types[103]
2570
#define SWIGTYPE_p_wxMenu swig_types[104]
2571
#define SWIGTYPE_p_wxMenuBar swig_types[105]
2572
#define SWIGTYPE_p_wxMenuEvent swig_types[106]
2573
#define SWIGTYPE_p_wxMenuItem swig_types[107]
2574
#define SWIGTYPE_p_wxMessageDialog swig_types[108]
2575
#define SWIGTYPE_p_wxMiniFrame swig_types[109]
2576
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[110]
2577
#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[111]
2578
#define SWIGTYPE_p_wxMouseEvent swig_types[112]
2579
#define SWIGTYPE_p_wxMoveEvent swig_types[113]
2580
#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[114]
2581
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[115]
2582
#define SWIGTYPE_p_wxNcPaintEvent swig_types[116]
2583
#define SWIGTYPE_p_wxNotifyEvent swig_types[117]
2584
#define SWIGTYPE_p_wxNumberEntryDialog swig_types[118]
2585
#define SWIGTYPE_p_wxObject swig_types[119]
2586
#define SWIGTYPE_p_wxPCXHandler swig_types[120]
2587
#define SWIGTYPE_p_wxPNGHandler swig_types[121]
2588
#define SWIGTYPE_p_wxPNMHandler swig_types[122]
2589
#define SWIGTYPE_p_wxPageSetupDialog swig_types[123]
2590
#define SWIGTYPE_p_wxPageSetupDialogData swig_types[124]
2591
#define SWIGTYPE_p_wxPaintEvent swig_types[125]
2592
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[126]
2593
#define SWIGTYPE_p_wxPanel swig_types[127]
2594
#define SWIGTYPE_p_wxPaperSize swig_types[128]
2595
#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[129]
2596
#define SWIGTYPE_p_wxPoint swig_types[130]
2597
#define SWIGTYPE_p_wxPopupWindow swig_types[131]
2598
#define SWIGTYPE_p_wxPreviewCanvas swig_types[132]
2599
#define SWIGTYPE_p_wxPreviewControlBar swig_types[133]
2600
#define SWIGTYPE_p_wxPreviewFrame swig_types[134]
2601
#define SWIGTYPE_p_wxPrintData swig_types[135]
2602
#define SWIGTYPE_p_wxPrintDialog swig_types[136]
2603
#define SWIGTYPE_p_wxPrintDialogData swig_types[137]
2604
#define SWIGTYPE_p_wxPrintPreview swig_types[138]
2605
#define SWIGTYPE_p_wxPrinter swig_types[139]
2606
#define SWIGTYPE_p_wxProgressDialog swig_types[140]
2607
#define SWIGTYPE_p_wxPyApp swig_types[141]
2608
#define SWIGTYPE_p_wxPyCommandEvent swig_types[142]
2609
#define SWIGTYPE_p_wxPyEvent swig_types[143]
2610
#define SWIGTYPE_p_wxPyEvtHandler swig_types[144]
2611
#define SWIGTYPE_p_wxPyHtmlFilter swig_types[145]
2612
#define SWIGTYPE_p_wxPyHtmlListBox swig_types[146]
2613
#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[147]
2614
#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[148]
2615
#define SWIGTYPE_p_wxPyHtmlWindow swig_types[149]
2616
#define SWIGTYPE_p_wxPyImageHandler swig_types[150]
2617
#define SWIGTYPE_p_wxPyPanel swig_types[151]
2618
#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[152]
2619
#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[153]
2620
#define SWIGTYPE_p_wxPyPreviewFrame swig_types[154]
2621
#define SWIGTYPE_p_wxPyPrintPreview swig_types[155]
2622
#define SWIGTYPE_p_wxPyPrintout swig_types[156]
2623
#define SWIGTYPE_p_wxPyScrolledWindow swig_types[157]
2624
#define SWIGTYPE_p_wxPySizer swig_types[158]
2625
#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[159]
2626
#define SWIGTYPE_p_wxPyVListBox swig_types[160]
2627
#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[161]
2628
#define SWIGTYPE_p_wxPyValidator swig_types[162]
2629
#define SWIGTYPE_p_wxPyWindow swig_types[163]
2630
#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[164]
2631
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[165]
2632
#define SWIGTYPE_p_wxSashEvent swig_types[166]
2633
#define SWIGTYPE_p_wxSashLayoutWindow swig_types[167]
2634
#define SWIGTYPE_p_wxSashWindow swig_types[168]
2635
#define SWIGTYPE_p_wxScrollEvent swig_types[169]
2636
#define SWIGTYPE_p_wxScrollWinEvent swig_types[170]
2637
#define SWIGTYPE_p_wxScrolledWindow swig_types[171]
2638
#define SWIGTYPE_p_wxSetCursorEvent swig_types[172]
2639
#define SWIGTYPE_p_wxShowEvent swig_types[173]
2640
#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[174]
2641
#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[175]
2642
#define SWIGTYPE_p_wxSizeEvent swig_types[176]
2643
#define SWIGTYPE_p_wxSizer swig_types[177]
2644
#define SWIGTYPE_p_wxSizerItem swig_types[178]
2645
#define SWIGTYPE_p_wxSplashScreen swig_types[179]
2646
#define SWIGTYPE_p_wxSplashScreenWindow swig_types[180]
2647
#define SWIGTYPE_p_wxSplitterEvent swig_types[181]
2648
#define SWIGTYPE_p_wxSplitterWindow swig_types[182]
2649
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[183]
2650
#define SWIGTYPE_p_wxStatusBar swig_types[184]
2651
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[185]
2652
#define SWIGTYPE_p_wxString swig_types[186]
2653
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[187]
2654
#define SWIGTYPE_p_wxTGAHandler swig_types[188]
2655
#define SWIGTYPE_p_wxTIFFHandler swig_types[189]
2656
#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[190]
2657
#define SWIGTYPE_p_wxTextEntryDialog swig_types[191]
2658
#define SWIGTYPE_p_wxTipWindow swig_types[192]
2659
#define SWIGTYPE_p_wxTopLevelWindow swig_types[193]
2660
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[194]
2661
#define SWIGTYPE_p_wxValidator swig_types[195]
2662
#define SWIGTYPE_p_wxVisualAttributes swig_types[196]
2663
#define SWIGTYPE_p_wxWindow swig_types[197]
2664
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[198]
2665
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[199]
2666
#define SWIGTYPE_p_wxXPMHandler swig_types[200]
2667
static swig_type_info *swig_types[202];
2668
static swig_module_info swig_module = {swig_types, 201, 0, 0, 0, 0};
2669
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2670
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2672
/* -------- TYPES TABLE (END) -------- */
2674
#if (PY_VERSION_HEX <= 0x02000000)
2675
# if !defined(SWIG_PYTHON_CLASSIC)
2676
# error "This python version requires to use swig with the '-classic' option"
2679
#if (PY_VERSION_HEX <= 0x02020000)
2680
# error "This python version requires to use swig with the '-nomodern' option"
2682
#if (PY_VERSION_HEX <= 0x02020000)
2683
# error "This python version requires to use swig with the '-nomodernargs' option"
2686
# error "This python version requires to use swig with the '-nofastunpack' option"
2689
/*-----------------------------------------------
2690
@(target):= _html.so
2691
------------------------------------------------*/
2692
#define SWIG_init init_html
2694
#define SWIG_name "_html"
2696
#define SWIGVERSION 0x010329
2699
#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2700
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2703
#include <stdexcept>
2707
class PyObject_ptr {
2712
PyObject_ptr() :_obj(0)
2716
PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2721
PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2723
if (initial_ref) Py_XINCREF(_obj);
2726
PyObject_ptr & operator=(const PyObject_ptr& item)
2728
Py_XINCREF(item._obj);
2739
operator PyObject *() const
2744
PyObject *operator->() const
2753
struct PyObject_var : PyObject_ptr {
2754
PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2756
PyObject_var & operator = (PyObject* obj)
2766
#include "wx/wxPython/wxPython.h"
2767
#include "wx/wxPython/pyclasses.h"
2768
#include "wx/wxPython/pyistream.h"
2769
#include "wx/wxPython/printfw.h"
2771
#include <wx/html/htmlwin.h>
2772
#include <wx/html/htmprint.h>
2773
#include <wx/html/helpctrl.h>
2774
#include <wx/html/helpwnd.h>
2775
#include <wx/html/helpfrm.h>
2776
#include <wx/html/helpdlg.h>
2779
static const wxString wxPyEmptyString(wxEmptyString);
2780
static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2781
static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2782
static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
2784
#define SWIG_From_long PyInt_FromLong
2787
SWIGINTERNINLINE PyObject *
2788
SWIG_From_int (int value)
2790
return SWIG_From_long (value);
2796
# define LLONG_MIN LONG_LONG_MIN
2799
# define LLONG_MAX LONG_LONG_MAX
2802
# define ULLONG_MAX ULONG_LONG_MAX
2807
SWIG_AsVal_long (PyObject* obj, long* val)
2809
if (PyNumber_Check(obj)) {
2810
if (val) *val = PyInt_AsLong(obj);
2813
return SWIG_TypeError;
2818
SWIG_AsVal_int (PyObject * obj, int *val)
2821
int res = SWIG_AsVal_long (obj, &v);
2822
if (SWIG_IsOK(res)) {
2823
if ((v < INT_MIN || v > INT_MAX)) {
2824
return SWIG_OverflowError;
2826
if (val) *val = static_cast< int >(v);
2832
SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2834
if (sizes) temp = int_LIST_helper(sizes);
2835
self->SetFonts(normal_face, fixed_face, temp);
2840
class wxPyHtmlTagHandler : public wxHtmlTagHandler {
2841
DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
2843
wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2845
wxHtmlParser* GetParser() { return m_Parser; }
2846
void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
2848
DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2849
DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2854
IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
2856
IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
2857
IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
2860
class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
2861
DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
2863
wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2865
wxHtmlWinParser* GetParser() { return m_WParser; }
2866
void ParseInner(const wxHtmlTag& tag)
2867
{ wxHtmlWinTagHandler::ParseInner(tag); }
2869
DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2870
DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2875
IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
2877
IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
2878
IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
2882
class wxPyHtmlTagsModule : public wxHtmlTagsModule {
2884
wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
2885
m_tagHandlerClass = thc;
2886
Py_INCREF(m_tagHandlerClass);
2887
RegisterModule(this);
2888
wxHtmlWinParser::AddModule(this);
2892
wxPyBlock_t blocked = wxPyBeginBlockThreads();
2893
Py_DECREF(m_tagHandlerClass);
2894
m_tagHandlerClass = NULL;
2895
for (size_t x=0; x < m_objArray.GetCount(); x++) {
2896
PyObject* obj = (PyObject*)m_objArray.Item(x);
2899
wxPyEndBlockThreads(blocked);
2902
void FillHandlersTable(wxHtmlWinParser *parser) {
2903
// Wave our magic wand... (if it works it's a miracle! ;-)
2905
// First, make a new instance of the tag handler
2906
wxPyBlock_t blocked = wxPyBeginBlockThreads();
2907
PyObject* arg = PyTuple_New(0);
2908
PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
2911
// now figure out where it's C++ object is...
2912
wxPyHtmlWinTagHandler* thPtr;
2913
if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
2914
wxPyEndBlockThreads(blocked);
2917
wxPyEndBlockThreads(blocked);
2920
parser->AddTagHandler(thPtr);
2923
m_objArray.Add(obj);
2927
PyObject* m_tagHandlerClass;
2928
wxArrayPtrVoid m_objArray;
2933
void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
2934
// Dynamically create a new wxModule. Refcounts tagHandlerClass
2935
// and adds itself to the wxModules list and to the wxHtmlWinParser.
2936
new wxPyHtmlTagsModule(tagHandlerClass);
2940
SWIGINTERNINLINE PyObject*
2941
SWIG_From_bool (bool value)
2943
return PyBool_FromLong(value ? 1 : 0);
2948
SWIG_AsVal_bool (PyObject *obj, bool *val)
2950
if (obj == Py_True) {
2951
if (val) *val = true;
2953
} else if (obj == Py_False) {
2954
if (val) *val = false;
2958
int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2959
if (SWIG_IsOK(res) && val) *val = v ? true : false;
2966
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2969
int res = SWIG_AsVal_long(obj, &v);
2970
if (SWIG_IsOK(res)) {
2972
return SWIG_ValueError;
2975
*val = (unsigned long)v;
2982
SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2985
int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2986
if (SWIG_IsOK(res)) {
2987
if ((v > UINT_MAX)) {
2988
return SWIG_OverflowError;
2990
if (val) *val = static_cast< unsigned int >(v);
2997
SWIGINTERNINLINE PyObject*
2998
SWIG_From_unsigned_SS_long (unsigned long value)
3000
return (value > LONG_MAX) ?
3001
PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
3005
SWIGINTERNINLINE PyObject *
3006
SWIG_From_unsigned_SS_int (unsigned int value)
3008
return SWIG_From_unsigned_SS_long (value);
3011
// here's the C++ version
3012
class wxPyHtmlFilter : public wxHtmlFilter {
3013
DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
3015
wxPyHtmlFilter() : wxHtmlFilter() {}
3017
// returns True if this filter is able to open&read given file
3018
virtual bool CanRead(const wxFSFile& file) const {
3021
wxPyBlock_t blocked = wxPyBeginBlockThreads();
3022
if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
3023
PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
3024
rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3027
wxPyEndBlockThreads(blocked);
3032
// Reads given file and returns HTML document.
3033
// Returns empty string if opening failed
3034
virtual wxString ReadFile(const wxFSFile& file) const {
3037
wxPyBlock_t blocked = wxPyBeginBlockThreads();
3038
if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
3039
PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
3041
ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
3044
rval = Py2wxString(ro);
3048
wxPyEndBlockThreads(blocked);
3055
IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
3058
class wxPyHtmlWindow : public wxHtmlWindow {
3059
DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
3061
wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
3062
const wxPoint& pos = wxDefaultPosition,
3063
const wxSize& size = wxDefaultSize,
3064
long style = wxHW_DEFAULT_STYLE,
3065
const wxString& name = wxPyHtmlWindowNameStr)
3066
: wxHtmlWindow(parent, id, pos, size, style, name) {};
3067
wxPyHtmlWindow() : wxHtmlWindow() {};
3069
bool ScrollToAnchor(const wxString& anchor) {
3070
return wxHtmlWindow::ScrollToAnchor(anchor);
3073
bool HasAnchor(const wxString& anchor) {
3074
const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
3078
void OnLinkClicked(const wxHtmlLinkInfo& link);
3080
wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
3081
const wxString& url,
3082
wxString *redirect) const;
3084
DEC_PYCALLBACK__STRING(OnSetTitle);
3085
DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
3086
DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked);
3091
IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
3092
IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
3093
IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
3094
IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
3097
void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
3099
wxPyBlock_t blocked = wxPyBeginBlockThreads();
3100
if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3101
PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3102
wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3105
wxPyEndBlockThreads(blocked);
3107
wxHtmlWindow::OnLinkClicked(link);
3111
wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
3112
const wxString& url,
3113
wxString *redirect) const {
3115
wxHtmlOpeningStatus rval;
3116
wxPyBlock_t blocked = wxPyBeginBlockThreads();
3117
if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
3119
PyObject* s = wx2PyString(url);
3120
ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
3122
if (PyString_Check(ro)
3123
#if PYTHON_API_VERSION >= 1009
3124
|| PyUnicode_Check(ro)
3127
*redirect = Py2wxString(ro);
3128
rval = wxHTML_REDIRECT;
3131
PyObject* num = PyNumber_Int(ro);
3132
rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
3137
wxPyEndBlockThreads(blocked);
3139
rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
3145
SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3147
if (sizes) temp = int_LIST_helper(sizes);
3148
self->SetFonts(normal_face, fixed_face, temp);
3152
SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3154
if (sizes) temp = int_LIST_helper(sizes);
3155
self->SetFonts(normal_face, fixed_face, temp);
3159
SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3161
if (sizes) temp = int_LIST_helper(sizes);
3162
self->SetFonts(normal_face, fixed_face, temp);
3171
SWIG_AsVal_double (PyObject *obj, double* val)
3173
if (PyNumber_Check(obj)) {
3174
if (val) *val = PyFloat_AsDouble(obj);
3177
return SWIG_TypeError;
3182
SWIG_AsVal_float (PyObject * obj, float *val)
3185
int res = SWIG_AsVal_double (obj, &v);
3186
if (SWIG_IsOK(res)) {
3187
if ((v < -FLT_MAX || v > FLT_MAX)) {
3188
return SWIG_OverflowError;
3190
if (val) *val = static_cast< float >(v);
3196
SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3198
if (sizes) temp = int_LIST_helper(sizes);
3199
self->SetFonts(normal_face, fixed_face, temp);
3204
typedef wxTreeCtrl wxPyTreeCtrl;
3209
SWIGINTERN int HtmlWindowNameStr_set(PyObject *) {
3210
SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only.");
3215
SWIGINTERN PyObject *HtmlWindowNameStr_get(void) {
3216
PyObject *pyobj = 0;
3220
pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
3222
pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
3229
SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) {
3230
SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only.");
3235
SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) {
3236
PyObject *pyobj = 0;
3240
pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
3242
pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
3249
SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) {
3250
SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only.");
3255
SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) {
3256
PyObject *pyobj = 0;
3260
pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
3262
pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
3269
SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3270
PyObject *resultobj = 0;
3271
wxString *arg1 = 0 ;
3272
wxString const &arg2_defvalue = wxPyEmptyString ;
3273
wxString *arg2 = (wxString *) &arg2_defvalue ;
3274
wxHtmlLinkInfo *result = 0 ;
3275
bool temp1 = false ;
3276
bool temp2 = false ;
3277
PyObject * obj0 = 0 ;
3278
PyObject * obj1 = 0 ;
3279
char * kwnames[] = {
3280
(char *) "href",(char *) "target", NULL
3283
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail;
3285
arg1 = wxString_in_helper(obj0);
3286
if (arg1 == NULL) SWIG_fail;
3291
arg2 = wxString_in_helper(obj1);
3292
if (arg2 == NULL) SWIG_fail;
3297
PyThreadState* __tstate = wxPyBeginAllowThreads();
3298
result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
3299
wxPyEndAllowThreads(__tstate);
3300
if (PyErr_Occurred()) SWIG_fail;
3302
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 );
3325
SWIGINTERN PyObject *_wrap_delete_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3326
PyObject *resultobj = 0;
3327
wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3330
PyObject *swig_obj[1] ;
3332
if (!args) SWIG_fail;
3334
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_DISOWN | 0 );
3335
if (!SWIG_IsOK(res1)) {
3336
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlLinkInfo" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3338
arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3340
PyThreadState* __tstate = wxPyBeginAllowThreads();
3343
wxPyEndAllowThreads(__tstate);
3344
if (PyErr_Occurred()) SWIG_fail;
3346
resultobj = SWIG_Py_Void();
3353
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(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_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3367
arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3369
PyThreadState* __tstate = wxPyBeginAllowThreads();
3370
result = (arg1)->GetHref();
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_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3388
PyObject *resultobj = 0;
3389
wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 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_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3401
arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3403
PyThreadState* __tstate = wxPyBeginAllowThreads();
3404
result = (arg1)->GetTarget();
3405
wxPyEndAllowThreads(__tstate);
3406
if (PyErr_Occurred()) SWIG_fail;
3410
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3412
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3421
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3422
PyObject *resultobj = 0;
3423
wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3424
wxMouseEvent *result = 0 ;
3427
PyObject *swig_obj[1] ;
3429
if (!args) SWIG_fail;
3431
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3432
if (!SWIG_IsOK(res1)) {
3433
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3435
arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3437
PyThreadState* __tstate = wxPyBeginAllowThreads();
3438
result = (wxMouseEvent *)(arg1)->GetEvent();
3439
wxPyEndAllowThreads(__tstate);
3440
if (PyErr_Occurred()) SWIG_fail;
3443
resultobj = wxPyMake_wxObject(result, 0);
3451
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3452
PyObject *resultobj = 0;
3453
wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3454
wxHtmlCell *result = 0 ;
3457
PyObject *swig_obj[1] ;
3459
if (!args) SWIG_fail;
3461
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3462
if (!SWIG_IsOK(res1)) {
3463
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3465
arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3467
PyThreadState* __tstate = wxPyBeginAllowThreads();
3468
result = (wxHtmlCell *)(arg1)->GetHtmlCell();
3469
wxPyEndAllowThreads(__tstate);
3470
if (PyErr_Occurred()) SWIG_fail;
3472
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3479
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3480
PyObject *resultobj = 0;
3481
wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3482
wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
3487
PyObject * obj0 = 0 ;
3488
PyObject * obj1 = 0 ;
3489
char * kwnames[] = {
3490
(char *) "self",(char *) "e", NULL
3493
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail;
3494
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3495
if (!SWIG_IsOK(res1)) {
3496
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3498
arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3499
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 );
3500
if (!SWIG_IsOK(res2)) {
3501
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3503
arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
3505
PyThreadState* __tstate = wxPyBeginAllowThreads();
3506
(arg1)->SetEvent((wxMouseEvent const *)arg2);
3507
wxPyEndAllowThreads(__tstate);
3508
if (PyErr_Occurred()) SWIG_fail;
3510
resultobj = SWIG_Py_Void();
3517
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3518
PyObject *resultobj = 0;
3519
wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3520
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3525
PyObject * obj0 = 0 ;
3526
PyObject * obj1 = 0 ;
3527
char * kwnames[] = {
3528
(char *) "self",(char *) "e", NULL
3531
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail;
3532
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3533
if (!SWIG_IsOK(res1)) {
3534
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3536
arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3537
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3538
if (!SWIG_IsOK(res2)) {
3539
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3541
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
3543
PyThreadState* __tstate = wxPyBeginAllowThreads();
3544
(arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
3545
wxPyEndAllowThreads(__tstate);
3546
if (PyErr_Occurred()) SWIG_fail;
3548
resultobj = SWIG_Py_Void();
3555
SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3557
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3558
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj));
3559
return SWIG_Py_Void();
3562
SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3563
return SWIG_Python_InitShadowInstance(args);
3566
SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3567
PyObject *resultobj = 0;
3568
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3572
PyObject *swig_obj[1] ;
3574
if (!args) SWIG_fail;
3576
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3577
if (!SWIG_IsOK(res1)) {
3578
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3580
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3582
PyThreadState* __tstate = wxPyBeginAllowThreads();
3583
result = (arg1)->GetName();
3584
wxPyEndAllowThreads(__tstate);
3585
if (PyErr_Occurred()) SWIG_fail;
3589
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3591
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3600
SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3601
PyObject *resultobj = 0;
3602
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3603
wxString *arg2 = 0 ;
3607
bool temp2 = false ;
3608
PyObject * obj0 = 0 ;
3609
PyObject * obj1 = 0 ;
3610
char * kwnames[] = {
3611
(char *) "self",(char *) "par", NULL
3614
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail;
3615
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3616
if (!SWIG_IsOK(res1)) {
3617
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3619
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3621
arg2 = wxString_in_helper(obj1);
3622
if (arg2 == NULL) SWIG_fail;
3626
PyThreadState* __tstate = wxPyBeginAllowThreads();
3627
result = (bool)(arg1)->HasParam((wxString const &)*arg2);
3628
wxPyEndAllowThreads(__tstate);
3629
if (PyErr_Occurred()) SWIG_fail;
3632
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3648
SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3649
PyObject *resultobj = 0;
3650
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3651
wxString *arg2 = 0 ;
3652
int arg3 = (int) false ;
3656
bool temp2 = false ;
3659
PyObject * obj0 = 0 ;
3660
PyObject * obj1 = 0 ;
3661
PyObject * obj2 = 0 ;
3662
char * kwnames[] = {
3663
(char *) "self",(char *) "par",(char *) "with_commas", NULL
3666
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3667
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3668
if (!SWIG_IsOK(res1)) {
3669
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3671
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3673
arg2 = wxString_in_helper(obj1);
3674
if (arg2 == NULL) SWIG_fail;
3678
ecode3 = SWIG_AsVal_int(obj2, &val3);
3679
if (!SWIG_IsOK(ecode3)) {
3680
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3682
arg3 = static_cast< int >(val3);
3685
PyThreadState* __tstate = wxPyBeginAllowThreads();
3686
result = (arg1)->GetParam((wxString const &)*arg2,arg3);
3687
wxPyEndAllowThreads(__tstate);
3688
if (PyErr_Occurred()) SWIG_fail;
3692
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3694
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3711
SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(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_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3725
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3727
PyThreadState* __tstate = wxPyBeginAllowThreads();
3728
result = (arg1)->GetAllParams();
3729
wxPyEndAllowThreads(__tstate);
3730
if (PyErr_Occurred()) SWIG_fail;
3734
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3736
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3745
SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3746
PyObject *resultobj = 0;
3747
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3751
PyObject *swig_obj[1] ;
3753
if (!args) SWIG_fail;
3755
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3756
if (!SWIG_IsOK(res1)) {
3757
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3759
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3761
PyThreadState* __tstate = wxPyBeginAllowThreads();
3762
result = (bool)(arg1)->HasEnding();
3763
wxPyEndAllowThreads(__tstate);
3764
if (PyErr_Occurred()) SWIG_fail;
3767
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3775
SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3776
PyObject *resultobj = 0;
3777
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3781
PyObject *swig_obj[1] ;
3783
if (!args) SWIG_fail;
3785
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3786
if (!SWIG_IsOK(res1)) {
3787
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3789
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3791
PyThreadState* __tstate = wxPyBeginAllowThreads();
3792
result = (int)(arg1)->GetBeginPos();
3793
wxPyEndAllowThreads(__tstate);
3794
if (PyErr_Occurred()) SWIG_fail;
3796
resultobj = SWIG_From_int(static_cast< int >(result));
3803
SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3804
PyObject *resultobj = 0;
3805
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3809
PyObject *swig_obj[1] ;
3811
if (!args) SWIG_fail;
3813
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3814
if (!SWIG_IsOK(res1)) {
3815
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3817
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3819
PyThreadState* __tstate = wxPyBeginAllowThreads();
3820
result = (int)(arg1)->GetEndPos1();
3821
wxPyEndAllowThreads(__tstate);
3822
if (PyErr_Occurred()) SWIG_fail;
3824
resultobj = SWIG_From_int(static_cast< int >(result));
3831
SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3832
PyObject *resultobj = 0;
3833
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3837
PyObject *swig_obj[1] ;
3839
if (!args) SWIG_fail;
3841
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3842
if (!SWIG_IsOK(res1)) {
3843
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3845
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3847
PyThreadState* __tstate = wxPyBeginAllowThreads();
3848
result = (int)(arg1)->GetEndPos2();
3849
wxPyEndAllowThreads(__tstate);
3850
if (PyErr_Occurred()) SWIG_fail;
3852
resultobj = SWIG_From_int(static_cast< int >(result));
3859
SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3861
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3862
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj));
3863
return SWIG_Py_Void();
3866
SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3867
PyObject *resultobj = 0;
3868
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3869
wxFileSystem *arg2 = (wxFileSystem *) 0 ;
3874
PyObject * obj0 = 0 ;
3875
PyObject * obj1 = 0 ;
3876
char * kwnames[] = {
3877
(char *) "self",(char *) "fs", NULL
3880
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail;
3881
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3882
if (!SWIG_IsOK(res1)) {
3883
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3885
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3886
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 );
3887
if (!SWIG_IsOK(res2)) {
3888
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3890
arg2 = reinterpret_cast< wxFileSystem * >(argp2);
3892
PyThreadState* __tstate = wxPyBeginAllowThreads();
3893
(arg1)->SetFS(arg2);
3894
wxPyEndAllowThreads(__tstate);
3895
if (PyErr_Occurred()) SWIG_fail;
3897
resultobj = SWIG_Py_Void();
3904
SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3905
PyObject *resultobj = 0;
3906
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3907
wxFileSystem *result = 0 ;
3910
PyObject *swig_obj[1] ;
3912
if (!args) SWIG_fail;
3914
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3915
if (!SWIG_IsOK(res1)) {
3916
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3918
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3920
PyThreadState* __tstate = wxPyBeginAllowThreads();
3921
result = (wxFileSystem *)(arg1)->GetFS();
3922
wxPyEndAllowThreads(__tstate);
3923
if (PyErr_Occurred()) SWIG_fail;
3926
resultobj = wxPyMake_wxObject(result, 0);
3934
SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3935
PyObject *resultobj = 0;
3936
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3937
wxString *arg2 = 0 ;
3938
wxObject *result = 0 ;
3941
bool temp2 = false ;
3942
PyObject * obj0 = 0 ;
3943
PyObject * obj1 = 0 ;
3944
char * kwnames[] = {
3945
(char *) "self",(char *) "source", NULL
3948
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail;
3949
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3950
if (!SWIG_IsOK(res1)) {
3951
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3953
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3955
arg2 = wxString_in_helper(obj1);
3956
if (arg2 == NULL) SWIG_fail;
3960
PyThreadState* __tstate = wxPyBeginAllowThreads();
3961
result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
3962
wxPyEndAllowThreads(__tstate);
3963
if (PyErr_Occurred()) SWIG_fail;
3966
resultobj = wxPyMake_wxObject(result, (bool)0);
3982
SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3983
PyObject *resultobj = 0;
3984
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3985
wxString *arg2 = 0 ;
3988
bool temp2 = false ;
3989
PyObject * obj0 = 0 ;
3990
PyObject * obj1 = 0 ;
3991
char * kwnames[] = {
3992
(char *) "self",(char *) "source", NULL
3995
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail;
3996
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3997
if (!SWIG_IsOK(res1)) {
3998
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4000
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4002
arg2 = wxString_in_helper(obj1);
4003
if (arg2 == NULL) SWIG_fail;
4007
PyThreadState* __tstate = wxPyBeginAllowThreads();
4008
(arg1)->InitParser((wxString const &)*arg2);
4009
wxPyEndAllowThreads(__tstate);
4010
if (PyErr_Occurred()) SWIG_fail;
4012
resultobj = SWIG_Py_Void();
4027
SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4028
PyObject *resultobj = 0;
4029
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4032
PyObject *swig_obj[1] ;
4034
if (!args) SWIG_fail;
4036
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4037
if (!SWIG_IsOK(res1)) {
4038
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4040
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4042
PyThreadState* __tstate = wxPyBeginAllowThreads();
4043
(arg1)->DoneParser();
4044
wxPyEndAllowThreads(__tstate);
4045
if (PyErr_Occurred()) SWIG_fail;
4047
resultobj = SWIG_Py_Void();
4054
SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4055
PyObject *resultobj = 0;
4056
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4065
PyObject * obj0 = 0 ;
4066
PyObject * obj1 = 0 ;
4067
PyObject * obj2 = 0 ;
4068
char * kwnames[] = {
4069
(char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4072
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4073
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4074
if (!SWIG_IsOK(res1)) {
4075
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4077
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4078
ecode2 = SWIG_AsVal_int(obj1, &val2);
4079
if (!SWIG_IsOK(ecode2)) {
4080
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4082
arg2 = static_cast< int >(val2);
4083
ecode3 = SWIG_AsVal_int(obj2, &val3);
4084
if (!SWIG_IsOK(ecode3)) {
4085
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4087
arg3 = static_cast< int >(val3);
4089
PyThreadState* __tstate = wxPyBeginAllowThreads();
4090
(arg1)->DoParsing(arg2,arg3);
4091
wxPyEndAllowThreads(__tstate);
4092
if (PyErr_Occurred()) SWIG_fail;
4094
resultobj = SWIG_Py_Void();
4101
SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4102
PyObject *resultobj = 0;
4103
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4106
PyObject *swig_obj[1] ;
4108
if (!args) SWIG_fail;
4110
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4111
if (!SWIG_IsOK(res1)) {
4112
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4114
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4116
PyThreadState* __tstate = wxPyBeginAllowThreads();
4117
(arg1)->StopParsing();
4118
wxPyEndAllowThreads(__tstate);
4119
if (PyErr_Occurred()) SWIG_fail;
4121
resultobj = SWIG_Py_Void();
4128
SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4129
PyObject *resultobj = 0;
4130
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4131
wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4136
PyObject * obj0 = 0 ;
4137
PyObject * obj1 = 0 ;
4138
char * kwnames[] = {
4139
(char *) "self",(char *) "handler", NULL
4142
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail;
4143
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4144
if (!SWIG_IsOK(res1)) {
4145
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4147
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4148
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4149
if (!SWIG_IsOK(res2)) {
4150
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4152
arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4154
PyThreadState* __tstate = wxPyBeginAllowThreads();
4155
(arg1)->AddTagHandler(arg2);
4156
wxPyEndAllowThreads(__tstate);
4157
if (PyErr_Occurred()) SWIG_fail;
4159
resultobj = SWIG_Py_Void();
4166
SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4167
PyObject *resultobj = 0;
4168
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4169
wxString *result = 0 ;
4172
PyObject *swig_obj[1] ;
4174
if (!args) SWIG_fail;
4176
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4177
if (!SWIG_IsOK(res1)) {
4178
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4180
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4182
PyThreadState* __tstate = wxPyBeginAllowThreads();
4183
result = (wxString *)(arg1)->GetSource();
4184
wxPyEndAllowThreads(__tstate);
4185
if (PyErr_Occurred()) SWIG_fail;
4189
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4191
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4200
SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4201
PyObject *resultobj = 0;
4202
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4203
wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4209
PyObject * obj0 = 0 ;
4210
PyObject * obj1 = 0 ;
4211
PyObject * obj2 = 0 ;
4212
char * kwnames[] = {
4213
(char *) "self",(char *) "handler",(char *) "tags", NULL
4216
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4217
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4218
if (!SWIG_IsOK(res1)) {
4219
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4221
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4222
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4223
if (!SWIG_IsOK(res2)) {
4224
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4226
arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4228
wxString* sptr = wxString_in_helper(obj2);
4229
if (sptr == NULL) SWIG_fail;
4234
PyThreadState* __tstate = wxPyBeginAllowThreads();
4235
(arg1)->PushTagHandler(arg2,arg3);
4236
wxPyEndAllowThreads(__tstate);
4237
if (PyErr_Occurred()) SWIG_fail;
4239
resultobj = SWIG_Py_Void();
4246
SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4247
PyObject *resultobj = 0;
4248
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4251
PyObject *swig_obj[1] ;
4253
if (!args) SWIG_fail;
4255
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4256
if (!SWIG_IsOK(res1)) {
4257
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4259
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4261
PyThreadState* __tstate = wxPyBeginAllowThreads();
4262
(arg1)->PopTagHandler();
4263
wxPyEndAllowThreads(__tstate);
4264
if (PyErr_Occurred()) SWIG_fail;
4266
resultobj = SWIG_Py_Void();
4273
SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4274
PyObject *resultobj = 0;
4275
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4276
wxHtmlTag *arg2 = 0 ;
4282
PyObject * obj0 = 0 ;
4283
PyObject * obj1 = 0 ;
4284
char * kwnames[] = {
4285
(char *) "self",(char *) "tag", NULL
4288
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail;
4289
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4290
if (!SWIG_IsOK(res1)) {
4291
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4293
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4294
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
4295
if (!SWIG_IsOK(res2)) {
4296
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4299
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4301
arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
4303
PyThreadState* __tstate = wxPyBeginAllowThreads();
4304
result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2);
4305
wxPyEndAllowThreads(__tstate);
4306
if (PyErr_Occurred()) SWIG_fail;
4310
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4312
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4321
SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4323
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4324
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj));
4325
return SWIG_Py_Void();
4328
SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4329
PyObject *resultobj = 0;
4330
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
4331
wxHtmlWinParser *result = 0 ;
4334
PyObject * obj0 = 0 ;
4335
char * kwnames[] = {
4336
(char *) "wnd", NULL
4339
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail;
4341
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
4342
if (!SWIG_IsOK(res1)) {
4343
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4345
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
4348
PyThreadState* __tstate = wxPyBeginAllowThreads();
4349
result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
4350
wxPyEndAllowThreads(__tstate);
4351
if (PyErr_Occurred()) SWIG_fail;
4353
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 );
4360
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4361
PyObject *resultobj = 0;
4362
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4363
wxDC *arg2 = (wxDC *) 0 ;
4368
PyObject * obj0 = 0 ;
4369
PyObject * obj1 = 0 ;
4370
char * kwnames[] = {
4371
(char *) "self",(char *) "dc", NULL
4374
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
4375
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4376
if (!SWIG_IsOK(res1)) {
4377
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4379
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4380
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
4381
if (!SWIG_IsOK(res2)) {
4382
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4384
arg2 = reinterpret_cast< wxDC * >(argp2);
4386
PyThreadState* __tstate = wxPyBeginAllowThreads();
4387
(arg1)->SetDC(arg2);
4388
wxPyEndAllowThreads(__tstate);
4389
if (PyErr_Occurred()) SWIG_fail;
4391
resultobj = SWIG_Py_Void();
4398
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4399
PyObject *resultobj = 0;
4400
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4404
PyObject *swig_obj[1] ;
4406
if (!args) SWIG_fail;
4408
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4409
if (!SWIG_IsOK(res1)) {
4410
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4412
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4414
PyThreadState* __tstate = wxPyBeginAllowThreads();
4415
result = (wxDC *)(arg1)->GetDC();
4416
wxPyEndAllowThreads(__tstate);
4417
if (PyErr_Occurred()) SWIG_fail;
4420
resultobj = wxPyMake_wxObject(result, (bool)0);
4428
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4429
PyObject *resultobj = 0;
4430
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4434
PyObject *swig_obj[1] ;
4436
if (!args) SWIG_fail;
4438
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4439
if (!SWIG_IsOK(res1)) {
4440
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4442
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4444
PyThreadState* __tstate = wxPyBeginAllowThreads();
4445
result = (int)(arg1)->GetCharHeight();
4446
wxPyEndAllowThreads(__tstate);
4447
if (PyErr_Occurred()) SWIG_fail;
4449
resultobj = SWIG_From_int(static_cast< int >(result));
4456
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4457
PyObject *resultobj = 0;
4458
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4462
PyObject *swig_obj[1] ;
4464
if (!args) SWIG_fail;
4466
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4467
if (!SWIG_IsOK(res1)) {
4468
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4470
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4472
PyThreadState* __tstate = wxPyBeginAllowThreads();
4473
result = (int)(arg1)->GetCharWidth();
4474
wxPyEndAllowThreads(__tstate);
4475
if (PyErr_Occurred()) SWIG_fail;
4477
resultobj = SWIG_From_int(static_cast< int >(result));
4484
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4485
PyObject *resultobj = 0;
4486
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4487
wxPyHtmlWindow *result = 0 ;
4490
PyObject *swig_obj[1] ;
4492
if (!args) SWIG_fail;
4494
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4495
if (!SWIG_IsOK(res1)) {
4496
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4498
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4500
PyThreadState* __tstate = wxPyBeginAllowThreads();
4501
result = (wxPyHtmlWindow *)(arg1)->GetWindow();
4502
wxPyEndAllowThreads(__tstate);
4503
if (PyErr_Occurred()) SWIG_fail;
4506
resultobj = wxPyMake_wxObject(result, (bool)0);
4514
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4515
PyObject *resultobj = 0;
4516
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4517
wxHtmlWindowInterface *result = 0 ;
4520
PyObject *swig_obj[1] ;
4522
if (!args) SWIG_fail;
4524
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4525
if (!SWIG_IsOK(res1)) {
4526
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4528
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4530
PyThreadState* __tstate = wxPyBeginAllowThreads();
4531
result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface();
4532
wxPyEndAllowThreads(__tstate);
4533
if (PyErr_Occurred()) SWIG_fail;
4535
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
4542
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4543
PyObject *resultobj = 0;
4544
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4547
PyObject *arg4 = (PyObject *) NULL ;
4550
PyObject * obj0 = 0 ;
4551
PyObject * obj1 = 0 ;
4552
PyObject * obj2 = 0 ;
4553
PyObject * obj3 = 0 ;
4554
char * kwnames[] = {
4555
(char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4558
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4559
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4560
if (!SWIG_IsOK(res1)) {
4561
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4563
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4565
wxString* sptr = wxString_in_helper(obj1);
4566
if (sptr == NULL) SWIG_fail;
4571
wxString* sptr = wxString_in_helper(obj2);
4572
if (sptr == NULL) SWIG_fail;
4580
PyThreadState* __tstate = wxPyBeginAllowThreads();
4581
wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
4582
wxPyEndAllowThreads(__tstate);
4583
if (PyErr_Occurred()) SWIG_fail;
4585
resultobj = SWIG_Py_Void();
4592
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4593
PyObject *resultobj = 0;
4594
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4595
int arg2 = (int) -1 ;
4596
wxString const &arg3_defvalue = wxPyEmptyString ;
4597
wxString *arg3 = (wxString *) &arg3_defvalue ;
4598
wxString const &arg4_defvalue = wxPyEmptyString ;
4599
wxString *arg4 = (wxString *) &arg4_defvalue ;
4604
bool temp3 = false ;
4605
bool temp4 = false ;
4606
PyObject * obj0 = 0 ;
4607
PyObject * obj1 = 0 ;
4608
PyObject * obj2 = 0 ;
4609
PyObject * obj3 = 0 ;
4610
char * kwnames[] = {
4611
(char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4614
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4615
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4616
if (!SWIG_IsOK(res1)) {
4617
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4619
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4621
ecode2 = SWIG_AsVal_int(obj1, &val2);
4622
if (!SWIG_IsOK(ecode2)) {
4623
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4625
arg2 = static_cast< int >(val2);
4629
arg3 = wxString_in_helper(obj2);
4630
if (arg3 == NULL) SWIG_fail;
4636
arg4 = wxString_in_helper(obj3);
4637
if (arg4 == NULL) SWIG_fail;
4642
PyThreadState* __tstate = wxPyBeginAllowThreads();
4643
(arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
4644
wxPyEndAllowThreads(__tstate);
4645
if (PyErr_Occurred()) SWIG_fail;
4647
resultobj = SWIG_Py_Void();
4670
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4671
PyObject *resultobj = 0;
4672
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4673
wxHtmlContainerCell *result = 0 ;
4676
PyObject *swig_obj[1] ;
4678
if (!args) SWIG_fail;
4680
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4681
if (!SWIG_IsOK(res1)) {
4682
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4684
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4686
PyThreadState* __tstate = wxPyBeginAllowThreads();
4687
result = (wxHtmlContainerCell *)(arg1)->GetContainer();
4688
wxPyEndAllowThreads(__tstate);
4689
if (PyErr_Occurred()) SWIG_fail;
4691
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4698
SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4699
PyObject *resultobj = 0;
4700
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4701
wxHtmlContainerCell *result = 0 ;
4704
PyObject *swig_obj[1] ;
4706
if (!args) SWIG_fail;
4708
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4709
if (!SWIG_IsOK(res1)) {
4710
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4712
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4714
PyThreadState* __tstate = wxPyBeginAllowThreads();
4715
result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
4716
wxPyEndAllowThreads(__tstate);
4717
if (PyErr_Occurred()) SWIG_fail;
4719
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4726
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4727
PyObject *resultobj = 0;
4728
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4729
wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4730
wxHtmlContainerCell *result = 0 ;
4735
PyObject * obj0 = 0 ;
4736
PyObject * obj1 = 0 ;
4737
char * kwnames[] = {
4738
(char *) "self",(char *) "c", NULL
4741
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail;
4742
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4743
if (!SWIG_IsOK(res1)) {
4744
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4746
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4747
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4748
if (!SWIG_IsOK(res2)) {
4749
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4751
arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
4753
PyThreadState* __tstate = wxPyBeginAllowThreads();
4754
result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
4755
wxPyEndAllowThreads(__tstate);
4756
if (PyErr_Occurred()) SWIG_fail;
4758
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4765
SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4766
PyObject *resultobj = 0;
4767
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4768
wxHtmlContainerCell *result = 0 ;
4771
PyObject *swig_obj[1] ;
4773
if (!args) SWIG_fail;
4775
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4776
if (!SWIG_IsOK(res1)) {
4777
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4779
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4781
PyThreadState* __tstate = wxPyBeginAllowThreads();
4782
result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
4783
wxPyEndAllowThreads(__tstate);
4784
if (PyErr_Occurred()) SWIG_fail;
4786
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4793
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4794
PyObject *resultobj = 0;
4795
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4799
PyObject *swig_obj[1] ;
4801
if (!args) SWIG_fail;
4803
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4804
if (!SWIG_IsOK(res1)) {
4805
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4807
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4809
PyThreadState* __tstate = wxPyBeginAllowThreads();
4810
result = (int)(arg1)->GetFontSize();
4811
wxPyEndAllowThreads(__tstate);
4812
if (PyErr_Occurred()) SWIG_fail;
4814
resultobj = SWIG_From_int(static_cast< int >(result));
4821
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4822
PyObject *resultobj = 0;
4823
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4829
PyObject * obj0 = 0 ;
4830
PyObject * obj1 = 0 ;
4831
char * kwnames[] = {
4832
(char *) "self",(char *) "s", NULL
4835
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
4836
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4837
if (!SWIG_IsOK(res1)) {
4838
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4840
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4841
ecode2 = SWIG_AsVal_int(obj1, &val2);
4842
if (!SWIG_IsOK(ecode2)) {
4843
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4845
arg2 = static_cast< int >(val2);
4847
PyThreadState* __tstate = wxPyBeginAllowThreads();
4848
(arg1)->SetFontSize(arg2);
4849
wxPyEndAllowThreads(__tstate);
4850
if (PyErr_Occurred()) SWIG_fail;
4852
resultobj = SWIG_Py_Void();
4859
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4860
PyObject *resultobj = 0;
4861
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4865
PyObject *swig_obj[1] ;
4867
if (!args) SWIG_fail;
4869
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4870
if (!SWIG_IsOK(res1)) {
4871
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4873
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4875
PyThreadState* __tstate = wxPyBeginAllowThreads();
4876
result = (int)(arg1)->GetFontBold();
4877
wxPyEndAllowThreads(__tstate);
4878
if (PyErr_Occurred()) SWIG_fail;
4880
resultobj = SWIG_From_int(static_cast< int >(result));
4887
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4888
PyObject *resultobj = 0;
4889
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4895
PyObject * obj0 = 0 ;
4896
PyObject * obj1 = 0 ;
4897
char * kwnames[] = {
4898
(char *) "self",(char *) "x", NULL
4901
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail;
4902
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4903
if (!SWIG_IsOK(res1)) {
4904
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4906
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4907
ecode2 = SWIG_AsVal_int(obj1, &val2);
4908
if (!SWIG_IsOK(ecode2)) {
4909
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4911
arg2 = static_cast< int >(val2);
4913
PyThreadState* __tstate = wxPyBeginAllowThreads();
4914
(arg1)->SetFontBold(arg2);
4915
wxPyEndAllowThreads(__tstate);
4916
if (PyErr_Occurred()) SWIG_fail;
4918
resultobj = SWIG_Py_Void();
4925
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4926
PyObject *resultobj = 0;
4927
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4931
PyObject *swig_obj[1] ;
4933
if (!args) SWIG_fail;
4935
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4936
if (!SWIG_IsOK(res1)) {
4937
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4939
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4941
PyThreadState* __tstate = wxPyBeginAllowThreads();
4942
result = (int)(arg1)->GetFontItalic();
4943
wxPyEndAllowThreads(__tstate);
4944
if (PyErr_Occurred()) SWIG_fail;
4946
resultobj = SWIG_From_int(static_cast< int >(result));
4953
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4954
PyObject *resultobj = 0;
4955
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4961
PyObject * obj0 = 0 ;
4962
PyObject * obj1 = 0 ;
4963
char * kwnames[] = {
4964
(char *) "self",(char *) "x", NULL
4967
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail;
4968
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4969
if (!SWIG_IsOK(res1)) {
4970
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4972
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4973
ecode2 = SWIG_AsVal_int(obj1, &val2);
4974
if (!SWIG_IsOK(ecode2)) {
4975
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4977
arg2 = static_cast< int >(val2);
4979
PyThreadState* __tstate = wxPyBeginAllowThreads();
4980
(arg1)->SetFontItalic(arg2);
4981
wxPyEndAllowThreads(__tstate);
4982
if (PyErr_Occurred()) SWIG_fail;
4984
resultobj = SWIG_Py_Void();
4991
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4992
PyObject *resultobj = 0;
4993
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4997
PyObject *swig_obj[1] ;
4999
if (!args) SWIG_fail;
5001
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5002
if (!SWIG_IsOK(res1)) {
5003
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5005
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5007
PyThreadState* __tstate = wxPyBeginAllowThreads();
5008
result = (int)(arg1)->GetFontUnderlined();
5009
wxPyEndAllowThreads(__tstate);
5010
if (PyErr_Occurred()) SWIG_fail;
5012
resultobj = SWIG_From_int(static_cast< int >(result));
5019
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5020
PyObject *resultobj = 0;
5021
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5027
PyObject * obj0 = 0 ;
5028
PyObject * obj1 = 0 ;
5029
char * kwnames[] = {
5030
(char *) "self",(char *) "x", NULL
5033
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
5034
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5035
if (!SWIG_IsOK(res1)) {
5036
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5038
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5039
ecode2 = SWIG_AsVal_int(obj1, &val2);
5040
if (!SWIG_IsOK(ecode2)) {
5041
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5043
arg2 = static_cast< int >(val2);
5045
PyThreadState* __tstate = wxPyBeginAllowThreads();
5046
(arg1)->SetFontUnderlined(arg2);
5047
wxPyEndAllowThreads(__tstate);
5048
if (PyErr_Occurred()) SWIG_fail;
5050
resultobj = SWIG_Py_Void();
5057
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5058
PyObject *resultobj = 0;
5059
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5063
PyObject *swig_obj[1] ;
5065
if (!args) SWIG_fail;
5067
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5068
if (!SWIG_IsOK(res1)) {
5069
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5071
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5073
PyThreadState* __tstate = wxPyBeginAllowThreads();
5074
result = (int)(arg1)->GetFontFixed();
5075
wxPyEndAllowThreads(__tstate);
5076
if (PyErr_Occurred()) SWIG_fail;
5078
resultobj = SWIG_From_int(static_cast< int >(result));
5085
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5086
PyObject *resultobj = 0;
5087
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5093
PyObject * obj0 = 0 ;
5094
PyObject * obj1 = 0 ;
5095
char * kwnames[] = {
5096
(char *) "self",(char *) "x", NULL
5099
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail;
5100
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5101
if (!SWIG_IsOK(res1)) {
5102
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5104
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5105
ecode2 = SWIG_AsVal_int(obj1, &val2);
5106
if (!SWIG_IsOK(ecode2)) {
5107
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5109
arg2 = static_cast< int >(val2);
5111
PyThreadState* __tstate = wxPyBeginAllowThreads();
5112
(arg1)->SetFontFixed(arg2);
5113
wxPyEndAllowThreads(__tstate);
5114
if (PyErr_Occurred()) SWIG_fail;
5116
resultobj = SWIG_Py_Void();
5123
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5124
PyObject *resultobj = 0;
5125
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5129
PyObject *swig_obj[1] ;
5131
if (!args) SWIG_fail;
5133
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5134
if (!SWIG_IsOK(res1)) {
5135
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5137
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5139
PyThreadState* __tstate = wxPyBeginAllowThreads();
5140
result = (int)(arg1)->GetAlign();
5141
wxPyEndAllowThreads(__tstate);
5142
if (PyErr_Occurred()) SWIG_fail;
5144
resultobj = SWIG_From_int(static_cast< int >(result));
5151
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5152
PyObject *resultobj = 0;
5153
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5159
PyObject * obj0 = 0 ;
5160
PyObject * obj1 = 0 ;
5161
char * kwnames[] = {
5162
(char *) "self",(char *) "a", NULL
5165
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
5166
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5167
if (!SWIG_IsOK(res1)) {
5168
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5170
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5171
ecode2 = SWIG_AsVal_int(obj1, &val2);
5172
if (!SWIG_IsOK(ecode2)) {
5173
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5175
arg2 = static_cast< int >(val2);
5177
PyThreadState* __tstate = wxPyBeginAllowThreads();
5178
(arg1)->SetAlign(arg2);
5179
wxPyEndAllowThreads(__tstate);
5180
if (PyErr_Occurred()) SWIG_fail;
5182
resultobj = SWIG_Py_Void();
5189
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5190
PyObject *resultobj = 0;
5191
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5195
PyObject *swig_obj[1] ;
5197
if (!args) SWIG_fail;
5199
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5200
if (!SWIG_IsOK(res1)) {
5201
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5203
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5205
PyThreadState* __tstate = wxPyBeginAllowThreads();
5206
result = (arg1)->GetLinkColor();
5207
wxPyEndAllowThreads(__tstate);
5208
if (PyErr_Occurred()) SWIG_fail;
5210
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5217
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5218
PyObject *resultobj = 0;
5219
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5220
wxColour *arg2 = 0 ;
5224
PyObject * obj0 = 0 ;
5225
PyObject * obj1 = 0 ;
5226
char * kwnames[] = {
5227
(char *) "self",(char *) "clr", NULL
5230
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail;
5231
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5232
if (!SWIG_IsOK(res1)) {
5233
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5235
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5238
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5241
PyThreadState* __tstate = wxPyBeginAllowThreads();
5242
(arg1)->SetLinkColor((wxColour const &)*arg2);
5243
wxPyEndAllowThreads(__tstate);
5244
if (PyErr_Occurred()) SWIG_fail;
5246
resultobj = SWIG_Py_Void();
5253
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5254
PyObject *resultobj = 0;
5255
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5259
PyObject *swig_obj[1] ;
5261
if (!args) SWIG_fail;
5263
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5264
if (!SWIG_IsOK(res1)) {
5265
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5267
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5269
PyThreadState* __tstate = wxPyBeginAllowThreads();
5270
result = (arg1)->GetActualColor();
5271
wxPyEndAllowThreads(__tstate);
5272
if (PyErr_Occurred()) SWIG_fail;
5274
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5281
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5282
PyObject *resultobj = 0;
5283
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5284
wxColour *arg2 = 0 ;
5288
PyObject * obj0 = 0 ;
5289
PyObject * obj1 = 0 ;
5290
char * kwnames[] = {
5291
(char *) "self",(char *) "clr", NULL
5294
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail;
5295
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5296
if (!SWIG_IsOK(res1)) {
5297
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5299
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5302
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5305
PyThreadState* __tstate = wxPyBeginAllowThreads();
5306
(arg1)->SetActualColor((wxColour const &)*arg2);
5307
wxPyEndAllowThreads(__tstate);
5308
if (PyErr_Occurred()) SWIG_fail;
5310
resultobj = SWIG_Py_Void();
5317
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5318
PyObject *resultobj = 0;
5319
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5320
wxString *arg2 = 0 ;
5323
bool temp2 = false ;
5324
PyObject * obj0 = 0 ;
5325
PyObject * obj1 = 0 ;
5326
char * kwnames[] = {
5327
(char *) "self",(char *) "link", NULL
5330
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
5331
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5332
if (!SWIG_IsOK(res1)) {
5333
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5335
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5337
arg2 = wxString_in_helper(obj1);
5338
if (arg2 == NULL) SWIG_fail;
5342
PyThreadState* __tstate = wxPyBeginAllowThreads();
5343
(arg1)->SetLink((wxString const &)*arg2);
5344
wxPyEndAllowThreads(__tstate);
5345
if (PyErr_Occurred()) SWIG_fail;
5347
resultobj = SWIG_Py_Void();
5362
SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5363
PyObject *resultobj = 0;
5364
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5365
wxFont *result = 0 ;
5368
PyObject *swig_obj[1] ;
5370
if (!args) SWIG_fail;
5372
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5373
if (!SWIG_IsOK(res1)) {
5374
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5376
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5378
PyThreadState* __tstate = wxPyBeginAllowThreads();
5379
result = (wxFont *)(arg1)->CreateCurrentFont();
5380
wxPyEndAllowThreads(__tstate);
5381
if (PyErr_Occurred()) SWIG_fail;
5383
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 );
5390
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5391
PyObject *resultobj = 0;
5392
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5393
SwigValueWrapper<wxHtmlLinkInfo > result;
5396
PyObject *swig_obj[1] ;
5398
if (!args) SWIG_fail;
5400
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5401
if (!SWIG_IsOK(res1)) {
5402
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5404
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5406
PyThreadState* __tstate = wxPyBeginAllowThreads();
5407
result = (arg1)->GetLink();
5408
wxPyEndAllowThreads(__tstate);
5409
if (PyErr_Occurred()) SWIG_fail;
5411
resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 );
5418
SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5420
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5421
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj));
5422
return SWIG_Py_Void();
5425
SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5426
return SWIG_Python_InitShadowInstance(args);
5429
SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5430
PyObject *resultobj = 0;
5431
wxPyHtmlTagHandler *result = 0 ;
5433
if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail;
5435
PyThreadState* __tstate = wxPyBeginAllowThreads();
5436
result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
5437
wxPyEndAllowThreads(__tstate);
5438
if (PyErr_Occurred()) SWIG_fail;
5440
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 );
5447
SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5448
PyObject *resultobj = 0;
5449
wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5450
PyObject *arg2 = (PyObject *) 0 ;
5451
PyObject *arg3 = (PyObject *) 0 ;
5454
PyObject * obj0 = 0 ;
5455
PyObject * obj1 = 0 ;
5456
PyObject * obj2 = 0 ;
5457
char * kwnames[] = {
5458
(char *) "self",(char *) "self",(char *) "_class", NULL
5461
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5462
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5463
if (!SWIG_IsOK(res1)) {
5464
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5466
arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5470
PyThreadState* __tstate = wxPyBeginAllowThreads();
5471
(arg1)->_setCallbackInfo(arg2,arg3);
5472
wxPyEndAllowThreads(__tstate);
5473
if (PyErr_Occurred()) SWIG_fail;
5475
resultobj = SWIG_Py_Void();
5482
SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5483
PyObject *resultobj = 0;
5484
wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5485
wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5490
PyObject * obj0 = 0 ;
5491
PyObject * obj1 = 0 ;
5492
char * kwnames[] = {
5493
(char *) "self",(char *) "parser", NULL
5496
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5497
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5498
if (!SWIG_IsOK(res1)) {
5499
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5501
arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5502
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5503
if (!SWIG_IsOK(res2)) {
5504
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5506
arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5508
PyThreadState* __tstate = wxPyBeginAllowThreads();
5509
(arg1)->SetParser(arg2);
5510
wxPyEndAllowThreads(__tstate);
5511
if (PyErr_Occurred()) SWIG_fail;
5513
resultobj = SWIG_Py_Void();
5520
SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5521
PyObject *resultobj = 0;
5522
wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5523
wxHtmlParser *result = 0 ;
5526
PyObject *swig_obj[1] ;
5528
if (!args) SWIG_fail;
5530
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5531
if (!SWIG_IsOK(res1)) {
5532
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5534
arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5536
PyThreadState* __tstate = wxPyBeginAllowThreads();
5537
result = (wxHtmlParser *)(arg1)->GetParser();
5538
wxPyEndAllowThreads(__tstate);
5539
if (PyErr_Occurred()) SWIG_fail;
5541
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5548
SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5549
PyObject *resultobj = 0;
5550
wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5551
wxHtmlTag *arg2 = 0 ;
5556
PyObject * obj0 = 0 ;
5557
PyObject * obj1 = 0 ;
5558
char * kwnames[] = {
5559
(char *) "self",(char *) "tag", NULL
5562
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5563
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5564
if (!SWIG_IsOK(res1)) {
5565
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5567
arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5568
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5569
if (!SWIG_IsOK(res2)) {
5570
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5573
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5575
arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5577
PyThreadState* __tstate = wxPyBeginAllowThreads();
5578
(arg1)->ParseInner((wxHtmlTag const &)*arg2);
5579
wxPyEndAllowThreads(__tstate);
5580
if (PyErr_Occurred()) SWIG_fail;
5582
resultobj = SWIG_Py_Void();
5589
SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5591
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5592
SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj));
5593
return SWIG_Py_Void();
5596
SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5597
return SWIG_Python_InitShadowInstance(args);
5600
SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5601
PyObject *resultobj = 0;
5602
wxPyHtmlWinTagHandler *result = 0 ;
5604
if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail;
5606
PyThreadState* __tstate = wxPyBeginAllowThreads();
5607
result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
5608
wxPyEndAllowThreads(__tstate);
5609
if (PyErr_Occurred()) SWIG_fail;
5611
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 );
5618
SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5619
PyObject *resultobj = 0;
5620
wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5621
PyObject *arg2 = (PyObject *) 0 ;
5622
PyObject *arg3 = (PyObject *) 0 ;
5625
PyObject * obj0 = 0 ;
5626
PyObject * obj1 = 0 ;
5627
PyObject * obj2 = 0 ;
5628
char * kwnames[] = {
5629
(char *) "self",(char *) "self",(char *) "_class", NULL
5632
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5633
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5634
if (!SWIG_IsOK(res1)) {
5635
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5637
arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5641
PyThreadState* __tstate = wxPyBeginAllowThreads();
5642
(arg1)->_setCallbackInfo(arg2,arg3);
5643
wxPyEndAllowThreads(__tstate);
5644
if (PyErr_Occurred()) SWIG_fail;
5646
resultobj = SWIG_Py_Void();
5653
SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5654
PyObject *resultobj = 0;
5655
wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5656
wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5661
PyObject * obj0 = 0 ;
5662
PyObject * obj1 = 0 ;
5663
char * kwnames[] = {
5664
(char *) "self",(char *) "parser", NULL
5667
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5668
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5669
if (!SWIG_IsOK(res1)) {
5670
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5672
arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5673
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5674
if (!SWIG_IsOK(res2)) {
5675
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5677
arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5679
PyThreadState* __tstate = wxPyBeginAllowThreads();
5680
(arg1)->SetParser(arg2);
5681
wxPyEndAllowThreads(__tstate);
5682
if (PyErr_Occurred()) SWIG_fail;
5684
resultobj = SWIG_Py_Void();
5691
SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5692
PyObject *resultobj = 0;
5693
wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5694
wxHtmlWinParser *result = 0 ;
5697
PyObject *swig_obj[1] ;
5699
if (!args) SWIG_fail;
5701
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5702
if (!SWIG_IsOK(res1)) {
5703
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5705
arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5707
PyThreadState* __tstate = wxPyBeginAllowThreads();
5708
result = (wxHtmlWinParser *)(arg1)->GetParser();
5709
wxPyEndAllowThreads(__tstate);
5710
if (PyErr_Occurred()) SWIG_fail;
5712
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5719
SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5720
PyObject *resultobj = 0;
5721
wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5722
wxHtmlTag *arg2 = 0 ;
5727
PyObject * obj0 = 0 ;
5728
PyObject * obj1 = 0 ;
5729
char * kwnames[] = {
5730
(char *) "self",(char *) "tag", NULL
5733
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5734
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5735
if (!SWIG_IsOK(res1)) {
5736
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5738
arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5739
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5740
if (!SWIG_IsOK(res2)) {
5741
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5744
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5746
arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5748
PyThreadState* __tstate = wxPyBeginAllowThreads();
5749
(arg1)->ParseInner((wxHtmlTag const &)*arg2);
5750
wxPyEndAllowThreads(__tstate);
5751
if (PyErr_Occurred()) SWIG_fail;
5753
resultobj = SWIG_Py_Void();
5760
SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5762
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5763
SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj));
5764
return SWIG_Py_Void();
5767
SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5768
return SWIG_Python_InitShadowInstance(args);
5771
SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5772
PyObject *resultobj = 0;
5773
PyObject *arg1 = (PyObject *) 0 ;
5774
PyObject * obj0 = 0 ;
5775
char * kwnames[] = {
5776
(char *) "tagHandlerClass", NULL
5779
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail;
5782
PyThreadState* __tstate = wxPyBeginAllowThreads();
5783
wxHtmlWinParser_AddTagHandler(arg1);
5784
wxPyEndAllowThreads(__tstate);
5785
if (PyErr_Occurred()) SWIG_fail;
5787
resultobj = SWIG_Py_Void();
5794
SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5795
PyObject *resultobj = 0;
5796
wxHtmlSelection *result = 0 ;
5798
if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail;
5800
PyThreadState* __tstate = wxPyBeginAllowThreads();
5801
result = (wxHtmlSelection *)new wxHtmlSelection();
5802
wxPyEndAllowThreads(__tstate);
5803
if (PyErr_Occurred()) SWIG_fail;
5805
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 );
5812
SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5813
PyObject *resultobj = 0;
5814
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5817
PyObject *swig_obj[1] ;
5819
if (!args) SWIG_fail;
5821
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 );
5822
if (!SWIG_IsOK(res1)) {
5823
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5825
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5827
PyThreadState* __tstate = wxPyBeginAllowThreads();
5830
wxPyEndAllowThreads(__tstate);
5831
if (PyErr_Occurred()) SWIG_fail;
5833
resultobj = SWIG_Py_Void();
5840
SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5841
PyObject *resultobj = 0;
5842
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5844
wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5846
wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
5855
PyObject * obj0 = 0 ;
5856
PyObject * obj1 = 0 ;
5857
PyObject * obj2 = 0 ;
5858
PyObject * obj3 = 0 ;
5859
PyObject * obj4 = 0 ;
5860
char * kwnames[] = {
5861
(char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5864
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5865
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5866
if (!SWIG_IsOK(res1)) {
5867
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5869
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5872
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5874
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5875
if (!SWIG_IsOK(res3)) {
5876
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5878
arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5881
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5883
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5884
if (!SWIG_IsOK(res5)) {
5885
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5887
arg5 = reinterpret_cast< wxHtmlCell * >(argp5);
5889
PyThreadState* __tstate = wxPyBeginAllowThreads();
5890
(arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
5891
wxPyEndAllowThreads(__tstate);
5892
if (PyErr_Occurred()) SWIG_fail;
5894
resultobj = SWIG_Py_Void();
5901
SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5902
PyObject *resultobj = 0;
5903
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5904
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5905
wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5912
PyObject * obj0 = 0 ;
5913
PyObject * obj1 = 0 ;
5914
PyObject * obj2 = 0 ;
5915
char * kwnames[] = {
5916
(char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5919
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5920
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5921
if (!SWIG_IsOK(res1)) {
5922
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5924
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5925
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5926
if (!SWIG_IsOK(res2)) {
5927
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5929
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
5930
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5931
if (!SWIG_IsOK(res3)) {
5932
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5934
arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5936
PyThreadState* __tstate = wxPyBeginAllowThreads();
5937
(arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
5938
wxPyEndAllowThreads(__tstate);
5939
if (PyErr_Occurred()) SWIG_fail;
5941
resultobj = SWIG_Py_Void();
5948
SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5949
PyObject *resultobj = 0;
5950
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5951
wxHtmlCell *result = 0 ;
5954
PyObject *swig_obj[1] ;
5956
if (!args) SWIG_fail;
5958
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5959
if (!SWIG_IsOK(res1)) {
5960
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5962
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5964
PyThreadState* __tstate = wxPyBeginAllowThreads();
5965
result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
5966
wxPyEndAllowThreads(__tstate);
5967
if (PyErr_Occurred()) SWIG_fail;
5970
resultobj = wxPyMake_wxObject(result, 0);
5978
SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5979
PyObject *resultobj = 0;
5980
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5981
wxHtmlCell *result = 0 ;
5984
PyObject *swig_obj[1] ;
5986
if (!args) SWIG_fail;
5988
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5989
if (!SWIG_IsOK(res1)) {
5990
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5992
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5994
PyThreadState* __tstate = wxPyBeginAllowThreads();
5995
result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
5996
wxPyEndAllowThreads(__tstate);
5997
if (PyErr_Occurred()) SWIG_fail;
6000
resultobj = wxPyMake_wxObject(result, 0);
6008
SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6009
PyObject *resultobj = 0;
6010
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6011
wxPoint *result = 0 ;
6014
PyObject *swig_obj[1] ;
6016
if (!args) SWIG_fail;
6018
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6019
if (!SWIG_IsOK(res1)) {
6020
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6022
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6024
PyThreadState* __tstate = wxPyBeginAllowThreads();
6026
wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
6027
result = (wxPoint *) &_result_ref;
6029
wxPyEndAllowThreads(__tstate);
6030
if (PyErr_Occurred()) SWIG_fail;
6032
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6039
SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6040
PyObject *resultobj = 0;
6041
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6042
wxPoint *result = 0 ;
6045
PyObject *swig_obj[1] ;
6047
if (!args) SWIG_fail;
6049
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6050
if (!SWIG_IsOK(res1)) {
6051
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6053
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6055
PyThreadState* __tstate = wxPyBeginAllowThreads();
6057
wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
6058
result = (wxPoint *) &_result_ref;
6060
wxPyEndAllowThreads(__tstate);
6061
if (PyErr_Occurred()) SWIG_fail;
6063
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6070
SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6071
PyObject *resultobj = 0;
6072
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6073
wxPoint *result = 0 ;
6076
PyObject *swig_obj[1] ;
6078
if (!args) SWIG_fail;
6080
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6081
if (!SWIG_IsOK(res1)) {
6082
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6084
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6086
PyThreadState* __tstate = wxPyBeginAllowThreads();
6088
wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
6089
result = (wxPoint *) &_result_ref;
6091
wxPyEndAllowThreads(__tstate);
6092
if (PyErr_Occurred()) SWIG_fail;
6094
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6101
SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6102
PyObject *resultobj = 0;
6103
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6104
wxPoint *result = 0 ;
6107
PyObject *swig_obj[1] ;
6109
if (!args) SWIG_fail;
6111
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6112
if (!SWIG_IsOK(res1)) {
6113
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6115
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6117
PyThreadState* __tstate = wxPyBeginAllowThreads();
6119
wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
6120
result = (wxPoint *) &_result_ref;
6122
wxPyEndAllowThreads(__tstate);
6123
if (PyErr_Occurred()) SWIG_fail;
6125
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6132
SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6133
PyObject *resultobj = 0;
6134
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6139
PyObject * obj0 = 0 ;
6140
PyObject * obj1 = 0 ;
6141
char * kwnames[] = {
6142
(char *) "self",(char *) "pos", NULL
6145
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6146
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6147
if (!SWIG_IsOK(res1)) {
6148
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6150
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6153
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6156
PyThreadState* __tstate = wxPyBeginAllowThreads();
6157
(arg1)->SetFromPrivPos((wxPoint const &)*arg2);
6158
wxPyEndAllowThreads(__tstate);
6159
if (PyErr_Occurred()) SWIG_fail;
6161
resultobj = SWIG_Py_Void();
6168
SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6169
PyObject *resultobj = 0;
6170
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6175
PyObject * obj0 = 0 ;
6176
PyObject * obj1 = 0 ;
6177
char * kwnames[] = {
6178
(char *) "self",(char *) "pos", NULL
6181
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6182
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6183
if (!SWIG_IsOK(res1)) {
6184
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6186
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6189
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6192
PyThreadState* __tstate = wxPyBeginAllowThreads();
6193
(arg1)->SetToPrivPos((wxPoint const &)*arg2);
6194
wxPyEndAllowThreads(__tstate);
6195
if (PyErr_Occurred()) SWIG_fail;
6197
resultobj = SWIG_Py_Void();
6204
SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6205
PyObject *resultobj = 0;
6206
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6209
PyObject *swig_obj[1] ;
6211
if (!args) SWIG_fail;
6213
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6214
if (!SWIG_IsOK(res1)) {
6215
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6217
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6219
PyThreadState* __tstate = wxPyBeginAllowThreads();
6220
(arg1)->ClearPrivPos();
6221
wxPyEndAllowThreads(__tstate);
6222
if (PyErr_Occurred()) SWIG_fail;
6224
resultobj = SWIG_Py_Void();
6231
SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6232
PyObject *resultobj = 0;
6233
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6237
PyObject *swig_obj[1] ;
6239
if (!args) SWIG_fail;
6241
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6242
if (!SWIG_IsOK(res1)) {
6243
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6245
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6247
PyThreadState* __tstate = wxPyBeginAllowThreads();
6248
result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
6249
wxPyEndAllowThreads(__tstate);
6250
if (PyErr_Occurred()) SWIG_fail;
6252
resultobj = SWIG_From_bool(static_cast< bool >(result));
6259
SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6261
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6262
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj));
6263
return SWIG_Py_Void();
6266
SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6267
return SWIG_Python_InitShadowInstance(args);
6270
SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6271
PyObject *resultobj = 0;
6272
wxHtmlRenderingState *result = 0 ;
6274
if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail;
6276
PyThreadState* __tstate = wxPyBeginAllowThreads();
6277
result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
6278
wxPyEndAllowThreads(__tstate);
6279
if (PyErr_Occurred()) SWIG_fail;
6281
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 );
6288
SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6289
PyObject *resultobj = 0;
6290
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6293
PyObject *swig_obj[1] ;
6295
if (!args) SWIG_fail;
6297
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 );
6298
if (!SWIG_IsOK(res1)) {
6299
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6301
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6303
PyThreadState* __tstate = wxPyBeginAllowThreads();
6306
wxPyEndAllowThreads(__tstate);
6307
if (PyErr_Occurred()) SWIG_fail;
6309
resultobj = SWIG_Py_Void();
6316
SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6317
PyObject *resultobj = 0;
6318
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6319
wxHtmlSelectionState arg2 ;
6324
PyObject * obj0 = 0 ;
6325
PyObject * obj1 = 0 ;
6326
char * kwnames[] = {
6327
(char *) "self",(char *) "s", NULL
6330
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail;
6331
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6332
if (!SWIG_IsOK(res1)) {
6333
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6335
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6336
ecode2 = SWIG_AsVal_int(obj1, &val2);
6337
if (!SWIG_IsOK(ecode2)) {
6338
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6340
arg2 = static_cast< wxHtmlSelectionState >(val2);
6342
PyThreadState* __tstate = wxPyBeginAllowThreads();
6343
(arg1)->SetSelectionState(arg2);
6344
wxPyEndAllowThreads(__tstate);
6345
if (PyErr_Occurred()) SWIG_fail;
6347
resultobj = SWIG_Py_Void();
6354
SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6355
PyObject *resultobj = 0;
6356
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6357
wxHtmlSelectionState result;
6360
PyObject *swig_obj[1] ;
6362
if (!args) SWIG_fail;
6364
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6365
if (!SWIG_IsOK(res1)) {
6366
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6368
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6370
PyThreadState* __tstate = wxPyBeginAllowThreads();
6371
result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
6372
wxPyEndAllowThreads(__tstate);
6373
if (PyErr_Occurred()) SWIG_fail;
6375
resultobj = SWIG_From_int(static_cast< int >(result));
6382
SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6383
PyObject *resultobj = 0;
6384
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6385
wxColour *arg2 = 0 ;
6389
PyObject * obj0 = 0 ;
6390
PyObject * obj1 = 0 ;
6391
char * kwnames[] = {
6392
(char *) "self",(char *) "c", NULL
6395
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6396
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6397
if (!SWIG_IsOK(res1)) {
6398
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6400
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6403
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6406
PyThreadState* __tstate = wxPyBeginAllowThreads();
6407
(arg1)->SetFgColour((wxColour const &)*arg2);
6408
wxPyEndAllowThreads(__tstate);
6409
if (PyErr_Occurred()) SWIG_fail;
6411
resultobj = SWIG_Py_Void();
6418
SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6419
PyObject *resultobj = 0;
6420
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6421
wxColour *result = 0 ;
6424
PyObject *swig_obj[1] ;
6426
if (!args) SWIG_fail;
6428
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6429
if (!SWIG_IsOK(res1)) {
6430
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6432
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6434
PyThreadState* __tstate = wxPyBeginAllowThreads();
6436
wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
6437
result = (wxColour *) &_result_ref;
6439
wxPyEndAllowThreads(__tstate);
6440
if (PyErr_Occurred()) SWIG_fail;
6442
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6449
SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6450
PyObject *resultobj = 0;
6451
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6452
wxColour *arg2 = 0 ;
6456
PyObject * obj0 = 0 ;
6457
PyObject * obj1 = 0 ;
6458
char * kwnames[] = {
6459
(char *) "self",(char *) "c", NULL
6462
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6463
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6464
if (!SWIG_IsOK(res1)) {
6465
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6467
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6470
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6473
PyThreadState* __tstate = wxPyBeginAllowThreads();
6474
(arg1)->SetBgColour((wxColour const &)*arg2);
6475
wxPyEndAllowThreads(__tstate);
6476
if (PyErr_Occurred()) SWIG_fail;
6478
resultobj = SWIG_Py_Void();
6485
SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6486
PyObject *resultobj = 0;
6487
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6488
wxColour *result = 0 ;
6491
PyObject *swig_obj[1] ;
6493
if (!args) SWIG_fail;
6495
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6496
if (!SWIG_IsOK(res1)) {
6497
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6499
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6501
PyThreadState* __tstate = wxPyBeginAllowThreads();
6503
wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
6504
result = (wxColour *) &_result_ref;
6506
wxPyEndAllowThreads(__tstate);
6507
if (PyErr_Occurred()) SWIG_fail;
6509
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6516
SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6518
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6519
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj));
6520
return SWIG_Py_Void();
6523
SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6524
return SWIG_Python_InitShadowInstance(args);
6527
SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6528
PyObject *resultobj = 0;
6529
wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6530
wxColour *arg2 = 0 ;
6535
PyObject * obj0 = 0 ;
6536
PyObject * obj1 = 0 ;
6537
char * kwnames[] = {
6538
(char *) "self",(char *) "clr", NULL
6541
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
6542
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6543
if (!SWIG_IsOK(res1)) {
6544
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6546
arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6549
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6552
PyThreadState* __tstate = wxPyBeginAllowThreads();
6553
result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
6554
wxPyEndAllowThreads(__tstate);
6555
if (PyErr_Occurred()) SWIG_fail;
6557
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6564
SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6565
PyObject *resultobj = 0;
6566
wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6567
wxColour *arg2 = 0 ;
6572
PyObject * obj0 = 0 ;
6573
PyObject * obj1 = 0 ;
6574
char * kwnames[] = {
6575
(char *) "self",(char *) "clr", NULL
6578
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6579
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6580
if (!SWIG_IsOK(res1)) {
6581
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6583
arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6586
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6589
PyThreadState* __tstate = wxPyBeginAllowThreads();
6590
result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
6591
wxPyEndAllowThreads(__tstate);
6592
if (PyErr_Occurred()) SWIG_fail;
6594
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6601
SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6603
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6604
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj));
6605
return SWIG_Py_Void();
6608
SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6610
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6611
SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj));
6612
return SWIG_Py_Void();
6615
SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6616
PyObject *resultobj = 0;
6617
wxHtmlRenderingInfo *result = 0 ;
6619
if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail;
6621
PyThreadState* __tstate = wxPyBeginAllowThreads();
6622
result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
6623
wxPyEndAllowThreads(__tstate);
6624
if (PyErr_Occurred()) SWIG_fail;
6626
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 );
6633
SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6634
PyObject *resultobj = 0;
6635
wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6638
PyObject *swig_obj[1] ;
6640
if (!args) SWIG_fail;
6642
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 );
6643
if (!SWIG_IsOK(res1)) {
6644
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6646
arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6648
PyThreadState* __tstate = wxPyBeginAllowThreads();
6651
wxPyEndAllowThreads(__tstate);
6652
if (PyErr_Occurred()) SWIG_fail;
6654
resultobj = SWIG_Py_Void();
6661
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6662
PyObject *resultobj = 0;
6663
wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6664
wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6669
PyObject * obj0 = 0 ;
6670
PyObject * obj1 = 0 ;
6671
char * kwnames[] = {
6672
(char *) "self",(char *) "s", NULL
6675
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6676
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6677
if (!SWIG_IsOK(res1)) {
6678
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6680
arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6681
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6682
if (!SWIG_IsOK(res2)) {
6683
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6685
arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
6687
PyThreadState* __tstate = wxPyBeginAllowThreads();
6688
(arg1)->SetSelection(arg2);
6689
wxPyEndAllowThreads(__tstate);
6690
if (PyErr_Occurred()) SWIG_fail;
6692
resultobj = SWIG_Py_Void();
6699
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6700
PyObject *resultobj = 0;
6701
wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6702
wxHtmlSelection *result = 0 ;
6705
PyObject *swig_obj[1] ;
6707
if (!args) SWIG_fail;
6709
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6710
if (!SWIG_IsOK(res1)) {
6711
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6713
arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6715
PyThreadState* __tstate = wxPyBeginAllowThreads();
6716
result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
6717
wxPyEndAllowThreads(__tstate);
6718
if (PyErr_Occurred()) SWIG_fail;
6720
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6727
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6728
PyObject *resultobj = 0;
6729
wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6730
wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
6735
PyObject * obj0 = 0 ;
6736
PyObject * obj1 = 0 ;
6737
char * kwnames[] = {
6738
(char *) "self",(char *) "style", NULL
6741
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6742
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6743
if (!SWIG_IsOK(res1)) {
6744
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6746
arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6747
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6748
if (!SWIG_IsOK(res2)) {
6749
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6751
arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2);
6753
PyThreadState* __tstate = wxPyBeginAllowThreads();
6754
(arg1)->SetStyle(arg2);
6755
wxPyEndAllowThreads(__tstate);
6756
if (PyErr_Occurred()) SWIG_fail;
6758
resultobj = SWIG_Py_Void();
6765
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6766
PyObject *resultobj = 0;
6767
wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6768
wxHtmlRenderingStyle *result = 0 ;
6771
PyObject *swig_obj[1] ;
6773
if (!args) SWIG_fail;
6775
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6776
if (!SWIG_IsOK(res1)) {
6777
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6779
arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6781
PyThreadState* __tstate = wxPyBeginAllowThreads();
6783
wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
6784
result = (wxHtmlRenderingStyle *) &_result_ref;
6786
wxPyEndAllowThreads(__tstate);
6787
if (PyErr_Occurred()) SWIG_fail;
6789
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6796
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6797
PyObject *resultobj = 0;
6798
wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6799
wxHtmlRenderingState *result = 0 ;
6802
PyObject *swig_obj[1] ;
6804
if (!args) SWIG_fail;
6806
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6807
if (!SWIG_IsOK(res1)) {
6808
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6810
arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6812
PyThreadState* __tstate = wxPyBeginAllowThreads();
6814
wxHtmlRenderingState &_result_ref = (arg1)->GetState();
6815
result = (wxHtmlRenderingState *) &_result_ref;
6817
wxPyEndAllowThreads(__tstate);
6818
if (PyErr_Occurred()) SWIG_fail;
6820
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6827
SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6829
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6830
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj));
6831
return SWIG_Py_Void();
6834
SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6835
return SWIG_Python_InitShadowInstance(args);
6838
SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6839
PyObject *resultobj = 0;
6840
wxHtmlCell *result = 0 ;
6842
if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail;
6844
PyThreadState* __tstate = wxPyBeginAllowThreads();
6845
result = (wxHtmlCell *)new wxHtmlCell();
6846
wxPyEndAllowThreads(__tstate);
6847
if (PyErr_Occurred()) SWIG_fail;
6849
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 );
6856
SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6857
PyObject *resultobj = 0;
6858
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6861
PyObject *swig_obj[1] ;
6863
if (!args) SWIG_fail;
6865
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
6866
if (!SWIG_IsOK(res1)) {
6867
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6869
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6871
PyThreadState* __tstate = wxPyBeginAllowThreads();
6874
wxPyEndAllowThreads(__tstate);
6875
if (PyErr_Occurred()) SWIG_fail;
6877
resultobj = SWIG_Py_Void();
6884
SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6885
PyObject *resultobj = 0;
6886
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6890
PyObject *swig_obj[1] ;
6892
if (!args) SWIG_fail;
6894
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6895
if (!SWIG_IsOK(res1)) {
6896
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6898
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6900
PyThreadState* __tstate = wxPyBeginAllowThreads();
6901
result = (int)(arg1)->GetPosX();
6902
wxPyEndAllowThreads(__tstate);
6903
if (PyErr_Occurred()) SWIG_fail;
6905
resultobj = SWIG_From_int(static_cast< int >(result));
6912
SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6913
PyObject *resultobj = 0;
6914
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6918
PyObject *swig_obj[1] ;
6920
if (!args) SWIG_fail;
6922
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6923
if (!SWIG_IsOK(res1)) {
6924
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6926
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6928
PyThreadState* __tstate = wxPyBeginAllowThreads();
6929
result = (int)(arg1)->GetPosY();
6930
wxPyEndAllowThreads(__tstate);
6931
if (PyErr_Occurred()) SWIG_fail;
6933
resultobj = SWIG_From_int(static_cast< int >(result));
6940
SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6941
PyObject *resultobj = 0;
6942
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6946
PyObject *swig_obj[1] ;
6948
if (!args) SWIG_fail;
6950
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6951
if (!SWIG_IsOK(res1)) {
6952
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6954
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6956
PyThreadState* __tstate = wxPyBeginAllowThreads();
6957
result = (int)(arg1)->GetWidth();
6958
wxPyEndAllowThreads(__tstate);
6959
if (PyErr_Occurred()) SWIG_fail;
6961
resultobj = SWIG_From_int(static_cast< int >(result));
6968
SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6969
PyObject *resultobj = 0;
6970
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6974
PyObject *swig_obj[1] ;
6976
if (!args) SWIG_fail;
6978
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6979
if (!SWIG_IsOK(res1)) {
6980
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6982
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6984
PyThreadState* __tstate = wxPyBeginAllowThreads();
6985
result = (int)(arg1)->GetHeight();
6986
wxPyEndAllowThreads(__tstate);
6987
if (PyErr_Occurred()) SWIG_fail;
6989
resultobj = SWIG_From_int(static_cast< int >(result));
6996
SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6997
PyObject *resultobj = 0;
6998
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7002
PyObject *swig_obj[1] ;
7004
if (!args) SWIG_fail;
7006
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7007
if (!SWIG_IsOK(res1)) {
7008
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7010
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7012
PyThreadState* __tstate = wxPyBeginAllowThreads();
7013
result = (int)(arg1)->GetDescent();
7014
wxPyEndAllowThreads(__tstate);
7015
if (PyErr_Occurred()) SWIG_fail;
7017
resultobj = SWIG_From_int(static_cast< int >(result));
7024
SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7025
PyObject *resultobj = 0;
7026
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7030
PyObject *swig_obj[1] ;
7032
if (!args) SWIG_fail;
7034
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7035
if (!SWIG_IsOK(res1)) {
7036
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7038
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7040
PyThreadState* __tstate = wxPyBeginAllowThreads();
7041
result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
7042
wxPyEndAllowThreads(__tstate);
7043
if (PyErr_Occurred()) SWIG_fail;
7045
resultobj = SWIG_From_int(static_cast< int >(result));
7052
SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7053
PyObject *resultobj = 0;
7054
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7055
wxString *result = 0 ;
7058
PyObject *swig_obj[1] ;
7060
if (!args) SWIG_fail;
7062
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7063
if (!SWIG_IsOK(res1)) {
7064
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7066
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7068
PyThreadState* __tstate = wxPyBeginAllowThreads();
7070
wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
7071
result = (wxString *) &_result_ref;
7073
wxPyEndAllowThreads(__tstate);
7074
if (PyErr_Occurred()) SWIG_fail;
7078
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
7080
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
7089
SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7090
PyObject *resultobj = 0;
7091
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7092
wxString *arg2 = 0 ;
7095
bool temp2 = false ;
7096
PyObject * obj0 = 0 ;
7097
PyObject * obj1 = 0 ;
7098
char * kwnames[] = {
7099
(char *) "self",(char *) "id", NULL
7102
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
7103
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7104
if (!SWIG_IsOK(res1)) {
7105
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7107
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7109
arg2 = wxString_in_helper(obj1);
7110
if (arg2 == NULL) SWIG_fail;
7114
PyThreadState* __tstate = wxPyBeginAllowThreads();
7115
(arg1)->SetId((wxString const &)*arg2);
7116
wxPyEndAllowThreads(__tstate);
7117
if (PyErr_Occurred()) SWIG_fail;
7119
resultobj = SWIG_Py_Void();
7134
SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7135
PyObject *resultobj = 0;
7136
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7137
int arg2 = (int) 0 ;
7138
int arg3 = (int) 0 ;
7139
wxHtmlLinkInfo *result = 0 ;
7146
PyObject * obj0 = 0 ;
7147
PyObject * obj1 = 0 ;
7148
PyObject * obj2 = 0 ;
7149
char * kwnames[] = {
7150
(char *) "self",(char *) "x",(char *) "y", NULL
7153
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7154
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7155
if (!SWIG_IsOK(res1)) {
7156
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7158
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7160
ecode2 = SWIG_AsVal_int(obj1, &val2);
7161
if (!SWIG_IsOK(ecode2)) {
7162
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7164
arg2 = static_cast< int >(val2);
7167
ecode3 = SWIG_AsVal_int(obj2, &val3);
7168
if (!SWIG_IsOK(ecode3)) {
7169
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7171
arg3 = static_cast< int >(val3);
7174
PyThreadState* __tstate = wxPyBeginAllowThreads();
7175
result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
7176
wxPyEndAllowThreads(__tstate);
7177
if (PyErr_Occurred()) SWIG_fail;
7179
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
7186
SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7187
PyObject *resultobj = 0;
7188
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7189
wxHtmlCell *result = 0 ;
7192
PyObject *swig_obj[1] ;
7194
if (!args) SWIG_fail;
7196
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7197
if (!SWIG_IsOK(res1)) {
7198
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7200
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7202
PyThreadState* __tstate = wxPyBeginAllowThreads();
7203
result = (wxHtmlCell *)(arg1)->GetNext();
7204
wxPyEndAllowThreads(__tstate);
7205
if (PyErr_Occurred()) SWIG_fail;
7208
resultobj = wxPyMake_wxObject(result, 0);
7216
SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7217
PyObject *resultobj = 0;
7218
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7219
wxHtmlContainerCell *result = 0 ;
7222
PyObject *swig_obj[1] ;
7224
if (!args) SWIG_fail;
7226
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7227
if (!SWIG_IsOK(res1)) {
7228
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7230
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7232
PyThreadState* __tstate = wxPyBeginAllowThreads();
7233
result = (wxHtmlContainerCell *)(arg1)->GetParent();
7234
wxPyEndAllowThreads(__tstate);
7235
if (PyErr_Occurred()) SWIG_fail;
7237
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7244
SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7245
PyObject *resultobj = 0;
7246
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7247
wxHtmlCell *result = 0 ;
7250
PyObject *swig_obj[1] ;
7252
if (!args) SWIG_fail;
7254
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7255
if (!SWIG_IsOK(res1)) {
7256
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7258
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7260
PyThreadState* __tstate = wxPyBeginAllowThreads();
7261
result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
7262
wxPyEndAllowThreads(__tstate);
7263
if (PyErr_Occurred()) SWIG_fail;
7266
resultobj = wxPyMake_wxObject(result, 0);
7274
SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7275
PyObject *resultobj = 0;
7276
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7277
wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7283
PyObject * obj0 = 0 ;
7284
PyObject * obj1 = 0 ;
7285
char * kwnames[] = {
7286
(char *) "self",(char *) "window", NULL
7289
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail;
7290
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7291
if (!SWIG_IsOK(res1)) {
7292
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7294
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7295
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7296
if (!SWIG_IsOK(res2)) {
7297
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7299
arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7301
PyThreadState* __tstate = wxPyBeginAllowThreads();
7302
result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2);
7303
wxPyEndAllowThreads(__tstate);
7304
if (PyErr_Occurred()) SWIG_fail;
7306
resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7313
SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7314
PyObject *resultobj = 0;
7315
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7319
PyObject *swig_obj[1] ;
7321
if (!args) SWIG_fail;
7323
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7324
if (!SWIG_IsOK(res1)) {
7325
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7327
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7329
PyThreadState* __tstate = wxPyBeginAllowThreads();
7330
result = ((wxHtmlCell const *)arg1)->GetCursor();
7331
wxPyEndAllowThreads(__tstate);
7332
if (PyErr_Occurred()) SWIG_fail;
7334
resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7341
SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7342
PyObject *resultobj = 0;
7343
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7347
PyObject *swig_obj[1] ;
7349
if (!args) SWIG_fail;
7351
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7352
if (!SWIG_IsOK(res1)) {
7353
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7355
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7357
PyThreadState* __tstate = wxPyBeginAllowThreads();
7358
result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
7359
wxPyEndAllowThreads(__tstate);
7360
if (PyErr_Occurred()) SWIG_fail;
7363
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7371
SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7372
PyObject *resultobj = 0;
7373
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7374
wxHtmlLinkInfo *arg2 = 0 ;
7379
PyObject * obj0 = 0 ;
7380
PyObject * obj1 = 0 ;
7381
char * kwnames[] = {
7382
(char *) "self",(char *) "link", NULL
7385
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
7386
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7387
if (!SWIG_IsOK(res1)) {
7388
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7390
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7391
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
7392
if (!SWIG_IsOK(res2)) {
7393
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7396
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7398
arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
7400
PyThreadState* __tstate = wxPyBeginAllowThreads();
7401
(arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
7402
wxPyEndAllowThreads(__tstate);
7403
if (PyErr_Occurred()) SWIG_fail;
7405
resultobj = SWIG_Py_Void();
7412
SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7413
PyObject *resultobj = 0;
7414
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7415
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7418
PyObject * obj0 = 0 ;
7419
PyObject * obj1 = 0 ;
7420
char * kwnames[] = {
7421
(char *) "self",(char *) "cell", NULL
7424
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail;
7425
res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7426
if (!SWIG_IsOK(res1)) {
7427
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7429
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7430
if (!SWIG_IsOK(res2)) {
7431
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7434
PyThreadState* __tstate = wxPyBeginAllowThreads();
7435
(arg1)->SetNext(arg2);
7436
wxPyEndAllowThreads(__tstate);
7437
if (PyErr_Occurred()) SWIG_fail;
7439
resultobj = SWIG_Py_Void();
7446
SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7447
PyObject *resultobj = 0;
7448
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7449
wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
7454
PyObject * obj0 = 0 ;
7455
PyObject * obj1 = 0 ;
7456
char * kwnames[] = {
7457
(char *) "self",(char *) "p", NULL
7460
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail;
7461
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7462
if (!SWIG_IsOK(res1)) {
7463
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7465
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7466
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7467
if (!SWIG_IsOK(res2)) {
7468
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7470
arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
7472
PyThreadState* __tstate = wxPyBeginAllowThreads();
7473
(arg1)->SetParent(arg2);
7474
wxPyEndAllowThreads(__tstate);
7475
if (PyErr_Occurred()) SWIG_fail;
7477
resultobj = SWIG_Py_Void();
7484
SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7485
PyObject *resultobj = 0;
7486
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7495
PyObject * obj0 = 0 ;
7496
PyObject * obj1 = 0 ;
7497
PyObject * obj2 = 0 ;
7498
char * kwnames[] = {
7499
(char *) "self",(char *) "x",(char *) "y", NULL
7502
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7503
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7504
if (!SWIG_IsOK(res1)) {
7505
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7507
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7508
ecode2 = SWIG_AsVal_int(obj1, &val2);
7509
if (!SWIG_IsOK(ecode2)) {
7510
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7512
arg2 = static_cast< int >(val2);
7513
ecode3 = SWIG_AsVal_int(obj2, &val3);
7514
if (!SWIG_IsOK(ecode3)) {
7515
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7517
arg3 = static_cast< int >(val3);
7519
PyThreadState* __tstate = wxPyBeginAllowThreads();
7520
(arg1)->SetPos(arg2,arg3);
7521
wxPyEndAllowThreads(__tstate);
7522
if (PyErr_Occurred()) SWIG_fail;
7524
resultobj = SWIG_Py_Void();
7531
SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7532
PyObject *resultobj = 0;
7533
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7539
PyObject * obj0 = 0 ;
7540
PyObject * obj1 = 0 ;
7541
char * kwnames[] = {
7542
(char *) "self",(char *) "w", NULL
7545
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail;
7546
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7547
if (!SWIG_IsOK(res1)) {
7548
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7550
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7551
ecode2 = SWIG_AsVal_int(obj1, &val2);
7552
if (!SWIG_IsOK(ecode2)) {
7553
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7555
arg2 = static_cast< int >(val2);
7557
PyThreadState* __tstate = wxPyBeginAllowThreads();
7558
(arg1)->Layout(arg2);
7559
wxPyEndAllowThreads(__tstate);
7560
if (PyErr_Occurred()) SWIG_fail;
7562
resultobj = SWIG_Py_Void();
7569
SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7570
PyObject *resultobj = 0;
7571
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7577
wxHtmlRenderingInfo *arg7 = 0 ;
7592
PyObject * obj0 = 0 ;
7593
PyObject * obj1 = 0 ;
7594
PyObject * obj2 = 0 ;
7595
PyObject * obj3 = 0 ;
7596
PyObject * obj4 = 0 ;
7597
PyObject * obj5 = 0 ;
7598
PyObject * obj6 = 0 ;
7599
char * kwnames[] = {
7600
(char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7603
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7604
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7605
if (!SWIG_IsOK(res1)) {
7606
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7608
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7609
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7610
if (!SWIG_IsOK(res2)) {
7611
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7614
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7616
arg2 = reinterpret_cast< wxDC * >(argp2);
7617
ecode3 = SWIG_AsVal_int(obj2, &val3);
7618
if (!SWIG_IsOK(ecode3)) {
7619
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7621
arg3 = static_cast< int >(val3);
7622
ecode4 = SWIG_AsVal_int(obj3, &val4);
7623
if (!SWIG_IsOK(ecode4)) {
7624
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7626
arg4 = static_cast< int >(val4);
7627
ecode5 = SWIG_AsVal_int(obj4, &val5);
7628
if (!SWIG_IsOK(ecode5)) {
7629
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7631
arg5 = static_cast< int >(val5);
7632
ecode6 = SWIG_AsVal_int(obj5, &val6);
7633
if (!SWIG_IsOK(ecode6)) {
7634
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7636
arg6 = static_cast< int >(val6);
7637
res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7638
if (!SWIG_IsOK(res7)) {
7639
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7642
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7644
arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7);
7646
PyThreadState* __tstate = wxPyBeginAllowThreads();
7647
(arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
7648
wxPyEndAllowThreads(__tstate);
7649
if (PyErr_Occurred()) SWIG_fail;
7651
resultobj = SWIG_Py_Void();
7658
SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7659
PyObject *resultobj = 0;
7660
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7664
wxHtmlRenderingInfo *arg5 = 0 ;
7675
PyObject * obj0 = 0 ;
7676
PyObject * obj1 = 0 ;
7677
PyObject * obj2 = 0 ;
7678
PyObject * obj3 = 0 ;
7679
PyObject * obj4 = 0 ;
7680
char * kwnames[] = {
7681
(char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7684
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7685
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7686
if (!SWIG_IsOK(res1)) {
7687
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7689
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7690
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7691
if (!SWIG_IsOK(res2)) {
7692
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7695
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7697
arg2 = reinterpret_cast< wxDC * >(argp2);
7698
ecode3 = SWIG_AsVal_int(obj2, &val3);
7699
if (!SWIG_IsOK(ecode3)) {
7700
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7702
arg3 = static_cast< int >(val3);
7703
ecode4 = SWIG_AsVal_int(obj3, &val4);
7704
if (!SWIG_IsOK(ecode4)) {
7705
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7707
arg4 = static_cast< int >(val4);
7708
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7709
if (!SWIG_IsOK(res5)) {
7710
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7713
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7715
arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5);
7717
PyThreadState* __tstate = wxPyBeginAllowThreads();
7718
(arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
7719
wxPyEndAllowThreads(__tstate);
7720
if (PyErr_Occurred()) SWIG_fail;
7722
resultobj = SWIG_Py_Void();
7729
SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7730
PyObject *resultobj = 0;
7731
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7733
void *arg3 = (void *) 0 ;
7734
wxHtmlCell *result = 0 ;
7740
PyObject * obj0 = 0 ;
7741
PyObject * obj1 = 0 ;
7742
PyObject * obj2 = 0 ;
7743
char * kwnames[] = {
7744
(char *) "self",(char *) "condition",(char *) "param", NULL
7747
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7748
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7749
if (!SWIG_IsOK(res1)) {
7750
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7752
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7753
ecode2 = SWIG_AsVal_int(obj1, &val2);
7754
if (!SWIG_IsOK(ecode2)) {
7755
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7757
arg2 = static_cast< int >(val2);
7758
res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
7759
if (!SWIG_IsOK(res3)) {
7760
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7763
PyThreadState* __tstate = wxPyBeginAllowThreads();
7764
result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
7765
wxPyEndAllowThreads(__tstate);
7766
if (PyErr_Occurred()) SWIG_fail;
7769
resultobj = wxPyMake_wxObject(result, 0);
7777
SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7778
PyObject *resultobj = 0;
7779
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7780
wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7782
wxMouseEvent *arg4 = 0 ;
7791
PyObject * obj0 = 0 ;
7792
PyObject * obj1 = 0 ;
7793
PyObject * obj2 = 0 ;
7794
PyObject * obj3 = 0 ;
7795
char * kwnames[] = {
7796
(char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7799
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7800
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7801
if (!SWIG_IsOK(res1)) {
7802
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7804
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7805
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7806
if (!SWIG_IsOK(res2)) {
7807
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7809
arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7812
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7814
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent, 0 | 0);
7815
if (!SWIG_IsOK(res4)) {
7816
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7819
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7821
arg4 = reinterpret_cast< wxMouseEvent * >(argp4);
7823
PyThreadState* __tstate = wxPyBeginAllowThreads();
7824
result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4);
7825
wxPyEndAllowThreads(__tstate);
7826
if (PyErr_Occurred()) SWIG_fail;
7829
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7837
SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7838
PyObject *resultobj = 0;
7839
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7845
PyObject * obj0 = 0 ;
7846
PyObject * obj1 = 0 ;
7847
char * kwnames[] = {
7848
(char *) "self",(char *) "can", NULL
7851
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail;
7852
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7853
if (!SWIG_IsOK(res1)) {
7854
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7856
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7857
ecode2 = SWIG_AsVal_bool(obj1, &val2);
7858
if (!SWIG_IsOK(ecode2)) {
7859
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7861
arg2 = static_cast< bool >(val2);
7863
PyThreadState* __tstate = wxPyBeginAllowThreads();
7864
(arg1)->SetCanLiveOnPagebreak(arg2);
7865
wxPyEndAllowThreads(__tstate);
7866
if (PyErr_Occurred()) SWIG_fail;
7868
resultobj = SWIG_Py_Void();
7875
SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7876
PyObject *resultobj = 0;
7877
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7881
PyObject *swig_obj[1] ;
7883
if (!args) SWIG_fail;
7885
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7886
if (!SWIG_IsOK(res1)) {
7887
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7889
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7891
PyThreadState* __tstate = wxPyBeginAllowThreads();
7892
result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
7893
wxPyEndAllowThreads(__tstate);
7894
if (PyErr_Occurred()) SWIG_fail;
7897
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7905
SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7906
PyObject *resultobj = 0;
7907
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7911
PyObject *swig_obj[1] ;
7913
if (!args) SWIG_fail;
7915
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7916
if (!SWIG_IsOK(res1)) {
7917
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7919
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7921
PyThreadState* __tstate = wxPyBeginAllowThreads();
7922
result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
7923
wxPyEndAllowThreads(__tstate);
7924
if (PyErr_Occurred()) SWIG_fail;
7927
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7935
SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7936
PyObject *resultobj = 0;
7937
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7940
unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
7941
wxHtmlCell *result = 0 ;
7950
PyObject * obj0 = 0 ;
7951
PyObject * obj1 = 0 ;
7952
PyObject * obj2 = 0 ;
7953
PyObject * obj3 = 0 ;
7954
char * kwnames[] = {
7955
(char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7958
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7959
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7960
if (!SWIG_IsOK(res1)) {
7961
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7963
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7964
ecode2 = SWIG_AsVal_int(obj1, &val2);
7965
if (!SWIG_IsOK(ecode2)) {
7966
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7968
arg2 = static_cast< int >(val2);
7969
ecode3 = SWIG_AsVal_int(obj2, &val3);
7970
if (!SWIG_IsOK(ecode3)) {
7971
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7973
arg3 = static_cast< int >(val3);
7975
ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
7976
if (!SWIG_IsOK(ecode4)) {
7977
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7979
arg4 = static_cast< unsigned int >(val4);
7982
PyThreadState* __tstate = wxPyBeginAllowThreads();
7983
result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
7984
wxPyEndAllowThreads(__tstate);
7985
if (PyErr_Occurred()) SWIG_fail;
7988
resultobj = wxPyMake_wxObject(result, 0);
7996
SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7997
PyObject *resultobj = 0;
7998
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7999
wxHtmlCell *arg2 = (wxHtmlCell *) NULL ;
8005
PyObject * obj0 = 0 ;
8006
PyObject * obj1 = 0 ;
8007
char * kwnames[] = {
8008
(char *) "self",(char *) "rootCell", NULL
8011
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail;
8012
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8013
if (!SWIG_IsOK(res1)) {
8014
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8016
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8018
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8019
if (!SWIG_IsOK(res2)) {
8020
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8022
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
8025
PyThreadState* __tstate = wxPyBeginAllowThreads();
8026
result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2);
8027
wxPyEndAllowThreads(__tstate);
8028
if (PyErr_Occurred()) SWIG_fail;
8030
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
8037
SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8038
PyObject *resultobj = 0;
8039
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8040
wxHtmlCell *result = 0 ;
8043
PyObject *swig_obj[1] ;
8045
if (!args) SWIG_fail;
8047
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8048
if (!SWIG_IsOK(res1)) {
8049
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8051
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8053
PyThreadState* __tstate = wxPyBeginAllowThreads();
8054
result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell();
8055
wxPyEndAllowThreads(__tstate);
8056
if (PyErr_Occurred()) SWIG_fail;
8059
resultobj = wxPyMake_wxObject(result, 0);
8067
SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8068
PyObject *resultobj = 0;
8069
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8070
wxHtmlCell *result = 0 ;
8073
PyObject *swig_obj[1] ;
8075
if (!args) SWIG_fail;
8077
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8078
if (!SWIG_IsOK(res1)) {
8079
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8081
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8083
PyThreadState* __tstate = wxPyBeginAllowThreads();
8084
result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
8085
wxPyEndAllowThreads(__tstate);
8086
if (PyErr_Occurred()) SWIG_fail;
8089
resultobj = wxPyMake_wxObject(result, 0);
8097
SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8098
PyObject *resultobj = 0;
8099
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8100
wxHtmlCell *result = 0 ;
8103
PyObject *swig_obj[1] ;
8105
if (!args) SWIG_fail;
8107
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8108
if (!SWIG_IsOK(res1)) {
8109
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8111
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8113
PyThreadState* __tstate = wxPyBeginAllowThreads();
8114
result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
8115
wxPyEndAllowThreads(__tstate);
8116
if (PyErr_Occurred()) SWIG_fail;
8119
resultobj = wxPyMake_wxObject(result, 0);
8127
SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8128
PyObject *resultobj = 0;
8129
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8130
unsigned int result;
8133
PyObject *swig_obj[1] ;
8135
if (!args) SWIG_fail;
8137
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8138
if (!SWIG_IsOK(res1)) {
8139
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8141
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8143
PyThreadState* __tstate = wxPyBeginAllowThreads();
8144
result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
8145
wxPyEndAllowThreads(__tstate);
8146
if (PyErr_Occurred()) SWIG_fail;
8148
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
8155
SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8156
PyObject *resultobj = 0;
8157
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8158
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8164
PyObject * obj0 = 0 ;
8165
PyObject * obj1 = 0 ;
8166
char * kwnames[] = {
8167
(char *) "self",(char *) "cell", NULL
8170
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail;
8171
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8172
if (!SWIG_IsOK(res1)) {
8173
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8175
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8176
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8177
if (!SWIG_IsOK(res2)) {
8178
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8180
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
8182
PyThreadState* __tstate = wxPyBeginAllowThreads();
8183
result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
8184
wxPyEndAllowThreads(__tstate);
8185
if (PyErr_Occurred()) SWIG_fail;
8188
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8196
SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8197
PyObject *resultobj = 0;
8198
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8199
wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8205
PyObject * obj0 = 0 ;
8206
PyObject * obj1 = 0 ;
8207
char * kwnames[] = {
8208
(char *) "self",(char *) "sel", NULL
8211
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8212
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8213
if (!SWIG_IsOK(res1)) {
8214
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8216
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8217
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8218
if (!SWIG_IsOK(res2)) {
8219
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8221
arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8223
PyThreadState* __tstate = wxPyBeginAllowThreads();
8224
result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
8225
wxPyEndAllowThreads(__tstate);
8226
if (PyErr_Occurred()) SWIG_fail;
8230
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8232
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8241
SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8243
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8244
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj));
8245
return SWIG_Py_Void();
8248
SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8249
return SWIG_Python_InitShadowInstance(args);
8252
SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8253
PyObject *resultobj = 0;
8254
wxString *arg1 = 0 ;
8256
wxHtmlWordCell *result = 0 ;
8257
bool temp1 = false ;
8260
PyObject * obj0 = 0 ;
8261
PyObject * obj1 = 0 ;
8262
char * kwnames[] = {
8263
(char *) "word",(char *) "dc", NULL
8266
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail;
8268
arg1 = wxString_in_helper(obj0);
8269
if (arg1 == NULL) SWIG_fail;
8272
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
8273
if (!SWIG_IsOK(res2)) {
8274
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8277
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8279
arg2 = reinterpret_cast< wxDC * >(argp2);
8281
PyThreadState* __tstate = wxPyBeginAllowThreads();
8282
result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
8283
wxPyEndAllowThreads(__tstate);
8284
if (PyErr_Occurred()) SWIG_fail;
8286
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 );
8301
SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8302
PyObject *resultobj = 0;
8303
wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8304
wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8310
PyObject * obj0 = 0 ;
8311
PyObject * obj1 = 0 ;
8312
char * kwnames[] = {
8313
(char *) "self",(char *) "sel", NULL
8316
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8317
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8318
if (!SWIG_IsOK(res1)) {
8319
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8321
arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8322
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8323
if (!SWIG_IsOK(res2)) {
8324
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8326
arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8328
PyThreadState* __tstate = wxPyBeginAllowThreads();
8329
result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2);
8330
wxPyEndAllowThreads(__tstate);
8331
if (PyErr_Occurred()) SWIG_fail;
8335
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8337
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8346
SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8347
PyObject *resultobj = 0;
8348
wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8352
PyObject *swig_obj[1] ;
8354
if (!args) SWIG_fail;
8356
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8357
if (!SWIG_IsOK(res1)) {
8358
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8360
arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8362
PyThreadState* __tstate = wxPyBeginAllowThreads();
8363
result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed();
8364
wxPyEndAllowThreads(__tstate);
8365
if (PyErr_Occurred()) SWIG_fail;
8368
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8376
SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8377
PyObject *resultobj = 0;
8378
wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8379
wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ;
8384
PyObject * obj0 = 0 ;
8385
PyObject * obj1 = 0 ;
8386
char * kwnames[] = {
8387
(char *) "self",(char *) "cell", NULL
8390
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail;
8391
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8392
if (!SWIG_IsOK(res1)) {
8393
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8395
arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8396
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8397
if (!SWIG_IsOK(res2)) {
8398
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8400
arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2);
8402
PyThreadState* __tstate = wxPyBeginAllowThreads();
8403
(arg1)->SetPreviousWord(arg2);
8404
wxPyEndAllowThreads(__tstate);
8405
if (PyErr_Occurred()) SWIG_fail;
8407
resultobj = SWIG_Py_Void();
8414
SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8416
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8417
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj));
8418
return SWIG_Py_Void();
8421
SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8422
return SWIG_Python_InitShadowInstance(args);
8425
SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8426
PyObject *resultobj = 0;
8427
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8428
wxHtmlContainerCell *result = 0 ;
8431
PyObject * obj0 = 0 ;
8432
char * kwnames[] = {
8433
(char *) "parent", NULL
8436
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail;
8437
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8438
if (!SWIG_IsOK(res1)) {
8439
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8441
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8443
PyThreadState* __tstate = wxPyBeginAllowThreads();
8444
result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
8445
wxPyEndAllowThreads(__tstate);
8446
if (PyErr_Occurred()) SWIG_fail;
8448
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 );
8455
SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8456
PyObject *resultobj = 0;
8457
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8458
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8462
PyObject * obj0 = 0 ;
8463
PyObject * obj1 = 0 ;
8464
char * kwnames[] = {
8465
(char *) "self",(char *) "cell", NULL
8468
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail;
8469
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8470
if (!SWIG_IsOK(res1)) {
8471
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8473
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8474
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
8475
if (!SWIG_IsOK(res2)) {
8476
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8479
PyThreadState* __tstate = wxPyBeginAllowThreads();
8480
(arg1)->InsertCell(arg2);
8481
wxPyEndAllowThreads(__tstate);
8482
if (PyErr_Occurred()) SWIG_fail;
8484
resultobj = SWIG_Py_Void();
8491
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8492
PyObject *resultobj = 0;
8493
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8499
PyObject * obj0 = 0 ;
8500
PyObject * obj1 = 0 ;
8501
char * kwnames[] = {
8502
(char *) "self",(char *) "al", NULL
8505
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail;
8506
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8507
if (!SWIG_IsOK(res1)) {
8508
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8510
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8511
ecode2 = SWIG_AsVal_int(obj1, &val2);
8512
if (!SWIG_IsOK(ecode2)) {
8513
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8515
arg2 = static_cast< int >(val2);
8517
PyThreadState* __tstate = wxPyBeginAllowThreads();
8518
(arg1)->SetAlignHor(arg2);
8519
wxPyEndAllowThreads(__tstate);
8520
if (PyErr_Occurred()) SWIG_fail;
8522
resultobj = SWIG_Py_Void();
8529
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8530
PyObject *resultobj = 0;
8531
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8535
PyObject *swig_obj[1] ;
8537
if (!args) SWIG_fail;
8539
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8540
if (!SWIG_IsOK(res1)) {
8541
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8543
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8545
PyThreadState* __tstate = wxPyBeginAllowThreads();
8546
result = (int)(arg1)->GetAlignHor();
8547
wxPyEndAllowThreads(__tstate);
8548
if (PyErr_Occurred()) SWIG_fail;
8550
resultobj = SWIG_From_int(static_cast< int >(result));
8557
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8558
PyObject *resultobj = 0;
8559
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8565
PyObject * obj0 = 0 ;
8566
PyObject * obj1 = 0 ;
8567
char * kwnames[] = {
8568
(char *) "self",(char *) "al", NULL
8571
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail;
8572
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8573
if (!SWIG_IsOK(res1)) {
8574
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8576
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8577
ecode2 = SWIG_AsVal_int(obj1, &val2);
8578
if (!SWIG_IsOK(ecode2)) {
8579
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8581
arg2 = static_cast< int >(val2);
8583
PyThreadState* __tstate = wxPyBeginAllowThreads();
8584
(arg1)->SetAlignVer(arg2);
8585
wxPyEndAllowThreads(__tstate);
8586
if (PyErr_Occurred()) SWIG_fail;
8588
resultobj = SWIG_Py_Void();
8595
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8596
PyObject *resultobj = 0;
8597
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8601
PyObject *swig_obj[1] ;
8603
if (!args) SWIG_fail;
8605
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8606
if (!SWIG_IsOK(res1)) {
8607
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8609
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8611
PyThreadState* __tstate = wxPyBeginAllowThreads();
8612
result = (int)(arg1)->GetAlignVer();
8613
wxPyEndAllowThreads(__tstate);
8614
if (PyErr_Occurred()) SWIG_fail;
8616
resultobj = SWIG_From_int(static_cast< int >(result));
8623
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8624
PyObject *resultobj = 0;
8625
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8628
int arg4 = (int) wxHTML_UNITS_PIXELS ;
8637
PyObject * obj0 = 0 ;
8638
PyObject * obj1 = 0 ;
8639
PyObject * obj2 = 0 ;
8640
PyObject * obj3 = 0 ;
8641
char * kwnames[] = {
8642
(char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8645
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8646
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8647
if (!SWIG_IsOK(res1)) {
8648
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8650
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8651
ecode2 = SWIG_AsVal_int(obj1, &val2);
8652
if (!SWIG_IsOK(ecode2)) {
8653
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8655
arg2 = static_cast< int >(val2);
8656
ecode3 = SWIG_AsVal_int(obj2, &val3);
8657
if (!SWIG_IsOK(ecode3)) {
8658
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8660
arg3 = static_cast< int >(val3);
8662
ecode4 = SWIG_AsVal_int(obj3, &val4);
8663
if (!SWIG_IsOK(ecode4)) {
8664
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8666
arg4 = static_cast< int >(val4);
8669
PyThreadState* __tstate = wxPyBeginAllowThreads();
8670
(arg1)->SetIndent(arg2,arg3,arg4);
8671
wxPyEndAllowThreads(__tstate);
8672
if (PyErr_Occurred()) SWIG_fail;
8674
resultobj = SWIG_Py_Void();
8681
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8682
PyObject *resultobj = 0;
8683
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8690
PyObject * obj0 = 0 ;
8691
PyObject * obj1 = 0 ;
8692
char * kwnames[] = {
8693
(char *) "self",(char *) "ind", NULL
8696
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
8697
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8698
if (!SWIG_IsOK(res1)) {
8699
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8701
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8702
ecode2 = SWIG_AsVal_int(obj1, &val2);
8703
if (!SWIG_IsOK(ecode2)) {
8704
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8706
arg2 = static_cast< int >(val2);
8708
PyThreadState* __tstate = wxPyBeginAllowThreads();
8709
result = (int)(arg1)->GetIndent(arg2);
8710
wxPyEndAllowThreads(__tstate);
8711
if (PyErr_Occurred()) SWIG_fail;
8713
resultobj = SWIG_From_int(static_cast< int >(result));
8720
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8721
PyObject *resultobj = 0;
8722
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8729
PyObject * obj0 = 0 ;
8730
PyObject * obj1 = 0 ;
8731
char * kwnames[] = {
8732
(char *) "self",(char *) "ind", NULL
8735
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail;
8736
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8737
if (!SWIG_IsOK(res1)) {
8738
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8740
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8741
ecode2 = SWIG_AsVal_int(obj1, &val2);
8742
if (!SWIG_IsOK(ecode2)) {
8743
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8745
arg2 = static_cast< int >(val2);
8747
PyThreadState* __tstate = wxPyBeginAllowThreads();
8748
result = (int)(arg1)->GetIndentUnits(arg2);
8749
wxPyEndAllowThreads(__tstate);
8750
if (PyErr_Occurred()) SWIG_fail;
8752
resultobj = SWIG_From_int(static_cast< int >(result));
8759
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8760
PyObject *resultobj = 0;
8761
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8762
wxHtmlTag *arg2 = 0 ;
8767
PyObject * obj0 = 0 ;
8768
PyObject * obj1 = 0 ;
8769
char * kwnames[] = {
8770
(char *) "self",(char *) "tag", NULL
8773
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
8774
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8775
if (!SWIG_IsOK(res1)) {
8776
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8778
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8779
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8780
if (!SWIG_IsOK(res2)) {
8781
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8784
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8786
arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8788
PyThreadState* __tstate = wxPyBeginAllowThreads();
8789
(arg1)->SetAlign((wxHtmlTag const &)*arg2);
8790
wxPyEndAllowThreads(__tstate);
8791
if (PyErr_Occurred()) SWIG_fail;
8793
resultobj = SWIG_Py_Void();
8800
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8801
PyObject *resultobj = 0;
8802
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8811
PyObject * obj0 = 0 ;
8812
PyObject * obj1 = 0 ;
8813
PyObject * obj2 = 0 ;
8814
char * kwnames[] = {
8815
(char *) "self",(char *) "w",(char *) "units", NULL
8818
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8819
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8820
if (!SWIG_IsOK(res1)) {
8821
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8823
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8824
ecode2 = SWIG_AsVal_int(obj1, &val2);
8825
if (!SWIG_IsOK(ecode2)) {
8826
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8828
arg2 = static_cast< int >(val2);
8829
ecode3 = SWIG_AsVal_int(obj2, &val3);
8830
if (!SWIG_IsOK(ecode3)) {
8831
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8833
arg3 = static_cast< int >(val3);
8835
PyThreadState* __tstate = wxPyBeginAllowThreads();
8836
(arg1)->SetWidthFloat(arg2,arg3);
8837
wxPyEndAllowThreads(__tstate);
8838
if (PyErr_Occurred()) SWIG_fail;
8840
resultobj = SWIG_Py_Void();
8847
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8848
PyObject *resultobj = 0;
8849
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8850
wxHtmlTag *arg2 = 0 ;
8855
PyObject * obj0 = 0 ;
8856
PyObject * obj1 = 0 ;
8857
char * kwnames[] = {
8858
(char *) "self",(char *) "tag", NULL
8861
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail;
8862
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8863
if (!SWIG_IsOK(res1)) {
8864
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8866
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8867
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8868
if (!SWIG_IsOK(res2)) {
8869
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8872
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8874
arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8876
PyThreadState* __tstate = wxPyBeginAllowThreads();
8877
(arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
8878
wxPyEndAllowThreads(__tstate);
8879
if (PyErr_Occurred()) SWIG_fail;
8881
resultobj = SWIG_Py_Void();
8888
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8889
PyObject *resultobj = 0;
8890
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8892
int arg3 = (int) wxHTML_ALIGN_TOP ;
8899
PyObject * obj0 = 0 ;
8900
PyObject * obj1 = 0 ;
8901
PyObject * obj2 = 0 ;
8902
char * kwnames[] = {
8903
(char *) "self",(char *) "h",(char *) "align", NULL
8906
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8907
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8908
if (!SWIG_IsOK(res1)) {
8909
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8911
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8912
ecode2 = SWIG_AsVal_int(obj1, &val2);
8913
if (!SWIG_IsOK(ecode2)) {
8914
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8916
arg2 = static_cast< int >(val2);
8918
ecode3 = SWIG_AsVal_int(obj2, &val3);
8919
if (!SWIG_IsOK(ecode3)) {
8920
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8922
arg3 = static_cast< int >(val3);
8925
PyThreadState* __tstate = wxPyBeginAllowThreads();
8926
(arg1)->SetMinHeight(arg2,arg3);
8927
wxPyEndAllowThreads(__tstate);
8928
if (PyErr_Occurred()) SWIG_fail;
8930
resultobj = SWIG_Py_Void();
8937
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8938
PyObject *resultobj = 0;
8939
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8940
wxColour *arg2 = 0 ;
8944
PyObject * obj0 = 0 ;
8945
PyObject * obj1 = 0 ;
8946
char * kwnames[] = {
8947
(char *) "self",(char *) "clr", NULL
8950
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8951
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8952
if (!SWIG_IsOK(res1)) {
8953
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8955
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8958
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8961
PyThreadState* __tstate = wxPyBeginAllowThreads();
8962
(arg1)->SetBackgroundColour((wxColour const &)*arg2);
8963
wxPyEndAllowThreads(__tstate);
8964
if (PyErr_Occurred()) SWIG_fail;
8966
resultobj = SWIG_Py_Void();
8973
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8974
PyObject *resultobj = 0;
8975
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8979
PyObject *swig_obj[1] ;
8981
if (!args) SWIG_fail;
8983
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8984
if (!SWIG_IsOK(res1)) {
8985
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8987
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8989
PyThreadState* __tstate = wxPyBeginAllowThreads();
8990
result = (arg1)->GetBackgroundColour();
8991
wxPyEndAllowThreads(__tstate);
8992
if (PyErr_Occurred()) SWIG_fail;
8994
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9001
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9002
PyObject *resultobj = 0;
9003
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
9004
wxColour *arg2 = 0 ;
9005
wxColour *arg3 = 0 ;
9010
PyObject * obj0 = 0 ;
9011
PyObject * obj1 = 0 ;
9012
PyObject * obj2 = 0 ;
9013
char * kwnames[] = {
9014
(char *) "self",(char *) "clr1",(char *) "clr2", NULL
9017
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9018
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
9019
if (!SWIG_IsOK(res1)) {
9020
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9022
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
9025
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9029
if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9032
PyThreadState* __tstate = wxPyBeginAllowThreads();
9033
(arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
9034
wxPyEndAllowThreads(__tstate);
9035
if (PyErr_Occurred()) SWIG_fail;
9037
resultobj = SWIG_Py_Void();
9044
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9045
PyObject *resultobj = 0;
9046
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
9047
wxHtmlCell *result = 0 ;
9050
PyObject *swig_obj[1] ;
9052
if (!args) SWIG_fail;
9054
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
9055
if (!SWIG_IsOK(res1)) {
9056
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9058
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
9060
PyThreadState* __tstate = wxPyBeginAllowThreads();
9061
result = (wxHtmlCell *)(arg1)->GetFirstChild();
9062
wxPyEndAllowThreads(__tstate);
9063
if (PyErr_Occurred()) SWIG_fail;
9066
resultobj = wxPyMake_wxObject(result, 0);
9074
SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9076
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9077
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj));
9078
return SWIG_Py_Void();
9081
SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9082
return SWIG_Python_InitShadowInstance(args);
9085
SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9086
PyObject *resultobj = 0;
9087
wxColour *arg1 = 0 ;
9088
int arg2 = (int) wxHTML_CLR_FOREGROUND ;
9089
wxHtmlColourCell *result = 0 ;
9093
PyObject * obj0 = 0 ;
9094
PyObject * obj1 = 0 ;
9095
char * kwnames[] = {
9096
(char *) "clr",(char *) "flags", NULL
9099
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail;
9102
if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
9105
ecode2 = SWIG_AsVal_int(obj1, &val2);
9106
if (!SWIG_IsOK(ecode2)) {
9107
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9109
arg2 = static_cast< int >(val2);
9112
PyThreadState* __tstate = wxPyBeginAllowThreads();
9113
result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
9114
wxPyEndAllowThreads(__tstate);
9115
if (PyErr_Occurred()) SWIG_fail;
9117
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 );
9124
SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9126
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9127
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj));
9128
return SWIG_Py_Void();
9131
SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9132
return SWIG_Python_InitShadowInstance(args);
9135
SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9136
PyObject *resultobj = 0;
9137
wxFont *arg1 = (wxFont *) 0 ;
9138
wxHtmlFontCell *result = 0 ;
9141
PyObject * obj0 = 0 ;
9142
char * kwnames[] = {
9143
(char *) "font", NULL
9146
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail;
9147
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 );
9148
if (!SWIG_IsOK(res1)) {
9149
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9151
arg1 = reinterpret_cast< wxFont * >(argp1);
9153
PyThreadState* __tstate = wxPyBeginAllowThreads();
9154
result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
9155
wxPyEndAllowThreads(__tstate);
9156
if (PyErr_Occurred()) SWIG_fail;
9158
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 );
9165
SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9167
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9168
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj));
9169
return SWIG_Py_Void();
9172
SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9173
return SWIG_Python_InitShadowInstance(args);
9176
SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9177
PyObject *resultobj = 0;
9178
wxWindow *arg1 = (wxWindow *) 0 ;
9179
int arg2 = (int) 0 ;
9180
wxHtmlWidgetCell *result = 0 ;
9185
PyObject * obj0 = 0 ;
9186
PyObject * obj1 = 0 ;
9187
char * kwnames[] = {
9188
(char *) "wnd",(char *) "w", NULL
9191
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail;
9192
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9193
if (!SWIG_IsOK(res1)) {
9194
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9196
arg1 = reinterpret_cast< wxWindow * >(argp1);
9198
ecode2 = SWIG_AsVal_int(obj1, &val2);
9199
if (!SWIG_IsOK(ecode2)) {
9200
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9202
arg2 = static_cast< int >(val2);
9205
PyThreadState* __tstate = wxPyBeginAllowThreads();
9206
result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
9207
wxPyEndAllowThreads(__tstate);
9208
if (PyErr_Occurred()) SWIG_fail;
9210
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 );
9217
SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9219
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9220
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj));
9221
return SWIG_Py_Void();
9224
SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9225
return SWIG_Python_InitShadowInstance(args);
9228
SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9229
PyObject *resultobj = 0;
9230
wxPyHtmlFilter *result = 0 ;
9232
if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail;
9234
PyThreadState* __tstate = wxPyBeginAllowThreads();
9235
result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
9236
wxPyEndAllowThreads(__tstate);
9237
if (PyErr_Occurred()) SWIG_fail;
9239
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 );
9246
SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9247
PyObject *resultobj = 0;
9248
wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
9249
PyObject *arg2 = (PyObject *) 0 ;
9250
PyObject *arg3 = (PyObject *) 0 ;
9253
PyObject * obj0 = 0 ;
9254
PyObject * obj1 = 0 ;
9255
PyObject * obj2 = 0 ;
9256
char * kwnames[] = {
9257
(char *) "self",(char *) "self",(char *) "_class", NULL
9260
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9261
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
9262
if (!SWIG_IsOK(res1)) {
9263
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9265
arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
9269
PyThreadState* __tstate = wxPyBeginAllowThreads();
9270
(arg1)->_setCallbackInfo(arg2,arg3);
9271
wxPyEndAllowThreads(__tstate);
9272
if (PyErr_Occurred()) SWIG_fail;
9274
resultobj = SWIG_Py_Void();
9281
SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9283
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9284
SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj));
9285
return SWIG_Py_Void();
9288
SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9289
return SWIG_Python_InitShadowInstance(args);
9292
SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9293
PyObject *resultobj = 0;
9294
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9297
PyObject *swig_obj[1] ;
9299
if (!args) SWIG_fail;
9301
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN | 0 );
9302
if (!SWIG_IsOK(res1)) {
9303
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9305
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9307
PyThreadState* __tstate = wxPyBeginAllowThreads();
9310
wxPyEndAllowThreads(__tstate);
9311
if (PyErr_Occurred()) SWIG_fail;
9313
resultobj = SWIG_Py_Void();
9320
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9321
PyObject *resultobj = 0;
9322
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9323
wxString *arg2 = 0 ;
9326
bool temp2 = false ;
9327
PyObject * obj0 = 0 ;
9328
PyObject * obj1 = 0 ;
9329
char * kwnames[] = {
9330
(char *) "self",(char *) "title", NULL
9333
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail;
9334
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9335
if (!SWIG_IsOK(res1)) {
9336
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9338
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9340
arg2 = wxString_in_helper(obj1);
9341
if (arg2 == NULL) SWIG_fail;
9345
PyThreadState* __tstate = wxPyBeginAllowThreads();
9346
(arg1)->SetHTMLWindowTitle((wxString const &)*arg2);
9347
wxPyEndAllowThreads(__tstate);
9348
if (PyErr_Occurred()) SWIG_fail;
9350
resultobj = SWIG_Py_Void();
9365
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9366
PyObject *resultobj = 0;
9367
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9368
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
9376
PyObject * obj0 = 0 ;
9377
PyObject * obj1 = 0 ;
9378
PyObject * obj2 = 0 ;
9379
char * kwnames[] = {
9380
(char *) "self",(char *) "cell",(char *) "pos", NULL
9383
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9384
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9385
if (!SWIG_IsOK(res1)) {
9386
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9388
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9389
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
9390
if (!SWIG_IsOK(res2)) {
9391
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9393
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
9396
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9399
PyThreadState* __tstate = wxPyBeginAllowThreads();
9400
result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3);
9401
wxPyEndAllowThreads(__tstate);
9402
if (PyErr_Occurred()) SWIG_fail;
9404
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
9411
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9412
PyObject *resultobj = 0;
9413
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9414
wxWindow *result = 0 ;
9417
PyObject *swig_obj[1] ;
9419
if (!args) SWIG_fail;
9421
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9422
if (!SWIG_IsOK(res1)) {
9423
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9425
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9427
PyThreadState* __tstate = wxPyBeginAllowThreads();
9428
result = (wxWindow *)(arg1)->GetHTMLWindow();
9429
wxPyEndAllowThreads(__tstate);
9430
if (PyErr_Occurred()) SWIG_fail;
9433
resultobj = wxPyMake_wxObject(result, 0);
9441
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9442
PyObject *resultobj = 0;
9443
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9447
PyObject *swig_obj[1] ;
9449
if (!args) SWIG_fail;
9451
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9452
if (!SWIG_IsOK(res1)) {
9453
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9455
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9457
PyThreadState* __tstate = wxPyBeginAllowThreads();
9458
result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour();
9459
wxPyEndAllowThreads(__tstate);
9460
if (PyErr_Occurred()) SWIG_fail;
9462
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9469
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9470
PyObject *resultobj = 0;
9471
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9472
wxColour *arg2 = 0 ;
9476
PyObject * obj0 = 0 ;
9477
PyObject * obj1 = 0 ;
9478
char * kwnames[] = {
9479
(char *) "self",(char *) "clr", NULL
9482
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
9483
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9484
if (!SWIG_IsOK(res1)) {
9485
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9487
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9490
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9493
PyThreadState* __tstate = wxPyBeginAllowThreads();
9494
(arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2);
9495
wxPyEndAllowThreads(__tstate);
9496
if (PyErr_Occurred()) SWIG_fail;
9498
resultobj = SWIG_Py_Void();
9505
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9506
PyObject *resultobj = 0;
9507
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9508
wxBitmap *arg2 = 0 ;
9513
PyObject * obj0 = 0 ;
9514
PyObject * obj1 = 0 ;
9515
char * kwnames[] = {
9516
(char *) "self",(char *) "bmpBg", NULL
9519
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
9520
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9521
if (!SWIG_IsOK(res1)) {
9522
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9524
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9525
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
9526
if (!SWIG_IsOK(res2)) {
9527
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9530
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9532
arg2 = reinterpret_cast< wxBitmap * >(argp2);
9534
PyThreadState* __tstate = wxPyBeginAllowThreads();
9535
(arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2);
9536
wxPyEndAllowThreads(__tstate);
9537
if (PyErr_Occurred()) SWIG_fail;
9539
resultobj = SWIG_Py_Void();
9546
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9547
PyObject *resultobj = 0;
9548
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9549
wxString *arg2 = 0 ;
9552
bool temp2 = false ;
9553
PyObject * obj0 = 0 ;
9554
PyObject * obj1 = 0 ;
9555
char * kwnames[] = {
9556
(char *) "self",(char *) "text", NULL
9559
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9560
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9561
if (!SWIG_IsOK(res1)) {
9562
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9564
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9566
arg2 = wxString_in_helper(obj1);
9567
if (arg2 == NULL) SWIG_fail;
9571
PyThreadState* __tstate = wxPyBeginAllowThreads();
9572
(arg1)->SetHTMLStatusText((wxString const &)*arg2);
9573
wxPyEndAllowThreads(__tstate);
9574
if (PyErr_Occurred()) SWIG_fail;
9576
resultobj = SWIG_Py_Void();
9591
SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9593
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9594
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj));
9595
return SWIG_Py_Void();
9598
SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9599
PyObject *resultobj = 0;
9600
wxWindow *arg1 = (wxWindow *) 0 ;
9601
int arg2 = (int) -1 ;
9602
wxPoint const &arg3_defvalue = wxDefaultPosition ;
9603
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9604
wxSize const &arg4_defvalue = wxDefaultSize ;
9605
wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9606
int arg5 = (int) wxHW_DEFAULT_STYLE ;
9607
wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
9608
wxString *arg6 = (wxString *) &arg6_defvalue ;
9609
wxPyHtmlWindow *result = 0 ;
9618
bool temp6 = false ;
9619
PyObject * obj0 = 0 ;
9620
PyObject * obj1 = 0 ;
9621
PyObject * obj2 = 0 ;
9622
PyObject * obj3 = 0 ;
9623
PyObject * obj4 = 0 ;
9624
PyObject * obj5 = 0 ;
9625
char * kwnames[] = {
9626
(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9629
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9630
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9631
if (!SWIG_IsOK(res1)) {
9632
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9634
arg1 = reinterpret_cast< wxWindow * >(argp1);
9636
ecode2 = SWIG_AsVal_int(obj1, &val2);
9637
if (!SWIG_IsOK(ecode2)) {
9638
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9640
arg2 = static_cast< int >(val2);
9645
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9651
if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9655
ecode5 = SWIG_AsVal_int(obj4, &val5);
9656
if (!SWIG_IsOK(ecode5)) {
9657
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9659
arg5 = static_cast< int >(val5);
9663
arg6 = wxString_in_helper(obj5);
9664
if (arg6 == NULL) SWIG_fail;
9669
if (!wxPyCheckForApp()) SWIG_fail;
9670
PyThreadState* __tstate = wxPyBeginAllowThreads();
9671
result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9672
wxPyEndAllowThreads(__tstate);
9673
if (PyErr_Occurred()) SWIG_fail;
9675
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 );
9690
SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9691
PyObject *resultobj = 0;
9692
wxPyHtmlWindow *result = 0 ;
9694
if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail;
9696
if (!wxPyCheckForApp()) SWIG_fail;
9697
PyThreadState* __tstate = wxPyBeginAllowThreads();
9698
result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
9699
wxPyEndAllowThreads(__tstate);
9700
if (PyErr_Occurred()) SWIG_fail;
9702
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 );
9709
SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9710
PyObject *resultobj = 0;
9711
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9712
wxWindow *arg2 = (wxWindow *) 0 ;
9713
int arg3 = (int) -1 ;
9714
wxPoint const &arg4_defvalue = wxDefaultPosition ;
9715
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9716
wxSize const &arg5_defvalue = wxDefaultSize ;
9717
wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9718
int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
9719
wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
9720
wxString *arg7 = (wxString *) &arg7_defvalue ;
9732
bool temp7 = false ;
9733
PyObject * obj0 = 0 ;
9734
PyObject * obj1 = 0 ;
9735
PyObject * obj2 = 0 ;
9736
PyObject * obj3 = 0 ;
9737
PyObject * obj4 = 0 ;
9738
PyObject * obj5 = 0 ;
9739
PyObject * obj6 = 0 ;
9740
char * kwnames[] = {
9741
(char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9744
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9745
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9746
if (!SWIG_IsOK(res1)) {
9747
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9749
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9750
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9751
if (!SWIG_IsOK(res2)) {
9752
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9754
arg2 = reinterpret_cast< wxWindow * >(argp2);
9756
ecode3 = SWIG_AsVal_int(obj2, &val3);
9757
if (!SWIG_IsOK(ecode3)) {
9758
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9760
arg3 = static_cast< int >(val3);
9765
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9771
if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9775
ecode6 = SWIG_AsVal_int(obj5, &val6);
9776
if (!SWIG_IsOK(ecode6)) {
9777
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9779
arg6 = static_cast< int >(val6);
9783
arg7 = wxString_in_helper(obj6);
9784
if (arg7 == NULL) SWIG_fail;
9789
PyThreadState* __tstate = wxPyBeginAllowThreads();
9790
result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9791
wxPyEndAllowThreads(__tstate);
9792
if (PyErr_Occurred()) SWIG_fail;
9795
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9811
SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9812
PyObject *resultobj = 0;
9813
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9814
PyObject *arg2 = (PyObject *) 0 ;
9815
PyObject *arg3 = (PyObject *) 0 ;
9818
PyObject * obj0 = 0 ;
9819
PyObject * obj1 = 0 ;
9820
PyObject * obj2 = 0 ;
9821
char * kwnames[] = {
9822
(char *) "self",(char *) "self",(char *) "_class", NULL
9825
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9826
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9827
if (!SWIG_IsOK(res1)) {
9828
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9830
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9834
PyThreadState* __tstate = wxPyBeginAllowThreads();
9835
(arg1)->_setCallbackInfo(arg2,arg3);
9836
wxPyEndAllowThreads(__tstate);
9837
if (PyErr_Occurred()) SWIG_fail;
9839
resultobj = SWIG_Py_Void();
9846
SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9847
PyObject *resultobj = 0;
9848
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9849
wxString *arg2 = 0 ;
9853
bool temp2 = false ;
9854
PyObject * obj0 = 0 ;
9855
PyObject * obj1 = 0 ;
9856
char * kwnames[] = {
9857
(char *) "self",(char *) "source", NULL
9860
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail;
9861
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9862
if (!SWIG_IsOK(res1)) {
9863
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9865
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9867
arg2 = wxString_in_helper(obj1);
9868
if (arg2 == NULL) SWIG_fail;
9872
PyThreadState* __tstate = wxPyBeginAllowThreads();
9873
result = (bool)(arg1)->SetPage((wxString const &)*arg2);
9874
wxPyEndAllowThreads(__tstate);
9875
if (PyErr_Occurred()) SWIG_fail;
9878
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9894
SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9895
PyObject *resultobj = 0;
9896
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9897
wxString *arg2 = 0 ;
9901
bool temp2 = false ;
9902
PyObject * obj0 = 0 ;
9903
PyObject * obj1 = 0 ;
9904
char * kwnames[] = {
9905
(char *) "self",(char *) "location", NULL
9908
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail;
9909
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9910
if (!SWIG_IsOK(res1)) {
9911
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9913
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9915
arg2 = wxString_in_helper(obj1);
9916
if (arg2 == NULL) SWIG_fail;
9920
PyThreadState* __tstate = wxPyBeginAllowThreads();
9921
result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
9922
wxPyEndAllowThreads(__tstate);
9923
if (PyErr_Occurred()) SWIG_fail;
9926
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9942
SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9943
PyObject *resultobj = 0;
9944
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9945
wxString *arg2 = 0 ;
9949
bool temp2 = false ;
9950
PyObject * obj0 = 0 ;
9951
PyObject * obj1 = 0 ;
9952
char * kwnames[] = {
9953
(char *) "self",(char *) "filename", NULL
9956
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
9957
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9958
if (!SWIG_IsOK(res1)) {
9959
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9961
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9963
arg2 = wxString_in_helper(obj1);
9964
if (arg2 == NULL) SWIG_fail;
9968
PyThreadState* __tstate = wxPyBeginAllowThreads();
9969
result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
9970
wxPyEndAllowThreads(__tstate);
9971
if (PyErr_Occurred()) SWIG_fail;
9974
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9990
SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9991
PyObject *resultobj = 0;
9992
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9993
wxString *arg2 = 0 ;
9997
bool temp2 = false ;
9998
PyObject * obj0 = 0 ;
9999
PyObject * obj1 = 0 ;
10000
char * kwnames[] = {
10001
(char *) "self",(char *) "source", NULL
10004
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail;
10005
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10006
if (!SWIG_IsOK(res1)) {
10007
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10009
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10011
arg2 = wxString_in_helper(obj1);
10012
if (arg2 == NULL) SWIG_fail;
10016
PyThreadState* __tstate = wxPyBeginAllowThreads();
10017
result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
10018
wxPyEndAllowThreads(__tstate);
10019
if (PyErr_Occurred()) SWIG_fail;
10022
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10038
SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(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_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10052
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10054
PyThreadState* __tstate = wxPyBeginAllowThreads();
10055
result = (arg1)->GetOpenedPage();
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_GetOpenedAnchor(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_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10086
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10088
PyThreadState* __tstate = wxPyBeginAllowThreads();
10089
result = (arg1)->GetOpenedAnchor();
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_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10107
PyObject *resultobj = 0;
10108
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10112
PyObject *swig_obj[1] ;
10114
if (!args) SWIG_fail;
10115
swig_obj[0] = args;
10116
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10117
if (!SWIG_IsOK(res1)) {
10118
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10120
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10122
PyThreadState* __tstate = wxPyBeginAllowThreads();
10123
result = (arg1)->GetOpenedPageTitle();
10124
wxPyEndAllowThreads(__tstate);
10125
if (PyErr_Occurred()) SWIG_fail;
10129
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10131
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10140
SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10141
PyObject *resultobj = 0;
10142
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10143
wxFrame *arg2 = (wxFrame *) 0 ;
10144
wxString *arg3 = 0 ;
10149
bool temp3 = false ;
10150
PyObject * obj0 = 0 ;
10151
PyObject * obj1 = 0 ;
10152
PyObject * obj2 = 0 ;
10153
char * kwnames[] = {
10154
(char *) "self",(char *) "frame",(char *) "format", NULL
10157
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10158
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10159
if (!SWIG_IsOK(res1)) {
10160
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10162
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10163
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
10164
if (!SWIG_IsOK(res2)) {
10165
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10167
arg2 = reinterpret_cast< wxFrame * >(argp2);
10169
arg3 = wxString_in_helper(obj2);
10170
if (arg3 == NULL) SWIG_fail;
10174
PyThreadState* __tstate = wxPyBeginAllowThreads();
10175
(arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
10176
wxPyEndAllowThreads(__tstate);
10177
if (PyErr_Occurred()) SWIG_fail;
10179
resultobj = SWIG_Py_Void();
10194
SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10195
PyObject *resultobj = 0;
10196
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10197
wxFrame *result = 0 ;
10200
PyObject *swig_obj[1] ;
10202
if (!args) SWIG_fail;
10203
swig_obj[0] = args;
10204
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10205
if (!SWIG_IsOK(res1)) {
10206
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10208
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10210
PyThreadState* __tstate = wxPyBeginAllowThreads();
10211
result = (wxFrame *)(arg1)->GetRelatedFrame();
10212
wxPyEndAllowThreads(__tstate);
10213
if (PyErr_Occurred()) SWIG_fail;
10216
resultobj = wxPyMake_wxObject(result, 0);
10224
SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10225
PyObject *resultobj = 0;
10226
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10232
PyObject * obj0 = 0 ;
10233
PyObject * obj1 = 0 ;
10234
char * kwnames[] = {
10235
(char *) "self",(char *) "bar", NULL
10238
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
10239
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10240
if (!SWIG_IsOK(res1)) {
10241
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10243
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10244
ecode2 = SWIG_AsVal_int(obj1, &val2);
10245
if (!SWIG_IsOK(ecode2)) {
10246
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10248
arg2 = static_cast< int >(val2);
10250
PyThreadState* __tstate = wxPyBeginAllowThreads();
10251
(arg1)->SetRelatedStatusBar(arg2);
10252
wxPyEndAllowThreads(__tstate);
10253
if (PyErr_Occurred()) SWIG_fail;
10255
resultobj = SWIG_Py_Void();
10262
SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10263
PyObject *resultobj = 0;
10264
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10267
PyObject *arg4 = (PyObject *) NULL ;
10270
PyObject * obj0 = 0 ;
10271
PyObject * obj1 = 0 ;
10272
PyObject * obj2 = 0 ;
10273
PyObject * obj3 = 0 ;
10274
char * kwnames[] = {
10275
(char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10278
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10279
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10280
if (!SWIG_IsOK(res1)) {
10281
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10283
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10285
wxString* sptr = wxString_in_helper(obj1);
10286
if (sptr == NULL) SWIG_fail;
10291
wxString* sptr = wxString_in_helper(obj2);
10292
if (sptr == NULL) SWIG_fail;
10300
PyThreadState* __tstate = wxPyBeginAllowThreads();
10301
wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
10302
wxPyEndAllowThreads(__tstate);
10303
if (PyErr_Occurred()) SWIG_fail;
10305
resultobj = SWIG_Py_Void();
10312
SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10313
PyObject *resultobj = 0;
10314
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10315
int arg2 = (int) -1 ;
10316
wxString const &arg3_defvalue = wxPyEmptyString ;
10317
wxString *arg3 = (wxString *) &arg3_defvalue ;
10318
wxString const &arg4_defvalue = wxPyEmptyString ;
10319
wxString *arg4 = (wxString *) &arg4_defvalue ;
10324
bool temp3 = false ;
10325
bool temp4 = false ;
10326
PyObject * obj0 = 0 ;
10327
PyObject * obj1 = 0 ;
10328
PyObject * obj2 = 0 ;
10329
PyObject * obj3 = 0 ;
10330
char * kwnames[] = {
10331
(char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10334
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10335
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10336
if (!SWIG_IsOK(res1)) {
10337
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10339
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10341
ecode2 = SWIG_AsVal_int(obj1, &val2);
10342
if (!SWIG_IsOK(ecode2)) {
10343
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10345
arg2 = static_cast< int >(val2);
10349
arg3 = wxString_in_helper(obj2);
10350
if (arg3 == NULL) SWIG_fail;
10356
arg4 = wxString_in_helper(obj3);
10357
if (arg4 == NULL) SWIG_fail;
10362
PyThreadState* __tstate = wxPyBeginAllowThreads();
10363
(arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10364
wxPyEndAllowThreads(__tstate);
10365
if (PyErr_Occurred()) SWIG_fail;
10367
resultobj = SWIG_Py_Void();
10390
SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10391
PyObject *resultobj = 0;
10392
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10398
PyObject * obj0 = 0 ;
10399
PyObject * obj1 = 0 ;
10400
char * kwnames[] = {
10401
(char *) "self",(char *) "b", NULL
10404
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail;
10405
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10406
if (!SWIG_IsOK(res1)) {
10407
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10409
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10410
ecode2 = SWIG_AsVal_int(obj1, &val2);
10411
if (!SWIG_IsOK(ecode2)) {
10412
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10414
arg2 = static_cast< int >(val2);
10416
PyThreadState* __tstate = wxPyBeginAllowThreads();
10417
(arg1)->SetBorders(arg2);
10418
wxPyEndAllowThreads(__tstate);
10419
if (PyErr_Occurred()) SWIG_fail;
10421
resultobj = SWIG_Py_Void();
10428
SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10429
PyObject *resultobj = 0;
10430
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10431
wxBitmap *arg2 = 0 ;
10436
PyObject * obj0 = 0 ;
10437
PyObject * obj1 = 0 ;
10438
char * kwnames[] = {
10439
(char *) "self",(char *) "bmpBg", NULL
10442
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
10443
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10444
if (!SWIG_IsOK(res1)) {
10445
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10447
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10448
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10449
if (!SWIG_IsOK(res2)) {
10450
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10453
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10455
arg2 = reinterpret_cast< wxBitmap * >(argp2);
10457
PyThreadState* __tstate = wxPyBeginAllowThreads();
10458
(arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
10459
wxPyEndAllowThreads(__tstate);
10460
if (PyErr_Occurred()) SWIG_fail;
10462
resultobj = SWIG_Py_Void();
10469
SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10470
PyObject *resultobj = 0;
10471
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10472
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10473
wxString arg3 = (wxString) wxPyEmptyString ;
10478
PyObject * obj0 = 0 ;
10479
PyObject * obj1 = 0 ;
10480
PyObject * obj2 = 0 ;
10481
char * kwnames[] = {
10482
(char *) "self",(char *) "cfg",(char *) "path", NULL
10485
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10486
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10487
if (!SWIG_IsOK(res1)) {
10488
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10490
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10491
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10492
if (!SWIG_IsOK(res2)) {
10493
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10495
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10498
wxString* sptr = wxString_in_helper(obj2);
10499
if (sptr == NULL) SWIG_fail;
10505
PyThreadState* __tstate = wxPyBeginAllowThreads();
10506
(arg1)->ReadCustomization(arg2,arg3);
10507
wxPyEndAllowThreads(__tstate);
10508
if (PyErr_Occurred()) SWIG_fail;
10510
resultobj = SWIG_Py_Void();
10517
SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10518
PyObject *resultobj = 0;
10519
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10520
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10521
wxString arg3 = (wxString) wxPyEmptyString ;
10526
PyObject * obj0 = 0 ;
10527
PyObject * obj1 = 0 ;
10528
PyObject * obj2 = 0 ;
10529
char * kwnames[] = {
10530
(char *) "self",(char *) "cfg",(char *) "path", NULL
10533
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10534
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10535
if (!SWIG_IsOK(res1)) {
10536
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10538
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10539
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10540
if (!SWIG_IsOK(res2)) {
10541
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10543
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10546
wxString* sptr = wxString_in_helper(obj2);
10547
if (sptr == NULL) SWIG_fail;
10553
PyThreadState* __tstate = wxPyBeginAllowThreads();
10554
(arg1)->WriteCustomization(arg2,arg3);
10555
wxPyEndAllowThreads(__tstate);
10556
if (PyErr_Occurred()) SWIG_fail;
10558
resultobj = SWIG_Py_Void();
10565
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10566
PyObject *resultobj = 0;
10567
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10571
PyObject *swig_obj[1] ;
10573
if (!args) SWIG_fail;
10574
swig_obj[0] = args;
10575
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10576
if (!SWIG_IsOK(res1)) {
10577
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10579
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10581
PyThreadState* __tstate = wxPyBeginAllowThreads();
10582
result = (bool)(arg1)->HistoryBack();
10583
wxPyEndAllowThreads(__tstate);
10584
if (PyErr_Occurred()) SWIG_fail;
10587
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10595
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10596
PyObject *resultobj = 0;
10597
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10601
PyObject *swig_obj[1] ;
10603
if (!args) SWIG_fail;
10604
swig_obj[0] = args;
10605
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10606
if (!SWIG_IsOK(res1)) {
10607
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10609
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10611
PyThreadState* __tstate = wxPyBeginAllowThreads();
10612
result = (bool)(arg1)->HistoryForward();
10613
wxPyEndAllowThreads(__tstate);
10614
if (PyErr_Occurred()) SWIG_fail;
10617
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10625
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10626
PyObject *resultobj = 0;
10627
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10631
PyObject *swig_obj[1] ;
10633
if (!args) SWIG_fail;
10634
swig_obj[0] = args;
10635
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10636
if (!SWIG_IsOK(res1)) {
10637
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10639
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10641
PyThreadState* __tstate = wxPyBeginAllowThreads();
10642
result = (bool)(arg1)->HistoryCanBack();
10643
wxPyEndAllowThreads(__tstate);
10644
if (PyErr_Occurred()) SWIG_fail;
10647
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10655
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10656
PyObject *resultobj = 0;
10657
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10661
PyObject *swig_obj[1] ;
10663
if (!args) SWIG_fail;
10664
swig_obj[0] = args;
10665
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10666
if (!SWIG_IsOK(res1)) {
10667
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10669
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10671
PyThreadState* __tstate = wxPyBeginAllowThreads();
10672
result = (bool)(arg1)->HistoryCanForward();
10673
wxPyEndAllowThreads(__tstate);
10674
if (PyErr_Occurred()) SWIG_fail;
10677
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10685
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10686
PyObject *resultobj = 0;
10687
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10690
PyObject *swig_obj[1] ;
10692
if (!args) SWIG_fail;
10693
swig_obj[0] = args;
10694
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10695
if (!SWIG_IsOK(res1)) {
10696
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10698
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10700
PyThreadState* __tstate = wxPyBeginAllowThreads();
10701
(arg1)->HistoryClear();
10702
wxPyEndAllowThreads(__tstate);
10703
if (PyErr_Occurred()) SWIG_fail;
10705
resultobj = SWIG_Py_Void();
10712
SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10713
PyObject *resultobj = 0;
10714
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10715
wxHtmlContainerCell *result = 0 ;
10718
PyObject *swig_obj[1] ;
10720
if (!args) SWIG_fail;
10721
swig_obj[0] = args;
10722
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10723
if (!SWIG_IsOK(res1)) {
10724
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10726
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10728
PyThreadState* __tstate = wxPyBeginAllowThreads();
10729
result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
10730
wxPyEndAllowThreads(__tstate);
10731
if (PyErr_Occurred()) SWIG_fail;
10733
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
10740
SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10741
PyObject *resultobj = 0;
10742
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10743
wxHtmlWinParser *result = 0 ;
10746
PyObject *swig_obj[1] ;
10748
if (!args) SWIG_fail;
10749
swig_obj[0] = args;
10750
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10751
if (!SWIG_IsOK(res1)) {
10752
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10754
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10756
PyThreadState* __tstate = wxPyBeginAllowThreads();
10757
result = (wxHtmlWinParser *)(arg1)->GetParser();
10758
wxPyEndAllowThreads(__tstate);
10759
if (PyErr_Occurred()) SWIG_fail;
10761
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
10768
SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10769
PyObject *resultobj = 0;
10770
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10771
wxString *arg2 = 0 ;
10775
bool temp2 = false ;
10776
PyObject * obj0 = 0 ;
10777
PyObject * obj1 = 0 ;
10778
char * kwnames[] = {
10779
(char *) "self",(char *) "anchor", NULL
10782
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10783
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10784
if (!SWIG_IsOK(res1)) {
10785
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10787
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10789
arg2 = wxString_in_helper(obj1);
10790
if (arg2 == NULL) SWIG_fail;
10794
PyThreadState* __tstate = wxPyBeginAllowThreads();
10795
result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
10796
wxPyEndAllowThreads(__tstate);
10797
if (PyErr_Occurred()) SWIG_fail;
10800
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10816
SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10817
PyObject *resultobj = 0;
10818
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10819
wxString *arg2 = 0 ;
10823
bool temp2 = false ;
10824
PyObject * obj0 = 0 ;
10825
PyObject * obj1 = 0 ;
10826
char * kwnames[] = {
10827
(char *) "self",(char *) "anchor", NULL
10830
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10831
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10832
if (!SWIG_IsOK(res1)) {
10833
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10835
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10837
arg2 = wxString_in_helper(obj1);
10838
if (arg2 == NULL) SWIG_fail;
10842
PyThreadState* __tstate = wxPyBeginAllowThreads();
10843
result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
10844
wxPyEndAllowThreads(__tstate);
10845
if (PyErr_Occurred()) SWIG_fail;
10848
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10864
SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10865
PyObject *resultobj = 0;
10866
wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
10869
PyObject * obj0 = 0 ;
10870
char * kwnames[] = {
10871
(char *) "filter", NULL
10874
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail;
10875
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
10876
if (!SWIG_IsOK(res1)) {
10877
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10879
arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
10881
PyThreadState* __tstate = wxPyBeginAllowThreads();
10882
wxPyHtmlWindow::AddFilter(arg1);
10883
wxPyEndAllowThreads(__tstate);
10884
if (PyErr_Occurred()) SWIG_fail;
10886
resultobj = SWIG_Py_Void();
10893
SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10894
PyObject *resultobj = 0;
10895
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10896
wxPoint *arg2 = 0 ;
10900
PyObject * obj0 = 0 ;
10901
PyObject * obj1 = 0 ;
10902
char * kwnames[] = {
10903
(char *) "self",(char *) "pos", NULL
10906
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail;
10907
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10908
if (!SWIG_IsOK(res1)) {
10909
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10911
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10914
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10917
PyThreadState* __tstate = wxPyBeginAllowThreads();
10918
(arg1)->SelectWord((wxPoint const &)*arg2);
10919
wxPyEndAllowThreads(__tstate);
10920
if (PyErr_Occurred()) SWIG_fail;
10922
resultobj = SWIG_Py_Void();
10929
SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10930
PyObject *resultobj = 0;
10931
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10932
wxPoint *arg2 = 0 ;
10936
PyObject * obj0 = 0 ;
10937
PyObject * obj1 = 0 ;
10938
char * kwnames[] = {
10939
(char *) "self",(char *) "pos", NULL
10942
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail;
10943
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10944
if (!SWIG_IsOK(res1)) {
10945
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10947
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10950
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10953
PyThreadState* __tstate = wxPyBeginAllowThreads();
10954
(arg1)->SelectLine((wxPoint const &)*arg2);
10955
wxPyEndAllowThreads(__tstate);
10956
if (PyErr_Occurred()) SWIG_fail;
10958
resultobj = SWIG_Py_Void();
10965
SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10966
PyObject *resultobj = 0;
10967
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10970
PyObject *swig_obj[1] ;
10972
if (!args) SWIG_fail;
10973
swig_obj[0] = args;
10974
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10975
if (!SWIG_IsOK(res1)) {
10976
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10978
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10980
PyThreadState* __tstate = wxPyBeginAllowThreads();
10981
(arg1)->SelectAll();
10982
wxPyEndAllowThreads(__tstate);
10983
if (PyErr_Occurred()) SWIG_fail;
10985
resultobj = SWIG_Py_Void();
10992
SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(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_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11006
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11008
PyThreadState* __tstate = wxPyBeginAllowThreads();
11009
result = (arg1)->SelectionToText();
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_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11027
PyObject *resultobj = 0;
11028
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11032
PyObject *swig_obj[1] ;
11034
if (!args) SWIG_fail;
11035
swig_obj[0] = args;
11036
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11037
if (!SWIG_IsOK(res1)) {
11038
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11040
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11042
PyThreadState* __tstate = wxPyBeginAllowThreads();
11043
result = (arg1)->ToText();
11044
wxPyEndAllowThreads(__tstate);
11045
if (PyErr_Occurred()) SWIG_fail;
11049
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11051
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11060
SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11061
PyObject *resultobj = 0;
11062
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11063
wxHtmlLinkInfo *arg2 = 0 ;
11068
PyObject * obj0 = 0 ;
11069
PyObject * obj1 = 0 ;
11070
char * kwnames[] = {
11071
(char *) "self",(char *) "link", NULL
11074
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
11075
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11076
if (!SWIG_IsOK(res1)) {
11077
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11079
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11080
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
11081
if (!SWIG_IsOK(res2)) {
11082
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11085
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11087
arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
11089
PyThreadState* __tstate = wxPyBeginAllowThreads();
11090
(arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
11091
wxPyEndAllowThreads(__tstate);
11092
if (PyErr_Occurred()) SWIG_fail;
11094
resultobj = SWIG_Py_Void();
11101
SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11102
PyObject *resultobj = 0;
11103
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11104
wxString *arg2 = 0 ;
11107
bool temp2 = false ;
11108
PyObject * obj0 = 0 ;
11109
PyObject * obj1 = 0 ;
11110
char * kwnames[] = {
11111
(char *) "self",(char *) "title", NULL
11114
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
11115
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11116
if (!SWIG_IsOK(res1)) {
11117
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11119
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11121
arg2 = wxString_in_helper(obj1);
11122
if (arg2 == NULL) SWIG_fail;
11126
PyThreadState* __tstate = wxPyBeginAllowThreads();
11127
(arg1)->OnSetTitle((wxString const &)*arg2);
11128
wxPyEndAllowThreads(__tstate);
11129
if (PyErr_Occurred()) SWIG_fail;
11131
resultobj = SWIG_Py_Void();
11146
SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11147
PyObject *resultobj = 0;
11148
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11149
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11160
PyObject * obj0 = 0 ;
11161
PyObject * obj1 = 0 ;
11162
PyObject * obj2 = 0 ;
11163
PyObject * obj3 = 0 ;
11164
char * kwnames[] = {
11165
(char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11168
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11169
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11170
if (!SWIG_IsOK(res1)) {
11171
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11173
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11174
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11175
if (!SWIG_IsOK(res2)) {
11176
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11178
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11179
ecode3 = SWIG_AsVal_int(obj2, &val3);
11180
if (!SWIG_IsOK(ecode3)) {
11181
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11183
arg3 = static_cast< int >(val3);
11184
ecode4 = SWIG_AsVal_int(obj3, &val4);
11185
if (!SWIG_IsOK(ecode4)) {
11186
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11188
arg4 = static_cast< int >(val4);
11190
PyThreadState* __tstate = wxPyBeginAllowThreads();
11191
(arg1)->OnCellMouseHover(arg2,arg3,arg4);
11192
wxPyEndAllowThreads(__tstate);
11193
if (PyErr_Occurred()) SWIG_fail;
11195
resultobj = SWIG_Py_Void();
11202
SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11203
PyObject *resultobj = 0;
11204
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11205
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11208
wxMouseEvent *arg5 = 0 ;
11220
PyObject * obj0 = 0 ;
11221
PyObject * obj1 = 0 ;
11222
PyObject * obj2 = 0 ;
11223
PyObject * obj3 = 0 ;
11224
PyObject * obj4 = 0 ;
11225
char * kwnames[] = {
11226
(char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11229
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11230
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11231
if (!SWIG_IsOK(res1)) {
11232
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11234
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11235
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11236
if (!SWIG_IsOK(res2)) {
11237
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11239
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11240
ecode3 = SWIG_AsVal_int(obj2, &val3);
11241
if (!SWIG_IsOK(ecode3)) {
11242
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11244
arg3 = static_cast< int >(val3);
11245
ecode4 = SWIG_AsVal_int(obj3, &val4);
11246
if (!SWIG_IsOK(ecode4)) {
11247
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11249
arg4 = static_cast< int >(val4);
11250
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0);
11251
if (!SWIG_IsOK(res5)) {
11252
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11255
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11257
arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
11259
PyThreadState* __tstate = wxPyBeginAllowThreads();
11260
result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
11261
wxPyEndAllowThreads(__tstate);
11262
if (PyErr_Occurred()) SWIG_fail;
11265
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11273
SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11274
PyObject *resultobj = 0;
11275
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11276
wxHtmlURLType arg2 ;
11277
wxString *arg3 = 0 ;
11278
wxString *arg4 = (wxString *) 0 ;
11279
wxHtmlOpeningStatus result;
11284
bool temp3 = false ;
11285
bool temp4 = false ;
11286
PyObject * obj0 = 0 ;
11287
PyObject * obj1 = 0 ;
11288
PyObject * obj2 = 0 ;
11289
PyObject * obj3 = 0 ;
11290
char * kwnames[] = {
11291
(char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11294
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11295
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11296
if (!SWIG_IsOK(res1)) {
11297
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11299
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11300
ecode2 = SWIG_AsVal_int(obj1, &val2);
11301
if (!SWIG_IsOK(ecode2)) {
11302
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11304
arg2 = static_cast< wxHtmlURLType >(val2);
11306
arg3 = wxString_in_helper(obj2);
11307
if (arg3 == NULL) SWIG_fail;
11311
arg4 = wxString_in_helper(obj3);
11312
if (arg4 == NULL) SWIG_fail;
11316
PyThreadState* __tstate = wxPyBeginAllowThreads();
11317
result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4);
11318
wxPyEndAllowThreads(__tstate);
11319
if (PyErr_Occurred()) SWIG_fail;
11321
resultobj = SWIG_From_int(static_cast< int >(result));
11344
SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11345
PyObject *resultobj = 0;
11346
wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11347
SwigValueWrapper<wxVisualAttributes > result;
11350
PyObject * obj0 = 0 ;
11351
char * kwnames[] = {
11352
(char *) "variant", NULL
11355
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
11357
ecode1 = SWIG_AsVal_int(obj0, &val1);
11358
if (!SWIG_IsOK(ecode1)) {
11359
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11361
arg1 = static_cast< wxWindowVariant >(val1);
11364
if (!wxPyCheckForApp()) SWIG_fail;
11365
PyThreadState* __tstate = wxPyBeginAllowThreads();
11366
result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
11367
wxPyEndAllowThreads(__tstate);
11368
if (PyErr_Occurred()) SWIG_fail;
11370
resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
11377
SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11378
PyObject *resultobj = 0;
11379
wxPyHtmlWindow::HTMLCursor arg1 ;
11383
PyObject * obj0 = 0 ;
11384
char * kwnames[] = {
11385
(char *) "type", NULL
11388
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail;
11389
ecode1 = SWIG_AsVal_int(obj0, &val1);
11390
if (!SWIG_IsOK(ecode1)) {
11391
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11393
arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1);
11395
PyThreadState* __tstate = wxPyBeginAllowThreads();
11396
result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1);
11397
wxPyEndAllowThreads(__tstate);
11398
if (PyErr_Occurred()) SWIG_fail;
11400
resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
11407
SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11409
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11410
SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj));
11411
return SWIG_Py_Void();
11414
SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11415
return SWIG_Python_InitShadowInstance(args);
11418
SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11419
PyObject *resultobj = 0;
11420
wxHtmlDCRenderer *result = 0 ;
11422
if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail;
11424
if (!wxPyCheckForApp()) SWIG_fail;
11425
PyThreadState* __tstate = wxPyBeginAllowThreads();
11426
result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
11427
wxPyEndAllowThreads(__tstate);
11428
if (PyErr_Occurred()) SWIG_fail;
11430
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 );
11437
SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11438
PyObject *resultobj = 0;
11439
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11442
PyObject *swig_obj[1] ;
11444
if (!args) SWIG_fail;
11445
swig_obj[0] = args;
11446
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 );
11447
if (!SWIG_IsOK(res1)) {
11448
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11450
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11452
PyThreadState* __tstate = wxPyBeginAllowThreads();
11455
wxPyEndAllowThreads(__tstate);
11456
if (PyErr_Occurred()) SWIG_fail;
11458
resultobj = SWIG_Py_Void();
11465
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11466
PyObject *resultobj = 0;
11467
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11468
wxDC *arg2 = (wxDC *) 0 ;
11476
PyObject * obj0 = 0 ;
11477
PyObject * obj1 = 0 ;
11478
PyObject * obj2 = 0 ;
11479
char * kwnames[] = {
11480
(char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11483
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11484
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11485
if (!SWIG_IsOK(res1)) {
11486
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11488
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11489
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
11490
if (!SWIG_IsOK(res2)) {
11491
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11493
arg2 = reinterpret_cast< wxDC * >(argp2);
11494
ecode3 = SWIG_AsVal_int(obj2, &val3);
11495
if (!SWIG_IsOK(ecode3)) {
11496
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11498
arg3 = static_cast< int >(val3);
11500
PyThreadState* __tstate = wxPyBeginAllowThreads();
11501
(arg1)->SetDC(arg2,arg3);
11502
wxPyEndAllowThreads(__tstate);
11503
if (PyErr_Occurred()) SWIG_fail;
11505
resultobj = SWIG_Py_Void();
11512
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11513
PyObject *resultobj = 0;
11514
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11523
PyObject * obj0 = 0 ;
11524
PyObject * obj1 = 0 ;
11525
PyObject * obj2 = 0 ;
11526
char * kwnames[] = {
11527
(char *) "self",(char *) "width",(char *) "height", NULL
11530
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11531
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11532
if (!SWIG_IsOK(res1)) {
11533
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11535
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11536
ecode2 = SWIG_AsVal_int(obj1, &val2);
11537
if (!SWIG_IsOK(ecode2)) {
11538
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11540
arg2 = static_cast< int >(val2);
11541
ecode3 = SWIG_AsVal_int(obj2, &val3);
11542
if (!SWIG_IsOK(ecode3)) {
11543
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11545
arg3 = static_cast< int >(val3);
11547
PyThreadState* __tstate = wxPyBeginAllowThreads();
11548
(arg1)->SetSize(arg2,arg3);
11549
wxPyEndAllowThreads(__tstate);
11550
if (PyErr_Occurred()) SWIG_fail;
11552
resultobj = SWIG_Py_Void();
11559
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11560
PyObject *resultobj = 0;
11561
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11562
wxString *arg2 = 0 ;
11563
wxString const &arg3_defvalue = wxPyEmptyString ;
11564
wxString *arg3 = (wxString *) &arg3_defvalue ;
11565
bool arg4 = (bool) true ;
11568
bool temp2 = false ;
11569
bool temp3 = false ;
11572
PyObject * obj0 = 0 ;
11573
PyObject * obj1 = 0 ;
11574
PyObject * obj2 = 0 ;
11575
PyObject * obj3 = 0 ;
11576
char * kwnames[] = {
11577
(char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11580
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11581
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11582
if (!SWIG_IsOK(res1)) {
11583
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11585
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11587
arg2 = wxString_in_helper(obj1);
11588
if (arg2 == NULL) SWIG_fail;
11593
arg3 = wxString_in_helper(obj2);
11594
if (arg3 == NULL) SWIG_fail;
11599
ecode4 = SWIG_AsVal_bool(obj3, &val4);
11600
if (!SWIG_IsOK(ecode4)) {
11601
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11603
arg4 = static_cast< bool >(val4);
11606
PyThreadState* __tstate = wxPyBeginAllowThreads();
11607
(arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11608
wxPyEndAllowThreads(__tstate);
11609
if (PyErr_Occurred()) SWIG_fail;
11611
resultobj = SWIG_Py_Void();
11634
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11635
PyObject *resultobj = 0;
11636
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11639
PyObject *arg4 = (PyObject *) NULL ;
11642
PyObject * obj0 = 0 ;
11643
PyObject * obj1 = 0 ;
11644
PyObject * obj2 = 0 ;
11645
PyObject * obj3 = 0 ;
11646
char * kwnames[] = {
11647
(char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11650
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11651
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11652
if (!SWIG_IsOK(res1)) {
11653
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11655
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11657
wxString* sptr = wxString_in_helper(obj1);
11658
if (sptr == NULL) SWIG_fail;
11663
wxString* sptr = wxString_in_helper(obj2);
11664
if (sptr == NULL) SWIG_fail;
11672
PyThreadState* __tstate = wxPyBeginAllowThreads();
11673
wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
11674
wxPyEndAllowThreads(__tstate);
11675
if (PyErr_Occurred()) SWIG_fail;
11677
resultobj = SWIG_Py_Void();
11684
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11685
PyObject *resultobj = 0;
11686
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11687
int arg2 = (int) -1 ;
11688
wxString const &arg3_defvalue = wxPyEmptyString ;
11689
wxString *arg3 = (wxString *) &arg3_defvalue ;
11690
wxString const &arg4_defvalue = wxPyEmptyString ;
11691
wxString *arg4 = (wxString *) &arg4_defvalue ;
11696
bool temp3 = false ;
11697
bool temp4 = false ;
11698
PyObject * obj0 = 0 ;
11699
PyObject * obj1 = 0 ;
11700
PyObject * obj2 = 0 ;
11701
PyObject * obj3 = 0 ;
11702
char * kwnames[] = {
11703
(char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11706
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11707
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11708
if (!SWIG_IsOK(res1)) {
11709
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11711
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11713
ecode2 = SWIG_AsVal_int(obj1, &val2);
11714
if (!SWIG_IsOK(ecode2)) {
11715
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11717
arg2 = static_cast< int >(val2);
11721
arg3 = wxString_in_helper(obj2);
11722
if (arg3 == NULL) SWIG_fail;
11728
arg4 = wxString_in_helper(obj3);
11729
if (arg4 == NULL) SWIG_fail;
11734
PyThreadState* __tstate = wxPyBeginAllowThreads();
11735
(arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11736
wxPyEndAllowThreads(__tstate);
11737
if (PyErr_Occurred()) SWIG_fail;
11739
resultobj = SWIG_Py_Void();
11762
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11763
PyObject *resultobj = 0;
11764
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11767
wxArrayInt *arg4 = 0 ;
11768
int arg5 = (int) 0 ;
11769
int arg6 = (int) FALSE ;
11770
int arg7 = (int) INT_MAX ;
11778
bool temp4 = false ;
11785
PyObject * obj0 = 0 ;
11786
PyObject * obj1 = 0 ;
11787
PyObject * obj2 = 0 ;
11788
PyObject * obj3 = 0 ;
11789
PyObject * obj4 = 0 ;
11790
PyObject * obj5 = 0 ;
11791
PyObject * obj6 = 0 ;
11792
char * kwnames[] = {
11793
(char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
11796
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11797
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11798
if (!SWIG_IsOK(res1)) {
11799
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11801
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11802
ecode2 = SWIG_AsVal_int(obj1, &val2);
11803
if (!SWIG_IsOK(ecode2)) {
11804
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11806
arg2 = static_cast< int >(val2);
11807
ecode3 = SWIG_AsVal_int(obj2, &val3);
11808
if (!SWIG_IsOK(ecode3)) {
11809
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11811
arg3 = static_cast< int >(val3);
11813
if (! PySequence_Check(obj3)) {
11814
PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11817
arg4 = new wxArrayInt;
11819
int i, len=PySequence_Length(obj3);
11820
for (i=0; i<len; i++) {
11821
PyObject* item = PySequence_GetItem(obj3, i);
11822
PyObject* number = PyNumber_Int(item);
11824
PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11827
arg4->Add(PyInt_AS_LONG(number));
11833
ecode5 = SWIG_AsVal_int(obj4, &val5);
11834
if (!SWIG_IsOK(ecode5)) {
11835
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11837
arg5 = static_cast< int >(val5);
11840
ecode6 = SWIG_AsVal_int(obj5, &val6);
11841
if (!SWIG_IsOK(ecode6)) {
11842
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11844
arg6 = static_cast< int >(val6);
11847
ecode7 = SWIG_AsVal_int(obj6, &val7);
11848
if (!SWIG_IsOK(ecode7)) {
11849
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
11851
arg7 = static_cast< int >(val7);
11854
PyThreadState* __tstate = wxPyBeginAllowThreads();
11855
result = (int)(arg1)->Render(arg2,arg3,*arg4,arg5,arg6,arg7);
11856
wxPyEndAllowThreads(__tstate);
11857
if (PyErr_Occurred()) SWIG_fail;
11859
resultobj = SWIG_From_int(static_cast< int >(result));
11861
if (temp4) delete arg4;
11866
if (temp4) delete arg4;
11872
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11873
PyObject *resultobj = 0;
11874
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11878
PyObject *swig_obj[1] ;
11880
if (!args) SWIG_fail;
11881
swig_obj[0] = args;
11882
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11883
if (!SWIG_IsOK(res1)) {
11884
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11886
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11888
PyThreadState* __tstate = wxPyBeginAllowThreads();
11889
result = (int)(arg1)->GetTotalHeight();
11890
wxPyEndAllowThreads(__tstate);
11891
if (PyErr_Occurred()) SWIG_fail;
11893
resultobj = SWIG_From_int(static_cast< int >(result));
11900
SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11902
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11903
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj));
11904
return SWIG_Py_Void();
11907
SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11908
return SWIG_Python_InitShadowInstance(args);
11911
SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11912
PyObject *resultobj = 0;
11913
wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
11914
wxString *arg1 = (wxString *) &arg1_defvalue ;
11915
wxHtmlPrintout *result = 0 ;
11916
bool temp1 = false ;
11917
PyObject * obj0 = 0 ;
11918
char * kwnames[] = {
11919
(char *) "title", NULL
11922
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail;
11925
arg1 = wxString_in_helper(obj0);
11926
if (arg1 == NULL) SWIG_fail;
11931
if (!wxPyCheckForApp()) SWIG_fail;
11932
PyThreadState* __tstate = wxPyBeginAllowThreads();
11933
result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
11934
wxPyEndAllowThreads(__tstate);
11935
if (PyErr_Occurred()) SWIG_fail;
11937
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 );
11952
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11953
PyObject *resultobj = 0;
11954
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11955
wxString *arg2 = 0 ;
11956
wxString const &arg3_defvalue = wxPyEmptyString ;
11957
wxString *arg3 = (wxString *) &arg3_defvalue ;
11958
bool arg4 = (bool) true ;
11961
bool temp2 = false ;
11962
bool temp3 = false ;
11965
PyObject * obj0 = 0 ;
11966
PyObject * obj1 = 0 ;
11967
PyObject * obj2 = 0 ;
11968
PyObject * obj3 = 0 ;
11969
char * kwnames[] = {
11970
(char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11973
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11974
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
11975
if (!SWIG_IsOK(res1)) {
11976
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11978
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
11980
arg2 = wxString_in_helper(obj1);
11981
if (arg2 == NULL) SWIG_fail;
11986
arg3 = wxString_in_helper(obj2);
11987
if (arg3 == NULL) SWIG_fail;
11992
ecode4 = SWIG_AsVal_bool(obj3, &val4);
11993
if (!SWIG_IsOK(ecode4)) {
11994
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11996
arg4 = static_cast< bool >(val4);
11999
PyThreadState* __tstate = wxPyBeginAllowThreads();
12000
(arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12001
wxPyEndAllowThreads(__tstate);
12002
if (PyErr_Occurred()) SWIG_fail;
12004
resultobj = SWIG_Py_Void();
12027
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12028
PyObject *resultobj = 0;
12029
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12030
wxString *arg2 = 0 ;
12033
bool temp2 = false ;
12034
PyObject * obj0 = 0 ;
12035
PyObject * obj1 = 0 ;
12036
char * kwnames[] = {
12037
(char *) "self",(char *) "htmlfile", NULL
12040
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail;
12041
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12042
if (!SWIG_IsOK(res1)) {
12043
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12045
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12047
arg2 = wxString_in_helper(obj1);
12048
if (arg2 == NULL) SWIG_fail;
12052
PyThreadState* __tstate = wxPyBeginAllowThreads();
12053
(arg1)->SetHtmlFile((wxString const &)*arg2);
12054
wxPyEndAllowThreads(__tstate);
12055
if (PyErr_Occurred()) SWIG_fail;
12057
resultobj = SWIG_Py_Void();
12072
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12073
PyObject *resultobj = 0;
12074
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12075
wxString *arg2 = 0 ;
12076
int arg3 = (int) wxPAGE_ALL ;
12079
bool temp2 = false ;
12082
PyObject * obj0 = 0 ;
12083
PyObject * obj1 = 0 ;
12084
PyObject * obj2 = 0 ;
12085
char * kwnames[] = {
12086
(char *) "self",(char *) "header",(char *) "pg", NULL
12089
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12090
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12091
if (!SWIG_IsOK(res1)) {
12092
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12094
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12096
arg2 = wxString_in_helper(obj1);
12097
if (arg2 == NULL) SWIG_fail;
12101
ecode3 = SWIG_AsVal_int(obj2, &val3);
12102
if (!SWIG_IsOK(ecode3)) {
12103
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12105
arg3 = static_cast< int >(val3);
12108
PyThreadState* __tstate = wxPyBeginAllowThreads();
12109
(arg1)->SetHeader((wxString const &)*arg2,arg3);
12110
wxPyEndAllowThreads(__tstate);
12111
if (PyErr_Occurred()) SWIG_fail;
12113
resultobj = SWIG_Py_Void();
12128
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12129
PyObject *resultobj = 0;
12130
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12131
wxString *arg2 = 0 ;
12132
int arg3 = (int) wxPAGE_ALL ;
12135
bool temp2 = false ;
12138
PyObject * obj0 = 0 ;
12139
PyObject * obj1 = 0 ;
12140
PyObject * obj2 = 0 ;
12141
char * kwnames[] = {
12142
(char *) "self",(char *) "footer",(char *) "pg", NULL
12145
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12146
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12147
if (!SWIG_IsOK(res1)) {
12148
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12150
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12152
arg2 = wxString_in_helper(obj1);
12153
if (arg2 == NULL) SWIG_fail;
12157
ecode3 = SWIG_AsVal_int(obj2, &val3);
12158
if (!SWIG_IsOK(ecode3)) {
12159
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12161
arg3 = static_cast< int >(val3);
12164
PyThreadState* __tstate = wxPyBeginAllowThreads();
12165
(arg1)->SetFooter((wxString const &)*arg2,arg3);
12166
wxPyEndAllowThreads(__tstate);
12167
if (PyErr_Occurred()) SWIG_fail;
12169
resultobj = SWIG_Py_Void();
12184
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12185
PyObject *resultobj = 0;
12186
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12189
PyObject *arg4 = (PyObject *) NULL ;
12192
PyObject * obj0 = 0 ;
12193
PyObject * obj1 = 0 ;
12194
PyObject * obj2 = 0 ;
12195
PyObject * obj3 = 0 ;
12196
char * kwnames[] = {
12197
(char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12200
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12201
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12202
if (!SWIG_IsOK(res1)) {
12203
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12205
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12207
wxString* sptr = wxString_in_helper(obj1);
12208
if (sptr == NULL) SWIG_fail;
12213
wxString* sptr = wxString_in_helper(obj2);
12214
if (sptr == NULL) SWIG_fail;
12222
PyThreadState* __tstate = wxPyBeginAllowThreads();
12223
wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
12224
wxPyEndAllowThreads(__tstate);
12225
if (PyErr_Occurred()) SWIG_fail;
12227
resultobj = SWIG_Py_Void();
12234
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12235
PyObject *resultobj = 0;
12236
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12237
int arg2 = (int) -1 ;
12238
wxString const &arg3_defvalue = wxPyEmptyString ;
12239
wxString *arg3 = (wxString *) &arg3_defvalue ;
12240
wxString const &arg4_defvalue = wxPyEmptyString ;
12241
wxString *arg4 = (wxString *) &arg4_defvalue ;
12246
bool temp3 = false ;
12247
bool temp4 = false ;
12248
PyObject * obj0 = 0 ;
12249
PyObject * obj1 = 0 ;
12250
PyObject * obj2 = 0 ;
12251
PyObject * obj3 = 0 ;
12252
char * kwnames[] = {
12253
(char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12256
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12257
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12258
if (!SWIG_IsOK(res1)) {
12259
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12261
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12263
ecode2 = SWIG_AsVal_int(obj1, &val2);
12264
if (!SWIG_IsOK(ecode2)) {
12265
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12267
arg2 = static_cast< int >(val2);
12271
arg3 = wxString_in_helper(obj2);
12272
if (arg3 == NULL) SWIG_fail;
12278
arg4 = wxString_in_helper(obj3);
12279
if (arg4 == NULL) SWIG_fail;
12284
PyThreadState* __tstate = wxPyBeginAllowThreads();
12285
(arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12286
wxPyEndAllowThreads(__tstate);
12287
if (PyErr_Occurred()) SWIG_fail;
12289
resultobj = SWIG_Py_Void();
12312
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12313
PyObject *resultobj = 0;
12314
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12315
float arg2 = (float) 25.2 ;
12316
float arg3 = (float) 25.2 ;
12317
float arg4 = (float) 25.2 ;
12318
float arg5 = (float) 25.2 ;
12319
float arg6 = (float) 5 ;
12332
PyObject * obj0 = 0 ;
12333
PyObject * obj1 = 0 ;
12334
PyObject * obj2 = 0 ;
12335
PyObject * obj3 = 0 ;
12336
PyObject * obj4 = 0 ;
12337
PyObject * obj5 = 0 ;
12338
char * kwnames[] = {
12339
(char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12342
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12343
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12344
if (!SWIG_IsOK(res1)) {
12345
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12347
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12349
ecode2 = SWIG_AsVal_float(obj1, &val2);
12350
if (!SWIG_IsOK(ecode2)) {
12351
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12353
arg2 = static_cast< float >(val2);
12356
ecode3 = SWIG_AsVal_float(obj2, &val3);
12357
if (!SWIG_IsOK(ecode3)) {
12358
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12360
arg3 = static_cast< float >(val3);
12363
ecode4 = SWIG_AsVal_float(obj3, &val4);
12364
if (!SWIG_IsOK(ecode4)) {
12365
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12367
arg4 = static_cast< float >(val4);
12370
ecode5 = SWIG_AsVal_float(obj4, &val5);
12371
if (!SWIG_IsOK(ecode5)) {
12372
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12374
arg5 = static_cast< float >(val5);
12377
ecode6 = SWIG_AsVal_float(obj5, &val6);
12378
if (!SWIG_IsOK(ecode6)) {
12379
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12381
arg6 = static_cast< float >(val6);
12384
PyThreadState* __tstate = wxPyBeginAllowThreads();
12385
(arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
12386
wxPyEndAllowThreads(__tstate);
12387
if (PyErr_Occurred()) SWIG_fail;
12389
resultobj = SWIG_Py_Void();
12396
SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12397
PyObject *resultobj = 0;
12398
wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
12401
PyObject * obj0 = 0 ;
12402
char * kwnames[] = {
12403
(char *) "filter", NULL
12406
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail;
12407
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 );
12408
if (!SWIG_IsOK(res1)) {
12409
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12411
arg1 = reinterpret_cast< wxHtmlFilter * >(argp1);
12413
PyThreadState* __tstate = wxPyBeginAllowThreads();
12414
wxHtmlPrintout::AddFilter(arg1);
12415
wxPyEndAllowThreads(__tstate);
12416
if (PyErr_Occurred()) SWIG_fail;
12418
resultobj = SWIG_Py_Void();
12425
SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12426
PyObject *resultobj = 0;
12428
if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail;
12430
PyThreadState* __tstate = wxPyBeginAllowThreads();
12431
wxHtmlPrintout::CleanUpStatics();
12432
wxPyEndAllowThreads(__tstate);
12433
if (PyErr_Occurred()) SWIG_fail;
12435
resultobj = SWIG_Py_Void();
12442
SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12444
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12445
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj));
12446
return SWIG_Py_Void();
12449
SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12450
return SWIG_Python_InitShadowInstance(args);
12453
SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12454
PyObject *resultobj = 0;
12455
wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
12456
wxString *arg1 = (wxString *) &arg1_defvalue ;
12457
wxWindow *arg2 = (wxWindow *) NULL ;
12458
wxHtmlEasyPrinting *result = 0 ;
12459
bool temp1 = false ;
12462
PyObject * obj0 = 0 ;
12463
PyObject * obj1 = 0 ;
12464
char * kwnames[] = {
12465
(char *) "name",(char *) "parentWindow", NULL
12468
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail;
12471
arg1 = wxString_in_helper(obj0);
12472
if (arg1 == NULL) SWIG_fail;
12477
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12478
if (!SWIG_IsOK(res2)) {
12479
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12481
arg2 = reinterpret_cast< wxWindow * >(argp2);
12484
if (!wxPyCheckForApp()) SWIG_fail;
12485
PyThreadState* __tstate = wxPyBeginAllowThreads();
12486
result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
12487
wxPyEndAllowThreads(__tstate);
12488
if (PyErr_Occurred()) SWIG_fail;
12490
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 );
12505
SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12506
PyObject *resultobj = 0;
12507
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12510
PyObject *swig_obj[1] ;
12512
if (!args) SWIG_fail;
12513
swig_obj[0] = args;
12514
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 );
12515
if (!SWIG_IsOK(res1)) {
12516
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12518
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12520
PyThreadState* __tstate = wxPyBeginAllowThreads();
12523
wxPyEndAllowThreads(__tstate);
12524
if (PyErr_Occurred()) SWIG_fail;
12526
resultobj = SWIG_Py_Void();
12533
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12534
PyObject *resultobj = 0;
12535
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12536
wxString *arg2 = 0 ;
12539
bool temp2 = false ;
12540
PyObject * obj0 = 0 ;
12541
PyObject * obj1 = 0 ;
12542
char * kwnames[] = {
12543
(char *) "self",(char *) "htmlfile", NULL
12546
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail;
12547
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12548
if (!SWIG_IsOK(res1)) {
12549
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12551
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12553
arg2 = wxString_in_helper(obj1);
12554
if (arg2 == NULL) SWIG_fail;
12558
PyThreadState* __tstate = wxPyBeginAllowThreads();
12559
(arg1)->PreviewFile((wxString const &)*arg2);
12560
wxPyEndAllowThreads(__tstate);
12561
if (PyErr_Occurred()) SWIG_fail;
12563
resultobj = SWIG_Py_Void();
12578
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12579
PyObject *resultobj = 0;
12580
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12581
wxString *arg2 = 0 ;
12582
wxString const &arg3_defvalue = wxPyEmptyString ;
12583
wxString *arg3 = (wxString *) &arg3_defvalue ;
12586
bool temp2 = false ;
12587
bool temp3 = false ;
12588
PyObject * obj0 = 0 ;
12589
PyObject * obj1 = 0 ;
12590
PyObject * obj2 = 0 ;
12591
char * kwnames[] = {
12592
(char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12595
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12596
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12597
if (!SWIG_IsOK(res1)) {
12598
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12600
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12602
arg2 = wxString_in_helper(obj1);
12603
if (arg2 == NULL) SWIG_fail;
12608
arg3 = wxString_in_helper(obj2);
12609
if (arg3 == NULL) SWIG_fail;
12614
PyThreadState* __tstate = wxPyBeginAllowThreads();
12615
(arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
12616
wxPyEndAllowThreads(__tstate);
12617
if (PyErr_Occurred()) SWIG_fail;
12619
resultobj = SWIG_Py_Void();
12642
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12643
PyObject *resultobj = 0;
12644
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12645
wxString *arg2 = 0 ;
12648
bool temp2 = false ;
12649
PyObject * obj0 = 0 ;
12650
PyObject * obj1 = 0 ;
12651
char * kwnames[] = {
12652
(char *) "self",(char *) "htmlfile", NULL
12655
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail;
12656
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12657
if (!SWIG_IsOK(res1)) {
12658
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12660
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12662
arg2 = wxString_in_helper(obj1);
12663
if (arg2 == NULL) SWIG_fail;
12667
PyThreadState* __tstate = wxPyBeginAllowThreads();
12668
(arg1)->PrintFile((wxString const &)*arg2);
12669
wxPyEndAllowThreads(__tstate);
12670
if (PyErr_Occurred()) SWIG_fail;
12672
resultobj = SWIG_Py_Void();
12687
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12688
PyObject *resultobj = 0;
12689
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12690
wxString *arg2 = 0 ;
12691
wxString const &arg3_defvalue = wxPyEmptyString ;
12692
wxString *arg3 = (wxString *) &arg3_defvalue ;
12695
bool temp2 = false ;
12696
bool temp3 = false ;
12697
PyObject * obj0 = 0 ;
12698
PyObject * obj1 = 0 ;
12699
PyObject * obj2 = 0 ;
12700
char * kwnames[] = {
12701
(char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12704
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12705
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12706
if (!SWIG_IsOK(res1)) {
12707
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12709
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12711
arg2 = wxString_in_helper(obj1);
12712
if (arg2 == NULL) SWIG_fail;
12717
arg3 = wxString_in_helper(obj2);
12718
if (arg3 == NULL) SWIG_fail;
12723
PyThreadState* __tstate = wxPyBeginAllowThreads();
12724
(arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
12725
wxPyEndAllowThreads(__tstate);
12726
if (PyErr_Occurred()) SWIG_fail;
12728
resultobj = SWIG_Py_Void();
12751
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12752
PyObject *resultobj = 0;
12753
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12756
PyObject *swig_obj[1] ;
12758
if (!args) SWIG_fail;
12759
swig_obj[0] = args;
12760
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12761
if (!SWIG_IsOK(res1)) {
12762
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12764
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12766
PyThreadState* __tstate = wxPyBeginAllowThreads();
12767
(arg1)->PageSetup();
12768
wxPyEndAllowThreads(__tstate);
12769
if (PyErr_Occurred()) SWIG_fail;
12771
resultobj = SWIG_Py_Void();
12778
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12779
PyObject *resultobj = 0;
12780
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12781
wxString *arg2 = 0 ;
12782
int arg3 = (int) wxPAGE_ALL ;
12785
bool temp2 = false ;
12788
PyObject * obj0 = 0 ;
12789
PyObject * obj1 = 0 ;
12790
PyObject * obj2 = 0 ;
12791
char * kwnames[] = {
12792
(char *) "self",(char *) "header",(char *) "pg", NULL
12795
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12796
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12797
if (!SWIG_IsOK(res1)) {
12798
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12800
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12802
arg2 = wxString_in_helper(obj1);
12803
if (arg2 == NULL) SWIG_fail;
12807
ecode3 = SWIG_AsVal_int(obj2, &val3);
12808
if (!SWIG_IsOK(ecode3)) {
12809
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12811
arg3 = static_cast< int >(val3);
12814
PyThreadState* __tstate = wxPyBeginAllowThreads();
12815
(arg1)->SetHeader((wxString const &)*arg2,arg3);
12816
wxPyEndAllowThreads(__tstate);
12817
if (PyErr_Occurred()) SWIG_fail;
12819
resultobj = SWIG_Py_Void();
12834
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12835
PyObject *resultobj = 0;
12836
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12837
wxString *arg2 = 0 ;
12838
int arg3 = (int) wxPAGE_ALL ;
12841
bool temp2 = false ;
12844
PyObject * obj0 = 0 ;
12845
PyObject * obj1 = 0 ;
12846
PyObject * obj2 = 0 ;
12847
char * kwnames[] = {
12848
(char *) "self",(char *) "footer",(char *) "pg", NULL
12851
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12852
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12853
if (!SWIG_IsOK(res1)) {
12854
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12856
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12858
arg2 = wxString_in_helper(obj1);
12859
if (arg2 == NULL) SWIG_fail;
12863
ecode3 = SWIG_AsVal_int(obj2, &val3);
12864
if (!SWIG_IsOK(ecode3)) {
12865
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12867
arg3 = static_cast< int >(val3);
12870
PyThreadState* __tstate = wxPyBeginAllowThreads();
12871
(arg1)->SetFooter((wxString const &)*arg2,arg3);
12872
wxPyEndAllowThreads(__tstate);
12873
if (PyErr_Occurred()) SWIG_fail;
12875
resultobj = SWIG_Py_Void();
12890
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12891
PyObject *resultobj = 0;
12892
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12895
PyObject *arg4 = (PyObject *) NULL ;
12898
PyObject * obj0 = 0 ;
12899
PyObject * obj1 = 0 ;
12900
PyObject * obj2 = 0 ;
12901
PyObject * obj3 = 0 ;
12902
char * kwnames[] = {
12903
(char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12906
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12907
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12908
if (!SWIG_IsOK(res1)) {
12909
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12911
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12913
wxString* sptr = wxString_in_helper(obj1);
12914
if (sptr == NULL) SWIG_fail;
12919
wxString* sptr = wxString_in_helper(obj2);
12920
if (sptr == NULL) SWIG_fail;
12928
PyThreadState* __tstate = wxPyBeginAllowThreads();
12929
wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
12930
wxPyEndAllowThreads(__tstate);
12931
if (PyErr_Occurred()) SWIG_fail;
12933
resultobj = SWIG_Py_Void();
12940
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12941
PyObject *resultobj = 0;
12942
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12943
int arg2 = (int) -1 ;
12944
wxString const &arg3_defvalue = wxPyEmptyString ;
12945
wxString *arg3 = (wxString *) &arg3_defvalue ;
12946
wxString const &arg4_defvalue = wxPyEmptyString ;
12947
wxString *arg4 = (wxString *) &arg4_defvalue ;
12952
bool temp3 = false ;
12953
bool temp4 = false ;
12954
PyObject * obj0 = 0 ;
12955
PyObject * obj1 = 0 ;
12956
PyObject * obj2 = 0 ;
12957
PyObject * obj3 = 0 ;
12958
char * kwnames[] = {
12959
(char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12962
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12963
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12964
if (!SWIG_IsOK(res1)) {
12965
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12967
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12969
ecode2 = SWIG_AsVal_int(obj1, &val2);
12970
if (!SWIG_IsOK(ecode2)) {
12971
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12973
arg2 = static_cast< int >(val2);
12977
arg3 = wxString_in_helper(obj2);
12978
if (arg3 == NULL) SWIG_fail;
12984
arg4 = wxString_in_helper(obj3);
12985
if (arg4 == NULL) SWIG_fail;
12990
PyThreadState* __tstate = wxPyBeginAllowThreads();
12991
(arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12992
wxPyEndAllowThreads(__tstate);
12993
if (PyErr_Occurred()) SWIG_fail;
12995
resultobj = SWIG_Py_Void();
13018
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13019
PyObject *resultobj = 0;
13020
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
13021
wxPrintData *result = 0 ;
13024
PyObject *swig_obj[1] ;
13026
if (!args) SWIG_fail;
13027
swig_obj[0] = args;
13028
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
13029
if (!SWIG_IsOK(res1)) {
13030
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13032
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
13034
PyThreadState* __tstate = wxPyBeginAllowThreads();
13035
result = (wxPrintData *)(arg1)->GetPrintData();
13036
wxPyEndAllowThreads(__tstate);
13037
if (PyErr_Occurred()) SWIG_fail;
13039
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
13046
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13047
PyObject *resultobj = 0;
13048
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
13049
wxPageSetupDialogData *result = 0 ;
13052
PyObject *swig_obj[1] ;
13054
if (!args) SWIG_fail;
13055
swig_obj[0] = args;
13056
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
13057
if (!SWIG_IsOK(res1)) {
13058
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13060
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
13062
PyThreadState* __tstate = wxPyBeginAllowThreads();
13063
result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
13064
wxPyEndAllowThreads(__tstate);
13065
if (PyErr_Occurred()) SWIG_fail;
13067
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
13074
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13075
PyObject *resultobj = 0;
13076
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
13077
wxWindow *result = 0 ;
13080
PyObject *swig_obj[1] ;
13082
if (!args) SWIG_fail;
13083
swig_obj[0] = args;
13084
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
13085
if (!SWIG_IsOK(res1)) {
13086
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetParentWindow" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting const *""'");
13088
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
13090
PyThreadState* __tstate = wxPyBeginAllowThreads();
13091
result = (wxWindow *)((wxHtmlEasyPrinting const *)arg1)->GetParentWindow();
13092
wxPyEndAllowThreads(__tstate);
13093
if (PyErr_Occurred()) SWIG_fail;
13096
resultobj = wxPyMake_wxObject(result, 0);
13104
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13105
PyObject *resultobj = 0;
13106
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
13107
wxWindow *arg2 = (wxWindow *) 0 ;
13112
PyObject * obj0 = 0 ;
13113
PyObject * obj1 = 0 ;
13114
char * kwnames[] = {
13115
(char *) "self",(char *) "window", NULL
13118
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13119
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
13120
if (!SWIG_IsOK(res1)) {
13121
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetParentWindow" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13123
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
13124
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13125
if (!SWIG_IsOK(res2)) {
13126
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlEasyPrinting_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13128
arg2 = reinterpret_cast< wxWindow * >(argp2);
13130
PyThreadState* __tstate = wxPyBeginAllowThreads();
13131
(arg1)->SetParentWindow(arg2);
13132
wxPyEndAllowThreads(__tstate);
13133
if (PyErr_Occurred()) SWIG_fail;
13135
resultobj = SWIG_Py_Void();
13142
SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13144
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13145
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj));
13146
return SWIG_Py_Void();
13149
SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13150
return SWIG_Python_InitShadowInstance(args);
13153
SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13154
PyObject *resultobj = 0;
13155
wxString *arg1 = 0 ;
13156
wxString *arg2 = 0 ;
13157
wxString *arg3 = 0 ;
13158
wxString *arg4 = 0 ;
13159
wxHtmlBookRecord *result = 0 ;
13160
bool temp1 = false ;
13161
bool temp2 = false ;
13162
bool temp3 = false ;
13163
bool temp4 = false ;
13164
PyObject * obj0 = 0 ;
13165
PyObject * obj1 = 0 ;
13166
PyObject * obj2 = 0 ;
13167
PyObject * obj3 = 0 ;
13168
char * kwnames[] = {
13169
(char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13172
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13174
arg1 = wxString_in_helper(obj0);
13175
if (arg1 == NULL) SWIG_fail;
13179
arg2 = wxString_in_helper(obj1);
13180
if (arg2 == NULL) SWIG_fail;
13184
arg3 = wxString_in_helper(obj2);
13185
if (arg3 == NULL) SWIG_fail;
13189
arg4 = wxString_in_helper(obj3);
13190
if (arg4 == NULL) SWIG_fail;
13194
PyThreadState* __tstate = wxPyBeginAllowThreads();
13195
result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
13196
wxPyEndAllowThreads(__tstate);
13197
if (PyErr_Occurred()) SWIG_fail;
13199
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 );
13238
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13239
PyObject *resultobj = 0;
13240
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13244
PyObject *swig_obj[1] ;
13246
if (!args) SWIG_fail;
13247
swig_obj[0] = args;
13248
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13249
if (!SWIG_IsOK(res1)) {
13250
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13252
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13254
PyThreadState* __tstate = wxPyBeginAllowThreads();
13255
result = (arg1)->GetBookFile();
13256
wxPyEndAllowThreads(__tstate);
13257
if (PyErr_Occurred()) SWIG_fail;
13261
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13263
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13272
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13273
PyObject *resultobj = 0;
13274
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13278
PyObject *swig_obj[1] ;
13280
if (!args) SWIG_fail;
13281
swig_obj[0] = args;
13282
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13283
if (!SWIG_IsOK(res1)) {
13284
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13286
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13288
PyThreadState* __tstate = wxPyBeginAllowThreads();
13289
result = (arg1)->GetTitle();
13290
wxPyEndAllowThreads(__tstate);
13291
if (PyErr_Occurred()) SWIG_fail;
13295
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13297
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13306
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13307
PyObject *resultobj = 0;
13308
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13312
PyObject *swig_obj[1] ;
13314
if (!args) SWIG_fail;
13315
swig_obj[0] = args;
13316
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13317
if (!SWIG_IsOK(res1)) {
13318
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13320
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13322
PyThreadState* __tstate = wxPyBeginAllowThreads();
13323
result = (arg1)->GetStart();
13324
wxPyEndAllowThreads(__tstate);
13325
if (PyErr_Occurred()) SWIG_fail;
13329
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13331
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13340
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13341
PyObject *resultobj = 0;
13342
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13346
PyObject *swig_obj[1] ;
13348
if (!args) SWIG_fail;
13349
swig_obj[0] = args;
13350
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13351
if (!SWIG_IsOK(res1)) {
13352
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13354
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13356
PyThreadState* __tstate = wxPyBeginAllowThreads();
13357
result = (arg1)->GetBasePath();
13358
wxPyEndAllowThreads(__tstate);
13359
if (PyErr_Occurred()) SWIG_fail;
13363
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13365
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13374
SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13375
PyObject *resultobj = 0;
13376
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13385
PyObject * obj0 = 0 ;
13386
PyObject * obj1 = 0 ;
13387
PyObject * obj2 = 0 ;
13388
char * kwnames[] = {
13389
(char *) "self",(char *) "start",(char *) "end", NULL
13392
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13393
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13394
if (!SWIG_IsOK(res1)) {
13395
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13397
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13398
ecode2 = SWIG_AsVal_int(obj1, &val2);
13399
if (!SWIG_IsOK(ecode2)) {
13400
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13402
arg2 = static_cast< int >(val2);
13403
ecode3 = SWIG_AsVal_int(obj2, &val3);
13404
if (!SWIG_IsOK(ecode3)) {
13405
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13407
arg3 = static_cast< int >(val3);
13409
PyThreadState* __tstate = wxPyBeginAllowThreads();
13410
(arg1)->SetContentsRange(arg2,arg3);
13411
wxPyEndAllowThreads(__tstate);
13412
if (PyErr_Occurred()) SWIG_fail;
13414
resultobj = SWIG_Py_Void();
13421
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13422
PyObject *resultobj = 0;
13423
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13427
PyObject *swig_obj[1] ;
13429
if (!args) SWIG_fail;
13430
swig_obj[0] = args;
13431
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13432
if (!SWIG_IsOK(res1)) {
13433
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13435
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13437
PyThreadState* __tstate = wxPyBeginAllowThreads();
13438
result = (int)(arg1)->GetContentsStart();
13439
wxPyEndAllowThreads(__tstate);
13440
if (PyErr_Occurred()) SWIG_fail;
13442
resultobj = SWIG_From_int(static_cast< int >(result));
13449
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13450
PyObject *resultobj = 0;
13451
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13455
PyObject *swig_obj[1] ;
13457
if (!args) SWIG_fail;
13458
swig_obj[0] = args;
13459
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13460
if (!SWIG_IsOK(res1)) {
13461
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13463
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13465
PyThreadState* __tstate = wxPyBeginAllowThreads();
13466
result = (int)(arg1)->GetContentsEnd();
13467
wxPyEndAllowThreads(__tstate);
13468
if (PyErr_Occurred()) SWIG_fail;
13470
resultobj = SWIG_From_int(static_cast< int >(result));
13477
SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13478
PyObject *resultobj = 0;
13479
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13480
wxString *arg2 = 0 ;
13483
bool temp2 = false ;
13484
PyObject * obj0 = 0 ;
13485
PyObject * obj1 = 0 ;
13486
char * kwnames[] = {
13487
(char *) "self",(char *) "title", NULL
13490
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
13491
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13492
if (!SWIG_IsOK(res1)) {
13493
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13495
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13497
arg2 = wxString_in_helper(obj1);
13498
if (arg2 == NULL) SWIG_fail;
13502
PyThreadState* __tstate = wxPyBeginAllowThreads();
13503
(arg1)->SetTitle((wxString const &)*arg2);
13504
wxPyEndAllowThreads(__tstate);
13505
if (PyErr_Occurred()) SWIG_fail;
13507
resultobj = SWIG_Py_Void();
13522
SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13523
PyObject *resultobj = 0;
13524
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13525
wxString *arg2 = 0 ;
13528
bool temp2 = false ;
13529
PyObject * obj0 = 0 ;
13530
PyObject * obj1 = 0 ;
13531
char * kwnames[] = {
13532
(char *) "self",(char *) "path", NULL
13535
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail;
13536
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13537
if (!SWIG_IsOK(res1)) {
13538
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13540
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13542
arg2 = wxString_in_helper(obj1);
13543
if (arg2 == NULL) SWIG_fail;
13547
PyThreadState* __tstate = wxPyBeginAllowThreads();
13548
(arg1)->SetBasePath((wxString const &)*arg2);
13549
wxPyEndAllowThreads(__tstate);
13550
if (PyErr_Occurred()) SWIG_fail;
13552
resultobj = SWIG_Py_Void();
13567
SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13568
PyObject *resultobj = 0;
13569
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13570
wxString *arg2 = 0 ;
13573
bool temp2 = false ;
13574
PyObject * obj0 = 0 ;
13575
PyObject * obj1 = 0 ;
13576
char * kwnames[] = {
13577
(char *) "self",(char *) "start", NULL
13580
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail;
13581
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13582
if (!SWIG_IsOK(res1)) {
13583
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13585
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13587
arg2 = wxString_in_helper(obj1);
13588
if (arg2 == NULL) SWIG_fail;
13592
PyThreadState* __tstate = wxPyBeginAllowThreads();
13593
(arg1)->SetStart((wxString const &)*arg2);
13594
wxPyEndAllowThreads(__tstate);
13595
if (PyErr_Occurred()) SWIG_fail;
13597
resultobj = SWIG_Py_Void();
13612
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13613
PyObject *resultobj = 0;
13614
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13615
wxString *arg2 = 0 ;
13619
bool temp2 = false ;
13620
PyObject * obj0 = 0 ;
13621
PyObject * obj1 = 0 ;
13622
char * kwnames[] = {
13623
(char *) "self",(char *) "page", NULL
13626
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail;
13627
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13628
if (!SWIG_IsOK(res1)) {
13629
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13631
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13633
arg2 = wxString_in_helper(obj1);
13634
if (arg2 == NULL) SWIG_fail;
13638
PyThreadState* __tstate = wxPyBeginAllowThreads();
13639
result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
13640
wxPyEndAllowThreads(__tstate);
13641
if (PyErr_Occurred()) SWIG_fail;
13645
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13647
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13664
SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13666
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13667
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj));
13668
return SWIG_Py_Void();
13671
SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13672
return SWIG_Python_InitShadowInstance(args);
13675
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13676
PyObject *resultobj = 0;
13677
wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13681
PyObject *swig_obj[1] ;
13683
if (!args) SWIG_fail;
13684
swig_obj[0] = args;
13685
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13686
if (!SWIG_IsOK(res1)) {
13687
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13689
arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13691
PyThreadState* __tstate = wxPyBeginAllowThreads();
13692
result = (bool)(arg1)->Search();
13693
wxPyEndAllowThreads(__tstate);
13694
if (PyErr_Occurred()) SWIG_fail;
13697
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13705
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13706
PyObject *resultobj = 0;
13707
wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13711
PyObject *swig_obj[1] ;
13713
if (!args) SWIG_fail;
13714
swig_obj[0] = args;
13715
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13716
if (!SWIG_IsOK(res1)) {
13717
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13719
arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13721
PyThreadState* __tstate = wxPyBeginAllowThreads();
13722
result = (bool)(arg1)->IsActive();
13723
wxPyEndAllowThreads(__tstate);
13724
if (PyErr_Occurred()) SWIG_fail;
13727
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13735
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13736
PyObject *resultobj = 0;
13737
wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13741
PyObject *swig_obj[1] ;
13743
if (!args) SWIG_fail;
13744
swig_obj[0] = args;
13745
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13746
if (!SWIG_IsOK(res1)) {
13747
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13749
arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13751
PyThreadState* __tstate = wxPyBeginAllowThreads();
13752
result = (int)(arg1)->GetCurIndex();
13753
wxPyEndAllowThreads(__tstate);
13754
if (PyErr_Occurred()) SWIG_fail;
13756
resultobj = SWIG_From_int(static_cast< int >(result));
13763
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13764
PyObject *resultobj = 0;
13765
wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13769
PyObject *swig_obj[1] ;
13771
if (!args) SWIG_fail;
13772
swig_obj[0] = args;
13773
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13774
if (!SWIG_IsOK(res1)) {
13775
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13777
arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13779
PyThreadState* __tstate = wxPyBeginAllowThreads();
13780
result = (int)(arg1)->GetMaxIndex();
13781
wxPyEndAllowThreads(__tstate);
13782
if (PyErr_Occurred()) SWIG_fail;
13784
resultobj = SWIG_From_int(static_cast< int >(result));
13791
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13792
PyObject *resultobj = 0;
13793
wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13794
wxString *result = 0 ;
13797
PyObject *swig_obj[1] ;
13799
if (!args) SWIG_fail;
13800
swig_obj[0] = args;
13801
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13802
if (!SWIG_IsOK(res1)) {
13803
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13805
arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13807
PyThreadState* __tstate = wxPyBeginAllowThreads();
13809
wxString const &_result_ref = (arg1)->GetName();
13810
result = (wxString *) &_result_ref;
13812
wxPyEndAllowThreads(__tstate);
13813
if (PyErr_Occurred()) SWIG_fail;
13817
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13819
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13828
SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13830
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13831
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj));
13832
return SWIG_Py_Void();
13835
SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13836
PyObject *resultobj = 0;
13837
wxHtmlHelpData *result = 0 ;
13839
if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail;
13841
PyThreadState* __tstate = wxPyBeginAllowThreads();
13842
result = (wxHtmlHelpData *)new wxHtmlHelpData();
13843
wxPyEndAllowThreads(__tstate);
13844
if (PyErr_Occurred()) SWIG_fail;
13846
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 );
13853
SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13854
PyObject *resultobj = 0;
13855
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13858
PyObject *swig_obj[1] ;
13860
if (!args) SWIG_fail;
13861
swig_obj[0] = args;
13862
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 );
13863
if (!SWIG_IsOK(res1)) {
13864
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13866
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13868
PyThreadState* __tstate = wxPyBeginAllowThreads();
13871
wxPyEndAllowThreads(__tstate);
13872
if (PyErr_Occurred()) SWIG_fail;
13874
resultobj = SWIG_Py_Void();
13881
SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13882
PyObject *resultobj = 0;
13883
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13884
wxString *arg2 = 0 ;
13887
bool temp2 = false ;
13888
PyObject * obj0 = 0 ;
13889
PyObject * obj1 = 0 ;
13890
char * kwnames[] = {
13891
(char *) "self",(char *) "path", NULL
13894
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
13895
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13896
if (!SWIG_IsOK(res1)) {
13897
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13899
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13901
arg2 = wxString_in_helper(obj1);
13902
if (arg2 == NULL) SWIG_fail;
13906
PyThreadState* __tstate = wxPyBeginAllowThreads();
13907
(arg1)->SetTempDir((wxString const &)*arg2);
13908
wxPyEndAllowThreads(__tstate);
13909
if (PyErr_Occurred()) SWIG_fail;
13911
resultobj = SWIG_Py_Void();
13926
SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13927
PyObject *resultobj = 0;
13928
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13929
wxString *arg2 = 0 ;
13933
bool temp2 = false ;
13934
PyObject * obj0 = 0 ;
13935
PyObject * obj1 = 0 ;
13936
char * kwnames[] = {
13937
(char *) "self",(char *) "book", NULL
13940
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail;
13941
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13942
if (!SWIG_IsOK(res1)) {
13943
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13945
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13947
arg2 = wxString_in_helper(obj1);
13948
if (arg2 == NULL) SWIG_fail;
13952
PyThreadState* __tstate = wxPyBeginAllowThreads();
13953
result = (bool)(arg1)->AddBook((wxString const &)*arg2);
13954
wxPyEndAllowThreads(__tstate);
13955
if (PyErr_Occurred()) SWIG_fail;
13958
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13974
SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13975
PyObject *resultobj = 0;
13976
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13977
wxString *arg2 = 0 ;
13981
bool temp2 = false ;
13982
PyObject * obj0 = 0 ;
13983
PyObject * obj1 = 0 ;
13984
char * kwnames[] = {
13985
(char *) "self",(char *) "page", NULL
13988
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail;
13989
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13990
if (!SWIG_IsOK(res1)) {
13991
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13993
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13995
arg2 = wxString_in_helper(obj1);
13996
if (arg2 == NULL) SWIG_fail;
14000
PyThreadState* __tstate = wxPyBeginAllowThreads();
14001
result = (arg1)->FindPageByName((wxString const &)*arg2);
14002
wxPyEndAllowThreads(__tstate);
14003
if (PyErr_Occurred()) SWIG_fail;
14007
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14009
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14026
SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14027
PyObject *resultobj = 0;
14028
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
14035
PyObject * obj0 = 0 ;
14036
PyObject * obj1 = 0 ;
14037
char * kwnames[] = {
14038
(char *) "self",(char *) "id", NULL
14041
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail;
14042
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14043
if (!SWIG_IsOK(res1)) {
14044
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14046
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
14047
ecode2 = SWIG_AsVal_int(obj1, &val2);
14048
if (!SWIG_IsOK(ecode2)) {
14049
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
14051
arg2 = static_cast< int >(val2);
14053
PyThreadState* __tstate = wxPyBeginAllowThreads();
14054
result = (arg1)->FindPageById(arg2);
14055
wxPyEndAllowThreads(__tstate);
14056
if (PyErr_Occurred()) SWIG_fail;
14060
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14062
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14071
SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14072
PyObject *resultobj = 0;
14073
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
14074
wxHtmlBookRecArray *result = 0 ;
14077
PyObject *swig_obj[1] ;
14079
if (!args) SWIG_fail;
14080
swig_obj[0] = args;
14081
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14082
if (!SWIG_IsOK(res1)) {
14083
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14085
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
14087
PyThreadState* __tstate = wxPyBeginAllowThreads();
14089
wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
14090
result = (wxHtmlBookRecArray *) &_result_ref;
14092
wxPyEndAllowThreads(__tstate);
14093
if (PyErr_Occurred()) SWIG_fail;
14095
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 );
14102
SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14104
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14105
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj));
14106
return SWIG_Py_Void();
14109
SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14110
return SWIG_Python_InitShadowInstance(args);
14113
SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14114
PyObject *resultobj = 0;
14115
wxWindow *arg1 = (wxWindow *) 0 ;
14117
wxPoint const &arg3_defvalue = wxDefaultPosition ;
14118
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14119
wxSize const &arg4_defvalue = wxDefaultSize ;
14120
wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14121
int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14122
int arg6 = (int) wxHF_DEFAULT_STYLE ;
14123
wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
14124
wxHtmlHelpWindow *result = 0 ;
14137
PyObject * obj0 = 0 ;
14138
PyObject * obj1 = 0 ;
14139
PyObject * obj2 = 0 ;
14140
PyObject * obj3 = 0 ;
14141
PyObject * obj4 = 0 ;
14142
PyObject * obj5 = 0 ;
14143
PyObject * obj6 = 0 ;
14144
char * kwnames[] = {
14145
(char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14148
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14149
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14150
if (!SWIG_IsOK(res1)) {
14151
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14153
arg1 = reinterpret_cast< wxWindow * >(argp1);
14154
ecode2 = SWIG_AsVal_int(obj1, &val2);
14155
if (!SWIG_IsOK(ecode2)) {
14156
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14158
arg2 = static_cast< int >(val2);
14162
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14168
if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14172
ecode5 = SWIG_AsVal_int(obj4, &val5);
14173
if (!SWIG_IsOK(ecode5)) {
14174
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14176
arg5 = static_cast< int >(val5);
14179
ecode6 = SWIG_AsVal_int(obj5, &val6);
14180
if (!SWIG_IsOK(ecode6)) {
14181
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14183
arg6 = static_cast< int >(val6);
14186
res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14187
if (!SWIG_IsOK(res7)) {
14188
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14190
arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7);
14193
if (!wxPyCheckForApp()) SWIG_fail;
14194
PyThreadState* __tstate = wxPyBeginAllowThreads();
14195
result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
14196
wxPyEndAllowThreads(__tstate);
14197
if (PyErr_Occurred()) SWIG_fail;
14199
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 );
14206
SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14207
PyObject *resultobj = 0;
14208
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
14209
wxHtmlHelpWindow *result = 0 ;
14212
PyObject * obj0 = 0 ;
14213
char * kwnames[] = {
14214
(char *) "data", NULL
14217
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail;
14219
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14220
if (!SWIG_IsOK(res1)) {
14221
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14223
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
14226
if (!wxPyCheckForApp()) SWIG_fail;
14227
PyThreadState* __tstate = wxPyBeginAllowThreads();
14228
result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
14229
wxPyEndAllowThreads(__tstate);
14230
if (PyErr_Occurred()) SWIG_fail;
14232
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 );
14239
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14240
PyObject *resultobj = 0;
14241
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14242
wxWindow *arg2 = (wxWindow *) 0 ;
14244
wxPoint const &arg4_defvalue = wxDefaultPosition ;
14245
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14246
wxSize const &arg5_defvalue = wxDefaultSize ;
14247
wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14248
int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14249
int arg7 = (int) wxHF_DEFAULT_STYLE ;
14263
PyObject * obj0 = 0 ;
14264
PyObject * obj1 = 0 ;
14265
PyObject * obj2 = 0 ;
14266
PyObject * obj3 = 0 ;
14267
PyObject * obj4 = 0 ;
14268
PyObject * obj5 = 0 ;
14269
PyObject * obj6 = 0 ;
14270
char * kwnames[] = {
14271
(char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14274
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14275
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14276
if (!SWIG_IsOK(res1)) {
14277
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14279
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14280
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14281
if (!SWIG_IsOK(res2)) {
14282
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14284
arg2 = reinterpret_cast< wxWindow * >(argp2);
14285
ecode3 = SWIG_AsVal_int(obj2, &val3);
14286
if (!SWIG_IsOK(ecode3)) {
14287
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14289
arg3 = static_cast< int >(val3);
14293
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14299
if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14303
ecode6 = SWIG_AsVal_int(obj5, &val6);
14304
if (!SWIG_IsOK(ecode6)) {
14305
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14307
arg6 = static_cast< int >(val6);
14310
ecode7 = SWIG_AsVal_int(obj6, &val7);
14311
if (!SWIG_IsOK(ecode7)) {
14312
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14314
arg7 = static_cast< int >(val7);
14317
PyThreadState* __tstate = wxPyBeginAllowThreads();
14318
result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
14319
wxPyEndAllowThreads(__tstate);
14320
if (PyErr_Occurred()) SWIG_fail;
14323
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14331
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14332
PyObject *resultobj = 0;
14333
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14334
wxHtmlHelpData *result = 0 ;
14337
PyObject *swig_obj[1] ;
14339
if (!args) SWIG_fail;
14340
swig_obj[0] = args;
14341
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14342
if (!SWIG_IsOK(res1)) {
14343
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14345
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14347
PyThreadState* __tstate = wxPyBeginAllowThreads();
14348
result = (wxHtmlHelpData *)(arg1)->GetData();
14349
wxPyEndAllowThreads(__tstate);
14350
if (PyErr_Occurred()) SWIG_fail;
14352
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14359
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14360
PyObject *resultobj = 0;
14361
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14362
wxHtmlHelpController *result = 0 ;
14365
PyObject *swig_obj[1] ;
14367
if (!args) SWIG_fail;
14368
swig_obj[0] = args;
14369
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14370
if (!SWIG_IsOK(res1)) {
14371
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14373
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14375
PyThreadState* __tstate = wxPyBeginAllowThreads();
14376
result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
14377
wxPyEndAllowThreads(__tstate);
14378
if (PyErr_Occurred()) SWIG_fail;
14380
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
14387
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14388
PyObject *resultobj = 0;
14389
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14390
wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
14394
PyObject * obj0 = 0 ;
14395
PyObject * obj1 = 0 ;
14396
char * kwnames[] = {
14397
(char *) "self",(char *) "controller", NULL
14400
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
14401
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14402
if (!SWIG_IsOK(res1)) {
14403
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14405
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14406
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
14407
if (!SWIG_IsOK(res2)) {
14408
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14411
PyThreadState* __tstate = wxPyBeginAllowThreads();
14412
(arg1)->SetController(arg2);
14413
wxPyEndAllowThreads(__tstate);
14414
if (PyErr_Occurred()) SWIG_fail;
14416
resultobj = SWIG_Py_Void();
14423
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14424
PyObject *resultobj = 0;
14425
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14426
wxString *arg2 = 0 ;
14430
bool temp2 = false ;
14431
PyObject * obj0 = 0 ;
14432
PyObject * obj1 = 0 ;
14433
char * kwnames[] = {
14434
(char *) "self",(char *) "x", NULL
14437
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail;
14438
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14439
if (!SWIG_IsOK(res1)) {
14440
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14442
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14444
arg2 = wxString_in_helper(obj1);
14445
if (arg2 == NULL) SWIG_fail;
14449
PyThreadState* __tstate = wxPyBeginAllowThreads();
14450
result = (bool)(arg1)->Display((wxString const &)*arg2);
14451
wxPyEndAllowThreads(__tstate);
14452
if (PyErr_Occurred()) SWIG_fail;
14455
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14471
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14472
PyObject *resultobj = 0;
14473
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14480
PyObject * obj0 = 0 ;
14481
PyObject * obj1 = 0 ;
14482
char * kwnames[] = {
14483
(char *) "self",(char *) "id", NULL
14486
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
14487
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14488
if (!SWIG_IsOK(res1)) {
14489
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14491
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14492
ecode2 = SWIG_AsVal_int(obj1, &val2);
14493
if (!SWIG_IsOK(ecode2)) {
14494
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14496
arg2 = static_cast< int >(val2);
14498
PyThreadState* __tstate = wxPyBeginAllowThreads();
14499
result = (bool)(arg1)->Display(arg2);
14500
wxPyEndAllowThreads(__tstate);
14501
if (PyErr_Occurred()) SWIG_fail;
14504
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14512
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14513
PyObject *resultobj = 0;
14514
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14518
PyObject *swig_obj[1] ;
14520
if (!args) SWIG_fail;
14521
swig_obj[0] = args;
14522
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14523
if (!SWIG_IsOK(res1)) {
14524
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14526
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14528
PyThreadState* __tstate = wxPyBeginAllowThreads();
14529
result = (bool)(arg1)->DisplayContents();
14530
wxPyEndAllowThreads(__tstate);
14531
if (PyErr_Occurred()) SWIG_fail;
14534
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14542
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14543
PyObject *resultobj = 0;
14544
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14548
PyObject *swig_obj[1] ;
14550
if (!args) SWIG_fail;
14551
swig_obj[0] = args;
14552
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14553
if (!SWIG_IsOK(res1)) {
14554
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14556
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14558
PyThreadState* __tstate = wxPyBeginAllowThreads();
14559
result = (bool)(arg1)->DisplayIndex();
14560
wxPyEndAllowThreads(__tstate);
14561
if (PyErr_Occurred()) SWIG_fail;
14564
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14572
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14573
PyObject *resultobj = 0;
14574
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14575
wxString *arg2 = 0 ;
14576
wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
14580
bool temp2 = false ;
14583
PyObject * obj0 = 0 ;
14584
PyObject * obj1 = 0 ;
14585
PyObject * obj2 = 0 ;
14586
char * kwnames[] = {
14587
(char *) "self",(char *) "keyword",(char *) "mode", NULL
14590
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14591
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14592
if (!SWIG_IsOK(res1)) {
14593
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14595
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14597
arg2 = wxString_in_helper(obj1);
14598
if (arg2 == NULL) SWIG_fail;
14603
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
14604
if (!SWIG_IsOK(res3)) {
14605
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14608
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14610
wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
14612
if (SWIG_IsNewObj(res3)) delete temp;
14617
PyThreadState* __tstate = wxPyBeginAllowThreads();
14618
result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
14619
wxPyEndAllowThreads(__tstate);
14620
if (PyErr_Occurred()) SWIG_fail;
14623
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14639
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14640
PyObject *resultobj = 0;
14641
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14642
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14643
wxString const &arg3_defvalue = wxEmptyString ;
14644
wxString *arg3 = (wxString *) &arg3_defvalue ;
14649
bool temp3 = false ;
14650
PyObject * obj0 = 0 ;
14651
PyObject * obj1 = 0 ;
14652
PyObject * obj2 = 0 ;
14653
char * kwnames[] = {
14654
(char *) "self",(char *) "config",(char *) "rootpath", NULL
14657
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14658
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14659
if (!SWIG_IsOK(res1)) {
14660
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14662
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14663
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14664
if (!SWIG_IsOK(res2)) {
14665
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14667
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14670
arg3 = wxString_in_helper(obj2);
14671
if (arg3 == NULL) SWIG_fail;
14676
PyThreadState* __tstate = wxPyBeginAllowThreads();
14677
(arg1)->UseConfig(arg2,(wxString const &)*arg3);
14678
wxPyEndAllowThreads(__tstate);
14679
if (PyErr_Occurred()) SWIG_fail;
14681
resultobj = SWIG_Py_Void();
14696
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14697
PyObject *resultobj = 0;
14698
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14699
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14700
wxString const &arg3_defvalue = wxEmptyString ;
14701
wxString *arg3 = (wxString *) &arg3_defvalue ;
14706
bool temp3 = false ;
14707
PyObject * obj0 = 0 ;
14708
PyObject * obj1 = 0 ;
14709
PyObject * obj2 = 0 ;
14710
char * kwnames[] = {
14711
(char *) "self",(char *) "cfg",(char *) "path", NULL
14714
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14715
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14716
if (!SWIG_IsOK(res1)) {
14717
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14719
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14720
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14721
if (!SWIG_IsOK(res2)) {
14722
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14724
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14727
arg3 = wxString_in_helper(obj2);
14728
if (arg3 == NULL) SWIG_fail;
14733
PyThreadState* __tstate = wxPyBeginAllowThreads();
14734
(arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
14735
wxPyEndAllowThreads(__tstate);
14736
if (PyErr_Occurred()) SWIG_fail;
14738
resultobj = SWIG_Py_Void();
14753
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14754
PyObject *resultobj = 0;
14755
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14756
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14757
wxString const &arg3_defvalue = wxEmptyString ;
14758
wxString *arg3 = (wxString *) &arg3_defvalue ;
14763
bool temp3 = false ;
14764
PyObject * obj0 = 0 ;
14765
PyObject * obj1 = 0 ;
14766
PyObject * obj2 = 0 ;
14767
char * kwnames[] = {
14768
(char *) "self",(char *) "cfg",(char *) "path", NULL
14771
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14772
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14773
if (!SWIG_IsOK(res1)) {
14774
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14776
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14777
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14778
if (!SWIG_IsOK(res2)) {
14779
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14781
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14784
arg3 = wxString_in_helper(obj2);
14785
if (arg3 == NULL) SWIG_fail;
14790
PyThreadState* __tstate = wxPyBeginAllowThreads();
14791
(arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
14792
wxPyEndAllowThreads(__tstate);
14793
if (PyErr_Occurred()) SWIG_fail;
14795
resultobj = SWIG_Py_Void();
14810
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14811
PyObject *resultobj = 0;
14812
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14815
PyObject *swig_obj[1] ;
14817
if (!args) SWIG_fail;
14818
swig_obj[0] = args;
14819
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14820
if (!SWIG_IsOK(res1)) {
14821
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14823
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14825
PyThreadState* __tstate = wxPyBeginAllowThreads();
14826
(arg1)->NotifyPageChanged();
14827
wxPyEndAllowThreads(__tstate);
14828
if (PyErr_Occurred()) SWIG_fail;
14830
resultobj = SWIG_Py_Void();
14837
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14838
PyObject *resultobj = 0;
14839
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14842
PyObject *swig_obj[1] ;
14844
if (!args) SWIG_fail;
14845
swig_obj[0] = args;
14846
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14847
if (!SWIG_IsOK(res1)) {
14848
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14850
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14852
PyThreadState* __tstate = wxPyBeginAllowThreads();
14853
(arg1)->RefreshLists();
14854
wxPyEndAllowThreads(__tstate);
14855
if (PyErr_Occurred()) SWIG_fail;
14857
resultobj = SWIG_Py_Void();
14864
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14865
PyObject *resultobj = 0;
14866
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14867
wxPyHtmlWindow *result = 0 ;
14870
PyObject *swig_obj[1] ;
14872
if (!args) SWIG_fail;
14873
swig_obj[0] = args;
14874
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14875
if (!SWIG_IsOK(res1)) {
14876
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14878
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14880
PyThreadState* __tstate = wxPyBeginAllowThreads();
14881
result = (wxPyHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
14882
wxPyEndAllowThreads(__tstate);
14883
if (PyErr_Occurred()) SWIG_fail;
14886
resultobj = wxPyMake_wxObject(result, 0);
14894
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14895
PyObject *resultobj = 0;
14896
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14897
wxSplitterWindow *result = 0 ;
14900
PyObject *swig_obj[1] ;
14902
if (!args) SWIG_fail;
14903
swig_obj[0] = args;
14904
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14905
if (!SWIG_IsOK(res1)) {
14906
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14908
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14910
PyThreadState* __tstate = wxPyBeginAllowThreads();
14911
result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
14912
wxPyEndAllowThreads(__tstate);
14913
if (PyErr_Occurred()) SWIG_fail;
14915
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
14922
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14923
PyObject *resultobj = 0;
14924
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14925
wxToolBar *result = 0 ;
14928
PyObject *swig_obj[1] ;
14930
if (!args) SWIG_fail;
14931
swig_obj[0] = args;
14932
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14933
if (!SWIG_IsOK(res1)) {
14934
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14936
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14938
PyThreadState* __tstate = wxPyBeginAllowThreads();
14939
result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
14940
wxPyEndAllowThreads(__tstate);
14941
if (PyErr_Occurred()) SWIG_fail;
14944
resultobj = wxPyMake_wxObject(result, (bool)0);
14952
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14953
PyObject *resultobj = 0;
14954
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14955
wxHtmlHelpFrameCfg *result = 0 ;
14958
PyObject *swig_obj[1] ;
14960
if (!args) SWIG_fail;
14961
swig_obj[0] = args;
14962
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14963
if (!SWIG_IsOK(res1)) {
14964
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14966
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14968
PyThreadState* __tstate = wxPyBeginAllowThreads();
14970
wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
14971
result = (wxHtmlHelpFrameCfg *) &_result_ref;
14973
wxPyEndAllowThreads(__tstate);
14974
if (PyErr_Occurred()) SWIG_fail;
14976
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 );
14983
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14984
PyObject *resultobj = 0;
14985
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14986
wxPyTreeCtrl *result = 0 ;
14989
PyObject *swig_obj[1] ;
14991
if (!args) SWIG_fail;
14992
swig_obj[0] = args;
14993
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14994
if (!SWIG_IsOK(res1)) {
14995
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14997
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14999
PyThreadState* __tstate = wxPyBeginAllowThreads();
15000
result = (wxPyTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
15001
wxPyEndAllowThreads(__tstate);
15002
if (PyErr_Occurred()) SWIG_fail;
15005
resultobj = wxPyMake_wxObject(result, (bool)0);
15013
SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15015
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15016
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj));
15017
return SWIG_Py_Void();
15020
SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15021
return SWIG_Python_InitShadowInstance(args);
15024
SWIGINTERN PyObject *_wrap_new_HtmlCellEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15025
PyObject *resultobj = 0;
15028
wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
15029
wxPoint *arg4 = 0 ;
15030
wxMouseEvent *arg5 = 0 ;
15031
wxHtmlCellEvent *result = 0 ;
15041
PyObject * obj0 = 0 ;
15042
PyObject * obj1 = 0 ;
15043
PyObject * obj2 = 0 ;
15044
PyObject * obj3 = 0 ;
15045
PyObject * obj4 = 0 ;
15046
char * kwnames[] = {
15047
(char *) "commandType",(char *) "id",(char *) "cell",(char *) "pt",(char *) "ev", NULL
15050
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_HtmlCellEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15051
ecode1 = SWIG_AsVal_int(obj0, &val1);
15052
if (!SWIG_IsOK(ecode1)) {
15053
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlCellEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15055
arg1 = static_cast< wxEventType >(val1);
15056
ecode2 = SWIG_AsVal_int(obj1, &val2);
15057
if (!SWIG_IsOK(ecode2)) {
15058
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlCellEvent" "', expected argument " "2"" of type '" "int""'");
15060
arg2 = static_cast< int >(val2);
15061
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
15062
if (!SWIG_IsOK(res3)) {
15063
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_HtmlCellEvent" "', expected argument " "3"" of type '" "wxHtmlCell *""'");
15065
arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
15068
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15070
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0);
15071
if (!SWIG_IsOK(res5)) {
15072
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
15075
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
15077
arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
15079
PyThreadState* __tstate = wxPyBeginAllowThreads();
15080
result = (wxHtmlCellEvent *)new wxHtmlCellEvent(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxMouseEvent const &)*arg5);
15081
wxPyEndAllowThreads(__tstate);
15082
if (PyErr_Occurred()) SWIG_fail;
15084
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCellEvent, SWIG_POINTER_NEW | 0 );
15091
SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15092
PyObject *resultobj = 0;
15093
wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
15094
wxHtmlCell *result = 0 ;
15097
PyObject *swig_obj[1] ;
15099
if (!args) SWIG_fail;
15100
swig_obj[0] = args;
15101
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
15102
if (!SWIG_IsOK(res1)) {
15103
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetCell" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15105
arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
15107
PyThreadState* __tstate = wxPyBeginAllowThreads();
15108
result = (wxHtmlCell *)((wxHtmlCellEvent const *)arg1)->GetCell();
15109
wxPyEndAllowThreads(__tstate);
15110
if (PyErr_Occurred()) SWIG_fail;
15113
resultobj = wxPyMake_wxObject(result, 0);
15121
SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15122
PyObject *resultobj = 0;
15123
wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
15127
PyObject *swig_obj[1] ;
15129
if (!args) SWIG_fail;
15130
swig_obj[0] = args;
15131
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
15132
if (!SWIG_IsOK(res1)) {
15133
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetPoint" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15135
arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
15137
PyThreadState* __tstate = wxPyBeginAllowThreads();
15138
result = ((wxHtmlCellEvent const *)arg1)->GetPoint();
15139
wxPyEndAllowThreads(__tstate);
15140
if (PyErr_Occurred()) SWIG_fail;
15142
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15149
SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15150
PyObject *resultobj = 0;
15151
wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
15152
wxMouseEvent result;
15155
PyObject *swig_obj[1] ;
15157
if (!args) SWIG_fail;
15158
swig_obj[0] = args;
15159
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
15160
if (!SWIG_IsOK(res1)) {
15161
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15163
arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
15165
PyThreadState* __tstate = wxPyBeginAllowThreads();
15166
result = ((wxHtmlCellEvent const *)arg1)->GetMouseEvent();
15167
wxPyEndAllowThreads(__tstate);
15168
if (PyErr_Occurred()) SWIG_fail;
15170
resultobj = SWIG_NewPointerObj((new wxMouseEvent(static_cast< const wxMouseEvent& >(result))), SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_OWN | 0 );
15177
SWIGINTERN PyObject *_wrap_HtmlCellEvent_SetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15178
PyObject *resultobj = 0;
15179
wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
15185
PyObject * obj0 = 0 ;
15186
PyObject * obj1 = 0 ;
15187
char * kwnames[] = {
15188
(char *) "self",(char *) "linkclicked", NULL
15191
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCellEvent_SetLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
15192
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
15193
if (!SWIG_IsOK(res1)) {
15194
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent *""'");
15196
arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
15197
ecode2 = SWIG_AsVal_bool(obj1, &val2);
15198
if (!SWIG_IsOK(ecode2)) {
15199
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "2"" of type '" "bool""'");
15201
arg2 = static_cast< bool >(val2);
15203
PyThreadState* __tstate = wxPyBeginAllowThreads();
15204
(arg1)->SetLinkClicked(arg2);
15205
wxPyEndAllowThreads(__tstate);
15206
if (PyErr_Occurred()) SWIG_fail;
15208
resultobj = SWIG_Py_Void();
15215
SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15216
PyObject *resultobj = 0;
15217
wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
15221
PyObject *swig_obj[1] ;
15223
if (!args) SWIG_fail;
15224
swig_obj[0] = args;
15225
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
15226
if (!SWIG_IsOK(res1)) {
15227
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15229
arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
15231
PyThreadState* __tstate = wxPyBeginAllowThreads();
15232
result = (bool)((wxHtmlCellEvent const *)arg1)->GetLinkClicked();
15233
wxPyEndAllowThreads(__tstate);
15234
if (PyErr_Occurred()) SWIG_fail;
15237
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15245
SWIGINTERN PyObject *HtmlCellEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15247
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15248
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCellEvent, SWIG_NewClientData(obj));
15249
return SWIG_Py_Void();
15252
SWIGINTERN PyObject *HtmlCellEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15253
return SWIG_Python_InitShadowInstance(args);
15256
SWIGINTERN PyObject *_wrap_new_HtmlLinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15257
PyObject *resultobj = 0;
15259
wxHtmlLinkInfo *arg2 = 0 ;
15260
wxHtmlLinkEvent *result = 0 ;
15265
PyObject * obj0 = 0 ;
15266
PyObject * obj1 = 0 ;
15267
char * kwnames[] = {
15268
(char *) "id",(char *) "linkinfo", NULL
15271
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlLinkEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15272
ecode1 = SWIG_AsVal_int(obj0, &val1);
15273
if (!SWIG_IsOK(ecode1)) {
15274
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlLinkEvent" "', expected argument " "1"" of type '" "int""'");
15276
arg1 = static_cast< int >(val1);
15277
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15278
if (!SWIG_IsOK(res2)) {
15279
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
15282
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
15284
arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
15286
PyThreadState* __tstate = wxPyBeginAllowThreads();
15287
result = (wxHtmlLinkEvent *)new wxHtmlLinkEvent(arg1,(wxHtmlLinkInfo const &)*arg2);
15288
wxPyEndAllowThreads(__tstate);
15289
if (PyErr_Occurred()) SWIG_fail;
15291
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkEvent, SWIG_POINTER_NEW | 0 );
15298
SWIGINTERN PyObject *_wrap_HtmlLinkEvent_GetLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15299
PyObject *resultobj = 0;
15300
wxHtmlLinkEvent *arg1 = (wxHtmlLinkEvent *) 0 ;
15301
wxHtmlLinkInfo *result = 0 ;
15304
PyObject *swig_obj[1] ;
15306
if (!args) SWIG_fail;
15307
swig_obj[0] = args;
15308
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkEvent, 0 | 0 );
15309
if (!SWIG_IsOK(res1)) {
15310
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkEvent_GetLinkInfo" "', expected argument " "1"" of type '" "wxHtmlLinkEvent const *""'");
15312
arg1 = reinterpret_cast< wxHtmlLinkEvent * >(argp1);
15314
PyThreadState* __tstate = wxPyBeginAllowThreads();
15316
wxHtmlLinkInfo const &_result_ref = ((wxHtmlLinkEvent const *)arg1)->GetLinkInfo();
15317
result = (wxHtmlLinkInfo *) &_result_ref;
15319
wxPyEndAllowThreads(__tstate);
15320
if (PyErr_Occurred()) SWIG_fail;
15322
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
15329
SWIGINTERN PyObject *HtmlLinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15331
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15332
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkEvent, SWIG_NewClientData(obj));
15333
return SWIG_Py_Void();
15336
SWIGINTERN PyObject *HtmlLinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15337
return SWIG_Python_InitShadowInstance(args);
15340
SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15341
PyObject *resultobj = 0;
15342
wxWindow *arg1 = (wxWindow *) 0 ;
15344
wxString const &arg3_defvalue = wxPyEmptyString ;
15345
wxString *arg3 = (wxString *) &arg3_defvalue ;
15346
int arg4 = (int) wxHF_DEFAULTSTYLE ;
15347
wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15348
wxConfigBase *arg6 = (wxConfigBase *) NULL ;
15349
wxString const &arg7_defvalue = wxPyEmptyString ;
15350
wxString *arg7 = (wxString *) &arg7_defvalue ;
15351
wxHtmlHelpFrame *result = 0 ;
15356
bool temp3 = false ;
15363
bool temp7 = false ;
15364
PyObject * obj0 = 0 ;
15365
PyObject * obj1 = 0 ;
15366
PyObject * obj2 = 0 ;
15367
PyObject * obj3 = 0 ;
15368
PyObject * obj4 = 0 ;
15369
PyObject * obj5 = 0 ;
15370
PyObject * obj6 = 0 ;
15371
char * kwnames[] = {
15372
(char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data",(char *) "config",(char *) "rootpath", NULL
15375
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15376
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15377
if (!SWIG_IsOK(res1)) {
15378
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15380
arg1 = reinterpret_cast< wxWindow * >(argp1);
15381
ecode2 = SWIG_AsVal_int(obj1, &val2);
15382
if (!SWIG_IsOK(ecode2)) {
15383
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15385
arg2 = static_cast< int >(val2);
15388
arg3 = wxString_in_helper(obj2);
15389
if (arg3 == NULL) SWIG_fail;
15394
ecode4 = SWIG_AsVal_int(obj3, &val4);
15395
if (!SWIG_IsOK(ecode4)) {
15396
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15398
arg4 = static_cast< int >(val4);
15401
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15402
if (!SWIG_IsOK(res5)) {
15403
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15405
arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15408
res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 | 0 );
15409
if (!SWIG_IsOK(res6)) {
15410
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_HtmlHelpFrame" "', expected argument " "6"" of type '" "wxConfigBase *""'");
15412
arg6 = reinterpret_cast< wxConfigBase * >(argp6);
15416
arg7 = wxString_in_helper(obj6);
15417
if (arg7 == NULL) SWIG_fail;
15422
if (!wxPyCheckForApp()) SWIG_fail;
15423
PyThreadState* __tstate = wxPyBeginAllowThreads();
15424
result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxString const &)*arg7);
15425
wxPyEndAllowThreads(__tstate);
15426
if (PyErr_Occurred()) SWIG_fail;
15428
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 );
15451
SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15452
PyObject *resultobj = 0;
15453
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15454
wxHtmlHelpFrame *result = 0 ;
15457
PyObject * obj0 = 0 ;
15458
char * kwnames[] = {
15459
(char *) "data", NULL
15462
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail;
15464
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15465
if (!SWIG_IsOK(res1)) {
15466
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15468
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15471
if (!wxPyCheckForApp()) SWIG_fail;
15472
PyThreadState* __tstate = wxPyBeginAllowThreads();
15473
result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
15474
wxPyEndAllowThreads(__tstate);
15475
if (PyErr_Occurred()) SWIG_fail;
15477
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 );
15484
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15485
PyObject *resultobj = 0;
15486
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15487
wxWindow *arg2 = (wxWindow *) 0 ;
15489
wxString const &arg4_defvalue = wxPyEmptyString ;
15490
wxString *arg4 = (wxString *) &arg4_defvalue ;
15491
int arg5 = (int) wxHF_DEFAULT_STYLE ;
15492
wxConfigBase *arg6 = (wxConfigBase *) NULL ;
15493
wxString const &arg7_defvalue = wxPyEmptyString ;
15494
wxString *arg7 = (wxString *) &arg7_defvalue ;
15502
bool temp4 = false ;
15507
bool temp7 = false ;
15508
PyObject * obj0 = 0 ;
15509
PyObject * obj1 = 0 ;
15510
PyObject * obj2 = 0 ;
15511
PyObject * obj3 = 0 ;
15512
PyObject * obj4 = 0 ;
15513
PyObject * obj5 = 0 ;
15514
PyObject * obj6 = 0 ;
15515
char * kwnames[] = {
15516
(char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style",(char *) "config",(char *) "rootpath", NULL
15519
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15520
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15521
if (!SWIG_IsOK(res1)) {
15522
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15524
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15525
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15526
if (!SWIG_IsOK(res2)) {
15527
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15529
arg2 = reinterpret_cast< wxWindow * >(argp2);
15530
ecode3 = SWIG_AsVal_int(obj2, &val3);
15531
if (!SWIG_IsOK(ecode3)) {
15532
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15534
arg3 = static_cast< int >(val3);
15537
arg4 = wxString_in_helper(obj3);
15538
if (arg4 == NULL) SWIG_fail;
15543
ecode5 = SWIG_AsVal_int(obj4, &val5);
15544
if (!SWIG_IsOK(ecode5)) {
15545
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15547
arg5 = static_cast< int >(val5);
15550
res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 | 0 );
15551
if (!SWIG_IsOK(res6)) {
15552
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "HtmlHelpFrame_Create" "', expected argument " "6"" of type '" "wxConfigBase *""'");
15554
arg6 = reinterpret_cast< wxConfigBase * >(argp6);
15558
arg7 = wxString_in_helper(obj6);
15559
if (arg7 == NULL) SWIG_fail;
15564
PyThreadState* __tstate = wxPyBeginAllowThreads();
15565
result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5,arg6,(wxString const &)*arg7);
15566
wxPyEndAllowThreads(__tstate);
15567
if (PyErr_Occurred()) SWIG_fail;
15570
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15594
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15595
PyObject *resultobj = 0;
15596
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15597
wxHtmlHelpData *result = 0 ;
15600
PyObject *swig_obj[1] ;
15602
if (!args) SWIG_fail;
15603
swig_obj[0] = args;
15604
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15605
if (!SWIG_IsOK(res1)) {
15606
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15608
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15610
PyThreadState* __tstate = wxPyBeginAllowThreads();
15611
result = (wxHtmlHelpData *)(arg1)->GetData();
15612
wxPyEndAllowThreads(__tstate);
15613
if (PyErr_Occurred()) SWIG_fail;
15615
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15622
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15623
PyObject *resultobj = 0;
15624
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15625
wxString *arg2 = 0 ;
15628
bool temp2 = false ;
15629
PyObject * obj0 = 0 ;
15630
PyObject * obj1 = 0 ;
15631
char * kwnames[] = {
15632
(char *) "self",(char *) "format", NULL
15635
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15636
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15637
if (!SWIG_IsOK(res1)) {
15638
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15640
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15642
arg2 = wxString_in_helper(obj1);
15643
if (arg2 == NULL) SWIG_fail;
15647
PyThreadState* __tstate = wxPyBeginAllowThreads();
15648
(arg1)->SetTitleFormat((wxString const &)*arg2);
15649
wxPyEndAllowThreads(__tstate);
15650
if (PyErr_Occurred()) SWIG_fail;
15652
resultobj = SWIG_Py_Void();
15667
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15668
PyObject *resultobj = 0;
15669
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15672
PyObject *swig_obj[1] ;
15674
if (!args) SWIG_fail;
15675
swig_obj[0] = args;
15676
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15677
if (!SWIG_IsOK(res1)) {
15678
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15680
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15682
PyThreadState* __tstate = wxPyBeginAllowThreads();
15683
(arg1)->AddGrabIfNeeded();
15684
wxPyEndAllowThreads(__tstate);
15685
if (PyErr_Occurred()) SWIG_fail;
15687
resultobj = SWIG_Py_Void();
15694
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15695
PyObject *resultobj = 0;
15696
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15697
wxHtmlHelpController *result = 0 ;
15700
PyObject *swig_obj[1] ;
15702
if (!args) SWIG_fail;
15703
swig_obj[0] = args;
15704
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15705
if (!SWIG_IsOK(res1)) {
15706
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15708
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15710
PyThreadState* __tstate = wxPyBeginAllowThreads();
15711
result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
15712
wxPyEndAllowThreads(__tstate);
15713
if (PyErr_Occurred()) SWIG_fail;
15715
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15722
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15723
PyObject *resultobj = 0;
15724
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15725
wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15729
PyObject * obj0 = 0 ;
15730
PyObject * obj1 = 0 ;
15731
char * kwnames[] = {
15732
(char *) "self",(char *) "controller", NULL
15735
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15736
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15737
if (!SWIG_IsOK(res1)) {
15738
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15740
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15741
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15742
if (!SWIG_IsOK(res2)) {
15743
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15746
PyThreadState* __tstate = wxPyBeginAllowThreads();
15747
(arg1)->SetController(arg2);
15748
wxPyEndAllowThreads(__tstate);
15749
if (PyErr_Occurred()) SWIG_fail;
15751
resultobj = SWIG_Py_Void();
15758
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15759
PyObject *resultobj = 0;
15760
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15761
wxHtmlHelpWindow *result = 0 ;
15764
PyObject *swig_obj[1] ;
15766
if (!args) SWIG_fail;
15767
swig_obj[0] = args;
15768
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15769
if (!SWIG_IsOK(res1)) {
15770
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15772
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15774
PyThreadState* __tstate = wxPyBeginAllowThreads();
15775
result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
15776
wxPyEndAllowThreads(__tstate);
15777
if (PyErr_Occurred()) SWIG_fail;
15780
resultobj = wxPyMake_wxObject(result, 0);
15788
SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15790
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15791
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj));
15792
return SWIG_Py_Void();
15795
SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15796
return SWIG_Python_InitShadowInstance(args);
15799
SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15800
PyObject *resultobj = 0;
15801
wxWindow *arg1 = (wxWindow *) 0 ;
15803
wxString const &arg3_defvalue = wxPyEmptyString ;
15804
wxString *arg3 = (wxString *) &arg3_defvalue ;
15805
int arg4 = (int) wxHF_DEFAULT_STYLE ;
15806
wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15807
wxHtmlHelpDialog *result = 0 ;
15812
bool temp3 = false ;
15817
PyObject * obj0 = 0 ;
15818
PyObject * obj1 = 0 ;
15819
PyObject * obj2 = 0 ;
15820
PyObject * obj3 = 0 ;
15821
PyObject * obj4 = 0 ;
15822
char * kwnames[] = {
15823
(char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15826
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15827
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15828
if (!SWIG_IsOK(res1)) {
15829
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15831
arg1 = reinterpret_cast< wxWindow * >(argp1);
15832
ecode2 = SWIG_AsVal_int(obj1, &val2);
15833
if (!SWIG_IsOK(ecode2)) {
15834
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15836
arg2 = static_cast< int >(val2);
15839
arg3 = wxString_in_helper(obj2);
15840
if (arg3 == NULL) SWIG_fail;
15845
ecode4 = SWIG_AsVal_int(obj3, &val4);
15846
if (!SWIG_IsOK(ecode4)) {
15847
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15849
arg4 = static_cast< int >(val4);
15852
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15853
if (!SWIG_IsOK(res5)) {
15854
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15856
arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15859
if (!wxPyCheckForApp()) SWIG_fail;
15860
PyThreadState* __tstate = wxPyBeginAllowThreads();
15861
result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15862
wxPyEndAllowThreads(__tstate);
15863
if (PyErr_Occurred()) SWIG_fail;
15865
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 );
15880
SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15881
PyObject *resultobj = 0;
15882
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15883
wxHtmlHelpDialog *result = 0 ;
15886
PyObject * obj0 = 0 ;
15887
char * kwnames[] = {
15888
(char *) "data", NULL
15891
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail;
15893
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15894
if (!SWIG_IsOK(res1)) {
15895
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15897
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15900
if (!wxPyCheckForApp()) SWIG_fail;
15901
PyThreadState* __tstate = wxPyBeginAllowThreads();
15902
result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
15903
wxPyEndAllowThreads(__tstate);
15904
if (PyErr_Occurred()) SWIG_fail;
15906
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 );
15913
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15914
PyObject *resultobj = 0;
15915
wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15916
wxWindow *arg2 = (wxWindow *) 0 ;
15918
wxString const &arg4_defvalue = wxPyEmptyString ;
15919
wxString *arg4 = (wxString *) &arg4_defvalue ;
15920
int arg5 = (int) wxHF_DEFAULT_STYLE ;
15928
bool temp4 = false ;
15931
PyObject * obj0 = 0 ;
15932
PyObject * obj1 = 0 ;
15933
PyObject * obj2 = 0 ;
15934
PyObject * obj3 = 0 ;
15935
PyObject * obj4 = 0 ;
15936
char * kwnames[] = {
15937
(char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15940
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15941
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15942
if (!SWIG_IsOK(res1)) {
15943
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15945
arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15946
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15947
if (!SWIG_IsOK(res2)) {
15948
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15950
arg2 = reinterpret_cast< wxWindow * >(argp2);
15951
ecode3 = SWIG_AsVal_int(obj2, &val3);
15952
if (!SWIG_IsOK(ecode3)) {
15953
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15955
arg3 = static_cast< int >(val3);
15958
arg4 = wxString_in_helper(obj3);
15959
if (arg4 == NULL) SWIG_fail;
15964
ecode5 = SWIG_AsVal_int(obj4, &val5);
15965
if (!SWIG_IsOK(ecode5)) {
15966
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15968
arg5 = static_cast< int >(val5);
15971
PyThreadState* __tstate = wxPyBeginAllowThreads();
15972
result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15973
wxPyEndAllowThreads(__tstate);
15974
if (PyErr_Occurred()) SWIG_fail;
15977
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15993
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15994
PyObject *resultobj = 0;
15995
wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15996
wxHtmlHelpData *result = 0 ;
15999
PyObject *swig_obj[1] ;
16001
if (!args) SWIG_fail;
16002
swig_obj[0] = args;
16003
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
16004
if (!SWIG_IsOK(res1)) {
16005
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
16007
arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
16009
PyThreadState* __tstate = wxPyBeginAllowThreads();
16010
result = (wxHtmlHelpData *)(arg1)->GetData();
16011
wxPyEndAllowThreads(__tstate);
16012
if (PyErr_Occurred()) SWIG_fail;
16014
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
16021
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16022
PyObject *resultobj = 0;
16023
wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
16024
wxHtmlHelpController *result = 0 ;
16027
PyObject *swig_obj[1] ;
16029
if (!args) SWIG_fail;
16030
swig_obj[0] = args;
16031
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
16032
if (!SWIG_IsOK(res1)) {
16033
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
16035
arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
16037
PyThreadState* __tstate = wxPyBeginAllowThreads();
16038
result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
16039
wxPyEndAllowThreads(__tstate);
16040
if (PyErr_Occurred()) SWIG_fail;
16042
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16049
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16050
PyObject *resultobj = 0;
16051
wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
16052
wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
16056
PyObject * obj0 = 0 ;
16057
PyObject * obj1 = 0 ;
16058
char * kwnames[] = {
16059
(char *) "self",(char *) "controller", NULL
16062
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
16063
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
16064
if (!SWIG_IsOK(res1)) {
16065
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
16067
arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
16068
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
16069
if (!SWIG_IsOK(res2)) {
16070
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
16073
PyThreadState* __tstate = wxPyBeginAllowThreads();
16074
(arg1)->SetController(arg2);
16075
wxPyEndAllowThreads(__tstate);
16076
if (PyErr_Occurred()) SWIG_fail;
16078
resultobj = SWIG_Py_Void();
16085
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16086
PyObject *resultobj = 0;
16087
wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
16088
wxHtmlHelpWindow *result = 0 ;
16091
PyObject *swig_obj[1] ;
16093
if (!args) SWIG_fail;
16094
swig_obj[0] = args;
16095
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
16096
if (!SWIG_IsOK(res1)) {
16097
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
16099
arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
16101
PyThreadState* __tstate = wxPyBeginAllowThreads();
16102
result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
16103
wxPyEndAllowThreads(__tstate);
16104
if (PyErr_Occurred()) SWIG_fail;
16107
resultobj = wxPyMake_wxObject(result, 0);
16115
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16116
PyObject *resultobj = 0;
16117
wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
16118
wxString *arg2 = 0 ;
16121
bool temp2 = false ;
16122
PyObject * obj0 = 0 ;
16123
PyObject * obj1 = 0 ;
16124
char * kwnames[] = {
16125
(char *) "self",(char *) "format", NULL
16128
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
16129
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
16130
if (!SWIG_IsOK(res1)) {
16131
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
16133
arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
16135
arg2 = wxString_in_helper(obj1);
16136
if (arg2 == NULL) SWIG_fail;
16140
PyThreadState* __tstate = wxPyBeginAllowThreads();
16141
(arg1)->SetTitleFormat((wxString const &)*arg2);
16142
wxPyEndAllowThreads(__tstate);
16143
if (PyErr_Occurred()) SWIG_fail;
16145
resultobj = SWIG_Py_Void();
16160
SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16162
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16163
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj));
16164
return SWIG_Py_Void();
16167
SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16168
return SWIG_Python_InitShadowInstance(args);
16171
SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16172
PyObject *resultobj = 0;
16173
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16174
wxString *arg2 = 0 ;
16179
bool temp2 = false ;
16183
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
16184
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16185
if (!SWIG_IsOK(res1)) {
16186
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16188
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16190
arg2 = wxString_in_helper(swig_obj[1]);
16191
if (arg2 == NULL) SWIG_fail;
16194
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
16195
if (!SWIG_IsOK(ecode3)) {
16196
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
16198
arg3 = static_cast< int >(val3);
16200
PyThreadState* __tstate = wxPyBeginAllowThreads();
16201
result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
16202
wxPyEndAllowThreads(__tstate);
16203
if (PyErr_Occurred()) SWIG_fail;
16206
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16222
SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16223
PyObject *resultobj = 0;
16224
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16225
wxString *arg2 = 0 ;
16229
bool temp2 = false ;
16231
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16232
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16233
if (!SWIG_IsOK(res1)) {
16234
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16236
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16238
arg2 = wxString_in_helper(swig_obj[1]);
16239
if (arg2 == NULL) SWIG_fail;
16243
PyThreadState* __tstate = wxPyBeginAllowThreads();
16244
result = (bool)(arg1)->Initialize((wxString const &)*arg2);
16245
wxPyEndAllowThreads(__tstate);
16246
if (PyErr_Occurred()) SWIG_fail;
16249
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16265
SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
16269
if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail;
16272
return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv);
16275
return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv);
16279
SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
16284
SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16285
PyObject *resultobj = 0;
16286
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16287
wxString *arg2 = 0 ;
16288
long arg3 = (long) 0 ;
16291
bool temp2 = false ;
16294
PyObject * obj0 = 0 ;
16295
PyObject * obj1 = 0 ;
16296
PyObject * obj2 = 0 ;
16297
char * kwnames[] = {
16298
(char *) "self",(char *) "viewer",(char *) "flags", NULL
16301
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16302
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16303
if (!SWIG_IsOK(res1)) {
16304
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16306
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16308
arg2 = wxString_in_helper(obj1);
16309
if (arg2 == NULL) SWIG_fail;
16313
ecode3 = SWIG_AsVal_long(obj2, &val3);
16314
if (!SWIG_IsOK(ecode3)) {
16315
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
16317
arg3 = static_cast< long >(val3);
16320
PyThreadState* __tstate = wxPyBeginAllowThreads();
16321
(arg1)->SetViewer((wxString const &)*arg2,arg3);
16322
wxPyEndAllowThreads(__tstate);
16323
if (PyErr_Occurred()) SWIG_fail;
16325
resultobj = SWIG_Py_Void();
16340
SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16341
PyObject *resultobj = 0;
16342
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16343
wxString const &arg2_defvalue = wxEmptyString ;
16344
wxString *arg2 = (wxString *) &arg2_defvalue ;
16348
bool temp2 = false ;
16349
PyObject * obj0 = 0 ;
16350
PyObject * obj1 = 0 ;
16351
char * kwnames[] = {
16352
(char *) "self",(char *) "file", NULL
16355
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
16356
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16357
if (!SWIG_IsOK(res1)) {
16358
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16360
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16363
arg2 = wxString_in_helper(obj1);
16364
if (arg2 == NULL) SWIG_fail;
16369
PyThreadState* __tstate = wxPyBeginAllowThreads();
16370
result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
16371
wxPyEndAllowThreads(__tstate);
16372
if (PyErr_Occurred()) SWIG_fail;
16375
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16391
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16392
PyObject *resultobj = 0;
16393
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16397
PyObject *swig_obj[1] ;
16399
if (!args) SWIG_fail;
16400
swig_obj[0] = args;
16401
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16402
if (!SWIG_IsOK(res1)) {
16403
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16405
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16407
PyThreadState* __tstate = wxPyBeginAllowThreads();
16408
result = (bool)(arg1)->DisplayContents();
16409
wxPyEndAllowThreads(__tstate);
16410
if (PyErr_Occurred()) SWIG_fail;
16413
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16421
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16422
PyObject *resultobj = 0;
16423
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16431
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16432
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16433
if (!SWIG_IsOK(res1)) {
16434
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16436
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16437
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
16438
if (!SWIG_IsOK(ecode2)) {
16439
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16441
arg2 = static_cast< int >(val2);
16443
PyThreadState* __tstate = wxPyBeginAllowThreads();
16444
result = (bool)(arg1)->DisplaySection(arg2);
16445
wxPyEndAllowThreads(__tstate);
16446
if (PyErr_Occurred()) SWIG_fail;
16449
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16457
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16458
PyObject *resultobj = 0;
16459
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16466
PyObject * obj0 = 0 ;
16467
PyObject * obj1 = 0 ;
16468
char * kwnames[] = {
16469
(char *) "self",(char *) "contextId", NULL
16472
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail;
16473
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16474
if (!SWIG_IsOK(res1)) {
16475
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16477
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16478
ecode2 = SWIG_AsVal_int(obj1, &val2);
16479
if (!SWIG_IsOK(ecode2)) {
16480
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16482
arg2 = static_cast< int >(val2);
16484
PyThreadState* __tstate = wxPyBeginAllowThreads();
16485
result = (bool)(arg1)->DisplayContextPopup(arg2);
16486
wxPyEndAllowThreads(__tstate);
16487
if (PyErr_Occurred()) SWIG_fail;
16490
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16498
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16499
PyObject *resultobj = 0;
16500
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16501
wxString *arg2 = 0 ;
16502
wxPoint *arg3 = 0 ;
16506
bool temp2 = false ;
16508
PyObject * obj0 = 0 ;
16509
PyObject * obj1 = 0 ;
16510
PyObject * obj2 = 0 ;
16511
char * kwnames[] = {
16512
(char *) "self",(char *) "text",(char *) "pos", NULL
16515
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16516
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16517
if (!SWIG_IsOK(res1)) {
16518
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16520
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16522
arg2 = wxString_in_helper(obj1);
16523
if (arg2 == NULL) SWIG_fail;
16528
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16531
PyThreadState* __tstate = wxPyBeginAllowThreads();
16532
result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
16533
wxPyEndAllowThreads(__tstate);
16534
if (PyErr_Occurred()) SWIG_fail;
16537
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16553
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16554
PyObject *resultobj = 0;
16555
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16556
wxString *arg2 = 0 ;
16560
bool temp2 = false ;
16562
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16563
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16564
if (!SWIG_IsOK(res1)) {
16565
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16567
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16569
arg2 = wxString_in_helper(swig_obj[1]);
16570
if (arg2 == NULL) SWIG_fail;
16574
PyThreadState* __tstate = wxPyBeginAllowThreads();
16575
result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
16576
wxPyEndAllowThreads(__tstate);
16577
if (PyErr_Occurred()) SWIG_fail;
16580
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16596
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
16600
if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail;
16606
_v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
16609
if (!_v) goto check_1;
16610
return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv);
16615
return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv);
16619
SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16624
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16625
PyObject *resultobj = 0;
16626
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16633
PyObject * obj0 = 0 ;
16634
PyObject * obj1 = 0 ;
16635
char * kwnames[] = {
16636
(char *) "self",(char *) "blockNo", NULL
16639
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail;
16640
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16641
if (!SWIG_IsOK(res1)) {
16642
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16644
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16645
ecode2 = SWIG_AsVal_long(obj1, &val2);
16646
if (!SWIG_IsOK(ecode2)) {
16647
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16649
arg2 = static_cast< long >(val2);
16651
PyThreadState* __tstate = wxPyBeginAllowThreads();
16652
result = (bool)(arg1)->DisplayBlock(arg2);
16653
wxPyEndAllowThreads(__tstate);
16654
if (PyErr_Occurred()) SWIG_fail;
16657
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16665
SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16666
PyObject *resultobj = 0;
16667
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16668
wxString *arg2 = 0 ;
16669
wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
16673
bool temp2 = false ;
16676
PyObject * obj0 = 0 ;
16677
PyObject * obj1 = 0 ;
16678
PyObject * obj2 = 0 ;
16679
char * kwnames[] = {
16680
(char *) "self",(char *) "k",(char *) "mode", NULL
16683
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16684
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16685
if (!SWIG_IsOK(res1)) {
16686
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16688
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16690
arg2 = wxString_in_helper(obj1);
16691
if (arg2 == NULL) SWIG_fail;
16696
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
16697
if (!SWIG_IsOK(res3)) {
16698
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16701
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16703
wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
16705
if (SWIG_IsNewObj(res3)) delete temp;
16710
PyThreadState* __tstate = wxPyBeginAllowThreads();
16711
result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
16712
wxPyEndAllowThreads(__tstate);
16713
if (PyErr_Occurred()) SWIG_fail;
16716
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16732
SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16733
PyObject *resultobj = 0;
16734
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16735
wxString *arg2 = 0 ;
16737
wxPoint const &arg4_defvalue = wxDefaultPosition ;
16738
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16739
bool arg5 = (bool) false ;
16742
bool temp2 = false ;
16747
PyObject * obj0 = 0 ;
16748
PyObject * obj1 = 0 ;
16749
PyObject * obj2 = 0 ;
16750
PyObject * obj3 = 0 ;
16751
PyObject * obj4 = 0 ;
16752
char * kwnames[] = {
16753
(char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16756
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16757
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16758
if (!SWIG_IsOK(res1)) {
16759
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16761
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16763
arg2 = wxString_in_helper(obj1);
16764
if (arg2 == NULL) SWIG_fail;
16769
if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16774
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16778
ecode5 = SWIG_AsVal_bool(obj4, &val5);
16779
if (!SWIG_IsOK(ecode5)) {
16780
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16782
arg5 = static_cast< bool >(val5);
16785
PyThreadState* __tstate = wxPyBeginAllowThreads();
16786
(arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
16787
wxPyEndAllowThreads(__tstate);
16788
if (PyErr_Occurred()) SWIG_fail;
16790
resultobj = SWIG_Py_Void();
16805
SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16806
PyObject *resultobj = 0;
16807
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16811
PyObject *swig_obj[1] ;
16813
if (!args) SWIG_fail;
16814
swig_obj[0] = args;
16815
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16816
if (!SWIG_IsOK(res1)) {
16817
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16819
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16821
PyThreadState* __tstate = wxPyBeginAllowThreads();
16822
result = (bool)(arg1)->Quit();
16823
wxPyEndAllowThreads(__tstate);
16824
if (PyErr_Occurred()) SWIG_fail;
16827
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16835
SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16836
PyObject *resultobj = 0;
16837
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16840
PyObject *swig_obj[1] ;
16842
if (!args) SWIG_fail;
16843
swig_obj[0] = args;
16844
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16845
if (!SWIG_IsOK(res1)) {
16846
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16848
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16850
PyThreadState* __tstate = wxPyBeginAllowThreads();
16852
wxPyEndAllowThreads(__tstate);
16853
if (PyErr_Occurred()) SWIG_fail;
16855
resultobj = SWIG_Py_Void();
16862
SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16863
PyObject *resultobj = 0;
16864
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16865
wxWindow *arg2 = (wxWindow *) 0 ;
16870
PyObject * obj0 = 0 ;
16871
PyObject * obj1 = 0 ;
16872
char * kwnames[] = {
16873
(char *) "self",(char *) "win", NULL
16876
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16877
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16878
if (!SWIG_IsOK(res1)) {
16879
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16881
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16882
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16883
if (!SWIG_IsOK(res2)) {
16884
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16886
arg2 = reinterpret_cast< wxWindow * >(argp2);
16888
PyThreadState* __tstate = wxPyBeginAllowThreads();
16889
(arg1)->SetParentWindow(arg2);
16890
wxPyEndAllowThreads(__tstate);
16891
if (PyErr_Occurred()) SWIG_fail;
16893
resultobj = SWIG_Py_Void();
16900
SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16901
PyObject *resultobj = 0;
16902
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16903
wxWindow *result = 0 ;
16906
PyObject *swig_obj[1] ;
16908
if (!args) SWIG_fail;
16909
swig_obj[0] = args;
16910
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16911
if (!SWIG_IsOK(res1)) {
16912
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16914
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16916
PyThreadState* __tstate = wxPyBeginAllowThreads();
16917
result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
16918
wxPyEndAllowThreads(__tstate);
16919
if (PyErr_Occurred()) SWIG_fail;
16922
resultobj = wxPyMake_wxObject(result, 0);
16930
SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16932
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16933
SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj));
16934
return SWIG_Py_Void();
16937
SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16938
PyObject *resultobj = 0;
16939
int arg1 = (int) wxHF_DEFAULT_STYLE ;
16940
wxWindow *arg2 = (wxWindow *) NULL ;
16941
wxHtmlHelpController *result = 0 ;
16946
PyObject * obj0 = 0 ;
16947
PyObject * obj1 = 0 ;
16948
char * kwnames[] = {
16949
(char *) "style",(char *) "parentWindow", NULL
16952
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail;
16954
ecode1 = SWIG_AsVal_int(obj0, &val1);
16955
if (!SWIG_IsOK(ecode1)) {
16956
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16958
arg1 = static_cast< int >(val1);
16961
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16962
if (!SWIG_IsOK(res2)) {
16963
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16965
arg2 = reinterpret_cast< wxWindow * >(argp2);
16968
if (!wxPyCheckForApp()) SWIG_fail;
16969
PyThreadState* __tstate = wxPyBeginAllowThreads();
16970
result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
16971
wxPyEndAllowThreads(__tstate);
16972
if (PyErr_Occurred()) SWIG_fail;
16974
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 );
16981
SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16982
PyObject *resultobj = 0;
16983
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16986
PyObject *swig_obj[1] ;
16988
if (!args) SWIG_fail;
16989
swig_obj[0] = args;
16990
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
16991
if (!SWIG_IsOK(res1)) {
16992
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16994
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16996
PyThreadState* __tstate = wxPyBeginAllowThreads();
16999
wxPyEndAllowThreads(__tstate);
17000
if (PyErr_Occurred()) SWIG_fail;
17002
resultobj = SWIG_Py_Void();
17009
SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17010
PyObject *resultobj = 0;
17011
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17012
wxHtmlHelpWindow *result = 0 ;
17015
PyObject *swig_obj[1] ;
17017
if (!args) SWIG_fail;
17018
swig_obj[0] = args;
17019
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17020
if (!SWIG_IsOK(res1)) {
17021
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17023
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17025
PyThreadState* __tstate = wxPyBeginAllowThreads();
17026
result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
17027
wxPyEndAllowThreads(__tstate);
17028
if (PyErr_Occurred()) SWIG_fail;
17031
resultobj = wxPyMake_wxObject(result, 0);
17039
SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17040
PyObject *resultobj = 0;
17041
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17042
wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
17047
PyObject * obj0 = 0 ;
17048
PyObject * obj1 = 0 ;
17049
char * kwnames[] = {
17050
(char *) "self",(char *) "helpWindow", NULL
17053
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail;
17054
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17055
if (!SWIG_IsOK(res1)) {
17056
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17058
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17059
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
17060
if (!SWIG_IsOK(res2)) {
17061
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
17063
arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2);
17065
PyThreadState* __tstate = wxPyBeginAllowThreads();
17066
(arg1)->SetHelpWindow(arg2);
17067
wxPyEndAllowThreads(__tstate);
17068
if (PyErr_Occurred()) SWIG_fail;
17070
resultobj = SWIG_Py_Void();
17077
SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17078
PyObject *resultobj = 0;
17079
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17080
wxHtmlHelpFrame *result = 0 ;
17083
PyObject *swig_obj[1] ;
17085
if (!args) SWIG_fail;
17086
swig_obj[0] = args;
17087
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17088
if (!SWIG_IsOK(res1)) {
17089
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17091
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17093
PyThreadState* __tstate = wxPyBeginAllowThreads();
17094
result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
17095
wxPyEndAllowThreads(__tstate);
17096
if (PyErr_Occurred()) SWIG_fail;
17099
resultobj = wxPyMake_wxObject(result, 0);
17107
SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17108
PyObject *resultobj = 0;
17109
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17110
wxHtmlHelpDialog *result = 0 ;
17113
PyObject *swig_obj[1] ;
17115
if (!args) SWIG_fail;
17116
swig_obj[0] = args;
17117
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17118
if (!SWIG_IsOK(res1)) {
17119
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17121
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17123
PyThreadState* __tstate = wxPyBeginAllowThreads();
17124
result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
17125
wxPyEndAllowThreads(__tstate);
17126
if (PyErr_Occurred()) SWIG_fail;
17129
resultobj = wxPyMake_wxObject(result, 0);
17137
SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17138
PyObject *resultobj = 0;
17139
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17140
wxString *arg2 = 0 ;
17143
bool temp2 = false ;
17144
PyObject * obj0 = 0 ;
17145
PyObject * obj1 = 0 ;
17146
char * kwnames[] = {
17147
(char *) "self",(char *) "format", NULL
17150
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
17151
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17152
if (!SWIG_IsOK(res1)) {
17153
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17155
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17157
arg2 = wxString_in_helper(obj1);
17158
if (arg2 == NULL) SWIG_fail;
17162
PyThreadState* __tstate = wxPyBeginAllowThreads();
17163
(arg1)->SetTitleFormat((wxString const &)*arg2);
17164
wxPyEndAllowThreads(__tstate);
17165
if (PyErr_Occurred()) SWIG_fail;
17167
resultobj = SWIG_Py_Void();
17182
SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17183
PyObject *resultobj = 0;
17184
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17185
wxString *arg2 = 0 ;
17188
bool temp2 = false ;
17189
PyObject * obj0 = 0 ;
17190
PyObject * obj1 = 0 ;
17191
char * kwnames[] = {
17192
(char *) "self",(char *) "path", NULL
17195
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
17196
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17197
if (!SWIG_IsOK(res1)) {
17198
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17200
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17202
arg2 = wxString_in_helper(obj1);
17203
if (arg2 == NULL) SWIG_fail;
17207
PyThreadState* __tstate = wxPyBeginAllowThreads();
17208
(arg1)->SetTempDir((wxString const &)*arg2);
17209
wxPyEndAllowThreads(__tstate);
17210
if (PyErr_Occurred()) SWIG_fail;
17212
resultobj = SWIG_Py_Void();
17227
SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17228
PyObject *resultobj = 0;
17229
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17230
wxString *arg2 = 0 ;
17231
int arg3 = (int) false ;
17235
bool temp2 = false ;
17238
PyObject * obj0 = 0 ;
17239
PyObject * obj1 = 0 ;
17240
PyObject * obj2 = 0 ;
17241
char * kwnames[] = {
17242
(char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
17245
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17246
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17247
if (!SWIG_IsOK(res1)) {
17248
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17250
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17252
arg2 = wxString_in_helper(obj1);
17253
if (arg2 == NULL) SWIG_fail;
17257
ecode3 = SWIG_AsVal_int(obj2, &val3);
17258
if (!SWIG_IsOK(ecode3)) {
17259
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
17261
arg3 = static_cast< int >(val3);
17264
PyThreadState* __tstate = wxPyBeginAllowThreads();
17265
result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
17266
wxPyEndAllowThreads(__tstate);
17267
if (PyErr_Occurred()) SWIG_fail;
17270
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17286
SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17287
PyObject *resultobj = 0;
17288
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17289
wxString *arg2 = 0 ;
17292
bool temp2 = false ;
17293
PyObject * obj0 = 0 ;
17294
PyObject * obj1 = 0 ;
17295
char * kwnames[] = {
17296
(char *) "self",(char *) "x", NULL
17299
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail;
17300
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17301
if (!SWIG_IsOK(res1)) {
17302
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17304
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17306
arg2 = wxString_in_helper(obj1);
17307
if (arg2 == NULL) SWIG_fail;
17311
PyThreadState* __tstate = wxPyBeginAllowThreads();
17312
(arg1)->Display((wxString const &)*arg2);
17313
wxPyEndAllowThreads(__tstate);
17314
if (PyErr_Occurred()) SWIG_fail;
17316
resultobj = SWIG_Py_Void();
17331
SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17332
PyObject *resultobj = 0;
17333
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17339
PyObject * obj0 = 0 ;
17340
PyObject * obj1 = 0 ;
17341
char * kwnames[] = {
17342
(char *) "self",(char *) "id", NULL
17345
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
17346
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17347
if (!SWIG_IsOK(res1)) {
17348
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17350
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17351
ecode2 = SWIG_AsVal_int(obj1, &val2);
17352
if (!SWIG_IsOK(ecode2)) {
17353
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17355
arg2 = static_cast< int >(val2);
17357
PyThreadState* __tstate = wxPyBeginAllowThreads();
17358
(arg1)->Display(arg2);
17359
wxPyEndAllowThreads(__tstate);
17360
if (PyErr_Occurred()) SWIG_fail;
17362
resultobj = SWIG_Py_Void();
17369
SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17370
PyObject *resultobj = 0;
17371
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 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_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17382
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17384
PyThreadState* __tstate = wxPyBeginAllowThreads();
17385
(arg1)->DisplayContents();
17386
wxPyEndAllowThreads(__tstate);
17387
if (PyErr_Occurred()) SWIG_fail;
17389
resultobj = SWIG_Py_Void();
17396
SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17397
PyObject *resultobj = 0;
17398
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17401
PyObject *swig_obj[1] ;
17403
if (!args) SWIG_fail;
17404
swig_obj[0] = args;
17405
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17406
if (!SWIG_IsOK(res1)) {
17407
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17409
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17411
PyThreadState* __tstate = wxPyBeginAllowThreads();
17412
(arg1)->DisplayIndex();
17413
wxPyEndAllowThreads(__tstate);
17414
if (PyErr_Occurred()) SWIG_fail;
17416
resultobj = SWIG_Py_Void();
17423
SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17424
PyObject *resultobj = 0;
17425
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17426
wxString *arg2 = 0 ;
17430
bool temp2 = false ;
17431
PyObject * obj0 = 0 ;
17432
PyObject * obj1 = 0 ;
17433
char * kwnames[] = {
17434
(char *) "self",(char *) "keyword", NULL
17437
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail;
17438
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17439
if (!SWIG_IsOK(res1)) {
17440
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17442
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17444
arg2 = wxString_in_helper(obj1);
17445
if (arg2 == NULL) SWIG_fail;
17449
PyThreadState* __tstate = wxPyBeginAllowThreads();
17450
result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
17451
wxPyEndAllowThreads(__tstate);
17452
if (PyErr_Occurred()) SWIG_fail;
17455
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17471
SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17472
PyObject *resultobj = 0;
17473
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17474
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17475
wxString const &arg3_defvalue = wxPyEmptyString ;
17476
wxString *arg3 = (wxString *) &arg3_defvalue ;
17481
bool temp3 = false ;
17482
PyObject * obj0 = 0 ;
17483
PyObject * obj1 = 0 ;
17484
PyObject * obj2 = 0 ;
17485
char * kwnames[] = {
17486
(char *) "self",(char *) "config",(char *) "rootpath", NULL
17489
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17490
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17491
if (!SWIG_IsOK(res1)) {
17492
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17494
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17495
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17496
if (!SWIG_IsOK(res2)) {
17497
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17499
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17502
arg3 = wxString_in_helper(obj2);
17503
if (arg3 == NULL) SWIG_fail;
17508
PyThreadState* __tstate = wxPyBeginAllowThreads();
17509
(arg1)->UseConfig(arg2,(wxString const &)*arg3);
17510
wxPyEndAllowThreads(__tstate);
17511
if (PyErr_Occurred()) SWIG_fail;
17513
resultobj = SWIG_Py_Void();
17528
SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17529
PyObject *resultobj = 0;
17530
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17531
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17532
wxString arg3 = (wxString) wxPyEmptyString ;
17537
PyObject * obj0 = 0 ;
17538
PyObject * obj1 = 0 ;
17539
PyObject * obj2 = 0 ;
17540
char * kwnames[] = {
17541
(char *) "self",(char *) "cfg",(char *) "path", NULL
17544
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17545
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17546
if (!SWIG_IsOK(res1)) {
17547
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17549
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17550
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17551
if (!SWIG_IsOK(res2)) {
17552
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17554
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17557
wxString* sptr = wxString_in_helper(obj2);
17558
if (sptr == NULL) SWIG_fail;
17564
PyThreadState* __tstate = wxPyBeginAllowThreads();
17565
(arg1)->ReadCustomization(arg2,arg3);
17566
wxPyEndAllowThreads(__tstate);
17567
if (PyErr_Occurred()) SWIG_fail;
17569
resultobj = SWIG_Py_Void();
17576
SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17577
PyObject *resultobj = 0;
17578
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17579
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17580
wxString arg3 = (wxString) wxPyEmptyString ;
17585
PyObject * obj0 = 0 ;
17586
PyObject * obj1 = 0 ;
17587
PyObject * obj2 = 0 ;
17588
char * kwnames[] = {
17589
(char *) "self",(char *) "cfg",(char *) "path", NULL
17592
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17593
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17594
if (!SWIG_IsOK(res1)) {
17595
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17597
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17598
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17599
if (!SWIG_IsOK(res2)) {
17600
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17602
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17605
wxString* sptr = wxString_in_helper(obj2);
17606
if (sptr == NULL) SWIG_fail;
17612
PyThreadState* __tstate = wxPyBeginAllowThreads();
17613
(arg1)->WriteCustomization(arg2,arg3);
17614
wxPyEndAllowThreads(__tstate);
17615
if (PyErr_Occurred()) SWIG_fail;
17617
resultobj = SWIG_Py_Void();
17624
SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17625
PyObject *resultobj = 0;
17626
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17629
PyObject *swig_obj[1] ;
17631
if (!args) SWIG_fail;
17632
swig_obj[0] = args;
17633
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17634
if (!SWIG_IsOK(res1)) {
17635
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17637
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17639
PyThreadState* __tstate = wxPyBeginAllowThreads();
17640
(arg1)->MakeModalIfNeeded();
17641
wxPyEndAllowThreads(__tstate);
17642
if (PyErr_Occurred()) SWIG_fail;
17644
resultobj = SWIG_Py_Void();
17651
SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17652
PyObject *resultobj = 0;
17653
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17654
wxWindow *result = 0 ;
17657
PyObject *swig_obj[1] ;
17659
if (!args) SWIG_fail;
17660
swig_obj[0] = args;
17661
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17662
if (!SWIG_IsOK(res1)) {
17663
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17665
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17667
PyThreadState* __tstate = wxPyBeginAllowThreads();
17668
result = (wxWindow *)(arg1)->FindTopLevelWindow();
17669
wxPyEndAllowThreads(__tstate);
17670
if (PyErr_Occurred()) SWIG_fail;
17673
resultobj = wxPyMake_wxObject(result, 0);
17681
SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17683
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17684
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj));
17685
return SWIG_Py_Void();
17688
SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17689
return SWIG_Python_InitShadowInstance(args);
17692
SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17693
PyObject *resultobj = 0;
17694
wxWindow *arg1 = (wxWindow *) 0 ;
17695
wxString *arg2 = 0 ;
17696
wxString const &arg3_defvalue = wxEmptyString ;
17697
wxString *arg3 = (wxString *) &arg3_defvalue ;
17698
int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
17699
wxHtmlModalHelp *result = 0 ;
17702
bool temp2 = false ;
17703
bool temp3 = false ;
17706
PyObject * obj0 = 0 ;
17707
PyObject * obj1 = 0 ;
17708
PyObject * obj2 = 0 ;
17709
PyObject * obj3 = 0 ;
17710
char * kwnames[] = {
17711
(char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17714
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17715
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17716
if (!SWIG_IsOK(res1)) {
17717
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17719
arg1 = reinterpret_cast< wxWindow * >(argp1);
17721
arg2 = wxString_in_helper(obj1);
17722
if (arg2 == NULL) SWIG_fail;
17727
arg3 = wxString_in_helper(obj2);
17728
if (arg3 == NULL) SWIG_fail;
17733
ecode4 = SWIG_AsVal_int(obj3, &val4);
17734
if (!SWIG_IsOK(ecode4)) {
17735
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17737
arg4 = static_cast< int >(val4);
17740
PyThreadState* __tstate = wxPyBeginAllowThreads();
17741
result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
17742
wxPyEndAllowThreads(__tstate);
17743
if (PyErr_Occurred()) SWIG_fail;
17745
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 );
17768
SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17770
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17771
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj));
17772
return SWIG_Py_Void();
17775
SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17776
return SWIG_Python_InitShadowInstance(args);
17779
static PyMethodDef SwigMethods[] = {
17780
{ (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17781
{ (char *)"delete_HtmlLinkInfo", (PyCFunction)_wrap_delete_HtmlLinkInfo, METH_O, NULL},
17782
{ (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL},
17783
{ (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL},
17784
{ (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL},
17785
{ (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL},
17786
{ (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17787
{ (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
17788
{ (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
17789
{ (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL},
17790
{ (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL},
17791
{ (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
17792
{ (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
17793
{ (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL},
17794
{ (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL},
17795
{ (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL},
17796
{ (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL},
17797
{ (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL},
17798
{ (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
17799
{ (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
17800
{ (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL},
17801
{ (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
17802
{ (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
17803
{ (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL},
17804
{ (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
17805
{ (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL},
17806
{ (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17807
{ (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL},
17808
{ (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17809
{ (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL},
17810
{ (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL},
17811
{ (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
17812
{ (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
17813
{ (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
17814
{ (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL},
17815
{ (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL},
17816
{ (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL},
17817
{ (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL},
17818
{ (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL},
17819
{ (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17820
{ (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17821
{ (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL},
17822
{ (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL},
17823
{ (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
17824
{ (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL},
17825
{ (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL},
17826
{ (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
17827
{ (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL},
17828
{ (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
17829
{ (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL},
17830
{ (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
17831
{ (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL},
17832
{ (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
17833
{ (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL},
17834
{ (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
17835
{ (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL},
17836
{ (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
17837
{ (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL},
17838
{ (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
17839
{ (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL},
17840
{ (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
17841
{ (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17842
{ (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL},
17843
{ (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL},
17844
{ (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
17845
{ (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL},
17846
{ (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL},
17847
{ (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17848
{ (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
17849
{ (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL},
17850
{ (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17851
{ (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
17852
{ (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL},
17853
{ (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL},
17854
{ (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17855
{ (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
17856
{ (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL},
17857
{ (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17858
{ (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
17859
{ (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL},
17860
{ (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17861
{ (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL},
17862
{ (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL},
17863
{ (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
17864
{ (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
17865
{ (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL},
17866
{ (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL},
17867
{ (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL},
17868
{ (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL},
17869
{ (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL},
17870
{ (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL},
17871
{ (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
17872
{ (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
17873
{ (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL},
17874
{ (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL},
17875
{ (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
17876
{ (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL},
17877
{ (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL},
17878
{ (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL},
17879
{ (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
17880
{ (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL},
17881
{ (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17882
{ (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL},
17883
{ (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17884
{ (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL},
17885
{ (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
17886
{ (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL},
17887
{ (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
17888
{ (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17889
{ (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
17890
{ (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
17891
{ (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL},
17892
{ (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL},
17893
{ (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17894
{ (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL},
17895
{ (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17896
{ (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL},
17897
{ (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL},
17898
{ (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
17899
{ (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL},
17900
{ (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL},
17901
{ (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL},
17902
{ (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL},
17903
{ (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL},
17904
{ (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL},
17905
{ (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL},
17906
{ (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL},
17907
{ (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL},
17908
{ (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL},
17909
{ (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
17910
{ (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17911
{ (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL},
17912
{ (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL},
17913
{ (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL},
17914
{ (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17915
{ (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL},
17916
{ (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL},
17917
{ (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17918
{ (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
17919
{ (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
17920
{ (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
17921
{ (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
17922
{ (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
17923
{ (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
17924
{ (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
17925
{ (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL},
17926
{ (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
17927
{ (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL},
17928
{ (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL},
17929
{ (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
17930
{ (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
17931
{ (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL},
17932
{ (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL},
17933
{ (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL},
17934
{ (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL},
17935
{ (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17936
{ (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
17937
{ (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
17938
{ (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL},
17939
{ (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
17940
{ (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
17941
{ (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL},
17942
{ (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL},
17943
{ (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
17944
{ (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL},
17945
{ (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
17946
{ (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
17947
{ (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
17948
{ (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL},
17949
{ (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
17950
{ (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL},
17951
{ (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17952
{ (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17953
{ (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
17954
{ (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
17955
{ (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
17956
{ (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
17957
{ (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
17958
{ (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
17959
{ (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL},
17960
{ (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
17961
{ (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL},
17962
{ (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
17963
{ (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL},
17964
{ (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
17965
{ (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
17966
{ (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL},
17967
{ (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
17968
{ (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
17969
{ (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL},
17970
{ (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
17971
{ (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
17972
{ (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL},
17973
{ (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL},
17974
{ (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17975
{ (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
17976
{ (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL},
17977
{ (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL},
17978
{ (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17979
{ (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17980
{ (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL},
17981
{ (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL},
17982
{ (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
17983
{ (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
17984
{ (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
17985
{ (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL},
17986
{ (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17987
{ (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL},
17988
{ (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17989
{ (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17990
{ (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
17991
{ (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
17992
{ (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17993
{ (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
17994
{ (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL},
17995
{ (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL},
17996
{ (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL},
17997
{ (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17998
{ (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL},
17999
{ (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
18000
{ (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
18001
{ (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
18002
{ (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
18003
{ (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
18004
{ (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
18005
{ (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
18006
{ (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL},
18007
{ (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL},
18008
{ (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL},
18009
{ (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL},
18010
{ (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL},
18011
{ (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL},
18012
{ (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL},
18013
{ (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
18014
{ (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
18015
{ (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
18016
{ (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
18017
{ (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
18018
{ (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL},
18019
{ (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL},
18020
{ (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL},
18021
{ (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
18022
{ (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
18023
{ (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
18024
{ (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
18025
{ (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL},
18026
{ (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
18027
{ (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL},
18028
{ (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
18029
{ (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL},
18030
{ (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL},
18031
{ (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL},
18032
{ (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
18033
{ (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
18034
{ (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
18035
{ (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
18036
{ (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
18037
{ (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
18038
{ (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL},
18039
{ (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
18040
{ (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL},
18041
{ (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
18042
{ (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
18043
{ (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
18044
{ (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
18045
{ (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
18046
{ (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
18047
{ (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
18048
{ (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
18049
{ (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
18050
{ (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL},
18051
{ (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
18052
{ (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL},
18053
{ (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
18054
{ (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL},
18055
{ (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
18056
{ (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
18057
{ (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
18058
{ (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
18059
{ (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL},
18060
{ (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
18061
{ (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
18062
{ (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
18063
{ (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
18064
{ (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL},
18065
{ (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL},
18066
{ (char *)"HtmlEasyPrinting_GetParentWindow", (PyCFunction)_wrap_HtmlEasyPrinting_GetParentWindow, METH_O, NULL},
18067
{ (char *)"HtmlEasyPrinting_SetParentWindow", (PyCFunction) _wrap_HtmlEasyPrinting_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
18068
{ (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
18069
{ (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL},
18070
{ (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
18071
{ (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL},
18072
{ (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL},
18073
{ (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL},
18074
{ (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL},
18075
{ (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
18076
{ (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL},
18077
{ (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL},
18078
{ (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
18079
{ (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
18080
{ (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
18081
{ (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
18082
{ (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
18083
{ (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL},
18084
{ (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL},
18085
{ (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL},
18086
{ (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL},
18087
{ (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL},
18088
{ (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL},
18089
{ (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
18090
{ (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL},
18091
{ (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL},
18092
{ (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
18093
{ (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
18094
{ (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
18095
{ (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
18096
{ (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL},
18097
{ (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
18098
{ (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL},
18099
{ (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
18100
{ (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
18101
{ (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
18102
{ (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL},
18103
{ (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL},
18104
{ (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
18105
{ (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
18106
{ (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
18107
{ (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL},
18108
{ (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL},
18109
{ (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
18110
{ (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
18111
{ (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
18112
{ (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
18113
{ (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL},
18114
{ (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL},
18115
{ (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL},
18116
{ (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL},
18117
{ (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL},
18118
{ (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL},
18119
{ (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL},
18120
{ (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
18121
{ (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL},
18122
{ (char *)"new_HtmlCellEvent", (PyCFunction) _wrap_new_HtmlCellEvent, METH_VARARGS | METH_KEYWORDS, NULL},
18123
{ (char *)"HtmlCellEvent_GetCell", (PyCFunction)_wrap_HtmlCellEvent_GetCell, METH_O, NULL},
18124
{ (char *)"HtmlCellEvent_GetPoint", (PyCFunction)_wrap_HtmlCellEvent_GetPoint, METH_O, NULL},
18125
{ (char *)"HtmlCellEvent_GetMouseEvent", (PyCFunction)_wrap_HtmlCellEvent_GetMouseEvent, METH_O, NULL},
18126
{ (char *)"HtmlCellEvent_SetLinkClicked", (PyCFunction) _wrap_HtmlCellEvent_SetLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
18127
{ (char *)"HtmlCellEvent_GetLinkClicked", (PyCFunction)_wrap_HtmlCellEvent_GetLinkClicked, METH_O, NULL},
18128
{ (char *)"HtmlCellEvent_swigregister", HtmlCellEvent_swigregister, METH_VARARGS, NULL},
18129
{ (char *)"HtmlCellEvent_swiginit", HtmlCellEvent_swiginit, METH_VARARGS, NULL},
18130
{ (char *)"new_HtmlLinkEvent", (PyCFunction) _wrap_new_HtmlLinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
18131
{ (char *)"HtmlLinkEvent_GetLinkInfo", (PyCFunction)_wrap_HtmlLinkEvent_GetLinkInfo, METH_O, NULL},
18132
{ (char *)"HtmlLinkEvent_swigregister", HtmlLinkEvent_swigregister, METH_VARARGS, NULL},
18133
{ (char *)"HtmlLinkEvent_swiginit", HtmlLinkEvent_swiginit, METH_VARARGS, NULL},
18134
{ (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
18135
{ (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
18136
{ (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
18137
{ (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL},
18138
{ (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
18139
{ (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL},
18140
{ (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL},
18141
{ (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
18142
{ (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL},
18143
{ (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
18144
{ (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL},
18145
{ (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
18146
{ (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
18147
{ (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
18148
{ (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL},
18149
{ (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL},
18150
{ (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
18151
{ (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL},
18152
{ (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
18153
{ (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
18154
{ (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL},
18155
{ (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
18156
{ (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
18157
{ (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
18158
{ (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL},
18159
{ (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
18160
{ (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
18161
{ (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
18162
{ (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
18163
{ (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
18164
{ (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
18165
{ (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL},
18166
{ (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL},
18167
{ (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
18168
{ (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL},
18169
{ (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
18170
{ (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
18171
{ (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL},
18172
{ (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL},
18173
{ (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
18174
{ (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL},
18175
{ (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL},
18176
{ (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
18177
{ (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
18178
{ (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
18179
{ (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
18180
{ (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
18181
{ (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL},
18182
{ (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL},
18183
{ (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
18184
{ (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
18185
{ (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
18186
{ (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
18187
{ (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL},
18188
{ (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL},
18189
{ (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
18190
{ (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL},
18191
{ (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
18192
{ (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
18193
{ (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL},
18194
{ NULL, NULL, 0, NULL }
18198
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18200
static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
18201
return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
18203
static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
18204
return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
18206
static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
18207
return (void *)((wxEvent *) ((wxMenuEvent *) x));
18209
static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
18210
return (void *)((wxEvent *) ((wxCloseEvent *) x));
18212
static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
18213
return (void *)((wxEvent *) ((wxMouseEvent *) x));
18215
static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
18216
return (void *)((wxEvent *) ((wxEraseEvent *) x));
18218
static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
18219
return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
18221
static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
18222
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
18224
static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
18225
return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
18227
static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
18228
return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
18230
static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
18231
return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
18233
static void *_p_wxHtmlCellEventTo_p_wxEvent(void *x) {
18234
return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlCellEvent *) x));
18236
static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
18237
return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
18239
static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
18240
return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
18242
static void *_p_wxPyEventTo_p_wxEvent(void *x) {
18243
return (void *)((wxEvent *) ((wxPyEvent *) x));
18245
static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
18246
return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
18248
static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
18249
return (void *)((wxEvent *) ((wxIdleEvent *) x));
18251
static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
18252
return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
18254
static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
18255
return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
18257
static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
18258
return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
18260
static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
18261
return (void *)((wxEvent *) ((wxIconizeEvent *) x));
18263
static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
18264
return (void *)((wxEvent *) ((wxActivateEvent *) x));
18266
static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
18267
return (void *)((wxEvent *) ((wxSizeEvent *) x));
18269
static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
18270
return (void *)((wxEvent *) ((wxMoveEvent *) x));
18272
static void *_p_wxDateEventTo_p_wxEvent(void *x) {
18273
return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
18275
static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
18276
return (void *)((wxEvent *) ((wxPaintEvent *) x));
18278
static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
18279
return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
18281
static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
18282
return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
18284
static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
18285
return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
18287
static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
18288
return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
18290
static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
18291
return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
18293
static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
18294
return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18296
static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
18297
return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
18299
static void *_p_wxHtmlLinkEventTo_p_wxEvent(void *x) {
18300
return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlLinkEvent *) x));
18302
static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
18303
return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
18305
static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
18306
return (void *)((wxEvent *) ((wxFocusEvent *) x));
18308
static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
18309
return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
18311
static void *_p_wxSashEventTo_p_wxEvent(void *x) {
18312
return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
18314
static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
18315
return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18317
static void *_p_wxShowEventTo_p_wxEvent(void *x) {
18318
return (void *)((wxEvent *) ((wxShowEvent *) x));
18320
static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
18321
return (void *)((wxEvent *) ((wxCommandEvent *) x));
18323
static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
18324
return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
18326
static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
18327
return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18329
static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
18330
return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
18332
static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
18333
return (void *)((wxEvent *) ((wxKeyEvent *) x));
18335
static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
18336
return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
18338
static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
18339
return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
18341
static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
18342
return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
18344
static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
18345
return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
18347
static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
18348
return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
18350
static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
18351
return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
18353
static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
18354
return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
18356
static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
18357
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18359
static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
18360
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18362
static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
18363
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18365
static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
18366
return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
18368
static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
18369
return (void *)((wxEvtHandler *) ((wxValidator *) x));
18371
static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
18372
return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
18374
static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
18375
return (void *)((wxEvtHandler *) ((wxMenu *) x));
18377
static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
18378
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18380
static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
18381
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18383
static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
18384
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18386
static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
18387
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18389
static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
18390
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18392
static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
18393
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
18395
static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
18396
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18398
static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
18399
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x));
18401
static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
18402
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18404
static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
18405
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
18407
static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
18408
return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
18410
static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
18411
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
18413
static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
18414
return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
18416
static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
18417
return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18419
static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
18420
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
18422
static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
18423
return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
18425
static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
18426
return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
18428
static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
18429
return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
18431
static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
18432
return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
18434
static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
18435
return (void *)((wxEvtHandler *) ((wxWindow *) x));
18437
static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
18438
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
18440
static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
18441
return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
18443
static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
18444
return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
18446
static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
18447
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18449
static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
18450
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18452
static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
18453
return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
18455
static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
18456
return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
18458
static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
18459
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18461
static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
18462
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18464
static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
18465
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18467
static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
18468
return (void *)((wxEvtHandler *) ((wxPyApp *) x));
18470
static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
18471
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18473
static void *_p_wxPyEvtHandlerTo_p_wxEvtHandler(void *x) {
18474
return (void *)((wxEvtHandler *) ((wxPyEvtHandler *) x));
18476
static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
18477
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
18479
static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
18480
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18482
static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
18483
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
18485
static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
18486
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18488
static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
18489
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18491
static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
18492
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
18494
static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
18495
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18497
static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
18498
return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
18500
static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
18501
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18503
static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
18504
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
18506
static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
18507
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18509
static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
18510
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18512
static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
18513
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
18515
static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
18516
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18518
static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
18519
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18521
static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
18522
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18524
static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
18525
return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
18527
static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
18528
return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
18530
static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
18531
return (void *)((wxFrame *) ((wxPreviewFrame *) x));
18533
static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
18534
return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18536
static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
18537
return (void *)((wxFrame *) ((wxMiniFrame *) x));
18539
static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
18540
return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
18542
static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
18543
return (void *)((wxFrame *) ((wxSplashScreen *) x));
18545
static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
18546
return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
18548
static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
18549
return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
18551
static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
18552
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
18554
static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
18555
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18557
static void *_p_wxEventTo_p_wxObject(void *x) {
18558
return (void *)((wxObject *) ((wxEvent *) x));
18560
static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
18561
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
18563
static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
18564
return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
18566
static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
18567
return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
18569
static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
18570
return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
18572
static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
18573
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18575
static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
18576
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18578
static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
18579
return (void *)((wxObject *) ((wxHtmlTag *) x));
18581
static void *_p_wxMenuItemTo_p_wxObject(void *x) {
18582
return (void *)((wxObject *) ((wxMenuItem *) x));
18584
static void *_p_wxImageTo_p_wxObject(void *x) {
18585
return (void *)((wxObject *) ((wxImage *) x));
18587
static void *_p_wxPySizerTo_p_wxObject(void *x) {
18588
return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
18590
static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
18591
return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
18593
static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
18594
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
18596
static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
18597
return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
18599
static void *_p_wxPyAppTo_p_wxObject(void *x) {
18600
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
18602
static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
18603
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18605
static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
18606
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
18608
static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
18609
return (void *)((wxObject *) ((wxFindReplaceData *) x));
18611
static void *_p_wxValidatorTo_p_wxObject(void *x) {
18612
return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
18614
static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
18615
return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
18617
static void *_p_wxEraseEventTo_p_wxObject(void *x) {
18618
return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
18620
static void *_p_wxMouseEventTo_p_wxObject(void *x) {
18621
return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
18623
static void *_p_wxCloseEventTo_p_wxObject(void *x) {
18624
return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
18626
static void *_p_wxScrollEventTo_p_wxObject(void *x) {
18627
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
18629
static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
18630
return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
18632
static void *_p_wxHtmlCellEventTo_p_wxObject(void *x) {
18633
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlCellEvent *) x));
18635
static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
18636
return (void *)((wxObject *) ((wxPrintDialogData *) x));
18638
static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
18639
return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
18641
static void *_p_wxPrinterTo_p_wxObject(void *x) {
18642
return (void *)((wxObject *) ((wxPrinter *) x));
18644
static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
18645
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18647
static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
18648
return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
18650
static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
18651
return (void *)((wxObject *) ((wxHtmlParser *) x));
18653
static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
18654
return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
18656
static void *_p_wxGridSizerTo_p_wxObject(void *x) {
18657
return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
18659
static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
18660
return (void *)((wxObject *) ((wxAcceleratorTable *) x));
18662
static void *_p_wxControlTo_p_wxObject(void *x) {
18663
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
18665
static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
18666
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18668
static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
18669
return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
18671
static void *_p_wxColourDataTo_p_wxObject(void *x) {
18672
return (void *)((wxObject *) ((wxColourData *) x));
18674
static void *_p_wxMoveEventTo_p_wxObject(void *x) {
18675
return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
18677
static void *_p_wxSizeEventTo_p_wxObject(void *x) {
18678
return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
18680
static void *_p_wxActivateEventTo_p_wxObject(void *x) {
18681
return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
18683
static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
18684
return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
18686
static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
18687
return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
18689
static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
18690
return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
18692
static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
18693
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
18695
static void *_p_wxIdleEventTo_p_wxObject(void *x) {
18696
return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
18698
static void *_p_wxDateEventTo_p_wxObject(void *x) {
18699
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
18701
static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
18702
return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
18704
static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
18705
return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
18707
static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
18708
return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
18710
static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
18711
return (void *)((wxObject *) ((wxPyPrintout *) x));
18713
static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
18714
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18716
static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
18717
return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
18719
static void *_p_wxKeyEventTo_p_wxObject(void *x) {
18720
return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
18722
static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
18723
return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
18725
static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
18726
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18728
static void *_p_wxSashEventTo_p_wxObject(void *x) {
18729
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
18731
static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
18732
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
18734
static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
18735
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18737
static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
18738
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18740
static void *_p_wxPrintDataTo_p_wxObject(void *x) {
18741
return (void *)((wxObject *) ((wxPrintData *) x));
18743
static void *_p_wxFontDataTo_p_wxObject(void *x) {
18744
return (void *)((wxObject *) ((wxFontData *) x));
18746
static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
18747
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18749
static void *_p_wxFrameTo_p_wxObject(void *x) {
18750
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
18752
static void *_p_wxPyPanelTo_p_wxObject(void *x) {
18753
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18755
static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
18756
return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18758
static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
18759
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18761
static void *_p_wxFileSystemTo_p_wxObject(void *x) {
18762
return (void *)((wxObject *) ((wxFileSystem *) x));
18764
static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
18765
return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
18767
static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
18768
return (void *)((wxObject *) ((wxPrintPreview *) x));
18770
static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
18771
return (void *)((wxObject *) ((wxLayoutConstraints *) x));
18773
static void *_p_wxSizerTo_p_wxObject(void *x) {
18774
return (void *)((wxObject *) ((wxSizer *) x));
18776
static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
18777
return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
18779
static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
18780
return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
18782
static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
18783
return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
18785
static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
18786
return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
18788
static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
18789
return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
18791
static void *_p_wxPaintEventTo_p_wxObject(void *x) {
18792
return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
18794
static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
18795
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
18797
static void *_p_wxFSFileTo_p_wxObject(void *x) {
18798
return (void *)((wxObject *) ((wxFSFile *) x));
18800
static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
18801
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
18803
static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
18804
return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
18806
static void *_p_wxMenuTo_p_wxObject(void *x) {
18807
return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
18809
static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
18810
return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
18812
static void *_p_wxSizerItemTo_p_wxObject(void *x) {
18813
return (void *)((wxObject *) ((wxSizerItem *) x));
18815
static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
18816
return (void *)((wxObject *) ((wxPrintDialog *) x));
18818
static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
18819
return (void *)((wxObject *) ((wxPageSetupDialog *) x));
18821
static void *_p_wxFontDialogTo_p_wxObject(void *x) {
18822
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18824
static void *_p_wxDirDialogTo_p_wxObject(void *x) {
18825
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18827
static void *_p_wxColourDialogTo_p_wxObject(void *x) {
18828
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18830
static void *_p_wxDialogTo_p_wxObject(void *x) {
18831
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
18833
static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
18834
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
18836
static void *_p_wxPyEventTo_p_wxObject(void *x) {
18837
return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
18839
static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
18840
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18842
static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
18843
return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
18845
static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
18846
return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
18848
static void *_p_wxPyEvtHandlerTo_p_wxObject(void *x) {
18849
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyEvtHandler *) x));
18851
static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
18852
return (void *)((wxObject *) ((wxEvtHandler *) x));
18854
static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
18855
return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
18857
static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
18858
return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
18860
static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
18861
return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
18863
static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
18864
return (void *)((wxObject *) ((wxImageHandler *) x));
18866
static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
18867
return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
18869
static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
18870
return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
18872
static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
18873
return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
18875
static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
18876
return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
18878
static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
18879
return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
18881
static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
18882
return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
18884
static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
18885
return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
18887
static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
18888
return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
18890
static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
18891
return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
18893
static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
18894
return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
18896
static void *_p_wxShowEventTo_p_wxObject(void *x) {
18897
return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
18899
static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
18900
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18902
static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
18903
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18905
static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
18906
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
18908
static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
18909
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
18911
static void *_p_wxTipWindowTo_p_wxObject(void *x) {
18912
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
18914
static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
18915
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18917
static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
18918
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
18920
static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
18921
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
18923
static void *_p_wxSashWindowTo_p_wxObject(void *x) {
18924
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
18926
static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
18927
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
18929
static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
18930
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
18932
static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
18933
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
18935
static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
18936
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
18938
static void *_p_wxWindowTo_p_wxObject(void *x) {
18939
return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
18941
static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
18942
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
18944
static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
18945
return (void *)((wxObject *) ((wxHelpControllerBase *) x));
18947
static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
18948
return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
18950
static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
18951
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18953
static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
18954
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x));
18956
static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
18957
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18959
static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
18960
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
18962
static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
18963
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18965
static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
18966
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18968
static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
18969
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18971
static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
18972
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18974
static void *_p_wxFileDialogTo_p_wxObject(void *x) {
18975
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18977
static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
18978
return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
18980
static void *_p_wxPyWindowTo_p_wxObject(void *x) {
18981
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
18983
static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
18984
return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
18986
static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
18987
return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18989
static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
18990
return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
18992
static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
18993
return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
18995
static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
18996
return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
18998
static void *_p_wxHtmlLinkEventTo_p_wxObject(void *x) {
18999
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlLinkEvent *) x));
19001
static void *_p_wxPanelTo_p_wxObject(void *x) {
19002
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
19004
static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
19005
return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
19007
static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
19008
return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
19010
static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
19011
return (void *)((wxObject *) ((wxHtmlCell *) x));
19013
static void *_p_wxMenuEventTo_p_wxObject(void *x) {
19014
return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
19016
static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
19017
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
19019
static void *_p_wxCommandEventTo_p_wxObject(void *x) {
19020
return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
19022
static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
19023
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
19025
static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
19026
return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
19028
static void *_p_wxStatusBarTo_p_wxObject(void *x) {
19029
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
19031
static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
19032
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
19034
static void *_p_wxFocusEventTo_p_wxObject(void *x) {
19035
return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
19037
static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
19038
return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
19040
static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
19041
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
19043
static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
19044
return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
19046
static void *_p_wxMenuBarTo_p_wxObject(void *x) {
19047
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
19049
static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
19050
return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
19052
static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
19053
return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
19055
static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
19056
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
19058
static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
19059
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
19061
static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
19062
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
19064
static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
19065
return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
19067
static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
19068
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
19070
static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
19071
return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
19073
static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
19074
return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
19076
static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
19077
return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
19079
static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
19080
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
19082
static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
19083
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
19085
static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
19086
return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
19088
static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
19089
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
19091
static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
19092
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
19094
static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
19095
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
19097
static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
19098
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
19100
static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
19101
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxProgressDialog *) x));
19103
static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
19104
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
19106
static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
19107
return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
19109
static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
19110
return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
19112
static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
19113
return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
19115
static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
19116
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
19118
static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
19119
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
19121
static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
19122
return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
19124
static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
19125
return (void *)((wxWindow *) ((wxMenuBar *) x));
19127
static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
19128
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
19130
static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
19131
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x));
19133
static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
19134
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
19136
static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
19137
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
19139
static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
19140
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
19142
static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
19143
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
19145
static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
19146
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
19148
static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
19149
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
19151
static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
19152
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
19154
static void *_p_wxPanelTo_p_wxWindow(void *x) {
19155
return (void *)((wxWindow *) ((wxPanel *) x));
19157
static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
19158
return (void *)((wxWindow *) ((wxStatusBar *) x));
19160
static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
19161
return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
19163
static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
19164
return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
19166
static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
19167
return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
19169
static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
19170
return (void *)((wxWindow *) ((wxPopupWindow *) x));
19172
static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
19173
return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
19175
static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
19176
return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
19178
static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
19179
return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
19181
static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
19182
return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
19184
static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
19185
return (void *)((wxWindow *) ((wxSplitterWindow *) x));
19187
static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
19188
return (void *)((wxWindow *) ((wxSashWindow *) x));
19190
static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
19191
return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
19193
static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
19194
return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
19196
static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
19197
return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
19199
static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
19200
return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
19202
static void *_p_wxControlTo_p_wxWindow(void *x) {
19203
return (void *)((wxWindow *) ((wxControl *) x));
19205
static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
19206
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
19208
static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
19209
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
19211
static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
19212
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
19214
static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
19215
return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
19217
static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
19218
return (void *)((wxWindow *) ((wxPyWindow *) x));
19220
static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
19221
return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
19223
static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
19224
return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
19226
static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
19227
return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
19229
static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
19230
return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
19232
static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
19233
return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
19235
static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
19236
return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
19238
static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
19239
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
19241
static void *_p_wxFrameTo_p_wxWindow(void *x) {
19242
return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
19244
static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
19245
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
19247
static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
19248
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
19250
static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
19251
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
19253
static void *_p_wxDialogTo_p_wxWindow(void *x) {
19254
return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
19256
static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
19257
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
19259
static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
19260
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
19262
static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
19263
return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
19265
static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
19266
return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
19268
static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
19269
return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
19271
static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
19272
return (void *)((wxDialog *) ((wxColourDialog *) x));
19274
static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
19275
return (void *)((wxDialog *) ((wxDirDialog *) x));
19277
static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
19278
return (void *)((wxDialog *) ((wxFontDialog *) x));
19280
static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
19281
return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
19283
static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
19284
return (void *)((wxDialog *) ((wxFileDialog *) x));
19286
static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
19287
return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
19289
static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
19290
return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
19292
static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
19293
return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
19295
static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
19296
return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
19298
static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
19299
return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
19301
static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
19302
return (void *)((wxDialog *) ((wxMessageDialog *) x));
19304
static void *_p_wxProgressDialogTo_p_wxDialog(void *x) {
19305
return (void *)((wxDialog *) ((wxProgressDialog *) x));
19307
static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
19308
return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
19310
static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
19311
return (void *)((wxPanel *) ((wxScrolledWindow *) x));
19313
static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
19314
return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
19316
static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
19317
return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
19319
static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
19320
return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
19322
static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
19323
return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
19325
static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
19326
return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
19328
static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
19329
return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
19331
static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
19332
return (void *)((wxPanel *) ((wxPyPanel *) x));
19334
static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
19335
return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
19337
static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
19338
return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
19340
static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
19341
return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
19343
static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
19344
return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
19346
static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
19347
return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
19349
static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
19350
return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
19352
static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
19353
return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
19355
static void *_p_wxHtmlLinkEventTo_p_wxCommandEvent(void *x) {
19356
return (void *)((wxCommandEvent *) ((wxHtmlLinkEvent *) x));
19358
static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
19359
return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
19361
static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
19362
return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
19364
static void *_p_wxHtmlCellEventTo_p_wxCommandEvent(void *x) {
19365
return (void *)((wxCommandEvent *) ((wxHtmlCellEvent *) x));
19367
static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
19368
return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
19370
static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
19371
return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
19373
static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
19374
return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
19376
static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
19377
return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
19379
static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
19380
return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
19382
static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
19383
return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
19385
static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
19386
return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
19388
static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
19389
return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
19391
static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
19392
return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
19394
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
19395
static swig_type_info _swigt__p_double = {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
19396
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};
19397
static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
19398
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19399
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19400
static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19401
static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
19402
static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19403
static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19404
static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19405
static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19406
static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19407
static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19408
static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
19409
static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19410
static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19411
static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19412
static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19413
static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19414
static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19415
static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
19416
static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19417
static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19418
static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19419
static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19420
static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19421
static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19422
static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19423
static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19424
static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19425
static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19426
static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19427
static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19428
static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19429
static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19430
static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19431
static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
19432
static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19433
static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19434
static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19435
static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19436
static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19437
static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19438
static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19439
static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19440
static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19441
static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19442
static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19443
static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
19444
static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19445
static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19446
static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19447
static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19448
static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19449
static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19450
static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19451
static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19452
static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19453
static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19454
static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19455
static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19456
static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19457
static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19458
static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19459
static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19460
static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19461
static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19462
static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19463
static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19464
static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19465
static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19466
static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19467
static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19468
static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19469
static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19470
static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19471
static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
19472
static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19473
static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19474
static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19475
static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19476
static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19477
static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19478
static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19479
static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19480
static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19481
static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19482
static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19483
static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19484
static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19485
static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
19486
static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19487
static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
19488
static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19489
static swig_type_info _swigt__p_wxPyEvtHandler = {"_p_wxPyEvtHandler", 0, 0, 0, 0, 0};
19490
static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19491
static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19492
static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
19493
static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19494
static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19495
static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19496
static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19497
static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19498
static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
19499
static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19500
static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19501
static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19502
static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19503
static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19504
static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19505
static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19506
static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19507
static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19508
static swig_type_info _swigt__p_wxHtmlCellEvent = {"_p_wxHtmlCellEvent", "wxHtmlCellEvent *", 0, 0, (void*)0, 0};
19509
static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19510
static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19511
static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19512
static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19513
static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19514
static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19515
static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19516
static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19517
static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19518
static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19519
static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19520
static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19521
static swig_type_info _swigt__p_wxHtmlLinkEvent = {"_p_wxHtmlLinkEvent", "wxHtmlLinkEvent *", 0, 0, (void*)0, 0};
19522
static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19523
static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19524
static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19525
static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19526
static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19527
static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19528
static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19529
static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19530
static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19531
static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19532
static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19533
static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19534
static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19535
static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19536
static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19537
static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19538
static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19539
static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19540
static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19541
static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
19542
static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
19543
static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19544
static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19545
static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19546
static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
19547
static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19548
static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19549
static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19550
static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
19551
static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19552
static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
19553
static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19554
static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19555
static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19556
static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
19557
static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19558
static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19559
static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19560
static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
19561
static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19562
static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19563
static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19564
static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19565
static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
19566
static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19567
static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19568
static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19569
static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19570
static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19571
static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19572
static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19573
static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19574
static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19575
static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19576
static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19577
static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19578
static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19579
static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19580
static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19581
static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19582
static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19583
static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19584
static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19585
static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19586
static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19587
static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19588
static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19589
static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19590
static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19591
static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19592
static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19593
static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19594
static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19596
static swig_type_info *swig_type_initial[] = {
19599
&_swigt__p_form_ops_t,
19601
&_swigt__p_unsigned_char,
19602
&_swigt__p_unsigned_int,
19603
&_swigt__p_unsigned_long,
19604
&_swigt__p_wxANIHandler,
19605
&_swigt__p_wxAcceleratorTable,
19606
&_swigt__p_wxActivateEvent,
19607
&_swigt__p_wxArrayInt,
19608
&_swigt__p_wxBMPHandler,
19609
&_swigt__p_wxBitmap,
19610
&_swigt__p_wxBoxSizer,
19611
&_swigt__p_wxCURHandler,
19612
&_swigt__p_wxCalculateLayoutEvent,
19613
&_swigt__p_wxChildFocusEvent,
19614
&_swigt__p_wxClipboardTextEvent,
19615
&_swigt__p_wxCloseEvent,
19616
&_swigt__p_wxColour,
19617
&_swigt__p_wxColourData,
19618
&_swigt__p_wxColourDialog,
19619
&_swigt__p_wxCommandEvent,
19620
&_swigt__p_wxConfigBase,
19621
&_swigt__p_wxContextMenuEvent,
19622
&_swigt__p_wxControl,
19623
&_swigt__p_wxControlWithItems,
19624
&_swigt__p_wxCursor,
19626
&_swigt__p_wxDateEvent,
19627
&_swigt__p_wxDefaultHtmlRenderingStyle,
19628
&_swigt__p_wxDialog,
19629
&_swigt__p_wxDirDialog,
19630
&_swigt__p_wxDisplayChangedEvent,
19631
&_swigt__p_wxDropFilesEvent,
19632
&_swigt__p_wxDuplexMode,
19633
&_swigt__p_wxEraseEvent,
19634
&_swigt__p_wxEvent,
19635
&_swigt__p_wxEvtHandler,
19636
&_swigt__p_wxFSFile,
19637
&_swigt__p_wxFileDialog,
19638
&_swigt__p_wxFileSystem,
19639
&_swigt__p_wxFindDialogEvent,
19640
&_swigt__p_wxFindReplaceData,
19641
&_swigt__p_wxFindReplaceDialog,
19642
&_swigt__p_wxFlexGridSizer,
19643
&_swigt__p_wxFocusEvent,
19645
&_swigt__p_wxFontData,
19646
&_swigt__p_wxFontDialog,
19647
&_swigt__p_wxFrame,
19648
&_swigt__p_wxGBSizerItem,
19649
&_swigt__p_wxGIFHandler,
19650
&_swigt__p_wxGridBagSizer,
19651
&_swigt__p_wxGridSizer,
19652
&_swigt__p_wxHelpControllerBase,
19653
&_swigt__p_wxHelpSearchMode,
19654
&_swigt__p_wxHtmlBookRecArray,
19655
&_swigt__p_wxHtmlBookRecord,
19656
&_swigt__p_wxHtmlCell,
19657
&_swigt__p_wxHtmlCellEvent,
19658
&_swigt__p_wxHtmlColourCell,
19659
&_swigt__p_wxHtmlContainerCell,
19660
&_swigt__p_wxHtmlDCRenderer,
19661
&_swigt__p_wxHtmlEasyPrinting,
19662
&_swigt__p_wxHtmlFilter,
19663
&_swigt__p_wxHtmlFontCell,
19664
&_swigt__p_wxHtmlHelpController,
19665
&_swigt__p_wxHtmlHelpData,
19666
&_swigt__p_wxHtmlHelpDialog,
19667
&_swigt__p_wxHtmlHelpFrame,
19668
&_swigt__p_wxHtmlHelpFrameCfg,
19669
&_swigt__p_wxHtmlHelpWindow,
19670
&_swigt__p_wxHtmlLinkEvent,
19671
&_swigt__p_wxHtmlLinkInfo,
19672
&_swigt__p_wxHtmlModalHelp,
19673
&_swigt__p_wxHtmlParser,
19674
&_swigt__p_wxHtmlPrintout,
19675
&_swigt__p_wxHtmlRenderingInfo,
19676
&_swigt__p_wxHtmlRenderingState,
19677
&_swigt__p_wxHtmlRenderingStyle,
19678
&_swigt__p_wxHtmlSearchStatus,
19679
&_swigt__p_wxHtmlSelection,
19680
&_swigt__p_wxHtmlTag,
19681
&_swigt__p_wxHtmlTagHandler,
19682
&_swigt__p_wxHtmlWidgetCell,
19683
&_swigt__p_wxHtmlWinParser,
19684
&_swigt__p_wxHtmlWindowInterface,
19685
&_swigt__p_wxHtmlWordCell,
19686
&_swigt__p_wxICOHandler,
19687
&_swigt__p_wxIconizeEvent,
19688
&_swigt__p_wxIdleEvent,
19689
&_swigt__p_wxImage,
19690
&_swigt__p_wxImageHandler,
19691
&_swigt__p_wxIndividualLayoutConstraint,
19692
&_swigt__p_wxInitDialogEvent,
19693
&_swigt__p_wxJPEGHandler,
19694
&_swigt__p_wxKeyEvent,
19695
&_swigt__p_wxLayoutAlgorithm,
19696
&_swigt__p_wxLayoutConstraints,
19697
&_swigt__p_wxMDIChildFrame,
19698
&_swigt__p_wxMDIClientWindow,
19699
&_swigt__p_wxMDIParentFrame,
19700
&_swigt__p_wxMaximizeEvent,
19702
&_swigt__p_wxMenuBar,
19703
&_swigt__p_wxMenuEvent,
19704
&_swigt__p_wxMenuItem,
19705
&_swigt__p_wxMessageDialog,
19706
&_swigt__p_wxMiniFrame,
19707
&_swigt__p_wxMouseCaptureChangedEvent,
19708
&_swigt__p_wxMouseCaptureLostEvent,
19709
&_swigt__p_wxMouseEvent,
19710
&_swigt__p_wxMoveEvent,
19711
&_swigt__p_wxMultiChoiceDialog,
19712
&_swigt__p_wxNavigationKeyEvent,
19713
&_swigt__p_wxNcPaintEvent,
19714
&_swigt__p_wxNotifyEvent,
19715
&_swigt__p_wxNumberEntryDialog,
19716
&_swigt__p_wxObject,
19717
&_swigt__p_wxPCXHandler,
19718
&_swigt__p_wxPNGHandler,
19719
&_swigt__p_wxPNMHandler,
19720
&_swigt__p_wxPageSetupDialog,
19721
&_swigt__p_wxPageSetupDialogData,
19722
&_swigt__p_wxPaintEvent,
19723
&_swigt__p_wxPaletteChangedEvent,
19724
&_swigt__p_wxPanel,
19725
&_swigt__p_wxPaperSize,
19726
&_swigt__p_wxPasswordEntryDialog,
19727
&_swigt__p_wxPoint,
19728
&_swigt__p_wxPopupWindow,
19729
&_swigt__p_wxPreviewCanvas,
19730
&_swigt__p_wxPreviewControlBar,
19731
&_swigt__p_wxPreviewFrame,
19732
&_swigt__p_wxPrintData,
19733
&_swigt__p_wxPrintDialog,
19734
&_swigt__p_wxPrintDialogData,
19735
&_swigt__p_wxPrintPreview,
19736
&_swigt__p_wxPrinter,
19737
&_swigt__p_wxProgressDialog,
19738
&_swigt__p_wxPyApp,
19739
&_swigt__p_wxPyCommandEvent,
19740
&_swigt__p_wxPyEvent,
19741
&_swigt__p_wxPyEvtHandler,
19742
&_swigt__p_wxPyHtmlFilter,
19743
&_swigt__p_wxPyHtmlListBox,
19744
&_swigt__p_wxPyHtmlTagHandler,
19745
&_swigt__p_wxPyHtmlWinTagHandler,
19746
&_swigt__p_wxPyHtmlWindow,
19747
&_swigt__p_wxPyImageHandler,
19748
&_swigt__p_wxPyPanel,
19749
&_swigt__p_wxPyPopupTransientWindow,
19750
&_swigt__p_wxPyPreviewControlBar,
19751
&_swigt__p_wxPyPreviewFrame,
19752
&_swigt__p_wxPyPrintPreview,
19753
&_swigt__p_wxPyPrintout,
19754
&_swigt__p_wxPyScrolledWindow,
19755
&_swigt__p_wxPySizer,
19756
&_swigt__p_wxPyTaskBarIcon,
19757
&_swigt__p_wxPyVListBox,
19758
&_swigt__p_wxPyVScrolledWindow,
19759
&_swigt__p_wxPyValidator,
19760
&_swigt__p_wxPyWindow,
19761
&_swigt__p_wxQueryLayoutInfoEvent,
19762
&_swigt__p_wxQueryNewPaletteEvent,
19763
&_swigt__p_wxSashEvent,
19764
&_swigt__p_wxSashLayoutWindow,
19765
&_swigt__p_wxSashWindow,
19766
&_swigt__p_wxScrollEvent,
19767
&_swigt__p_wxScrollWinEvent,
19768
&_swigt__p_wxScrolledWindow,
19769
&_swigt__p_wxSetCursorEvent,
19770
&_swigt__p_wxShowEvent,
19771
&_swigt__p_wxSimpleHtmlListBox,
19772
&_swigt__p_wxSingleChoiceDialog,
19773
&_swigt__p_wxSizeEvent,
19774
&_swigt__p_wxSizer,
19775
&_swigt__p_wxSizerItem,
19776
&_swigt__p_wxSplashScreen,
19777
&_swigt__p_wxSplashScreenWindow,
19778
&_swigt__p_wxSplitterEvent,
19779
&_swigt__p_wxSplitterWindow,
19780
&_swigt__p_wxStaticBoxSizer,
19781
&_swigt__p_wxStatusBar,
19782
&_swigt__p_wxStdDialogButtonSizer,
19783
&_swigt__p_wxString,
19784
&_swigt__p_wxSysColourChangedEvent,
19785
&_swigt__p_wxTGAHandler,
19786
&_swigt__p_wxTIFFHandler,
19787
&_swigt__p_wxTaskBarIconEvent,
19788
&_swigt__p_wxTextEntryDialog,
19789
&_swigt__p_wxTipWindow,
19790
&_swigt__p_wxTopLevelWindow,
19791
&_swigt__p_wxUpdateUIEvent,
19792
&_swigt__p_wxValidator,
19793
&_swigt__p_wxVisualAttributes,
19794
&_swigt__p_wxWindow,
19795
&_swigt__p_wxWindowCreateEvent,
19796
&_swigt__p_wxWindowDestroyEvent,
19797
&_swigt__p_wxXPMHandler,
19800
static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
19801
static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
19802
static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
19803
static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
19804
static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
19805
static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
19806
static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
19807
static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
19808
static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
19809
static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
19810
static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
19811
static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
19812
static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
19813
static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
19814
static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
19815
static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
19816
static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19817
static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19818
static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
19819
static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
19820
static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
19821
static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19822
static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
19823
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_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHtmlCellEvent, _p_wxHtmlCellEventTo_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_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
19824
static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
19825
static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
19826
static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
19827
static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
19828
static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
19829
static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
19830
static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
19831
static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
19832
static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19833
static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19834
static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19835
static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19836
static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19837
static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
19838
static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
19839
static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
19840
static swig_cast_info _swigc__p_wxDialog[] = { {&_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_wxDialog, 0, 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_wxProgressDialog, _p_wxProgressDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
19841
static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
19842
static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19843
static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
19844
static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
19845
static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
19846
static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19847
static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
19848
static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
19849
static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
19850
static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
19851
static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
19852
static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19853
static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19854
static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
19855
static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19856
static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
19857
static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19858
static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19859
static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19860
static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19861
static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19862
static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19863
static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
19864
static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19865
static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
19866
static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
19867
static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19868
static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19869
static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
19870
static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
19871
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_wxHtmlCellEvent, _p_wxHtmlCellEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_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}};
19872
static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
19873
static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
19874
static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
19875
static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
19876
static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
19877
static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
19878
static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
19879
static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
19880
static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19881
static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19882
static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
19883
static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
19884
static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
19885
static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
19886
static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
19887
static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
19888
static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19889
static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19890
static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
19891
static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
19892
static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
19893
static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
19894
static swig_cast_info _swigc__p_wxPyEvtHandler[] = {{&_swigt__p_wxPyEvtHandler, 0, 0, 0},{0, 0, 0, 0}};
19895
static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
19896
static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
19897
static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
19898
static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
19899
static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
19900
static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19901
static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19902
static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
19903
static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
19904
static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
19905
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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_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_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_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}};
19906
static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
19907
static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
19908
static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_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}};
19909
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}};
19910
static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
19911
static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
19912
static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
19913
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}};
19914
static swig_cast_info _swigc__p_wxHtmlCellEvent[] = { {&_swigt__p_wxHtmlCellEvent, 0, 0, 0},{0, 0, 0, 0}};
19915
static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
19916
static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
19917
static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
19918
static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
19919
static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19920
static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
19921
static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
19922
static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
19923
static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
19924
static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
19925
static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
19926
static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
19927
static swig_cast_info _swigc__p_wxHtmlLinkEvent[] = { {&_swigt__p_wxHtmlLinkEvent, 0, 0, 0},{0, 0, 0, 0}};
19928
static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
19929
static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
19930
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}};
19931
static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
19932
static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
19933
static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
19934
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}};
19935
static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
19936
static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
19937
static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
19938
static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19939
static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
19940
static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
19941
static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = { {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}};
19942
static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
19943
static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
19944
static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
19945
static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
19946
static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
19947
static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
19948
static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
19949
static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
19950
static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
19951
static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
19952
static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19953
static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19954
static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
19955
static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
19956
static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
19957
static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
19958
static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19959
static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19960
static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
19961
static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
19962
static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19963
static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19964
static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
19965
static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
19966
static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19967
static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19968
static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
19969
static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
19970
static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
19971
static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
19972
static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
19973
static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19974
static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19975
static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
19976
static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
19977
static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
19978
static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
19979
static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
19980
static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
19981
static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
19982
static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
19983
static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
19984
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_wxHtmlCellEvent, _p_wxHtmlCellEventTo_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_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_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_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_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_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
19985
static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
19986
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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
19987
static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
19988
static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
19989
static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
19990
static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19991
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}};
19992
static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19993
static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19994
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}};
19995
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}};
19996
static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
19997
static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
19998
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_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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}};
19999
static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
20000
static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
20002
static swig_cast_info *swig_cast_initial[] = {
20005
_swigc__p_form_ops_t,
20007
_swigc__p_unsigned_char,
20008
_swigc__p_unsigned_int,
20009
_swigc__p_unsigned_long,
20010
_swigc__p_wxANIHandler,
20011
_swigc__p_wxAcceleratorTable,
20012
_swigc__p_wxActivateEvent,
20013
_swigc__p_wxArrayInt,
20014
_swigc__p_wxBMPHandler,
20015
_swigc__p_wxBitmap,
20016
_swigc__p_wxBoxSizer,
20017
_swigc__p_wxCURHandler,
20018
_swigc__p_wxCalculateLayoutEvent,
20019
_swigc__p_wxChildFocusEvent,
20020
_swigc__p_wxClipboardTextEvent,
20021
_swigc__p_wxCloseEvent,
20022
_swigc__p_wxColour,
20023
_swigc__p_wxColourData,
20024
_swigc__p_wxColourDialog,
20025
_swigc__p_wxCommandEvent,
20026
_swigc__p_wxConfigBase,
20027
_swigc__p_wxContextMenuEvent,
20028
_swigc__p_wxControl,
20029
_swigc__p_wxControlWithItems,
20030
_swigc__p_wxCursor,
20032
_swigc__p_wxDateEvent,
20033
_swigc__p_wxDefaultHtmlRenderingStyle,
20034
_swigc__p_wxDialog,
20035
_swigc__p_wxDirDialog,
20036
_swigc__p_wxDisplayChangedEvent,
20037
_swigc__p_wxDropFilesEvent,
20038
_swigc__p_wxDuplexMode,
20039
_swigc__p_wxEraseEvent,
20041
_swigc__p_wxEvtHandler,
20042
_swigc__p_wxFSFile,
20043
_swigc__p_wxFileDialog,
20044
_swigc__p_wxFileSystem,
20045
_swigc__p_wxFindDialogEvent,
20046
_swigc__p_wxFindReplaceData,
20047
_swigc__p_wxFindReplaceDialog,
20048
_swigc__p_wxFlexGridSizer,
20049
_swigc__p_wxFocusEvent,
20051
_swigc__p_wxFontData,
20052
_swigc__p_wxFontDialog,
20054
_swigc__p_wxGBSizerItem,
20055
_swigc__p_wxGIFHandler,
20056
_swigc__p_wxGridBagSizer,
20057
_swigc__p_wxGridSizer,
20058
_swigc__p_wxHelpControllerBase,
20059
_swigc__p_wxHelpSearchMode,
20060
_swigc__p_wxHtmlBookRecArray,
20061
_swigc__p_wxHtmlBookRecord,
20062
_swigc__p_wxHtmlCell,
20063
_swigc__p_wxHtmlCellEvent,
20064
_swigc__p_wxHtmlColourCell,
20065
_swigc__p_wxHtmlContainerCell,
20066
_swigc__p_wxHtmlDCRenderer,
20067
_swigc__p_wxHtmlEasyPrinting,
20068
_swigc__p_wxHtmlFilter,
20069
_swigc__p_wxHtmlFontCell,
20070
_swigc__p_wxHtmlHelpController,
20071
_swigc__p_wxHtmlHelpData,
20072
_swigc__p_wxHtmlHelpDialog,
20073
_swigc__p_wxHtmlHelpFrame,
20074
_swigc__p_wxHtmlHelpFrameCfg,
20075
_swigc__p_wxHtmlHelpWindow,
20076
_swigc__p_wxHtmlLinkEvent,
20077
_swigc__p_wxHtmlLinkInfo,
20078
_swigc__p_wxHtmlModalHelp,
20079
_swigc__p_wxHtmlParser,
20080
_swigc__p_wxHtmlPrintout,
20081
_swigc__p_wxHtmlRenderingInfo,
20082
_swigc__p_wxHtmlRenderingState,
20083
_swigc__p_wxHtmlRenderingStyle,
20084
_swigc__p_wxHtmlSearchStatus,
20085
_swigc__p_wxHtmlSelection,
20086
_swigc__p_wxHtmlTag,
20087
_swigc__p_wxHtmlTagHandler,
20088
_swigc__p_wxHtmlWidgetCell,
20089
_swigc__p_wxHtmlWinParser,
20090
_swigc__p_wxHtmlWindowInterface,
20091
_swigc__p_wxHtmlWordCell,
20092
_swigc__p_wxICOHandler,
20093
_swigc__p_wxIconizeEvent,
20094
_swigc__p_wxIdleEvent,
20096
_swigc__p_wxImageHandler,
20097
_swigc__p_wxIndividualLayoutConstraint,
20098
_swigc__p_wxInitDialogEvent,
20099
_swigc__p_wxJPEGHandler,
20100
_swigc__p_wxKeyEvent,
20101
_swigc__p_wxLayoutAlgorithm,
20102
_swigc__p_wxLayoutConstraints,
20103
_swigc__p_wxMDIChildFrame,
20104
_swigc__p_wxMDIClientWindow,
20105
_swigc__p_wxMDIParentFrame,
20106
_swigc__p_wxMaximizeEvent,
20108
_swigc__p_wxMenuBar,
20109
_swigc__p_wxMenuEvent,
20110
_swigc__p_wxMenuItem,
20111
_swigc__p_wxMessageDialog,
20112
_swigc__p_wxMiniFrame,
20113
_swigc__p_wxMouseCaptureChangedEvent,
20114
_swigc__p_wxMouseCaptureLostEvent,
20115
_swigc__p_wxMouseEvent,
20116
_swigc__p_wxMoveEvent,
20117
_swigc__p_wxMultiChoiceDialog,
20118
_swigc__p_wxNavigationKeyEvent,
20119
_swigc__p_wxNcPaintEvent,
20120
_swigc__p_wxNotifyEvent,
20121
_swigc__p_wxNumberEntryDialog,
20122
_swigc__p_wxObject,
20123
_swigc__p_wxPCXHandler,
20124
_swigc__p_wxPNGHandler,
20125
_swigc__p_wxPNMHandler,
20126
_swigc__p_wxPageSetupDialog,
20127
_swigc__p_wxPageSetupDialogData,
20128
_swigc__p_wxPaintEvent,
20129
_swigc__p_wxPaletteChangedEvent,
20131
_swigc__p_wxPaperSize,
20132
_swigc__p_wxPasswordEntryDialog,
20134
_swigc__p_wxPopupWindow,
20135
_swigc__p_wxPreviewCanvas,
20136
_swigc__p_wxPreviewControlBar,
20137
_swigc__p_wxPreviewFrame,
20138
_swigc__p_wxPrintData,
20139
_swigc__p_wxPrintDialog,
20140
_swigc__p_wxPrintDialogData,
20141
_swigc__p_wxPrintPreview,
20142
_swigc__p_wxPrinter,
20143
_swigc__p_wxProgressDialog,
20145
_swigc__p_wxPyCommandEvent,
20146
_swigc__p_wxPyEvent,
20147
_swigc__p_wxPyEvtHandler,
20148
_swigc__p_wxPyHtmlFilter,
20149
_swigc__p_wxPyHtmlListBox,
20150
_swigc__p_wxPyHtmlTagHandler,
20151
_swigc__p_wxPyHtmlWinTagHandler,
20152
_swigc__p_wxPyHtmlWindow,
20153
_swigc__p_wxPyImageHandler,
20154
_swigc__p_wxPyPanel,
20155
_swigc__p_wxPyPopupTransientWindow,
20156
_swigc__p_wxPyPreviewControlBar,
20157
_swigc__p_wxPyPreviewFrame,
20158
_swigc__p_wxPyPrintPreview,
20159
_swigc__p_wxPyPrintout,
20160
_swigc__p_wxPyScrolledWindow,
20161
_swigc__p_wxPySizer,
20162
_swigc__p_wxPyTaskBarIcon,
20163
_swigc__p_wxPyVListBox,
20164
_swigc__p_wxPyVScrolledWindow,
20165
_swigc__p_wxPyValidator,
20166
_swigc__p_wxPyWindow,
20167
_swigc__p_wxQueryLayoutInfoEvent,
20168
_swigc__p_wxQueryNewPaletteEvent,
20169
_swigc__p_wxSashEvent,
20170
_swigc__p_wxSashLayoutWindow,
20171
_swigc__p_wxSashWindow,
20172
_swigc__p_wxScrollEvent,
20173
_swigc__p_wxScrollWinEvent,
20174
_swigc__p_wxScrolledWindow,
20175
_swigc__p_wxSetCursorEvent,
20176
_swigc__p_wxShowEvent,
20177
_swigc__p_wxSimpleHtmlListBox,
20178
_swigc__p_wxSingleChoiceDialog,
20179
_swigc__p_wxSizeEvent,
20181
_swigc__p_wxSizerItem,
20182
_swigc__p_wxSplashScreen,
20183
_swigc__p_wxSplashScreenWindow,
20184
_swigc__p_wxSplitterEvent,
20185
_swigc__p_wxSplitterWindow,
20186
_swigc__p_wxStaticBoxSizer,
20187
_swigc__p_wxStatusBar,
20188
_swigc__p_wxStdDialogButtonSizer,
20189
_swigc__p_wxString,
20190
_swigc__p_wxSysColourChangedEvent,
20191
_swigc__p_wxTGAHandler,
20192
_swigc__p_wxTIFFHandler,
20193
_swigc__p_wxTaskBarIconEvent,
20194
_swigc__p_wxTextEntryDialog,
20195
_swigc__p_wxTipWindow,
20196
_swigc__p_wxTopLevelWindow,
20197
_swigc__p_wxUpdateUIEvent,
20198
_swigc__p_wxValidator,
20199
_swigc__p_wxVisualAttributes,
20200
_swigc__p_wxWindow,
20201
_swigc__p_wxWindowCreateEvent,
20202
_swigc__p_wxWindowDestroyEvent,
20203
_swigc__p_wxXPMHandler,
20207
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20209
static swig_const_info swig_const_table[] = {
20210
{0, 0, 0, 0.0, 0, 0}};
20215
/* -----------------------------------------------------------------------------
20216
* Type initialization:
20217
* This problem is tough by the requirement that no dynamic
20218
* memory is used. Also, since swig_type_info structures store pointers to
20219
* swig_cast_info structures and swig_cast_info structures store pointers back
20220
* to swig_type_info structures, we need some lookup code at initialization.
20221
* The idea is that swig generates all the structures that are needed.
20222
* The runtime then collects these partially filled structures.
20223
* The SWIG_InitializeModule function takes these initial arrays out of
20224
* swig_module, and does all the lookup, filling in the swig_module.types
20225
* array with the correct data and linking the correct swig_cast_info
20226
* structures together.
20228
* The generated swig_type_info structures are assigned staticly to an initial
20229
* array. We just loop though that array, and handle each type individually.
20230
* First we lookup if this type has been already loaded, and if so, use the
20231
* loaded structure instead of the generated one. Then we have to fill in the
20232
* cast linked list. The cast data is initially stored in something like a
20233
* two-dimensional array. Each row corresponds to a type (there are the same
20234
* number of rows as there are in the swig_type_initial array). Each entry in
20235
* a column is one of the swig_cast_info structures for that type.
20236
* The cast_initial array is actually an array of arrays, because each row has
20237
* a variable number of columns. So to actually build the cast linked list,
20238
* we find the array of casts associated with the type, and loop through it
20239
* adding the casts to the list. The one last trick we need to do is making
20240
* sure the type pointer in the swig_cast_info struct is correct.
20242
* First off, we lookup the cast->type name to see if it is already loaded.
20243
* There are three cases to handle:
20244
* 1) If the cast->type has already been loaded AND the type we are adding
20245
* casting info to has not been loaded (it is in this module), THEN we
20246
* replace the cast->type pointer with the type pointer that has already
20248
* 2) If BOTH types (the one we are adding casting info to, and the
20249
* cast->type) are loaded, THEN the cast info has already been loaded by
20250
* the previous module so we just ignore it.
20251
* 3) Finally, if cast->type has not already been loaded, then we add that
20252
* swig_cast_info to the linked list (because the cast->type) pointer will
20254
* ----------------------------------------------------------------------------- */
20264
#define SWIGRUNTIME_DEBUG
20268
SWIG_InitializeModule(void *clientdata) {
20270
swig_module_info *module_head;
20271
static int init_run = 0;
20273
clientdata = clientdata;
20275
if (init_run) return;
20278
/* Initialize the swig_module */
20279
swig_module.type_initial = swig_type_initial;
20280
swig_module.cast_initial = swig_cast_initial;
20282
/* Try and load any already created modules */
20283
module_head = SWIG_GetModule(clientdata);
20285
swig_module.next = module_head->next;
20286
module_head->next = &swig_module;
20288
/* This is the first module loaded */
20289
swig_module.next = &swig_module;
20290
SWIG_SetModule(clientdata, &swig_module);
20293
/* Now work on filling in swig_module.types */
20294
#ifdef SWIGRUNTIME_DEBUG
20295
printf("SWIG_InitializeModule: size %d\n", swig_module.size);
20297
for (i = 0; i < swig_module.size; ++i) {
20298
swig_type_info *type = 0;
20299
swig_type_info *ret;
20300
swig_cast_info *cast;
20302
#ifdef SWIGRUNTIME_DEBUG
20303
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
20306
/* if there is another module already loaded */
20307
if (swig_module.next != &swig_module) {
20308
type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
20311
/* Overwrite clientdata field */
20312
#ifdef SWIGRUNTIME_DEBUG
20313
printf("SWIG_InitializeModule: found type %s\n", type->name);
20315
if (swig_module.type_initial[i]->clientdata) {
20316
type->clientdata = swig_module.type_initial[i]->clientdata;
20317
#ifdef SWIGRUNTIME_DEBUG
20318
printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
20322
type = swig_module.type_initial[i];
20325
/* Insert casting types */
20326
cast = swig_module.cast_initial[i];
20327
while (cast->type) {
20328
/* Don't need to add information already in the list */
20330
#ifdef SWIGRUNTIME_DEBUG
20331
printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
20333
if (swig_module.next != &swig_module) {
20334
ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
20335
#ifdef SWIGRUNTIME_DEBUG
20336
if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
20340
if (type == swig_module.type_initial[i]) {
20341
#ifdef SWIGRUNTIME_DEBUG
20342
printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
20347
/* Check for casting already in the list */
20348
swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
20349
#ifdef SWIGRUNTIME_DEBUG
20350
if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
20352
if (!ocast) ret = 0;
20357
#ifdef SWIGRUNTIME_DEBUG
20358
printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
20361
type->cast->prev = cast;
20362
cast->next = type->cast;
20368
/* Set entry in modules->types array equal to the type */
20369
swig_module.types[i] = type;
20371
swig_module.types[i] = 0;
20373
#ifdef SWIGRUNTIME_DEBUG
20374
printf("**** SWIG_InitializeModule: Cast List ******\n");
20375
for (i = 0; i < swig_module.size; ++i) {
20377
swig_cast_info *cast = swig_module.cast_initial[i];
20378
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
20379
while (cast->type) {
20380
printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
20384
printf("---- Total casts: %d\n",j);
20386
printf("**** SWIG_InitializeModule: Cast List ******\n");
20390
/* This function will propagate the clientdata field of type to
20391
* any new swig_type_info structures that have been added into the list
20392
* of equivalent types. It is like calling
20393
* SWIG_TypeClientData(type, clientdata) a second time.
20396
SWIG_PropagateClientData(void) {
20398
swig_cast_info *equiv;
20399
static int init_run = 0;
20401
if (init_run) return;
20404
for (i = 0; i < swig_module.size; i++) {
20405
if (swig_module.types[i]->clientdata) {
20406
equiv = swig_module.types[i]->cast;
20408
if (!equiv->converter) {
20409
if (equiv->type && !equiv->type->clientdata)
20410
SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
20412
equiv = equiv->next;
20432
/* Python-specific SWIG API */
20433
#define SWIG_newvarlink() SWIG_Python_newvarlink()
20434
#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20435
#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20437
/* -----------------------------------------------------------------------------
20438
* global variable support code.
20439
* ----------------------------------------------------------------------------- */
20441
typedef struct swig_globalvar {
20442
char *name; /* Name of global variable */
20443
PyObject *(*get_attr)(void); /* Return the current value */
20444
int (*set_attr)(PyObject *); /* Set the value */
20445
struct swig_globalvar *next;
20448
typedef struct swig_varlinkobject {
20450
swig_globalvar *vars;
20451
} swig_varlinkobject;
20453
SWIGINTERN PyObject *
20454
swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
20455
return PyString_FromString("<Swig global variables>");
20458
SWIGINTERN PyObject *
20459
swig_varlink_str(swig_varlinkobject *v) {
20460
PyObject *str = PyString_FromString("(");
20461
swig_globalvar *var;
20462
for (var = v->vars; var; var=var->next) {
20463
PyString_ConcatAndDel(&str,PyString_FromString(var->name));
20464
if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
20466
PyString_ConcatAndDel(&str,PyString_FromString(")"));
20471
swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
20472
PyObject *str = swig_varlink_str(v);
20473
fprintf(fp,"Swig global variables ");
20474
fprintf(fp,"%s\n", PyString_AsString(str));
20480
swig_varlink_dealloc(swig_varlinkobject *v) {
20481
swig_globalvar *var = v->vars;
20483
swig_globalvar *n = var->next;
20490
SWIGINTERN PyObject *
20491
swig_varlink_getattr(swig_varlinkobject *v, char *n) {
20492
PyObject *res = NULL;
20493
swig_globalvar *var = v->vars;
20495
if (strcmp(var->name,n) == 0) {
20496
res = (*var->get_attr)();
20501
if (res == NULL && !PyErr_Occurred()) {
20502
PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20508
swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
20510
swig_globalvar *var = v->vars;
20512
if (strcmp(var->name,n) == 0) {
20513
res = (*var->set_attr)(p);
20518
if (res == 1 && !PyErr_Occurred()) {
20519
PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20524
SWIGINTERN PyTypeObject*
20525
swig_varlink_type(void) {
20526
static char varlink__doc__[] = "Swig var link object";
20527
static PyTypeObject varlink_type;
20528
static int type_init = 0;
20530
const PyTypeObject tmp
20532
PyObject_HEAD_INIT(NULL)
20533
0, /* Number of items in variable part (ob_size) */
20534
(char *)"swigvarlink", /* Type name (tp_name) */
20535
sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
20536
0, /* Itemsize (tp_itemsize) */
20537
(destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
20538
(printfunc) swig_varlink_print, /* Print (tp_print) */
20539
(getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
20540
(setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
20541
0, /* tp_compare */
20542
(reprfunc) swig_varlink_repr, /* tp_repr */
20543
0, /* tp_as_number */
20544
0, /* tp_as_sequence */
20545
0, /* tp_as_mapping */
20548
(reprfunc)swig_varlink_str, /* tp_str */
20549
0, /* tp_getattro */
20550
0, /* tp_setattro */
20551
0, /* tp_as_buffer */
20553
varlink__doc__, /* tp_doc */
20554
0, /* tp_traverse */
20556
0, /* tp_richcompare */
20557
0, /* tp_weaklistoffset */
20558
#if PY_VERSION_HEX >= 0x02020000
20559
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20561
#if PY_VERSION_HEX >= 0x02030000
20564
#ifdef COUNT_ALLOCS
20565
0,0,0,0 /* tp_alloc -> tp_next */
20568
varlink_type = tmp;
20569
varlink_type.ob_type = &PyType_Type;
20572
return &varlink_type;
20575
/* Create a variable linking object for use later */
20576
SWIGINTERN PyObject *
20577
SWIG_Python_newvarlink(void) {
20578
swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
20582
return ((PyObject*) result);
20586
SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
20587
swig_varlinkobject *v = (swig_varlinkobject *) p;
20588
swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
20590
size_t size = strlen(name)+1;
20591
gv->name = (char *)malloc(size);
20593
strncpy(gv->name,name,size);
20594
gv->get_attr = get_attr;
20595
gv->set_attr = set_attr;
20596
gv->next = v->vars;
20602
SWIGINTERN PyObject *
20604
static PyObject *_SWIG_globals = 0;
20605
if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
20606
return _SWIG_globals;
20609
/* -----------------------------------------------------------------------------
20610
* constants/methods manipulation
20611
* ----------------------------------------------------------------------------- */
20613
/* Install Constants */
20615
SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
20618
for (i = 0; constants[i].type; ++i) {
20619
switch(constants[i].type) {
20620
case SWIG_PY_POINTER:
20621
obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
20623
case SWIG_PY_BINARY:
20624
obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
20631
PyDict_SetItemString(d, constants[i].name, obj);
20637
/* -----------------------------------------------------------------------------*/
20638
/* Fix SwigMethods to carry the callback ptrs when needed */
20639
/* -----------------------------------------------------------------------------*/
20642
SWIG_Python_FixMethods(PyMethodDef *methods,
20643
swig_const_info *const_table,
20644
swig_type_info **types,
20645
swig_type_info **types_initial) {
20647
for (i = 0; methods[i].ml_name; ++i) {
20648
const char *c = methods[i].ml_doc;
20649
if (c && (c = strstr(c, "swig_ptr: "))) {
20651
swig_const_info *ci = 0;
20652
const char *name = c + 10;
20653
for (j = 0; const_table[j].type; ++j) {
20654
if (strncmp(const_table[j].name, name,
20655
strlen(const_table[j].name)) == 0) {
20656
ci = &(const_table[j]);
20661
size_t shift = (ci->ptype) - types;
20662
swig_type_info *ty = types_initial[shift];
20663
size_t ldoc = (c - methods[i].ml_doc);
20664
size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
20665
char *ndoc = (char*)malloc(ldoc + lptr + 10);
20668
void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
20670
strncpy(buff, methods[i].ml_doc, ldoc);
20672
strncpy(buff, "swig_ptr: ", 10);
20674
SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
20675
methods[i].ml_doc = ndoc;
20687
/* -----------------------------------------------------------------------------*
20688
* Partial Init method
20689
* -----------------------------------------------------------------------------*/
20694
SWIGEXPORT void SWIG_init(void) {
20697
/* Fix SwigMethods to carry the callback ptrs when needed */
20698
SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
20700
m = Py_InitModule((char *) SWIG_name, SwigMethods);
20701
d = PyModule_GetDict(m);
20703
SWIG_InitializeModule(0);
20704
SWIG_InstallConstants(d,swig_const_table);
20707
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
20708
SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set);
20709
SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set);
20710
SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set);
20711
SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT)));
20712
SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER)));
20713
SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT)));
20714
SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM)));
20715
SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP)));
20716
SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND)));
20717
SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND)));
20718
SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS)));
20719
SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT)));
20720
SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT)));
20721
SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT)));
20722
SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP)));
20723
SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM)));
20724
SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL)));
20725
SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL)));
20726
SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL)));
20727
SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR)));
20728
SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP)));
20729
SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER)));
20730
SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER)));
20731
SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO)));
20732
SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION)));
20733
SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE)));
20734
SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN)));
20735
SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK)));
20736
SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT)));
20737
SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE)));
20738
SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE)));
20739
SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER)));
20740
SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT)));
20741
SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN)));
20742
SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING)));
20743
SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT)));
20744
SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE)));
20745
SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER)));
20746
SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default)));
20747
SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link)));
20748
SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text)));
20749
SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default)));
20750
SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link)));
20751
SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text)));
20752
SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD)));
20753
SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN)));
20754
SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL)));
20755
SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR)));
20756
SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS)));
20757
SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX)));
20758
SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH)));
20759
SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS)));
20760
SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES)));
20761
SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT)));
20762
SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR)));
20763
SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS)));
20764
SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK)));
20765
SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER)));
20766
SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER)));
20767
SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE)));
20768
SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED)));
20769
SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG)));
20770
SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME)));
20771
SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL)));
20772
SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL)));
20773
SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK)));
20774
SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD)));
20775
SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE)));
20776
SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP)));
20777
SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN)));
20778
SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT)));
20779
SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE)));
20780
SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS)));
20781
SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST)));
20782
SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD)));
20783
SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE)));
20784
SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL)));
20785
SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE)));
20786
SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST)));
20787
SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT)));
20788
SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON)));
20789
SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL)));
20790
SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK)));
20791
SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE)));
20792
SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT)));
20793
SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST)));
20794
SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON)));
20795
SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE)));
20796
SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO)));
20797
PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_CLICKED));
20798
PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_HOVER", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_HOVER));
20799
PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_LINK_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_LINK_CLICKED));
20801
wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20802
wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20803
wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20804
wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");