git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
20766 lines
765 KiB
C++
20766 lines
765 KiB
C++
/* ----------------------------------------------------------------------------
|
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
|
* Version 1.3.29
|
|
*
|
|
* This file is not intended to be easily readable and contains a number of
|
|
* coding conventions designed to improve portability and efficiency. Do not make
|
|
* changes to this file unless you know what you are doing--modify the SWIG
|
|
* interface file instead.
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
#define SWIGPYTHON
|
|
#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
|
|
|
|
#ifdef __cplusplus
|
|
template<class T> class SwigValueWrapper {
|
|
T *tt;
|
|
public:
|
|
SwigValueWrapper() : tt(0) { }
|
|
SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
|
|
SwigValueWrapper(const T& t) : tt(new T(t)) { }
|
|
~SwigValueWrapper() { delete tt; }
|
|
SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
|
|
operator T&() const { return *tt; }
|
|
T *operator&() { return tt; }
|
|
private:
|
|
SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
|
|
};
|
|
#endif
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* This section contains generic SWIG labels for method/variable
|
|
* declarations/attributes, and other compiler dependent labels.
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
/* template workaround for compilers that cannot correctly implement the C++ standard */
|
|
#ifndef SWIGTEMPLATEDISAMBIGUATOR
|
|
# if defined(__SUNPRO_CC)
|
|
# if (__SUNPRO_CC <= 0x560)
|
|
# define SWIGTEMPLATEDISAMBIGUATOR template
|
|
# else
|
|
# define SWIGTEMPLATEDISAMBIGUATOR
|
|
# endif
|
|
# else
|
|
# define SWIGTEMPLATEDISAMBIGUATOR
|
|
# endif
|
|
#endif
|
|
|
|
/* inline attribute */
|
|
#ifndef SWIGINLINE
|
|
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
|
|
# define SWIGINLINE inline
|
|
# else
|
|
# define SWIGINLINE
|
|
# endif
|
|
#endif
|
|
|
|
/* attribute recognised by some compilers to avoid 'unused' warnings */
|
|
#ifndef SWIGUNUSED
|
|
# if defined(__GNUC__)
|
|
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
|
|
# define SWIGUNUSED __attribute__ ((__unused__))
|
|
# else
|
|
# define SWIGUNUSED
|
|
# endif
|
|
# elif defined(__ICC)
|
|
# define SWIGUNUSED __attribute__ ((__unused__))
|
|
# else
|
|
# define SWIGUNUSED
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef SWIGUNUSEDPARM
|
|
# ifdef __cplusplus
|
|
# define SWIGUNUSEDPARM(p)
|
|
# else
|
|
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
|
|
# endif
|
|
#endif
|
|
|
|
/* internal SWIG method */
|
|
#ifndef SWIGINTERN
|
|
# define SWIGINTERN static SWIGUNUSED
|
|
#endif
|
|
|
|
/* internal inline SWIG method */
|
|
#ifndef SWIGINTERNINLINE
|
|
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
|
|
#endif
|
|
|
|
/* exporting methods */
|
|
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
|
# ifndef GCC_HASCLASSVISIBILITY
|
|
# define GCC_HASCLASSVISIBILITY
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef SWIGEXPORT
|
|
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
|
|
# if defined(STATIC_LINKED)
|
|
# define SWIGEXPORT
|
|
# else
|
|
# define SWIGEXPORT __declspec(dllexport)
|
|
# endif
|
|
# else
|
|
# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
|
|
# define SWIGEXPORT __attribute__ ((visibility("default")))
|
|
# else
|
|
# define SWIGEXPORT
|
|
# endif
|
|
# endif
|
|
#endif
|
|
|
|
/* calling conventions for Windows */
|
|
#ifndef SWIGSTDCALL
|
|
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
|
|
# define SWIGSTDCALL __stdcall
|
|
# else
|
|
# define SWIGSTDCALL
|
|
# endif
|
|
#endif
|
|
|
|
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
|
|
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
|
|
# define _CRT_SECURE_NO_DEPRECATE
|
|
#endif
|
|
|
|
|
|
/* Python.h has to appear first */
|
|
#include <Python.h>
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* swigrun.swg
|
|
*
|
|
* This file contains generic CAPI SWIG runtime support for pointer
|
|
* type checking.
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
/* This should only be incremented when either the layout of swig_type_info changes,
|
|
or for whatever reason, the runtime changes incompatibly */
|
|
#define SWIG_RUNTIME_VERSION "2"
|
|
|
|
/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
|
|
#ifdef SWIG_TYPE_TABLE
|
|
# define SWIG_QUOTE_STRING(x) #x
|
|
# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
|
|
# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
|
|
#else
|
|
# define SWIG_TYPE_TABLE_NAME
|
|
#endif
|
|
|
|
/*
|
|
You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
|
|
creating a static or dynamic library from the swig runtime code.
|
|
In 99.9% of the cases, swig just needs to declare them as 'static'.
|
|
|
|
But only do this if is strictly necessary, ie, if you have problems
|
|
with your compiler or so.
|
|
*/
|
|
|
|
#ifndef SWIGRUNTIME
|
|
# define SWIGRUNTIME SWIGINTERN
|
|
#endif
|
|
|
|
#ifndef SWIGRUNTIMEINLINE
|
|
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
|
|
#endif
|
|
|
|
/* Generic buffer size */
|
|
#ifndef SWIG_BUFFER_SIZE
|
|
# define SWIG_BUFFER_SIZE 1024
|
|
#endif
|
|
|
|
/* Flags for pointer conversions */
|
|
#define SWIG_POINTER_DISOWN 0x1
|
|
|
|
/* Flags for new pointer objects */
|
|
#define SWIG_POINTER_OWN 0x1
|
|
|
|
|
|
/*
|
|
Flags/methods for returning states.
|
|
|
|
The swig conversion methods, as ConvertPtr, return and integer
|
|
that tells if the conversion was successful or not. And if not,
|
|
an error code can be returned (see swigerrors.swg for the codes).
|
|
|
|
Use the following macros/flags to set or process the returning
|
|
states.
|
|
|
|
In old swig versions, you usually write code as:
|
|
|
|
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
|
|
// success code
|
|
} else {
|
|
//fail code
|
|
}
|
|
|
|
Now you can be more explicit as:
|
|
|
|
int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
|
|
if (SWIG_IsOK(res)) {
|
|
// success code
|
|
} else {
|
|
// fail code
|
|
}
|
|
|
|
that seems to be the same, but now you can also do
|
|
|
|
Type *ptr;
|
|
int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
|
|
if (SWIG_IsOK(res)) {
|
|
// success code
|
|
if (SWIG_IsNewObj(res) {
|
|
...
|
|
delete *ptr;
|
|
} else {
|
|
...
|
|
}
|
|
} else {
|
|
// fail code
|
|
}
|
|
|
|
I.e., now SWIG_ConvertPtr can return new objects and you can
|
|
identify the case and take care of the deallocation. Of course that
|
|
requires also to SWIG_ConvertPtr to return new result values, as
|
|
|
|
int SWIG_ConvertPtr(obj, ptr,...) {
|
|
if (<obj is ok>) {
|
|
if (<need new object>) {
|
|
*ptr = <ptr to new allocated object>;
|
|
return SWIG_NEWOBJ;
|
|
} else {
|
|
*ptr = <ptr to old object>;
|
|
return SWIG_OLDOBJ;
|
|
}
|
|
} else {
|
|
return SWIG_BADOBJ;
|
|
}
|
|
}
|
|
|
|
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
|
|
more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
|
|
swig errors code.
|
|
|
|
Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
|
|
allows to return the 'cast rank', for example, if you have this
|
|
|
|
int food(double)
|
|
int fooi(int);
|
|
|
|
and you call
|
|
|
|
food(1) // cast rank '1' (1 -> 1.0)
|
|
fooi(1) // cast rank '0'
|
|
|
|
just use the SWIG_AddCast()/SWIG_CheckState()
|
|
|
|
|
|
*/
|
|
#define SWIG_OK (0)
|
|
#define SWIG_ERROR (-1)
|
|
#define SWIG_IsOK(r) (r >= 0)
|
|
#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
|
|
|
|
/* The CastRankLimit says how many bits are used for the cast rank */
|
|
#define SWIG_CASTRANKLIMIT (1 << 8)
|
|
/* The NewMask denotes the object was created (using new/malloc) */
|
|
#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
|
|
/* The TmpMask is for in/out typemaps that use temporal objects */
|
|
#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
|
|
/* Simple returning values */
|
|
#define SWIG_BADOBJ (SWIG_ERROR)
|
|
#define SWIG_OLDOBJ (SWIG_OK)
|
|
#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
|
|
#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
|
|
/* Check, add and del mask methods */
|
|
#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
|
|
#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
|
|
#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
|
|
#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
|
|
#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
|
|
#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
|
|
|
|
|
|
/* Cast-Rank Mode */
|
|
#if defined(SWIG_CASTRANK_MODE)
|
|
# ifndef SWIG_TypeRank
|
|
# define SWIG_TypeRank unsigned long
|
|
# endif
|
|
# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
|
|
# define SWIG_MAXCASTRANK (2)
|
|
# endif
|
|
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
|
|
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
|
|
SWIGINTERNINLINE int SWIG_AddCast(int r) {
|
|
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
|
|
}
|
|
SWIGINTERNINLINE int SWIG_CheckState(int r) {
|
|
return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
|
|
}
|
|
#else /* no cast-rank mode */
|
|
# define SWIG_AddCast
|
|
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void *(*swig_converter_func)(void *);
|
|
typedef struct swig_type_info *(*swig_dycast_func)(void **);
|
|
|
|
/* Structure to store inforomation on one type */
|
|
typedef struct swig_type_info {
|
|
const char *name; /* mangled name of this type */
|
|
const char *str; /* human readable name of this type */
|
|
swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
|
|
struct swig_cast_info *cast; /* linked list of types that can cast into this type */
|
|
void *clientdata; /* language specific type data */
|
|
int owndata; /* flag if the structure owns the clientdata */
|
|
} swig_type_info;
|
|
|
|
/* Structure to store a type and conversion function used for casting */
|
|
typedef struct swig_cast_info {
|
|
swig_type_info *type; /* pointer to type that is equivalent to this type */
|
|
swig_converter_func converter; /* function to cast the void pointers */
|
|
struct swig_cast_info *next; /* pointer to next cast in linked list */
|
|
struct swig_cast_info *prev; /* pointer to the previous cast */
|
|
} swig_cast_info;
|
|
|
|
/* Structure used to store module information
|
|
* Each module generates one structure like this, and the runtime collects
|
|
* all of these structures and stores them in a circularly linked list.*/
|
|
typedef struct swig_module_info {
|
|
swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
|
|
size_t size; /* Number of types in this module */
|
|
struct swig_module_info *next; /* Pointer to next element in circularly linked list */
|
|
swig_type_info **type_initial; /* Array of initially generated type structures */
|
|
swig_cast_info **cast_initial; /* Array of initially generated casting structures */
|
|
void *clientdata; /* Language specific module data */
|
|
} swig_module_info;
|
|
|
|
/*
|
|
Compare two type names skipping the space characters, therefore
|
|
"char*" == "char *" and "Class<int>" == "Class<int >", etc.
|
|
|
|
Return 0 when the two name types are equivalent, as in
|
|
strncmp, but skipping ' '.
|
|
*/
|
|
SWIGRUNTIME int
|
|
SWIG_TypeNameComp(const char *f1, const char *l1,
|
|
const char *f2, const char *l2) {
|
|
for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
|
|
while ((*f1 == ' ') && (f1 != l1)) ++f1;
|
|
while ((*f2 == ' ') && (f2 != l2)) ++f2;
|
|
if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
|
|
}
|
|
return (l1 - f1) - (l2 - f2);
|
|
}
|
|
|
|
/*
|
|
Check type equivalence in a name list like <name1>|<name2>|...
|
|
Return 0 if not equal, 1 if equal
|
|
*/
|
|
SWIGRUNTIME int
|
|
SWIG_TypeEquiv(const char *nb, const char *tb) {
|
|
int equiv = 0;
|
|
const char* te = tb + strlen(tb);
|
|
const char* ne = nb;
|
|
while (!equiv && *ne) {
|
|
for (nb = ne; *ne; ++ne) {
|
|
if (*ne == '|') break;
|
|
}
|
|
equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
|
|
if (*ne) ++ne;
|
|
}
|
|
return equiv;
|
|
}
|
|
|
|
/*
|
|
Check type equivalence in a name list like <name1>|<name2>|...
|
|
Return 0 if equal, -1 if nb < tb, 1 if nb > tb
|
|
*/
|
|
SWIGRUNTIME int
|
|
SWIG_TypeCompare(const char *nb, const char *tb) {
|
|
int equiv = 0;
|
|
const char* te = tb + strlen(tb);
|
|
const char* ne = nb;
|
|
while (!equiv && *ne) {
|
|
for (nb = ne; *ne; ++ne) {
|
|
if (*ne == '|') break;
|
|
}
|
|
equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
|
|
if (*ne) ++ne;
|
|
}
|
|
return equiv;
|
|
}
|
|
|
|
|
|
/* think of this as a c++ template<> or a scheme macro */
|
|
#define SWIG_TypeCheck_Template(comparison, ty) \
|
|
if (ty) { \
|
|
swig_cast_info *iter = ty->cast; \
|
|
while (iter) { \
|
|
if (comparison) { \
|
|
if (iter == ty->cast) return iter; \
|
|
/* Move iter to the top of the linked list */ \
|
|
iter->prev->next = iter->next; \
|
|
if (iter->next) \
|
|
iter->next->prev = iter->prev; \
|
|
iter->next = ty->cast; \
|
|
iter->prev = 0; \
|
|
if (ty->cast) ty->cast->prev = iter; \
|
|
ty->cast = iter; \
|
|
return iter; \
|
|
} \
|
|
iter = iter->next; \
|
|
} \
|
|
} \
|
|
return 0
|
|
|
|
/*
|
|
Check the typename
|
|
*/
|
|
SWIGRUNTIME swig_cast_info *
|
|
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
|
|
SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
|
|
}
|
|
|
|
/* Same as previous function, except strcmp is replaced with a pointer comparison */
|
|
SWIGRUNTIME swig_cast_info *
|
|
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
|
|
SWIG_TypeCheck_Template(iter->type == from, into);
|
|
}
|
|
|
|
/*
|
|
Cast a pointer up an inheritance hierarchy
|
|
*/
|
|
SWIGRUNTIMEINLINE void *
|
|
SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
|
|
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
|
|
}
|
|
|
|
/*
|
|
Dynamic pointer casting. Down an inheritance hierarchy
|
|
*/
|
|
SWIGRUNTIME swig_type_info *
|
|
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
|
|
swig_type_info *lastty = ty;
|
|
if (!ty || !ty->dcast) return ty;
|
|
while (ty && (ty->dcast)) {
|
|
ty = (*ty->dcast)(ptr);
|
|
if (ty) lastty = ty;
|
|
}
|
|
return lastty;
|
|
}
|
|
|
|
/*
|
|
Return the name associated with this type
|
|
*/
|
|
SWIGRUNTIMEINLINE const char *
|
|
SWIG_TypeName(const swig_type_info *ty) {
|
|
return ty->name;
|
|
}
|
|
|
|
/*
|
|
Return the pretty name associated with this type,
|
|
that is an unmangled type name in a form presentable to the user.
|
|
*/
|
|
SWIGRUNTIME const char *
|
|
SWIG_TypePrettyName(const swig_type_info *type) {
|
|
/* The "str" field contains the equivalent pretty names of the
|
|
type, separated by vertical-bar characters. We choose
|
|
to print the last name, as it is often (?) the most
|
|
specific. */
|
|
if (!type) return NULL;
|
|
if (type->str != NULL) {
|
|
const char *last_name = type->str;
|
|
const char *s;
|
|
for (s = type->str; *s; s++)
|
|
if (*s == '|') last_name = s+1;
|
|
return last_name;
|
|
}
|
|
else
|
|
return type->name;
|
|
}
|
|
|
|
/*
|
|
Set the clientdata field for a type
|
|
*/
|
|
SWIGRUNTIME void
|
|
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
|
|
swig_cast_info *cast = ti->cast;
|
|
/* if (ti->clientdata == clientdata) return; */
|
|
ti->clientdata = clientdata;
|
|
|
|
while (cast) {
|
|
if (!cast->converter) {
|
|
swig_type_info *tc = cast->type;
|
|
if (!tc->clientdata) {
|
|
SWIG_TypeClientData(tc, clientdata);
|
|
}
|
|
}
|
|
cast = cast->next;
|
|
}
|
|
}
|
|
SWIGRUNTIME void
|
|
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
|
|
SWIG_TypeClientData(ti, clientdata);
|
|
ti->owndata = 1;
|
|
}
|
|
|
|
/*
|
|
Search for a swig_type_info structure only by mangled name
|
|
Search is a O(log #types)
|
|
|
|
We start searching at module start, and finish searching when start == end.
|
|
Note: if start == end at the beginning of the function, we go all the way around
|
|
the circular list.
|
|
*/
|
|
SWIGRUNTIME swig_type_info *
|
|
SWIG_MangledTypeQueryModule(swig_module_info *start,
|
|
swig_module_info *end,
|
|
const char *name) {
|
|
swig_module_info *iter = start;
|
|
do {
|
|
if (iter->size) {
|
|
register size_t l = 0;
|
|
register size_t r = iter->size - 1;
|
|
do {
|
|
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
|
|
register size_t i = (l + r) >> 1;
|
|
const char *iname = iter->types[i]->name;
|
|
if (iname) {
|
|
register int compare = strcmp(name, iname);
|
|
if (compare == 0) {
|
|
return iter->types[i];
|
|
} else if (compare < 0) {
|
|
if (i) {
|
|
r = i - 1;
|
|
} else {
|
|
break;
|
|
}
|
|
} else if (compare > 0) {
|
|
l = i + 1;
|
|
}
|
|
} else {
|
|
break; /* should never happen */
|
|
}
|
|
} while (l <= r);
|
|
}
|
|
iter = iter->next;
|
|
} while (iter != end);
|
|
return 0;
|
|
}
|
|
|
|
/*
|
|
Search for a swig_type_info structure for either a mangled name or a human readable name.
|
|
It first searches the mangled names of the types, which is a O(log #types)
|
|
If a type is not found it then searches the human readable names, which is O(#types).
|
|
|
|
We start searching at module start, and finish searching when start == end.
|
|
Note: if start == end at the beginning of the function, we go all the way around
|
|
the circular list.
|
|
*/
|
|
SWIGRUNTIME swig_type_info *
|
|
SWIG_TypeQueryModule(swig_module_info *start,
|
|
swig_module_info *end,
|
|
const char *name) {
|
|
/* STEP 1: Search the name field using binary search */
|
|
swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
|
|
if (ret) {
|
|
return ret;
|
|
} else {
|
|
/* STEP 2: If the type hasn't been found, do a complete search
|
|
of the str field (the human readable name) */
|
|
swig_module_info *iter = start;
|
|
do {
|
|
register size_t i = 0;
|
|
for (; i < iter->size; ++i) {
|
|
if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
|
|
return iter->types[i];
|
|
}
|
|
iter = iter->next;
|
|
} while (iter != end);
|
|
}
|
|
|
|
/* neither found a match */
|
|
return 0;
|
|
}
|
|
|
|
/*
|
|
Pack binary data into a string
|
|
*/
|
|
SWIGRUNTIME char *
|
|
SWIG_PackData(char *c, void *ptr, size_t sz) {
|
|
static const char hex[17] = "0123456789abcdef";
|
|
register const unsigned char *u = (unsigned char *) ptr;
|
|
register const unsigned char *eu = u + sz;
|
|
for (; u != eu; ++u) {
|
|
register unsigned char uu = *u;
|
|
*(c++) = hex[(uu & 0xf0) >> 4];
|
|
*(c++) = hex[uu & 0xf];
|
|
}
|
|
return c;
|
|
}
|
|
|
|
/*
|
|
Unpack binary data from a string
|
|
*/
|
|
SWIGRUNTIME const char *
|
|
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
|
|
register unsigned char *u = (unsigned char *) ptr;
|
|
register const unsigned char *eu = u + sz;
|
|
for (; u != eu; ++u) {
|
|
register char d = *(c++);
|
|
register unsigned char uu;
|
|
if ((d >= '0') && (d <= '9'))
|
|
uu = ((d - '0') << 4);
|
|
else if ((d >= 'a') && (d <= 'f'))
|
|
uu = ((d - ('a'-10)) << 4);
|
|
else
|
|
return (char *) 0;
|
|
d = *(c++);
|
|
if ((d >= '0') && (d <= '9'))
|
|
uu |= (d - '0');
|
|
else if ((d >= 'a') && (d <= 'f'))
|
|
uu |= (d - ('a'-10));
|
|
else
|
|
return (char *) 0;
|
|
*u = uu;
|
|
}
|
|
return c;
|
|
}
|
|
|
|
/*
|
|
Pack 'void *' into a string buffer.
|
|
*/
|
|
SWIGRUNTIME char *
|
|
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
|
|
char *r = buff;
|
|
if ((2*sizeof(void *) + 2) > bsz) return 0;
|
|
*(r++) = '_';
|
|
r = SWIG_PackData(r,&ptr,sizeof(void *));
|
|
if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
|
|
strcpy(r,name);
|
|
return buff;
|
|
}
|
|
|
|
SWIGRUNTIME const char *
|
|
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
|
|
if (*c != '_') {
|
|
if (strcmp(c,"NULL") == 0) {
|
|
*ptr = (void *) 0;
|
|
return name;
|
|
} else {
|
|
return 0;
|
|
}
|
|
}
|
|
return SWIG_UnpackData(++c,ptr,sizeof(void *));
|
|
}
|
|
|
|
SWIGRUNTIME char *
|
|
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
|
|
char *r = buff;
|
|
size_t lname = (name ? strlen(name) : 0);
|
|
if ((2*sz + 2 + lname) > bsz) return 0;
|
|
*(r++) = '_';
|
|
r = SWIG_PackData(r,ptr,sz);
|
|
if (lname) {
|
|
strncpy(r,name,lname+1);
|
|
} else {
|
|
*r = 0;
|
|
}
|
|
return buff;
|
|
}
|
|
|
|
SWIGRUNTIME const char *
|
|
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
|
|
if (*c != '_') {
|
|
if (strcmp(c,"NULL") == 0) {
|
|
memset(ptr,0,sz);
|
|
return name;
|
|
} else {
|
|
return 0;
|
|
}
|
|
}
|
|
return SWIG_UnpackData(++c,ptr,sz);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/* Errors in SWIG */
|
|
#define SWIG_UnknownError -1
|
|
#define SWIG_IOError -2
|
|
#define SWIG_RuntimeError -3
|
|
#define SWIG_IndexError -4
|
|
#define SWIG_TypeError -5
|
|
#define SWIG_DivisionByZero -6
|
|
#define SWIG_OverflowError -7
|
|
#define SWIG_SyntaxError -8
|
|
#define SWIG_ValueError -9
|
|
#define SWIG_SystemError -10
|
|
#define SWIG_AttributeError -11
|
|
#define SWIG_MemoryError -12
|
|
#define SWIG_NullReferenceError -13
|
|
|
|
|
|
|
|
/* Python.h has to appear first */
|
|
#include <Python.h>
|
|
|
|
/* Add PyOS_snprintf for old Pythons */
|
|
#if PY_VERSION_HEX < 0x02020000
|
|
# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
|
|
# define PyOS_snprintf _snprintf
|
|
# else
|
|
# define PyOS_snprintf snprintf
|
|
# endif
|
|
#endif
|
|
|
|
/* A crude PyString_FromFormat implementation for old Pythons */
|
|
#if PY_VERSION_HEX < 0x02020000
|
|
|
|
#ifndef SWIG_PYBUFFER_SIZE
|
|
# define SWIG_PYBUFFER_SIZE 1024
|
|
#endif
|
|
|
|
static PyObject *
|
|
PyString_FromFormat(const char *fmt, ...) {
|
|
va_list ap;
|
|
char buf[SWIG_PYBUFFER_SIZE * 2];
|
|
int res;
|
|
va_start(ap, fmt);
|
|
res = vsnprintf(buf, sizeof(buf), fmt, ap);
|
|
va_end(ap);
|
|
return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
|
|
}
|
|
#endif
|
|
|
|
/* Add PyObject_Del for old Pythons */
|
|
#if PY_VERSION_HEX < 0x01060000
|
|
# define PyObject_Del(op) PyMem_DEL((op))
|
|
#endif
|
|
#ifndef PyObject_DEL
|
|
# define PyObject_DEL PyObject_Del
|
|
#endif
|
|
|
|
/* A crude PyExc_StopIteration exception for old Pythons */
|
|
#if PY_VERSION_HEX < 0x02020000
|
|
# ifndef PyExc_StopIteration
|
|
# define PyExc_StopIteration PyExc_RuntimeError
|
|
# endif
|
|
# ifndef PyObject_GenericGetAttr
|
|
# define PyObject_GenericGetAttr 0
|
|
# endif
|
|
#endif
|
|
/* Py_NotImplemented is defined in 2.1 and up. */
|
|
#if PY_VERSION_HEX < 0x02010000
|
|
# ifndef Py_NotImplemented
|
|
# define Py_NotImplemented PyExc_RuntimeError
|
|
# endif
|
|
#endif
|
|
|
|
|
|
/* A crude PyString_AsStringAndSize implementation for old Pythons */
|
|
#if PY_VERSION_HEX < 0x02010000
|
|
# ifndef PyString_AsStringAndSize
|
|
# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
|
|
# endif
|
|
#endif
|
|
|
|
/* PySequence_Size for old Pythons */
|
|
#if PY_VERSION_HEX < 0x02000000
|
|
# ifndef PySequence_Size
|
|
# define PySequence_Size PySequence_Length
|
|
# endif
|
|
#endif
|
|
|
|
|
|
/* PyBool_FromLong for old Pythons */
|
|
#if PY_VERSION_HEX < 0x02030000
|
|
static
|
|
PyObject *PyBool_FromLong(long ok)
|
|
{
|
|
PyObject *result = ok ? Py_True : Py_False;
|
|
Py_INCREF(result);
|
|
return result;
|
|
}
|
|
#endif
|
|
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* error manipulation
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
SWIGRUNTIME PyObject*
|
|
SWIG_Python_ErrorType(int code) {
|
|
PyObject* type = 0;
|
|
switch(code) {
|
|
case SWIG_MemoryError:
|
|
type = PyExc_MemoryError;
|
|
break;
|
|
case SWIG_IOError:
|
|
type = PyExc_IOError;
|
|
break;
|
|
case SWIG_RuntimeError:
|
|
type = PyExc_RuntimeError;
|
|
break;
|
|
case SWIG_IndexError:
|
|
type = PyExc_IndexError;
|
|
break;
|
|
case SWIG_TypeError:
|
|
type = PyExc_TypeError;
|
|
break;
|
|
case SWIG_DivisionByZero:
|
|
type = PyExc_ZeroDivisionError;
|
|
break;
|
|
case SWIG_OverflowError:
|
|
type = PyExc_OverflowError;
|
|
break;
|
|
case SWIG_SyntaxError:
|
|
type = PyExc_SyntaxError;
|
|
break;
|
|
case SWIG_ValueError:
|
|
type = PyExc_ValueError;
|
|
break;
|
|
case SWIG_SystemError:
|
|
type = PyExc_SystemError;
|
|
break;
|
|
case SWIG_AttributeError:
|
|
type = PyExc_AttributeError;
|
|
break;
|
|
default:
|
|
type = PyExc_RuntimeError;
|
|
}
|
|
return type;
|
|
}
|
|
|
|
|
|
SWIGRUNTIME void
|
|
SWIG_Python_AddErrorMsg(const char* mesg)
|
|
{
|
|
PyObject *type = 0;
|
|
PyObject *value = 0;
|
|
PyObject *traceback = 0;
|
|
|
|
if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
|
|
if (value) {
|
|
PyObject *old_str = PyObject_Str(value);
|
|
PyErr_Clear();
|
|
Py_XINCREF(type);
|
|
PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
|
|
Py_DECREF(old_str);
|
|
Py_DECREF(value);
|
|
} else {
|
|
PyErr_Format(PyExc_RuntimeError, mesg);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#if defined(SWIG_PYTHON_NO_THREADS)
|
|
# if defined(SWIG_PYTHON_THREADS)
|
|
# undef SWIG_PYTHON_THREADS
|
|
# endif
|
|
#endif
|
|
#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
|
|
# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
|
|
# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
|
|
# define SWIG_PYTHON_USE_GIL
|
|
# endif
|
|
# endif
|
|
# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
|
|
# ifndef SWIG_PYTHON_INITIALIZE_THREADS
|
|
# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
|
|
# endif
|
|
# ifdef __cplusplus /* C++ code */
|
|
class SWIG_Python_Thread_Block {
|
|
bool status;
|
|
PyGILState_STATE state;
|
|
public:
|
|
void end() { if (status) { PyGILState_Release(state); status = false;} }
|
|
SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
|
|
~SWIG_Python_Thread_Block() { end(); }
|
|
};
|
|
class SWIG_Python_Thread_Allow {
|
|
bool status;
|
|
PyThreadState *save;
|
|
public:
|
|
void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
|
|
SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
|
|
~SWIG_Python_Thread_Allow() { end(); }
|
|
};
|
|
# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
|
|
# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
|
|
# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
|
|
# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
|
|
# else /* C code */
|
|
# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
|
|
# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
|
|
# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
|
|
# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
|
|
# endif
|
|
# else /* Old thread way, not implemented, user must provide it */
|
|
# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
|
|
# define SWIG_PYTHON_INITIALIZE_THREADS
|
|
# endif
|
|
# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
|
|
# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
|
|
# endif
|
|
# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
|
|
# define SWIG_PYTHON_THREAD_END_BLOCK
|
|
# endif
|
|
# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
|
|
# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
|
|
# endif
|
|
# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
|
|
# define SWIG_PYTHON_THREAD_END_ALLOW
|
|
# endif
|
|
# endif
|
|
#else /* No thread support */
|
|
# define SWIG_PYTHON_INITIALIZE_THREADS
|
|
# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
|
|
# define SWIG_PYTHON_THREAD_END_BLOCK
|
|
# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
|
|
# define SWIG_PYTHON_THREAD_END_ALLOW
|
|
#endif
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* Python API portion that goes into the runtime
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#if 0
|
|
} /* cc-mode */
|
|
#endif
|
|
#endif
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* Constant declarations
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
/* Constant Types */
|
|
#define SWIG_PY_POINTER 4
|
|
#define SWIG_PY_BINARY 5
|
|
|
|
/* Constant information structure */
|
|
typedef struct swig_const_info {
|
|
int type;
|
|
char *name;
|
|
long lvalue;
|
|
double dvalue;
|
|
void *pvalue;
|
|
swig_type_info **ptype;
|
|
} swig_const_info;
|
|
|
|
#ifdef __cplusplus
|
|
#if 0
|
|
{ /* cc-mode */
|
|
#endif
|
|
}
|
|
#endif
|
|
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* See the LICENSE file for information on copyright, usage and redistribution
|
|
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
|
*
|
|
* pyrun.swg
|
|
*
|
|
* This file contains the runtime support for Python modules
|
|
* and includes code for managing global variables and pointer
|
|
* type checking.
|
|
*
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
/* Common SWIG API */
|
|
|
|
#if PY_VERSION_HEX < 0x02050000
|
|
typedef int Py_ssize_t;
|
|
#endif
|
|
|
|
/* for raw pointers */
|
|
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
|
|
#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
|
|
#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
|
|
#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
|
|
#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
|
|
#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
|
|
#define swig_owntype int
|
|
|
|
/* for raw packed data */
|
|
#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
|
|
#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
|
|
|
|
/* for class or struct pointers */
|
|
#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
|
|
#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
|
|
|
|
/* for C or C++ function pointers */
|
|
#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
|
|
#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
|
|
|
|
/* for C++ member pointers, ie, member methods */
|
|
#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
|
|
#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
|
|
|
|
|
|
/* Runtime API */
|
|
|
|
#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
|
|
#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
|
|
#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
|
|
|
|
#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
|
|
#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
|
|
#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
|
|
#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
|
|
#define SWIG_fail goto fail
|
|
|
|
|
|
/* Runtime API implementation */
|
|
|
|
/* Error manipulation */
|
|
|
|
SWIGINTERN void
|
|
SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
|
|
SWIG_PYTHON_THREAD_BEGIN_BLOCK;
|
|
PyErr_SetObject(errtype, obj);
|
|
Py_DECREF(obj);
|
|
SWIG_PYTHON_THREAD_END_BLOCK;
|
|
}
|
|
|
|
SWIGINTERN void
|
|
SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
|
|
SWIG_PYTHON_THREAD_BEGIN_BLOCK;
|
|
PyErr_SetString(errtype, (char *) msg);
|
|
SWIG_PYTHON_THREAD_END_BLOCK;
|
|
}
|
|
|
|
#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
|
|
|
|
/* Set a constant value */
|
|
|
|
SWIGINTERN void
|
|
SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
|
|
PyDict_SetItemString(d, (char*) name, obj);
|
|
Py_DECREF(obj);
|
|
}
|
|
|
|
/* Append a value to the result obj */
|
|
|
|
SWIGINTERN PyObject*
|
|
SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
|
|
#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
|
|
if (!result) {
|
|
result = obj;
|
|
} else if (result == Py_None) {
|
|
Py_DECREF(result);
|
|
result = obj;
|
|
} else {
|
|
if (!PyList_Check(result)) {
|
|
PyObject *o2 = result;
|
|
result = PyList_New(1);
|
|
PyList_SetItem(result, 0, o2);
|
|
}
|
|
PyList_Append(result,obj);
|
|
Py_DECREF(obj);
|
|
}
|
|
return result;
|
|
#else
|
|
PyObject* o2;
|
|
PyObject* o3;
|
|
if (!result) {
|
|
result = obj;
|
|
} else if (result == Py_None) {
|
|
Py_DECREF(result);
|
|
result = obj;
|
|
} else {
|
|
if (!PyTuple_Check(result)) {
|
|
o2 = result;
|
|
result = PyTuple_New(1);
|
|
PyTuple_SET_ITEM(result, 0, o2);
|
|
}
|
|
o3 = PyTuple_New(1);
|
|
PyTuple_SET_ITEM(o3, 0, obj);
|
|
o2 = result;
|
|
result = PySequence_Concat(o2, o3);
|
|
Py_DECREF(o2);
|
|
Py_DECREF(o3);
|
|
}
|
|
return result;
|
|
#endif
|
|
}
|
|
|
|
/* Unpack the argument tuple */
|
|
|
|
SWIGINTERN int
|
|
SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
|
|
{
|
|
if (!args) {
|
|
if (!min && !max) {
|
|
return 1;
|
|
} else {
|
|
PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
|
|
name, (min == max ? "" : "at least "), min);
|
|
return 0;
|
|
}
|
|
}
|
|
if (!PyTuple_Check(args)) {
|
|
PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
|
|
return 0;
|
|
} else {
|
|
register int l = PyTuple_GET_SIZE(args);
|
|
if (l < min) {
|
|
PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
|
|
name, (min == max ? "" : "at least "), min, l);
|
|
return 0;
|
|
} else if (l > max) {
|
|
PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
|
|
name, (min == max ? "" : "at most "), max, l);
|
|
return 0;
|
|
} else {
|
|
register int i;
|
|
for (i = 0; i < l; ++i) {
|
|
objs[i] = PyTuple_GET_ITEM(args, i);
|
|
}
|
|
for (; l < max; ++l) {
|
|
objs[l] = 0;
|
|
}
|
|
return i + 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* A functor is a function object with one single object argument */
|
|
#if PY_VERSION_HEX >= 0x02020000
|
|
#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
|
|
#else
|
|
#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
|
|
#endif
|
|
|
|
/*
|
|
Helper for static pointer initialization for both C and C++ code, for example
|
|
static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
|
|
*/
|
|
#ifdef __cplusplus
|
|
#define SWIG_STATIC_POINTER(var) var
|
|
#else
|
|
#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
|
|
#endif
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* Pointer declarations
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
/* Flags for new pointer objects */
|
|
#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
|
|
#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
|
|
|
|
#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#if 0
|
|
} /* cc-mode */
|
|
#endif
|
|
#endif
|
|
|
|
/* How to access Py_None */
|
|
#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
|
|
# ifndef SWIG_PYTHON_NO_BUILD_NONE
|
|
# ifndef SWIG_PYTHON_BUILD_NONE
|
|
# define SWIG_PYTHON_BUILD_NONE
|
|
# endif
|
|
# endif
|
|
#endif
|
|
|
|
#ifdef SWIG_PYTHON_BUILD_NONE
|
|
# ifdef Py_None
|
|
# undef Py_None
|
|
# define Py_None SWIG_Py_None()
|
|
# endif
|
|
SWIGRUNTIMEINLINE PyObject *
|
|
_SWIG_Py_None(void)
|
|
{
|
|
PyObject *none = Py_BuildValue("");
|
|
Py_DECREF(none);
|
|
return none;
|
|
}
|
|
SWIGRUNTIME PyObject *
|
|
SWIG_Py_None(void)
|
|
{
|
|
static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
|
|
return none;
|
|
}
|
|
#endif
|
|
|
|
/* The python void return value */
|
|
|
|
SWIGRUNTIMEINLINE PyObject *
|
|
SWIG_Py_Void(void)
|
|
{
|
|
PyObject *none = Py_None;
|
|
Py_INCREF(none);
|
|
return none;
|
|
}
|
|
|
|
/* PySwigClientData */
|
|
|
|
typedef struct {
|
|
PyObject *klass;
|
|
PyObject *newraw;
|
|
PyObject *newargs;
|
|
PyObject *destroy;
|
|
int delargs;
|
|
int implicitconv;
|
|
} PySwigClientData;
|
|
|
|
SWIGRUNTIMEINLINE int
|
|
SWIG_Python_CheckImplicit(swig_type_info *ty)
|
|
{
|
|
PySwigClientData *data = (PySwigClientData *)ty->clientdata;
|
|
return data ? data->implicitconv : 0;
|
|
}
|
|
|
|
SWIGRUNTIMEINLINE PyObject *
|
|
SWIG_Python_ExceptionType(swig_type_info *desc) {
|
|
PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
|
|
PyObject *klass = data ? data->klass : 0;
|
|
return (klass ? klass : PyExc_RuntimeError);
|
|
}
|
|
|
|
|
|
SWIGRUNTIME PySwigClientData *
|
|
PySwigClientData_New(PyObject* obj)
|
|
{
|
|
if (!obj) {
|
|
return 0;
|
|
} else {
|
|
PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
|
|
/* the klass element */
|
|
data->klass = obj;
|
|
Py_INCREF(data->klass);
|
|
/* the newraw method and newargs arguments used to create a new raw instance */
|
|
if (PyClass_Check(obj)) {
|
|
data->newraw = 0;
|
|
data->newargs = obj;
|
|
Py_INCREF(obj);
|
|
} else {
|
|
#if (PY_VERSION_HEX < 0x02020000)
|
|
data->newraw = 0;
|
|
#else
|
|
data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
|
|
#endif
|
|
if (data->newraw) {
|
|
Py_INCREF(data->newraw);
|
|
data->newargs = PyTuple_New(1);
|
|
PyTuple_SetItem(data->newargs, 0, obj);
|
|
} else {
|
|
data->newargs = obj;
|
|
}
|
|
Py_INCREF(data->newargs);
|
|
}
|
|
/* the destroy method, aka as the C++ delete method */
|
|
data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
|
|
if (PyErr_Occurred()) {
|
|
PyErr_Clear();
|
|
data->destroy = 0;
|
|
}
|
|
if (data->destroy) {
|
|
int flags;
|
|
Py_INCREF(data->destroy);
|
|
flags = PyCFunction_GET_FLAGS(data->destroy);
|
|
#ifdef METH_O
|
|
data->delargs = !(flags & (METH_O));
|
|
#else
|
|
data->delargs = 0;
|
|
#endif
|
|
} else {
|
|
data->delargs = 0;
|
|
}
|
|
data->implicitconv = 0;
|
|
return data;
|
|
}
|
|
}
|
|
|
|
SWIGRUNTIME void
|
|
PySwigClientData_Del(PySwigClientData* data)
|
|
{
|
|
Py_XDECREF(data->newraw);
|
|
Py_XDECREF(data->newargs);
|
|
Py_XDECREF(data->destroy);
|
|
}
|
|
|
|
/* =============== PySwigObject =====================*/
|
|
|
|
typedef struct {
|
|
PyObject_HEAD
|
|
void *ptr;
|
|
swig_type_info *ty;
|
|
int own;
|
|
PyObject *next;
|
|
} PySwigObject;
|
|
|
|
SWIGRUNTIME PyObject *
|
|
PySwigObject_long(PySwigObject *v)
|
|
{
|
|
return PyLong_FromVoidPtr(v->ptr);
|
|
}
|
|
|
|
SWIGRUNTIME PyObject *
|
|
PySwigObject_format(const char* fmt, PySwigObject *v)
|
|
{
|
|
PyObject *res = NULL;
|
|
PyObject *args = PyTuple_New(1);
|
|
if (args) {
|
|
if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
|
|
PyObject *ofmt = PyString_FromString(fmt);
|
|
if (ofmt) {
|
|
res = PyString_Format(ofmt,args);
|
|
Py_DECREF(ofmt);
|
|
}
|
|
Py_DECREF(args);
|
|
}
|
|
}
|
|
return res;
|
|
}
|
|
|
|
SWIGRUNTIME PyObject *
|
|
PySwigObject_oct(PySwigObject *v)
|
|
{
|
|
return PySwigObject_format("%o",v);
|
|
}
|
|
|
|
SWIGRUNTIME PyObject *
|
|
PySwigObject_hex(PySwigObject *v)
|
|
{
|
|
return PySwigObject_format("%x",v);
|
|
}
|
|
|
|
SWIGRUNTIME PyObject *
|
|
#ifdef METH_NOARGS
|
|
PySwigObject_repr(PySwigObject *v)
|
|
#else
|
|
PySwigObject_repr(PySwigObject *v, PyObject *args)
|
|
#endif
|
|
{
|
|
const char *name = SWIG_TypePrettyName(v->ty);
|
|
PyObject *hex = PySwigObject_hex(v);
|
|
PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
|
|
Py_DECREF(hex);
|
|
if (v->next) {
|
|
#ifdef METH_NOARGS
|
|
PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
|
|
#else
|
|
PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
|
|
#endif
|
|
PyString_ConcatAndDel(&repr,nrep);
|
|
}
|
|
return repr;
|
|
}
|
|
|
|
SWIGRUNTIME int
|
|
PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
|
|
{
|
|
#ifdef METH_NOARGS
|
|
PyObject *repr = PySwigObject_repr(v);
|
|
#else
|
|
PyObject *repr = PySwigObject_repr(v, NULL);
|
|
#endif
|
|
if (repr) {
|
|
fputs(PyString_AsString(repr), fp);
|
|
Py_DECREF(repr);
|
|
return 0;
|
|
} else {
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
SWIGRUNTIME PyObject *
|
|
PySwigObject_str(PySwigObject *v)
|
|
{
|
|
char result[SWIG_BUFFER_SIZE];
|
|
return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
|
|
PyString_FromString(result) : 0;
|
|
}
|
|
|
|
SWIGRUNTIME int
|
|
PySwigObject_compare(PySwigObject *v, PySwigObject *w)
|
|
{
|
|
void *i = v->ptr;
|
|
void *j = w->ptr;
|
|
return (i < j) ? -1 : ((i > j) ? 1 : 0);
|
|
}
|
|
|
|
SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
|
|
|
|
SWIGRUNTIME PyTypeObject*
|
|
PySwigObject_type(void) {
|
|
static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
|
|
return type;
|
|
}
|
|
|
|
SWIGRUNTIMEINLINE int
|
|
PySwigObject_Check(PyObject *op) {
|
|
return ((op)->ob_type == PySwigObject_type())
|
|
|| (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
|
|
}
|
|
|
|
SWIGRUNTIME PyObject *
|
|
PySwigObject_New(void *ptr, swig_type_info *ty, int own);
|
|
|
|
SWIGRUNTIME void
|
|
PySwigObject_dealloc(PyObject *v)
|
|
{
|
|
PySwigObject *sobj = (PySwigObject *) v;
|
|
PyObject *next = sobj->next;
|
|
if (sobj->own) {
|
|
swig_type_info *ty = sobj->ty;
|
|
PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
|
|
PyObject *destroy = data ? data->destroy : 0;
|
|
if (destroy) {
|
|
/* destroy is always a VARARGS method */
|
|
PyObject *res;
|
|
if (data->delargs) {
|
|
/* we need to create a temporal object to carry the destroy operation */
|
|
PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
|
|
res = SWIG_Python_CallFunctor(destroy, tmp);
|
|
Py_DECREF(tmp);
|
|
} else {
|
|
PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
|
|
PyObject *mself = PyCFunction_GET_SELF(destroy);
|
|
res = ((*meth)(mself, v));
|
|
}
|
|
Py_XDECREF(res);
|
|
} else {
|
|
const char *name = SWIG_TypePrettyName(ty);
|
|
#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
|
|
printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
|
|
#endif
|
|
}
|
|
}
|
|
Py_XDECREF(next);
|
|
PyObject_DEL(v);
|
|
}
|
|
|
|
SWIGRUNTIME PyObject*
|
|
PySwigObject_append(PyObject* v, PyObject* next)
|
|
{
|
|
PySwigObject *sobj = (PySwigObject *) v;
|
|
#ifndef METH_O
|
|
PyObject *tmp = 0;
|
|
if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
|
|
next = tmp;
|
|
#endif
|
|
if (!PySwigObject_Check(next)) {
|
|
return NULL;
|
|
}
|
|
sobj->next = next;
|
|
Py_INCREF(next);
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGRUNTIME PyObject*
|
|
#ifdef METH_NOARGS
|
|
PySwigObject_next(PyObject* v)
|
|
#else
|
|
PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
|
|
#endif
|
|
{
|
|
PySwigObject *sobj = (PySwigObject *) v;
|
|
if (sobj->next) {
|
|
Py_INCREF(sobj->next);
|
|
return sobj->next;
|
|
} else {
|
|
return SWIG_Py_Void();
|
|
}
|
|
}
|
|
|
|
SWIGINTERN PyObject*
|
|
#ifdef METH_NOARGS
|
|
PySwigObject_disown(PyObject *v)
|
|
#else
|
|
PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
|
|
#endif
|
|
{
|
|
PySwigObject *sobj = (PySwigObject *)v;
|
|
sobj->own = 0;
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject*
|
|
#ifdef METH_NOARGS
|
|
PySwigObject_acquire(PyObject *v)
|
|
#else
|
|
PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
|
|
#endif
|
|
{
|
|
PySwigObject *sobj = (PySwigObject *)v;
|
|
sobj->own = SWIG_POINTER_OWN;
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject*
|
|
PySwigObject_own(PyObject *v, PyObject *args)
|
|
{
|
|
PyObject *val = 0;
|
|
#if (PY_VERSION_HEX < 0x02020000)
|
|
if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
|
|
#else
|
|
if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
|
|
#endif
|
|
{
|
|
return NULL;
|
|
}
|
|
else
|
|
{
|
|
PySwigObject *sobj = (PySwigObject *)v;
|
|
PyObject *obj = PyBool_FromLong(sobj->own);
|
|
if (val) {
|
|
#ifdef METH_NOARGS
|
|
if (PyObject_IsTrue(val)) {
|
|
PySwigObject_acquire(v);
|
|
} else {
|
|
PySwigObject_disown(v);
|
|
}
|
|
#else
|
|
if (PyObject_IsTrue(val)) {
|
|
PySwigObject_acquire(v,args);
|
|
} else {
|
|
PySwigObject_disown(v,args);
|
|
}
|
|
#endif
|
|
}
|
|
return obj;
|
|
}
|
|
}
|
|
|
|
#ifdef METH_O
|
|
static PyMethodDef
|
|
swigobject_methods[] = {
|
|
{(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
|
|
{(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
|
|
{(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
|
|
{(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
|
|
{(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
|
|
{(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
|
|
{0, 0, 0, 0}
|
|
};
|
|
#else
|
|
static PyMethodDef
|
|
swigobject_methods[] = {
|
|
{(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
|
|
{(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
|
|
{(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
|
|
{(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
|
|
{(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
|
|
{(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
|
|
{0, 0, 0, 0}
|
|
};
|
|
#endif
|
|
|
|
#if PY_VERSION_HEX < 0x02020000
|
|
SWIGINTERN PyObject *
|
|
PySwigObject_getattr(PySwigObject *sobj,char *name)
|
|
{
|
|
return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
|
|
}
|
|
#endif
|
|
|
|
SWIGRUNTIME PyTypeObject*
|
|
_PySwigObject_type(void) {
|
|
static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
|
|
|
|
static PyNumberMethods PySwigObject_as_number = {
|
|
(binaryfunc)0, /*nb_add*/
|
|
(binaryfunc)0, /*nb_subtract*/
|
|
(binaryfunc)0, /*nb_multiply*/
|
|
(binaryfunc)0, /*nb_divide*/
|
|
(binaryfunc)0, /*nb_remainder*/
|
|
(binaryfunc)0, /*nb_divmod*/
|
|
(ternaryfunc)0,/*nb_power*/
|
|
(unaryfunc)0, /*nb_negative*/
|
|
(unaryfunc)0, /*nb_positive*/
|
|
(unaryfunc)0, /*nb_absolute*/
|
|
(inquiry)0, /*nb_nonzero*/
|
|
0, /*nb_invert*/
|
|
0, /*nb_lshift*/
|
|
0, /*nb_rshift*/
|
|
0, /*nb_and*/
|
|
0, /*nb_xor*/
|
|
0, /*nb_or*/
|
|
(coercion)0, /*nb_coerce*/
|
|
(unaryfunc)PySwigObject_long, /*nb_int*/
|
|
(unaryfunc)PySwigObject_long, /*nb_long*/
|
|
(unaryfunc)0, /*nb_float*/
|
|
(unaryfunc)PySwigObject_oct, /*nb_oct*/
|
|
(unaryfunc)PySwigObject_hex, /*nb_hex*/
|
|
#if PY_VERSION_HEX >= 0x02020000
|
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
|
|
#elif PY_VERSION_HEX >= 0x02000000
|
|
0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
|
|
#endif
|
|
};
|
|
|
|
static PyTypeObject pyswigobject_type;
|
|
static int type_init = 0;
|
|
if (!type_init) {
|
|
const PyTypeObject tmp
|
|
= {
|
|
PyObject_HEAD_INIT(NULL)
|
|
0, /* ob_size */
|
|
(char *)"PySwigObject", /* tp_name */
|
|
sizeof(PySwigObject), /* tp_basicsize */
|
|
0, /* tp_itemsize */
|
|
(destructor)PySwigObject_dealloc, /* tp_dealloc */
|
|
(printfunc)PySwigObject_print, /* tp_print */
|
|
#if PY_VERSION_HEX < 0x02020000
|
|
(getattrfunc)PySwigObject_getattr, /* tp_getattr */
|
|
#else
|
|
(getattrfunc)0, /* tp_getattr */
|
|
#endif
|
|
(setattrfunc)0, /* tp_setattr */
|
|
(cmpfunc)PySwigObject_compare, /* tp_compare */
|
|
(reprfunc)PySwigObject_repr, /* tp_repr */
|
|
&PySwigObject_as_number, /* tp_as_number */
|
|
0, /* tp_as_sequence */
|
|
0, /* tp_as_mapping */
|
|
(hashfunc)0, /* tp_hash */
|
|
(ternaryfunc)0, /* tp_call */
|
|
(reprfunc)PySwigObject_str, /* tp_str */
|
|
PyObject_GenericGetAttr, /* tp_getattro */
|
|
0, /* tp_setattro */
|
|
0, /* tp_as_buffer */
|
|
Py_TPFLAGS_DEFAULT, /* tp_flags */
|
|
swigobject_doc, /* tp_doc */
|
|
0, /* tp_traverse */
|
|
0, /* tp_clear */
|
|
0, /* tp_richcompare */
|
|
0, /* tp_weaklistoffset */
|
|
#if PY_VERSION_HEX >= 0x02020000
|
|
0, /* tp_iter */
|
|
0, /* tp_iternext */
|
|
swigobject_methods, /* tp_methods */
|
|
0, /* tp_members */
|
|
0, /* tp_getset */
|
|
0, /* tp_base */
|
|
0, /* tp_dict */
|
|
0, /* tp_descr_get */
|
|
0, /* tp_descr_set */
|
|
0, /* tp_dictoffset */
|
|
0, /* tp_init */
|
|
0, /* tp_alloc */
|
|
0, /* tp_new */
|
|
0, /* tp_free */
|
|
0, /* tp_is_gc */
|
|
0, /* tp_bases */
|
|
0, /* tp_mro */
|
|
0, /* tp_cache */
|
|
0, /* tp_subclasses */
|
|
0, /* tp_weaklist */
|
|
#endif
|
|
#if PY_VERSION_HEX >= 0x02030000
|
|
0, /* tp_del */
|
|
#endif
|
|
#ifdef COUNT_ALLOCS
|
|
0,0,0,0 /* tp_alloc -> tp_next */
|
|
#endif
|
|
};
|
|
pyswigobject_type = tmp;
|
|
pyswigobject_type.ob_type = &PyType_Type;
|
|
type_init = 1;
|
|
}
|
|
return &pyswigobject_type;
|
|
}
|
|
|
|
SWIGRUNTIME PyObject *
|
|
PySwigObject_New(void *ptr, swig_type_info *ty, int own)
|
|
{
|
|
PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
|
|
if (sobj) {
|
|
sobj->ptr = ptr;
|
|
sobj->ty = ty;
|
|
sobj->own = own;
|
|
sobj->next = 0;
|
|
}
|
|
return (PyObject *)sobj;
|
|
}
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* Implements a simple Swig Packed type, and use it instead of string
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
typedef struct {
|
|
PyObject_HEAD
|
|
void *pack;
|
|
swig_type_info *ty;
|
|
size_t size;
|
|
} PySwigPacked;
|
|
|
|
SWIGRUNTIME int
|
|
PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
|
|
{
|
|
char result[SWIG_BUFFER_SIZE];
|
|
fputs("<Swig Packed ", fp);
|
|
if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
|
|
fputs("at ", fp);
|
|
fputs(result, fp);
|
|
}
|
|
fputs(v->ty->name,fp);
|
|
fputs(">", fp);
|
|
return 0;
|
|
}
|
|
|
|
SWIGRUNTIME PyObject *
|
|
PySwigPacked_repr(PySwigPacked *v)
|
|
{
|
|
char result[SWIG_BUFFER_SIZE];
|
|
if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
|
|
return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
|
|
} else {
|
|
return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
|
|
}
|
|
}
|
|
|
|
SWIGRUNTIME PyObject *
|
|
PySwigPacked_str(PySwigPacked *v)
|
|
{
|
|
char result[SWIG_BUFFER_SIZE];
|
|
if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
|
|
return PyString_FromFormat("%s%s", result, v->ty->name);
|
|
} else {
|
|
return PyString_FromString(v->ty->name);
|
|
}
|
|
}
|
|
|
|
SWIGRUNTIME int
|
|
PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
|
|
{
|
|
size_t i = v->size;
|
|
size_t j = w->size;
|
|
int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
|
|
return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
|
|
}
|
|
|
|
SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
|
|
|
|
SWIGRUNTIME PyTypeObject*
|
|
PySwigPacked_type(void) {
|
|
static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
|
|
return type;
|
|
}
|
|
|
|
SWIGRUNTIMEINLINE int
|
|
PySwigPacked_Check(PyObject *op) {
|
|
return ((op)->ob_type == _PySwigPacked_type())
|
|
|| (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
|
|
}
|
|
|
|
SWIGRUNTIME void
|
|
PySwigPacked_dealloc(PyObject *v)
|
|
{
|
|
if (PySwigPacked_Check(v)) {
|
|
PySwigPacked *sobj = (PySwigPacked *) v;
|
|
free(sobj->pack);
|
|
}
|
|
PyObject_DEL(v);
|
|
}
|
|
|
|
SWIGRUNTIME PyTypeObject*
|
|
_PySwigPacked_type(void) {
|
|
static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
|
|
static PyTypeObject pyswigpacked_type;
|
|
static int type_init = 0;
|
|
if (!type_init) {
|
|
const PyTypeObject tmp
|
|
= {
|
|
PyObject_HEAD_INIT(NULL)
|
|
0, /* ob_size */
|
|
(char *)"PySwigPacked", /* tp_name */
|
|
sizeof(PySwigPacked), /* tp_basicsize */
|
|
0, /* tp_itemsize */
|
|
(destructor)PySwigPacked_dealloc, /* tp_dealloc */
|
|
(printfunc)PySwigPacked_print, /* tp_print */
|
|
(getattrfunc)0, /* tp_getattr */
|
|
(setattrfunc)0, /* tp_setattr */
|
|
(cmpfunc)PySwigPacked_compare, /* tp_compare */
|
|
(reprfunc)PySwigPacked_repr, /* tp_repr */
|
|
0, /* tp_as_number */
|
|
0, /* tp_as_sequence */
|
|
0, /* tp_as_mapping */
|
|
(hashfunc)0, /* tp_hash */
|
|
(ternaryfunc)0, /* tp_call */
|
|
(reprfunc)PySwigPacked_str, /* tp_str */
|
|
PyObject_GenericGetAttr, /* tp_getattro */
|
|
0, /* tp_setattro */
|
|
0, /* tp_as_buffer */
|
|
Py_TPFLAGS_DEFAULT, /* tp_flags */
|
|
swigpacked_doc, /* tp_doc */
|
|
0, /* tp_traverse */
|
|
0, /* tp_clear */
|
|
0, /* tp_richcompare */
|
|
0, /* tp_weaklistoffset */
|
|
#if PY_VERSION_HEX >= 0x02020000
|
|
0, /* tp_iter */
|
|
0, /* tp_iternext */
|
|
0, /* tp_methods */
|
|
0, /* tp_members */
|
|
0, /* tp_getset */
|
|
0, /* tp_base */
|
|
0, /* tp_dict */
|
|
0, /* tp_descr_get */
|
|
0, /* tp_descr_set */
|
|
0, /* tp_dictoffset */
|
|
0, /* tp_init */
|
|
0, /* tp_alloc */
|
|
0, /* tp_new */
|
|
0, /* tp_free */
|
|
0, /* tp_is_gc */
|
|
0, /* tp_bases */
|
|
0, /* tp_mro */
|
|
0, /* tp_cache */
|
|
0, /* tp_subclasses */
|
|
0, /* tp_weaklist */
|
|
#endif
|
|
#if PY_VERSION_HEX >= 0x02030000
|
|
0, /* tp_del */
|
|
#endif
|
|
#ifdef COUNT_ALLOCS
|
|
0,0,0,0 /* tp_alloc -> tp_next */
|
|
#endif
|
|
};
|
|
pyswigpacked_type = tmp;
|
|
pyswigpacked_type.ob_type = &PyType_Type;
|
|
type_init = 1;
|
|
}
|
|
return &pyswigpacked_type;
|
|
}
|
|
|
|
SWIGRUNTIME PyObject *
|
|
PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
|
|
{
|
|
PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
|
|
if (sobj) {
|
|
void *pack = malloc(size);
|
|
if (pack) {
|
|
memcpy(pack, ptr, size);
|
|
sobj->pack = pack;
|
|
sobj->ty = ty;
|
|
sobj->size = size;
|
|
} else {
|
|
PyObject_DEL((PyObject *) sobj);
|
|
sobj = 0;
|
|
}
|
|
}
|
|
return (PyObject *) sobj;
|
|
}
|
|
|
|
SWIGRUNTIME swig_type_info *
|
|
PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
|
|
{
|
|
if (PySwigPacked_Check(obj)) {
|
|
PySwigPacked *sobj = (PySwigPacked *)obj;
|
|
if (sobj->size != size) return 0;
|
|
memcpy(ptr, sobj->pack, size);
|
|
return sobj->ty;
|
|
} else {
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* pointers/data manipulation
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
SWIGRUNTIMEINLINE PyObject *
|
|
_SWIG_This(void)
|
|
{
|
|
return PyString_FromString("this");
|
|
}
|
|
|
|
SWIGRUNTIME PyObject *
|
|
SWIG_This(void)
|
|
{
|
|
static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
|
|
return swig_this;
|
|
}
|
|
|
|
/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
|
|
|
|
SWIGRUNTIME PySwigObject *
|
|
SWIG_Python_GetSwigThis(PyObject *pyobj)
|
|
{
|
|
if (PySwigObject_Check(pyobj)) {
|
|
return (PySwigObject *) pyobj;
|
|
} else {
|
|
PyObject *obj = 0;
|
|
#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
|
|
if (PyInstance_Check(pyobj)) {
|
|
obj = _PyInstance_Lookup(pyobj, SWIG_This());
|
|
} else {
|
|
PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
|
|
if (dictptr != NULL) {
|
|
PyObject *dict = *dictptr;
|
|
obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
|
|
} else {
|
|
#ifdef PyWeakref_CheckProxy
|
|
if (PyWeakref_CheckProxy(pyobj)) {
|
|
PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
|
|
return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
|
|
}
|
|
#endif
|
|
obj = PyObject_GetAttr(pyobj,SWIG_This());
|
|
if (obj) {
|
|
Py_DECREF(obj);
|
|
} else {
|
|
if (PyErr_Occurred()) PyErr_Clear();
|
|
return 0;
|
|
}
|
|
}
|
|
}
|
|
#else
|
|
obj = PyObject_GetAttr(pyobj,SWIG_This());
|
|
if (obj) {
|
|
Py_DECREF(obj);
|
|
} else {
|
|
if (PyErr_Occurred()) PyErr_Clear();
|
|
return 0;
|
|
}
|
|
#endif
|
|
if (obj && !PySwigObject_Check(obj)) {
|
|
/* a PyObject is called 'this', try to get the 'real this'
|
|
PySwigObject from it */
|
|
return SWIG_Python_GetSwigThis(obj);
|
|
}
|
|
return (PySwigObject *)obj;
|
|
}
|
|
}
|
|
|
|
/* Acquire a pointer value */
|
|
|
|
SWIGRUNTIME int
|
|
SWIG_Python_AcquirePtr(PyObject *obj, int own) {
|
|
if (own) {
|
|
PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
|
|
if (sobj) {
|
|
int oldown = sobj->own;
|
|
sobj->own = own;
|
|
return oldown;
|
|
}
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
/* Convert a pointer value */
|
|
|
|
SWIGRUNTIME int
|
|
SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
|
|
if (!obj) return SWIG_ERROR;
|
|
if (obj == Py_None) {
|
|
if (ptr) *ptr = 0;
|
|
return SWIG_OK;
|
|
} else {
|
|
PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
|
|
while (sobj) {
|
|
void *vptr = sobj->ptr;
|
|
if (ty) {
|
|
swig_type_info *to = sobj->ty;
|
|
if (to == ty) {
|
|
/* no type cast needed */
|
|
if (ptr) *ptr = vptr;
|
|
break;
|
|
} else {
|
|
swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
|
|
if (!tc) {
|
|
sobj = (PySwigObject *)sobj->next;
|
|
} else {
|
|
if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
|
|
break;
|
|
}
|
|
}
|
|
} else {
|
|
if (ptr) *ptr = vptr;
|
|
break;
|
|
}
|
|
}
|
|
if (sobj) {
|
|
if (own) *own = sobj->own;
|
|
if (flags & SWIG_POINTER_DISOWN) {
|
|
sobj->own = 0;
|
|
}
|
|
return SWIG_OK;
|
|
} else {
|
|
int res = SWIG_ERROR;
|
|
if (flags & SWIG_POINTER_IMPLICIT_CONV) {
|
|
PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
|
|
if (data && !data->implicitconv) {
|
|
PyObject *klass = data->klass;
|
|
if (klass) {
|
|
PyObject *impconv;
|
|
data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
|
|
impconv = SWIG_Python_CallFunctor(klass, obj);
|
|
data->implicitconv = 0;
|
|
if (PyErr_Occurred()) {
|
|
PyErr_Clear();
|
|
impconv = 0;
|
|
}
|
|
if (impconv) {
|
|
PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
|
|
if (iobj) {
|
|
void *vptr;
|
|
res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
|
|
if (SWIG_IsOK(res)) {
|
|
if (ptr) {
|
|
*ptr = vptr;
|
|
/* transfer the ownership to 'ptr' */
|
|
iobj->own = 0;
|
|
res = SWIG_AddCast(res);
|
|
res = SWIG_AddNewMask(res);
|
|
} else {
|
|
res = SWIG_AddCast(res);
|
|
}
|
|
}
|
|
}
|
|
Py_DECREF(impconv);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return res;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Convert a function ptr value */
|
|
|
|
SWIGRUNTIME int
|
|
SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
|
|
if (!PyCFunction_Check(obj)) {
|
|
return SWIG_ConvertPtr(obj, ptr, ty, 0);
|
|
} else {
|
|
void *vptr = 0;
|
|
|
|
/* here we get the method pointer for callbacks */
|
|
const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
|
|
const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
|
|
if (desc) {
|
|
desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
|
|
if (!desc) return SWIG_ERROR;
|
|
}
|
|
if (ty) {
|
|
swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
|
|
if (!tc) return SWIG_ERROR;
|
|
*ptr = SWIG_TypeCast(tc,vptr);
|
|
} else {
|
|
*ptr = vptr;
|
|
}
|
|
return SWIG_OK;
|
|
}
|
|
}
|
|
|
|
/* Convert a packed value value */
|
|
|
|
SWIGRUNTIME int
|
|
SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
|
|
swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
|
|
if (!to) return SWIG_ERROR;
|
|
if (ty) {
|
|
if (to != ty) {
|
|
/* check type cast? */
|
|
swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
|
|
if (!tc) return SWIG_ERROR;
|
|
}
|
|
}
|
|
return SWIG_OK;
|
|
}
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* Create a new pointer object
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
/*
|
|
Create a new instance object, whitout calling __init__, and set the
|
|
'this' attribute.
|
|
*/
|
|
|
|
SWIGRUNTIME PyObject*
|
|
SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
|
|
{
|
|
#if (PY_VERSION_HEX >= 0x02020000)
|
|
PyObject *inst = 0;
|
|
PyObject *newraw = data->newraw;
|
|
if (newraw) {
|
|
inst = PyObject_Call(newraw, data->newargs, NULL);
|
|
if (inst) {
|
|
#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
|
|
PyObject **dictptr = _PyObject_GetDictPtr(inst);
|
|
if (dictptr != NULL) {
|
|
PyObject *dict = *dictptr;
|
|
if (dict == NULL) {
|
|
dict = PyDict_New();
|
|
*dictptr = dict;
|
|
PyDict_SetItem(dict, SWIG_This(), swig_this);
|
|
}
|
|
}
|
|
#else
|
|
PyObject *key = SWIG_This();
|
|
PyObject_SetAttr(inst, key, swig_this);
|
|
#endif
|
|
}
|
|
} else {
|
|
PyObject *dict = PyDict_New();
|
|
PyDict_SetItem(dict, SWIG_This(), swig_this);
|
|
inst = PyInstance_NewRaw(data->newargs, dict);
|
|
Py_DECREF(dict);
|
|
}
|
|
return inst;
|
|
#else
|
|
#if (PY_VERSION_HEX >= 0x02010000)
|
|
PyObject *inst;
|
|
PyObject *dict = PyDict_New();
|
|
PyDict_SetItem(dict, SWIG_This(), swig_this);
|
|
inst = PyInstance_NewRaw(data->newargs, dict);
|
|
Py_DECREF(dict);
|
|
return (PyObject *) inst;
|
|
#else
|
|
PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
|
|
if (inst == NULL) {
|
|
return NULL;
|
|
}
|
|
inst->in_class = (PyClassObject *)data->newargs;
|
|
Py_INCREF(inst->in_class);
|
|
inst->in_dict = PyDict_New();
|
|
if (inst->in_dict == NULL) {
|
|
Py_DECREF(inst);
|
|
return NULL;
|
|
}
|
|
#ifdef Py_TPFLAGS_HAVE_WEAKREFS
|
|
inst->in_weakreflist = NULL;
|
|
#endif
|
|
#ifdef Py_TPFLAGS_GC
|
|
PyObject_GC_Init(inst);
|
|
#endif
|
|
PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
|
|
return (PyObject *) inst;
|
|
#endif
|
|
#endif
|
|
}
|
|
|
|
SWIGRUNTIME void
|
|
SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
|
|
{
|
|
PyObject *dict;
|
|
#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
|
|
PyObject **dictptr = _PyObject_GetDictPtr(inst);
|
|
if (dictptr != NULL) {
|
|
dict = *dictptr;
|
|
if (dict == NULL) {
|
|
dict = PyDict_New();
|
|
*dictptr = dict;
|
|
}
|
|
PyDict_SetItem(dict, SWIG_This(), swig_this);
|
|
return;
|
|
}
|
|
#endif
|
|
dict = PyObject_GetAttrString(inst, "__dict__");
|
|
PyDict_SetItem(dict, SWIG_This(), swig_this);
|
|
Py_DECREF(dict);
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *
|
|
SWIG_Python_InitShadowInstance(PyObject *args) {
|
|
PyObject *obj[2];
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
|
|
return NULL;
|
|
} else {
|
|
PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
|
|
if (sthis) {
|
|
PySwigObject_append((PyObject*) sthis, obj[1]);
|
|
} else {
|
|
SWIG_Python_SetSwigThis(obj[0], obj[1]);
|
|
}
|
|
return SWIG_Py_Void();
|
|
}
|
|
}
|
|
|
|
/* Create a new pointer object */
|
|
|
|
SWIGRUNTIME PyObject *
|
|
SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
|
|
if (!ptr) {
|
|
return SWIG_Py_Void();
|
|
} else {
|
|
int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
|
|
PyObject *robj = PySwigObject_New(ptr, type, own);
|
|
PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
|
|
if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
|
|
PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
|
|
if (inst) {
|
|
Py_DECREF(robj);
|
|
robj = inst;
|
|
}
|
|
}
|
|
return robj;
|
|
}
|
|
}
|
|
|
|
/* Create a new packed object */
|
|
|
|
SWIGRUNTIMEINLINE PyObject *
|
|
SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
|
|
return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
|
|
}
|
|
|
|
/* -----------------------------------------------------------------------------*
|
|
* Get type list
|
|
* -----------------------------------------------------------------------------*/
|
|
|
|
#ifdef SWIG_LINK_RUNTIME
|
|
void *SWIG_ReturnGlobalTypeList(void *);
|
|
#endif
|
|
|
|
SWIGRUNTIME swig_module_info *
|
|
SWIG_Python_GetModule(void) {
|
|
static void *type_pointer = (void *)0;
|
|
/* first check if module already created */
|
|
if (!type_pointer) {
|
|
#ifdef SWIG_LINK_RUNTIME
|
|
type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
|
|
#else
|
|
type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
|
|
(char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
|
|
if (PyErr_Occurred()) {
|
|
PyErr_Clear();
|
|
type_pointer = (void *)0;
|
|
}
|
|
#endif
|
|
}
|
|
return (swig_module_info *) type_pointer;
|
|
}
|
|
|
|
#if PY_MAJOR_VERSION < 2
|
|
/* PyModule_AddObject function was introduced in Python 2.0. The following function
|
|
is copied out of Python/modsupport.c in python version 2.3.4 */
|
|
SWIGINTERN int
|
|
PyModule_AddObject(PyObject *m, char *name, PyObject *o)
|
|
{
|
|
PyObject *dict;
|
|
if (!PyModule_Check(m)) {
|
|
PyErr_SetString(PyExc_TypeError,
|
|
"PyModule_AddObject() needs module as first arg");
|
|
return SWIG_ERROR;
|
|
}
|
|
if (!o) {
|
|
PyErr_SetString(PyExc_TypeError,
|
|
"PyModule_AddObject() needs non-NULL value");
|
|
return SWIG_ERROR;
|
|
}
|
|
|
|
dict = PyModule_GetDict(m);
|
|
if (dict == NULL) {
|
|
/* Internal error -- modules must have a dict! */
|
|
PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
|
|
PyModule_GetName(m));
|
|
return SWIG_ERROR;
|
|
}
|
|
if (PyDict_SetItemString(dict, name, o))
|
|
return SWIG_ERROR;
|
|
Py_DECREF(o);
|
|
return SWIG_OK;
|
|
}
|
|
#endif
|
|
|
|
SWIGRUNTIME void
|
|
SWIG_Python_DestroyModule(void *vptr)
|
|
{
|
|
swig_module_info *swig_module = (swig_module_info *) vptr;
|
|
swig_type_info **types = swig_module->types;
|
|
size_t i;
|
|
for (i =0; i < swig_module->size; ++i) {
|
|
swig_type_info *ty = types[i];
|
|
if (ty->owndata) {
|
|
PySwigClientData *data = (PySwigClientData *) ty->clientdata;
|
|
if (data) PySwigClientData_Del(data);
|
|
}
|
|
}
|
|
Py_DECREF(SWIG_This());
|
|
}
|
|
|
|
SWIGRUNTIME void
|
|
SWIG_Python_SetModule(swig_module_info *swig_module) {
|
|
static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
|
|
|
|
PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
|
|
swig_empty_runtime_method_table);
|
|
PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
|
|
if (pointer && module) {
|
|
PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
|
|
} else {
|
|
Py_XDECREF(pointer);
|
|
}
|
|
}
|
|
|
|
/* The python cached type query */
|
|
SWIGRUNTIME PyObject *
|
|
SWIG_Python_TypeCache() {
|
|
static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
|
|
return cache;
|
|
}
|
|
|
|
SWIGRUNTIME swig_type_info *
|
|
SWIG_Python_TypeQuery(const char *type)
|
|
{
|
|
PyObject *cache = SWIG_Python_TypeCache();
|
|
PyObject *key = PyString_FromString(type);
|
|
PyObject *obj = PyDict_GetItem(cache, key);
|
|
swig_type_info *descriptor;
|
|
if (obj) {
|
|
descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
|
|
} else {
|
|
swig_module_info *swig_module = SWIG_Python_GetModule();
|
|
descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
|
|
if (descriptor) {
|
|
obj = PyCObject_FromVoidPtr(descriptor, NULL);
|
|
PyDict_SetItem(cache, key, obj);
|
|
Py_DECREF(obj);
|
|
}
|
|
}
|
|
Py_DECREF(key);
|
|
return descriptor;
|
|
}
|
|
|
|
/*
|
|
For backward compatibility only
|
|
*/
|
|
#define SWIG_POINTER_EXCEPTION 0
|
|
#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
|
|
#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
|
|
|
|
SWIGRUNTIME int
|
|
SWIG_Python_AddErrMesg(const char* mesg, int infront)
|
|
{
|
|
if (PyErr_Occurred()) {
|
|
PyObject *type = 0;
|
|
PyObject *value = 0;
|
|
PyObject *traceback = 0;
|
|
PyErr_Fetch(&type, &value, &traceback);
|
|
if (value) {
|
|
PyObject *old_str = PyObject_Str(value);
|
|
Py_XINCREF(type);
|
|
PyErr_Clear();
|
|
if (infront) {
|
|
PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
|
|
} else {
|
|
PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
|
|
}
|
|
Py_DECREF(old_str);
|
|
}
|
|
return 1;
|
|
} else {
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
SWIGRUNTIME int
|
|
SWIG_Python_ArgFail(int argnum)
|
|
{
|
|
if (PyErr_Occurred()) {
|
|
/* add information about failing argument */
|
|
char mesg[256];
|
|
PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
|
|
return SWIG_Python_AddErrMesg(mesg, 1);
|
|
} else {
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
SWIGRUNTIMEINLINE const char *
|
|
PySwigObject_GetDesc(PyObject *self)
|
|
{
|
|
PySwigObject *v = (PySwigObject *)self;
|
|
swig_type_info *ty = v ? v->ty : 0;
|
|
return ty ? ty->str : (char*)"";
|
|
}
|
|
|
|
SWIGRUNTIME void
|
|
SWIG_Python_TypeError(const char *type, PyObject *obj)
|
|
{
|
|
if (type) {
|
|
#if defined(SWIG_COBJECT_TYPES)
|
|
if (obj && PySwigObject_Check(obj)) {
|
|
const char *otype = (const char *) PySwigObject_GetDesc(obj);
|
|
if (otype) {
|
|
PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
|
|
type, otype);
|
|
return;
|
|
}
|
|
} else
|
|
#endif
|
|
{
|
|
const char *otype = (obj ? obj->ob_type->tp_name : 0);
|
|
if (otype) {
|
|
PyObject *str = PyObject_Str(obj);
|
|
const char *cstr = str ? PyString_AsString(str) : 0;
|
|
if (cstr) {
|
|
PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
|
|
type, otype, cstr);
|
|
} else {
|
|
PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
|
|
type, otype);
|
|
}
|
|
Py_XDECREF(str);
|
|
return;
|
|
}
|
|
}
|
|
PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
|
|
} else {
|
|
PyErr_Format(PyExc_TypeError, "unexpected type is received");
|
|
}
|
|
}
|
|
|
|
|
|
/* Convert a pointer value, signal an exception on a type mismatch */
|
|
SWIGRUNTIME void *
|
|
SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
|
|
void *result;
|
|
if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
|
|
PyErr_Clear();
|
|
if (flags & SWIG_POINTER_EXCEPTION) {
|
|
SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
|
|
SWIG_Python_ArgFail(argnum);
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
|
|
#ifdef __cplusplus
|
|
#if 0
|
|
{ /* cc-mode */
|
|
#endif
|
|
}
|
|
#endif
|
|
|
|
|
|
|
|
#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
|
|
|
|
#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
|
|
|
|
|
|
|
|
/* -------- TYPES TABLE (BEGIN) -------- */
|
|
|
|
#define SWIGTYPE_p_bool swig_types[0]
|
|
#define SWIGTYPE_p_char swig_types[1]
|
|
#define SWIGTYPE_p_form_ops_t swig_types[2]
|
|
#define SWIGTYPE_p_int swig_types[3]
|
|
#define SWIGTYPE_p_unsigned_char swig_types[4]
|
|
#define SWIGTYPE_p_unsigned_int swig_types[5]
|
|
#define SWIGTYPE_p_unsigned_long swig_types[6]
|
|
#define SWIGTYPE_p_wxANIHandler swig_types[7]
|
|
#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
|
|
#define SWIGTYPE_p_wxActivateEvent swig_types[9]
|
|
#define SWIGTYPE_p_wxArrayInt swig_types[10]
|
|
#define SWIGTYPE_p_wxBMPHandler swig_types[11]
|
|
#define SWIGTYPE_p_wxBitmap swig_types[12]
|
|
#define SWIGTYPE_p_wxBoxSizer swig_types[13]
|
|
#define SWIGTYPE_p_wxCURHandler swig_types[14]
|
|
#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
|
|
#define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
|
|
#define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
|
|
#define SWIGTYPE_p_wxCloseEvent swig_types[18]
|
|
#define SWIGTYPE_p_wxColour swig_types[19]
|
|
#define SWIGTYPE_p_wxColourData swig_types[20]
|
|
#define SWIGTYPE_p_wxColourDialog swig_types[21]
|
|
#define SWIGTYPE_p_wxCommandEvent swig_types[22]
|
|
#define SWIGTYPE_p_wxConfigBase swig_types[23]
|
|
#define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
|
|
#define SWIGTYPE_p_wxControl swig_types[25]
|
|
#define SWIGTYPE_p_wxControlWithItems swig_types[26]
|
|
#define SWIGTYPE_p_wxCursor swig_types[27]
|
|
#define SWIGTYPE_p_wxDC swig_types[28]
|
|
#define SWIGTYPE_p_wxDateEvent swig_types[29]
|
|
#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[30]
|
|
#define SWIGTYPE_p_wxDialog swig_types[31]
|
|
#define SWIGTYPE_p_wxDirDialog swig_types[32]
|
|
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[33]
|
|
#define SWIGTYPE_p_wxDropFilesEvent swig_types[34]
|
|
#define SWIGTYPE_p_wxDuplexMode swig_types[35]
|
|
#define SWIGTYPE_p_wxEraseEvent swig_types[36]
|
|
#define SWIGTYPE_p_wxEvent swig_types[37]
|
|
#define SWIGTYPE_p_wxEvtHandler swig_types[38]
|
|
#define SWIGTYPE_p_wxFSFile swig_types[39]
|
|
#define SWIGTYPE_p_wxFileDialog swig_types[40]
|
|
#define SWIGTYPE_p_wxFileSystem swig_types[41]
|
|
#define SWIGTYPE_p_wxFindDialogEvent swig_types[42]
|
|
#define SWIGTYPE_p_wxFindReplaceData swig_types[43]
|
|
#define SWIGTYPE_p_wxFindReplaceDialog swig_types[44]
|
|
#define SWIGTYPE_p_wxFlexGridSizer swig_types[45]
|
|
#define SWIGTYPE_p_wxFocusEvent swig_types[46]
|
|
#define SWIGTYPE_p_wxFont swig_types[47]
|
|
#define SWIGTYPE_p_wxFontData swig_types[48]
|
|
#define SWIGTYPE_p_wxFontDialog swig_types[49]
|
|
#define SWIGTYPE_p_wxFrame swig_types[50]
|
|
#define SWIGTYPE_p_wxGBSizerItem swig_types[51]
|
|
#define SWIGTYPE_p_wxGIFHandler swig_types[52]
|
|
#define SWIGTYPE_p_wxGridBagSizer swig_types[53]
|
|
#define SWIGTYPE_p_wxGridSizer swig_types[54]
|
|
#define SWIGTYPE_p_wxHelpControllerBase swig_types[55]
|
|
#define SWIGTYPE_p_wxHelpSearchMode swig_types[56]
|
|
#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[57]
|
|
#define SWIGTYPE_p_wxHtmlBookRecord swig_types[58]
|
|
#define SWIGTYPE_p_wxHtmlCell swig_types[59]
|
|
#define SWIGTYPE_p_wxHtmlCellEvent swig_types[60]
|
|
#define SWIGTYPE_p_wxHtmlColourCell swig_types[61]
|
|
#define SWIGTYPE_p_wxHtmlContainerCell swig_types[62]
|
|
#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[63]
|
|
#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[64]
|
|
#define SWIGTYPE_p_wxHtmlFilter swig_types[65]
|
|
#define SWIGTYPE_p_wxHtmlFontCell swig_types[66]
|
|
#define SWIGTYPE_p_wxHtmlHelpController swig_types[67]
|
|
#define SWIGTYPE_p_wxHtmlHelpData swig_types[68]
|
|
#define SWIGTYPE_p_wxHtmlHelpDialog swig_types[69]
|
|
#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[70]
|
|
#define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[71]
|
|
#define SWIGTYPE_p_wxHtmlHelpWindow swig_types[72]
|
|
#define SWIGTYPE_p_wxHtmlLinkEvent swig_types[73]
|
|
#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[74]
|
|
#define SWIGTYPE_p_wxHtmlModalHelp swig_types[75]
|
|
#define SWIGTYPE_p_wxHtmlParser swig_types[76]
|
|
#define SWIGTYPE_p_wxHtmlPrintout swig_types[77]
|
|
#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[78]
|
|
#define SWIGTYPE_p_wxHtmlRenderingState swig_types[79]
|
|
#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[80]
|
|
#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[81]
|
|
#define SWIGTYPE_p_wxHtmlSelection swig_types[82]
|
|
#define SWIGTYPE_p_wxHtmlTag swig_types[83]
|
|
#define SWIGTYPE_p_wxHtmlTagHandler swig_types[84]
|
|
#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[85]
|
|
#define SWIGTYPE_p_wxHtmlWinParser swig_types[86]
|
|
#define SWIGTYPE_p_wxHtmlWindowInterface swig_types[87]
|
|
#define SWIGTYPE_p_wxHtmlWordCell swig_types[88]
|
|
#define SWIGTYPE_p_wxICOHandler swig_types[89]
|
|
#define SWIGTYPE_p_wxIconizeEvent swig_types[90]
|
|
#define SWIGTYPE_p_wxIdleEvent swig_types[91]
|
|
#define SWIGTYPE_p_wxImage swig_types[92]
|
|
#define SWIGTYPE_p_wxImageHandler swig_types[93]
|
|
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[94]
|
|
#define SWIGTYPE_p_wxInitDialogEvent swig_types[95]
|
|
#define SWIGTYPE_p_wxJPEGHandler swig_types[96]
|
|
#define SWIGTYPE_p_wxKeyEvent swig_types[97]
|
|
#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[98]
|
|
#define SWIGTYPE_p_wxLayoutConstraints swig_types[99]
|
|
#define SWIGTYPE_p_wxMDIChildFrame swig_types[100]
|
|
#define SWIGTYPE_p_wxMDIClientWindow swig_types[101]
|
|
#define SWIGTYPE_p_wxMDIParentFrame swig_types[102]
|
|
#define SWIGTYPE_p_wxMaximizeEvent swig_types[103]
|
|
#define SWIGTYPE_p_wxMenu swig_types[104]
|
|
#define SWIGTYPE_p_wxMenuBar swig_types[105]
|
|
#define SWIGTYPE_p_wxMenuEvent swig_types[106]
|
|
#define SWIGTYPE_p_wxMenuItem swig_types[107]
|
|
#define SWIGTYPE_p_wxMessageDialog swig_types[108]
|
|
#define SWIGTYPE_p_wxMiniFrame swig_types[109]
|
|
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[110]
|
|
#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[111]
|
|
#define SWIGTYPE_p_wxMouseEvent swig_types[112]
|
|
#define SWIGTYPE_p_wxMoveEvent swig_types[113]
|
|
#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[114]
|
|
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[115]
|
|
#define SWIGTYPE_p_wxNcPaintEvent swig_types[116]
|
|
#define SWIGTYPE_p_wxNotifyEvent swig_types[117]
|
|
#define SWIGTYPE_p_wxNumberEntryDialog swig_types[118]
|
|
#define SWIGTYPE_p_wxObject swig_types[119]
|
|
#define SWIGTYPE_p_wxPCXHandler swig_types[120]
|
|
#define SWIGTYPE_p_wxPNGHandler swig_types[121]
|
|
#define SWIGTYPE_p_wxPNMHandler swig_types[122]
|
|
#define SWIGTYPE_p_wxPageSetupDialog swig_types[123]
|
|
#define SWIGTYPE_p_wxPageSetupDialogData swig_types[124]
|
|
#define SWIGTYPE_p_wxPaintEvent swig_types[125]
|
|
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[126]
|
|
#define SWIGTYPE_p_wxPanel swig_types[127]
|
|
#define SWIGTYPE_p_wxPaperSize swig_types[128]
|
|
#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[129]
|
|
#define SWIGTYPE_p_wxPoint swig_types[130]
|
|
#define SWIGTYPE_p_wxPopupWindow swig_types[131]
|
|
#define SWIGTYPE_p_wxPreviewCanvas swig_types[132]
|
|
#define SWIGTYPE_p_wxPreviewControlBar swig_types[133]
|
|
#define SWIGTYPE_p_wxPreviewFrame swig_types[134]
|
|
#define SWIGTYPE_p_wxPrintData swig_types[135]
|
|
#define SWIGTYPE_p_wxPrintDialog swig_types[136]
|
|
#define SWIGTYPE_p_wxPrintDialogData swig_types[137]
|
|
#define SWIGTYPE_p_wxPrintPreview swig_types[138]
|
|
#define SWIGTYPE_p_wxPrinter swig_types[139]
|
|
#define SWIGTYPE_p_wxProgressDialog swig_types[140]
|
|
#define SWIGTYPE_p_wxPyApp swig_types[141]
|
|
#define SWIGTYPE_p_wxPyCommandEvent swig_types[142]
|
|
#define SWIGTYPE_p_wxPyEvent swig_types[143]
|
|
#define SWIGTYPE_p_wxPyHtmlFilter swig_types[144]
|
|
#define SWIGTYPE_p_wxPyHtmlListBox swig_types[145]
|
|
#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[146]
|
|
#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[147]
|
|
#define SWIGTYPE_p_wxPyHtmlWindow swig_types[148]
|
|
#define SWIGTYPE_p_wxPyImageHandler swig_types[149]
|
|
#define SWIGTYPE_p_wxPyPanel swig_types[150]
|
|
#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[151]
|
|
#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[152]
|
|
#define SWIGTYPE_p_wxPyPreviewFrame swig_types[153]
|
|
#define SWIGTYPE_p_wxPyPrintPreview swig_types[154]
|
|
#define SWIGTYPE_p_wxPyPrintout swig_types[155]
|
|
#define SWIGTYPE_p_wxPyScrolledWindow swig_types[156]
|
|
#define SWIGTYPE_p_wxPySizer swig_types[157]
|
|
#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[158]
|
|
#define SWIGTYPE_p_wxPyVListBox swig_types[159]
|
|
#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[160]
|
|
#define SWIGTYPE_p_wxPyValidator swig_types[161]
|
|
#define SWIGTYPE_p_wxPyWindow swig_types[162]
|
|
#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[163]
|
|
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[164]
|
|
#define SWIGTYPE_p_wxSashEvent swig_types[165]
|
|
#define SWIGTYPE_p_wxSashLayoutWindow swig_types[166]
|
|
#define SWIGTYPE_p_wxSashWindow swig_types[167]
|
|
#define SWIGTYPE_p_wxScrollEvent swig_types[168]
|
|
#define SWIGTYPE_p_wxScrollWinEvent swig_types[169]
|
|
#define SWIGTYPE_p_wxScrolledWindow swig_types[170]
|
|
#define SWIGTYPE_p_wxSetCursorEvent swig_types[171]
|
|
#define SWIGTYPE_p_wxShowEvent swig_types[172]
|
|
#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[173]
|
|
#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[174]
|
|
#define SWIGTYPE_p_wxSize swig_types[175]
|
|
#define SWIGTYPE_p_wxSizeEvent swig_types[176]
|
|
#define SWIGTYPE_p_wxSizer swig_types[177]
|
|
#define SWIGTYPE_p_wxSizerItem swig_types[178]
|
|
#define SWIGTYPE_p_wxSplashScreen swig_types[179]
|
|
#define SWIGTYPE_p_wxSplashScreenWindow swig_types[180]
|
|
#define SWIGTYPE_p_wxSplitterEvent swig_types[181]
|
|
#define SWIGTYPE_p_wxSplitterWindow swig_types[182]
|
|
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[183]
|
|
#define SWIGTYPE_p_wxStatusBar swig_types[184]
|
|
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[185]
|
|
#define SWIGTYPE_p_wxString swig_types[186]
|
|
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[187]
|
|
#define SWIGTYPE_p_wxTGAHandler swig_types[188]
|
|
#define SWIGTYPE_p_wxTIFFHandler swig_types[189]
|
|
#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[190]
|
|
#define SWIGTYPE_p_wxTextEntryDialog swig_types[191]
|
|
#define SWIGTYPE_p_wxTipWindow swig_types[192]
|
|
#define SWIGTYPE_p_wxTopLevelWindow swig_types[193]
|
|
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[194]
|
|
#define SWIGTYPE_p_wxValidator swig_types[195]
|
|
#define SWIGTYPE_p_wxVisualAttributes swig_types[196]
|
|
#define SWIGTYPE_p_wxWindow swig_types[197]
|
|
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[198]
|
|
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[199]
|
|
#define SWIGTYPE_p_wxXPMHandler swig_types[200]
|
|
static swig_type_info *swig_types[202];
|
|
static swig_module_info swig_module = {swig_types, 201, 0, 0, 0, 0};
|
|
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
|
|
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
|
|
|
|
/* -------- TYPES TABLE (END) -------- */
|
|
|
|
#if (PY_VERSION_HEX <= 0x02000000)
|
|
# if !defined(SWIG_PYTHON_CLASSIC)
|
|
# error "This python version requires to use swig with the '-classic' option"
|
|
# endif
|
|
#endif
|
|
#if (PY_VERSION_HEX <= 0x02020000)
|
|
# error "This python version requires to use swig with the '-nomodern' option"
|
|
#endif
|
|
#if (PY_VERSION_HEX <= 0x02020000)
|
|
# error "This python version requires to use swig with the '-nomodernargs' option"
|
|
#endif
|
|
#ifndef METH_O
|
|
# error "This python version requires to use swig with the '-nofastunpack' option"
|
|
#endif
|
|
|
|
/*-----------------------------------------------
|
|
@(target):= _html.so
|
|
------------------------------------------------*/
|
|
#define SWIG_init init_html
|
|
|
|
#define SWIG_name "_html"
|
|
|
|
#define SWIGVERSION 0x010329
|
|
|
|
|
|
#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
|
|
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
|
|
|
|
|
|
#include <stdexcept>
|
|
|
|
|
|
namespace swig {
|
|
class PyObject_ptr {
|
|
protected:
|
|
PyObject *_obj;
|
|
|
|
public:
|
|
PyObject_ptr() :_obj(0)
|
|
{
|
|
}
|
|
|
|
PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
|
|
{
|
|
Py_XINCREF(_obj);
|
|
}
|
|
|
|
PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
|
|
{
|
|
if (initial_ref) Py_XINCREF(_obj);
|
|
}
|
|
|
|
PyObject_ptr & operator=(const PyObject_ptr& item)
|
|
{
|
|
Py_XINCREF(item._obj);
|
|
Py_XDECREF(_obj);
|
|
_obj = item._obj;
|
|
return *this;
|
|
}
|
|
|
|
~PyObject_ptr()
|
|
{
|
|
Py_XDECREF(_obj);
|
|
}
|
|
|
|
operator PyObject *() const
|
|
{
|
|
return _obj;
|
|
}
|
|
|
|
PyObject *operator->() const
|
|
{
|
|
return _obj;
|
|
}
|
|
};
|
|
}
|
|
|
|
|
|
namespace swig {
|
|
struct PyObject_var : PyObject_ptr {
|
|
PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
|
|
|
|
PyObject_var & operator = (PyObject* obj)
|
|
{
|
|
Py_XDECREF(_obj);
|
|
_obj = obj;
|
|
return *this;
|
|
}
|
|
};
|
|
}
|
|
|
|
|
|
#include "wx/wxPython/wxPython.h"
|
|
#include "wx/wxPython/pyclasses.h"
|
|
#include "wx/wxPython/pyistream.h"
|
|
#include "wx/wxPython/printfw.h"
|
|
|
|
#include <wx/html/htmlwin.h>
|
|
#include <wx/html/htmprint.h>
|
|
#include <wx/html/helpctrl.h>
|
|
#include <wx/html/helpwnd.h>
|
|
#include <wx/html/helpfrm.h>
|
|
#include <wx/html/helpdlg.h>
|
|
|
|
|
|
static const wxString wxPyEmptyString(wxEmptyString);
|
|
static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
|
|
static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
|
|
static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
|
|
|
|
#define SWIG_From_long PyInt_FromLong
|
|
|
|
|
|
SWIGINTERNINLINE PyObject *
|
|
SWIG_From_int (int value)
|
|
{
|
|
return SWIG_From_long (value);
|
|
}
|
|
|
|
|
|
#include <limits.h>
|
|
#ifndef LLONG_MIN
|
|
# define LLONG_MIN LONG_LONG_MIN
|
|
#endif
|
|
#ifndef LLONG_MAX
|
|
# define LLONG_MAX LONG_LONG_MAX
|
|
#endif
|
|
#ifndef ULLONG_MAX
|
|
# define ULLONG_MAX ULONG_LONG_MAX
|
|
#endif
|
|
|
|
|
|
SWIGINTERN int
|
|
SWIG_AsVal_long (PyObject* obj, long* val)
|
|
{
|
|
if (PyNumber_Check(obj)) {
|
|
if (val) *val = PyInt_AsLong(obj);
|
|
return SWIG_OK;
|
|
}
|
|
return SWIG_TypeError;
|
|
}
|
|
|
|
|
|
SWIGINTERN int
|
|
SWIG_AsVal_int (PyObject * obj, int *val)
|
|
{
|
|
long v;
|
|
int res = SWIG_AsVal_long (obj, &v);
|
|
if (SWIG_IsOK(res)) {
|
|
if ((v < INT_MIN || v > INT_MAX)) {
|
|
return SWIG_OverflowError;
|
|
} else {
|
|
if (val) *val = static_cast< int >(v);
|
|
}
|
|
}
|
|
return res;
|
|
}
|
|
|
|
SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
|
|
int* temp = NULL;
|
|
if (sizes) temp = int_LIST_helper(sizes);
|
|
self->SetFonts(normal_face, fixed_face, temp);
|
|
if (temp)
|
|
delete [] temp;
|
|
}
|
|
|
|
class wxPyHtmlTagHandler : public wxHtmlTagHandler {
|
|
DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
|
|
public:
|
|
wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
|
|
|
|
wxHtmlParser* GetParser() { return m_Parser; }
|
|
void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
|
|
|
|
DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
|
|
DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
|
|
|
|
PYPRIVATE;
|
|
};
|
|
|
|
IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
|
|
|
|
IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
|
|
IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
|
|
|
|
|
|
class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
|
|
DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
|
|
public:
|
|
wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
|
|
|
|
wxHtmlWinParser* GetParser() { return m_WParser; }
|
|
void ParseInner(const wxHtmlTag& tag)
|
|
{ wxHtmlWinTagHandler::ParseInner(tag); }
|
|
|
|
DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
|
|
DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
|
|
|
|
PYPRIVATE;
|
|
};
|
|
|
|
IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
|
|
|
|
IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
|
|
IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
|
|
|
|
|
|
|
|
class wxPyHtmlTagsModule : public wxHtmlTagsModule {
|
|
public:
|
|
wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
|
|
m_tagHandlerClass = thc;
|
|
Py_INCREF(m_tagHandlerClass);
|
|
RegisterModule(this);
|
|
wxHtmlWinParser::AddModule(this);
|
|
}
|
|
|
|
void OnExit() {
|
|
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
|
Py_DECREF(m_tagHandlerClass);
|
|
m_tagHandlerClass = NULL;
|
|
for (size_t x=0; x < m_objArray.GetCount(); x++) {
|
|
PyObject* obj = (PyObject*)m_objArray.Item(x);
|
|
Py_DECREF(obj);
|
|
}
|
|
wxPyEndBlockThreads(blocked);
|
|
};
|
|
|
|
void FillHandlersTable(wxHtmlWinParser *parser) {
|
|
// Wave our magic wand... (if it works it's a miracle! ;-)
|
|
|
|
// First, make a new instance of the tag handler
|
|
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
|
PyObject* arg = PyTuple_New(0);
|
|
PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
|
|
Py_DECREF(arg);
|
|
|
|
// now figure out where it's C++ object is...
|
|
wxPyHtmlWinTagHandler* thPtr;
|
|
if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
|
|
wxPyEndBlockThreads(blocked);
|
|
return;
|
|
}
|
|
wxPyEndBlockThreads(blocked);
|
|
|
|
// add it,
|
|
parser->AddTagHandler(thPtr);
|
|
|
|
// and track it.
|
|
m_objArray.Add(obj);
|
|
}
|
|
|
|
private:
|
|
PyObject* m_tagHandlerClass;
|
|
wxArrayPtrVoid m_objArray;
|
|
|
|
};
|
|
|
|
|
|
void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
|
|
// Dynamically create a new wxModule. Refcounts tagHandlerClass
|
|
// and adds itself to the wxModules list and to the wxHtmlWinParser.
|
|
new wxPyHtmlTagsModule(tagHandlerClass);
|
|
}
|
|
|
|
|
|
SWIGINTERNINLINE PyObject*
|
|
SWIG_From_bool (bool value)
|
|
{
|
|
return PyBool_FromLong(value ? 1 : 0);
|
|
}
|
|
|
|
|
|
SWIGINTERN int
|
|
SWIG_AsVal_bool (PyObject *obj, bool *val)
|
|
{
|
|
if (obj == Py_True) {
|
|
if (val) *val = true;
|
|
return SWIG_OK;
|
|
} else if (obj == Py_False) {
|
|
if (val) *val = false;
|
|
return SWIG_OK;
|
|
} else {
|
|
long v = 0;
|
|
int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
|
|
if (SWIG_IsOK(res) && val) *val = v ? true : false;
|
|
return res;
|
|
}
|
|
}
|
|
|
|
|
|
SWIGINTERN int
|
|
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
|
|
{
|
|
long v = 0;
|
|
if (SWIG_AsVal_long(obj, &v) && v < 0) {
|
|
return SWIG_TypeError;
|
|
}
|
|
else if (val)
|
|
*val = (unsigned long)v;
|
|
return SWIG_OK;
|
|
}
|
|
|
|
|
|
SWIGINTERN int
|
|
SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
|
|
{
|
|
unsigned long v;
|
|
int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
|
|
if (SWIG_IsOK(res)) {
|
|
if ((v > UINT_MAX)) {
|
|
return SWIG_OverflowError;
|
|
} else {
|
|
if (val) *val = static_cast< unsigned int >(v);
|
|
}
|
|
}
|
|
return res;
|
|
}
|
|
|
|
|
|
SWIGINTERNINLINE PyObject*
|
|
SWIG_From_unsigned_SS_long (unsigned long value)
|
|
{
|
|
return (value > LONG_MAX) ?
|
|
PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
|
|
}
|
|
|
|
|
|
SWIGINTERNINLINE PyObject *
|
|
SWIG_From_unsigned_SS_int (unsigned int value)
|
|
{
|
|
return SWIG_From_unsigned_SS_long (value);
|
|
}
|
|
|
|
// here's the C++ version
|
|
class wxPyHtmlFilter : public wxHtmlFilter {
|
|
DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
|
|
public:
|
|
wxPyHtmlFilter() : wxHtmlFilter() {}
|
|
|
|
// returns True if this filter is able to open&read given file
|
|
virtual bool CanRead(const wxFSFile& file) const {
|
|
bool rval = false;
|
|
bool found;
|
|
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
|
if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
|
|
PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
|
|
rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
|
|
Py_DECREF(obj);
|
|
}
|
|
wxPyEndBlockThreads(blocked);
|
|
return rval;
|
|
}
|
|
|
|
|
|
// Reads given file and returns HTML document.
|
|
// Returns empty string if opening failed
|
|
virtual wxString ReadFile(const wxFSFile& file) const {
|
|
wxString rval;
|
|
bool found;
|
|
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
|
if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
|
|
PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
|
|
PyObject* ro;
|
|
ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
|
|
Py_DECREF(obj);
|
|
if (ro) {
|
|
rval = Py2wxString(ro);
|
|
Py_DECREF(ro);
|
|
}
|
|
}
|
|
wxPyEndBlockThreads(blocked);
|
|
return rval;
|
|
}
|
|
|
|
PYPRIVATE;
|
|
};
|
|
|
|
IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
|
|
|
|
|
|
class wxPyHtmlWindow : public wxHtmlWindow {
|
|
DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
|
|
public:
|
|
wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
const wxSize& size = wxDefaultSize,
|
|
long style = wxHW_DEFAULT_STYLE,
|
|
const wxString& name = wxPyHtmlWindowNameStr)
|
|
: wxHtmlWindow(parent, id, pos, size, style, name) {};
|
|
wxPyHtmlWindow() : wxHtmlWindow() {};
|
|
|
|
bool ScrollToAnchor(const wxString& anchor) {
|
|
return wxHtmlWindow::ScrollToAnchor(anchor);
|
|
}
|
|
|
|
bool HasAnchor(const wxString& anchor) {
|
|
const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
|
|
return c!=NULL;
|
|
}
|
|
|
|
void OnLinkClicked(const wxHtmlLinkInfo& link);
|
|
|
|
wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
|
|
const wxString& url,
|
|
wxString *redirect) const;
|
|
|
|
DEC_PYCALLBACK__STRING(OnSetTitle);
|
|
DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
|
|
DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked);
|
|
|
|
PYPRIVATE;
|
|
};
|
|
|
|
IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
|
|
IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
|
|
IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
|
|
IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
|
|
|
|
|
|
void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
|
|
bool found;
|
|
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
|
if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
|
|
PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
|
|
wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
|
|
Py_DECREF(obj);
|
|
}
|
|
wxPyEndBlockThreads(blocked);
|
|
if (! found)
|
|
wxHtmlWindow::OnLinkClicked(link);
|
|
}
|
|
|
|
|
|
wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
|
|
const wxString& url,
|
|
wxString *redirect) const {
|
|
bool found;
|
|
wxHtmlOpeningStatus rval;
|
|
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
|
if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
|
|
PyObject* ro;
|
|
PyObject* s = wx2PyString(url);
|
|
ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
|
|
Py_DECREF(s);
|
|
if (PyString_Check(ro)
|
|
#if PYTHON_API_VERSION >= 1009
|
|
|| PyUnicode_Check(ro)
|
|
#endif
|
|
) {
|
|
*redirect = Py2wxString(ro);
|
|
rval = wxHTML_REDIRECT;
|
|
}
|
|
else {
|
|
PyObject* num = PyNumber_Int(ro);
|
|
rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
|
|
Py_DECREF(num);
|
|
}
|
|
Py_DECREF(ro);
|
|
}
|
|
wxPyEndBlockThreads(blocked);
|
|
if (! found)
|
|
rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
|
|
return rval;
|
|
}
|
|
|
|
|
|
|
|
SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
|
|
int* temp = NULL;
|
|
if (sizes) temp = int_LIST_helper(sizes);
|
|
self->SetFonts(normal_face, fixed_face, temp);
|
|
if (temp)
|
|
delete [] temp;
|
|
}
|
|
SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
|
|
int* temp = NULL;
|
|
if (sizes) temp = int_LIST_helper(sizes);
|
|
self->SetFonts(normal_face, fixed_face, temp);
|
|
if (temp)
|
|
delete [] temp;
|
|
}
|
|
SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
|
|
int* temp = NULL;
|
|
if (sizes) temp = int_LIST_helper(sizes);
|
|
self->SetFonts(normal_face, fixed_face, temp);
|
|
if (temp)
|
|
delete [] temp;
|
|
}
|
|
|
|
#include <float.h>
|
|
|
|
|
|
SWIGINTERN int
|
|
SWIG_AsVal_double (PyObject *obj, double* val)
|
|
{
|
|
if (PyNumber_Check(obj)) {
|
|
if (val) *val = PyFloat_AsDouble(obj);
|
|
return SWIG_OK;
|
|
}
|
|
return SWIG_TypeError;
|
|
}
|
|
|
|
|
|
SWIGINTERN int
|
|
SWIG_AsVal_float (PyObject * obj, float *val)
|
|
{
|
|
double v;
|
|
int res = SWIG_AsVal_double (obj, &v);
|
|
if (SWIG_IsOK(res)) {
|
|
if ((v < -FLT_MAX || v > FLT_MAX)) {
|
|
return SWIG_OverflowError;
|
|
} else {
|
|
if (val) *val = static_cast< float >(v);
|
|
}
|
|
}
|
|
return res;
|
|
}
|
|
|
|
SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
|
|
int* temp = NULL;
|
|
if (sizes) temp = int_LIST_helper(sizes);
|
|
self->SetFonts(normal_face, fixed_face, temp);
|
|
if (temp)
|
|
delete [] temp;
|
|
}
|
|
|
|
typedef wxTreeCtrl wxPyTreeCtrl;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
SWIGINTERN int HtmlWindowNameStr_set(PyObject *) {
|
|
SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only.");
|
|
return 1;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlWindowNameStr_get(void) {
|
|
PyObject *pyobj = 0;
|
|
|
|
{
|
|
#if wxUSE_UNICODE
|
|
pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
|
|
#else
|
|
pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
|
|
#endif
|
|
}
|
|
return pyobj;
|
|
}
|
|
|
|
|
|
SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) {
|
|
SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only.");
|
|
return 1;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) {
|
|
PyObject *pyobj = 0;
|
|
|
|
{
|
|
#if wxUSE_UNICODE
|
|
pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
|
|
#else
|
|
pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
|
|
#endif
|
|
}
|
|
return pyobj;
|
|
}
|
|
|
|
|
|
SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) {
|
|
SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only.");
|
|
return 1;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) {
|
|
PyObject *pyobj = 0;
|
|
|
|
{
|
|
#if wxUSE_UNICODE
|
|
pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
|
|
#else
|
|
pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
|
|
#endif
|
|
}
|
|
return pyobj;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxString *arg1 = 0 ;
|
|
wxString const &arg2_defvalue = wxPyEmptyString ;
|
|
wxString *arg2 = (wxString *) &arg2_defvalue ;
|
|
wxHtmlLinkInfo *result = 0 ;
|
|
bool temp1 = false ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "href",(char *) "target", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
{
|
|
arg1 = wxString_in_helper(obj0);
|
|
if (arg1 == NULL) SWIG_fail;
|
|
temp1 = true;
|
|
}
|
|
if (obj1) {
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 );
|
|
{
|
|
if (temp1)
|
|
delete arg1;
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp1)
|
|
delete arg1;
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetHref();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetTarget();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
|
|
wxMouseEvent *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxMouseEvent *)(arg1)->GetEvent();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
|
|
wxHtmlCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCell *)(arg1)->GetHtmlCell();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
|
|
wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "e", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetEvent((wxMouseEvent const *)arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
|
|
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "e", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetName();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "par", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->HasParam((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
int arg3 = (int) false ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "par",(char *) "with_commas", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetParam((wxString const &)*arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetAllParams();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->HasEnding();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetBeginPos();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetEndPos1();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetEndPos2();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
|
|
wxFileSystem *arg2 = (wxFileSystem *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "fs", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxFileSystem * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetFS(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
|
|
wxFileSystem *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxFileSystem *)(arg1)->GetFS();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
wxObject *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "source", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, (bool)0);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "source", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->InitParser((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->DoneParser();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
|
|
int arg2 ;
|
|
int arg3 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->DoParsing(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->StopParsing();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
|
|
wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "handler", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->AddTagHandler(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
|
|
wxString *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxString *)(arg1)->GetSource();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
|
|
wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
|
|
wxString arg3 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "handler",(char *) "tags", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj2);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg3 = *sptr;
|
|
delete sptr;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->PushTagHandler(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->PopTagHandler();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
|
|
wxHtmlTag *arg2 = 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "tag", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
|
|
}
|
|
if (!argp2) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
|
|
wxHtmlWinParser *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "wnd", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail;
|
|
if (obj0) {
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxDC *arg2 = (wxDC *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "dc", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxDC * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetDC(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxDC *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxDC *)(arg1)->GetDC();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, (bool)0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetCharHeight();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetCharWidth();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxPyHtmlWindow *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxPyHtmlWindow *)(arg1)->GetWindow();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, (bool)0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxHtmlWindowInterface *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxString arg2 ;
|
|
wxString arg3 ;
|
|
PyObject *arg4 = (PyObject *) NULL ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj1);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg2 = *sptr;
|
|
delete sptr;
|
|
}
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj2);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg3 = *sptr;
|
|
delete sptr;
|
|
}
|
|
if (obj3) {
|
|
arg4 = obj3;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int arg2 = (int) -1 ;
|
|
wxString const &arg3_defvalue = wxPyEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
wxString const &arg4_defvalue = wxPyEmptyString ;
|
|
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
bool temp3 = false ;
|
|
bool temp4 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
if (obj1) {
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
}
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
if (obj3) {
|
|
{
|
|
arg4 = wxString_in_helper(obj3);
|
|
if (arg4 == NULL) SWIG_fail;
|
|
temp4 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxHtmlContainerCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlContainerCell *)(arg1)->GetContainer();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxHtmlContainerCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
|
|
wxHtmlContainerCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "c", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxHtmlContainerCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetFontSize();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "s", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetFontSize(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetFontBold();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "x", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetFontBold(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetFontItalic();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "x", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetFontItalic(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetFontUnderlined();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "x", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetFontUnderlined(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetFontFixed();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "x", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetFontFixed(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetAlign();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
int arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "a", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetAlign(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxColour result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetLinkColor();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxColour *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxColour temp2 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "clr", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetLinkColor((wxColour const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxColour result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetActualColor();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxColour *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxColour temp2 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "clr", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetActualColor((wxColour const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "link", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetLink((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
wxFont *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxFont *)(arg1)->CreateCurrentFont();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
|
|
SwigValueWrapper<wxHtmlLinkInfo > result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetLink();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlTagHandler *result = 0 ;
|
|
|
|
if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
|
|
PyObject *arg2 = (PyObject *) 0 ;
|
|
PyObject *arg3 = (PyObject *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "self",(char *) "_class", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
|
|
arg2 = obj1;
|
|
arg3 = obj2;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->_setCallbackInfo(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
|
|
wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "parser", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetParser(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
|
|
wxHtmlParser *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlParser *)(arg1)->GetParser();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
|
|
wxHtmlTag *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "tag", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
|
|
}
|
|
if (!argp2) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->ParseInner((wxHtmlTag const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWinTagHandler *result = 0 ;
|
|
|
|
if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
|
|
PyObject *arg2 = (PyObject *) 0 ;
|
|
PyObject *arg3 = (PyObject *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "self",(char *) "_class", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
|
|
arg2 = obj1;
|
|
arg3 = obj2;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->_setCallbackInfo(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
|
|
wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "parser", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetParser(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
|
|
wxHtmlWinParser *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlWinParser *)(arg1)->GetParser();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
|
|
wxHtmlTag *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "tag", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
|
|
}
|
|
if (!argp2) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->ParseInner((wxHtmlTag const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
PyObject *arg1 = (PyObject *) 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "tagHandlerClass", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail;
|
|
arg1 = obj0;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
wxHtmlWinParser_AddTagHandler(arg1);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *result = 0 ;
|
|
|
|
if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlSelection *)new wxHtmlSelection();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
delete arg1;
|
|
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
|
|
wxPoint *arg2 = 0 ;
|
|
wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
|
|
wxPoint *arg4 = 0 ;
|
|
wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxPoint temp2 ;
|
|
void *argp3 = 0 ;
|
|
int res3 = 0 ;
|
|
wxPoint temp4 ;
|
|
void *argp5 = 0 ;
|
|
int res5 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
|
|
{
|
|
arg4 = &temp4;
|
|
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
|
|
}
|
|
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg5 = reinterpret_cast< wxHtmlCell * >(argp5);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
|
|
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
|
|
wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
void *argp3 = 0 ;
|
|
int res3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "fromCell",(char *) "toCell", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
|
|
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
|
|
wxHtmlCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
|
|
wxHtmlCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
|
|
wxPoint *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
{
|
|
wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
|
|
result = (wxPoint *) &_result_ref;
|
|
}
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
|
|
wxPoint *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
{
|
|
wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
|
|
result = (wxPoint *) &_result_ref;
|
|
}
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
|
|
wxPoint *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
{
|
|
wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
|
|
result = (wxPoint *) &_result_ref;
|
|
}
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
|
|
wxPoint *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
{
|
|
wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
|
|
result = (wxPoint *) &_result_ref;
|
|
}
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
|
|
wxPoint *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxPoint temp2 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "pos", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetFromPrivPos((wxPoint const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
|
|
wxPoint *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxPoint temp2 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "pos", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetToPrivPos((wxPoint const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->ClearPrivPos();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_bool(static_cast< bool >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingState *result = 0 ;
|
|
|
|
if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
delete arg1;
|
|
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
|
|
wxHtmlSelectionState arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "s", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
|
|
}
|
|
arg2 = static_cast< wxHtmlSelectionState >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetSelectionState(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
|
|
wxHtmlSelectionState result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
|
|
wxColour *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxColour temp2 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "c", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetFgColour((wxColour const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
|
|
wxColour *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
{
|
|
wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
|
|
result = (wxColour *) &_result_ref;
|
|
}
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
|
|
wxColour *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxColour temp2 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "c", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetBgColour((wxColour const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
|
|
wxColour *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
{
|
|
wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
|
|
result = (wxColour *) &_result_ref;
|
|
}
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
|
|
wxColour *arg2 = 0 ;
|
|
wxColour result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxColour temp2 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "clr", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
|
|
wxColour *arg2 = 0 ;
|
|
wxColour result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxColour temp2 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "clr", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingInfo *result = 0 ;
|
|
|
|
if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
delete arg1;
|
|
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
|
|
wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "s", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetSelection(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
|
|
wxHtmlSelection *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
|
|
wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "style", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetStyle(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
|
|
wxHtmlRenderingStyle *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
{
|
|
wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
|
|
result = (wxHtmlRenderingStyle *) &_result_ref;
|
|
}
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
|
|
wxHtmlRenderingState *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
{
|
|
wxHtmlRenderingState &_result_ref = (arg1)->GetState();
|
|
result = (wxHtmlRenderingState *) &_result_ref;
|
|
}
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *result = 0 ;
|
|
|
|
if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCell *)new wxHtmlCell();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
delete arg1;
|
|
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetPosX();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetPosY();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetWidth();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetHeight();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetDescent();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxString *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
{
|
|
wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
|
|
result = (wxString *) &_result_ref;
|
|
}
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "id", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetId((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
int arg2 = (int) 0 ;
|
|
int arg3 = (int) 0 ;
|
|
wxHtmlLinkInfo *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "x",(char *) "y", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
if (obj1) {
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
}
|
|
if (obj2) {
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCell *)(arg1)->GetNext();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlContainerCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlContainerCell *)(arg1)->GetParent();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
|
|
wxCursor result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "window", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxCursor result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = ((wxHtmlCell const *)arg1)->GetCursor();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlLinkInfo *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "link", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
|
|
}
|
|
if (!argp2) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
|
|
int res1 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "cell", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetNext(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "p", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetParent(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
int arg2 ;
|
|
int arg3 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "x",(char *) "y", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetPos(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
int arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "w", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->Layout(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxDC *arg2 = 0 ;
|
|
int arg3 ;
|
|
int arg4 ;
|
|
int arg5 ;
|
|
int arg6 ;
|
|
wxHtmlRenderingInfo *arg7 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
int val4 ;
|
|
int ecode4 = 0 ;
|
|
int val5 ;
|
|
int ecode5 = 0 ;
|
|
int val6 ;
|
|
int ecode6 = 0 ;
|
|
void *argp7 = 0 ;
|
|
int res7 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
PyObject * obj5 = 0 ;
|
|
PyObject * obj6 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
|
|
}
|
|
if (!argp2) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxDC * >(argp2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
ecode4 = SWIG_AsVal_int(obj3, &val4);
|
|
if (!SWIG_IsOK(ecode4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
|
|
}
|
|
arg4 = static_cast< int >(val4);
|
|
ecode5 = SWIG_AsVal_int(obj4, &val5);
|
|
if (!SWIG_IsOK(ecode5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
|
|
}
|
|
arg5 = static_cast< int >(val5);
|
|
ecode6 = SWIG_AsVal_int(obj5, &val6);
|
|
if (!SWIG_IsOK(ecode6)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
|
|
}
|
|
arg6 = static_cast< int >(val6);
|
|
res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
|
|
if (!SWIG_IsOK(res7)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
|
|
}
|
|
if (!argp7) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
|
|
}
|
|
arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxDC *arg2 = 0 ;
|
|
int arg3 ;
|
|
int arg4 ;
|
|
wxHtmlRenderingInfo *arg5 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
int val4 ;
|
|
int ecode4 = 0 ;
|
|
void *argp5 = 0 ;
|
|
int res5 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
|
|
}
|
|
if (!argp2) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxDC * >(argp2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
ecode4 = SWIG_AsVal_int(obj3, &val4);
|
|
if (!SWIG_IsOK(ecode4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
|
|
}
|
|
arg4 = static_cast< int >(val4);
|
|
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
|
|
if (!SWIG_IsOK(res5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
|
|
}
|
|
if (!argp5) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
|
|
}
|
|
arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
int arg2 ;
|
|
void *arg3 = (void *) 0 ;
|
|
wxHtmlCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
int res3 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "condition",(char *) "param", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
|
|
if (!SWIG_IsOK(res3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
|
|
wxPoint *arg3 = 0 ;
|
|
wxMouseEvent *arg4 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
wxPoint temp3 ;
|
|
void *argp4 = 0 ;
|
|
int res4 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
|
|
{
|
|
arg3 = &temp3;
|
|
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
|
|
}
|
|
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent, 0 | 0);
|
|
if (!SWIG_IsOK(res4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
|
|
}
|
|
if (!argp4) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
|
|
}
|
|
arg4 = reinterpret_cast< wxMouseEvent * >(argp4);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
bool arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "can", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
ecode2 = SWIG_AsVal_bool(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
|
|
}
|
|
arg2 = static_cast< bool >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetCanLiveOnPagebreak(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
int arg2 ;
|
|
int arg3 ;
|
|
unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
|
|
wxHtmlCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
unsigned int val4 ;
|
|
int ecode4 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
if (obj3) {
|
|
ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
|
|
if (!SWIG_IsOK(ecode4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
|
|
}
|
|
arg4 = static_cast< unsigned int >(val4);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlCell *arg2 = (wxHtmlCell *) NULL ;
|
|
wxPoint result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "rootCell", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
if (obj1) {
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
unsigned int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "cell", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
|
|
wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "sel", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxString *arg1 = 0 ;
|
|
wxDC *arg2 = 0 ;
|
|
wxHtmlWordCell *result = 0 ;
|
|
bool temp1 = false ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "word",(char *) "dc", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
{
|
|
arg1 = wxString_in_helper(obj0);
|
|
if (arg1 == NULL) SWIG_fail;
|
|
temp1 = true;
|
|
}
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
|
|
}
|
|
if (!argp2) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxDC * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 );
|
|
{
|
|
if (temp1)
|
|
delete arg1;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp1)
|
|
delete arg1;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
|
|
wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "sel", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
|
|
wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "cell", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetPreviousWord(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
wxHtmlContainerCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "parent", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "cell", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->InsertCell(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
int arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "al", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetAlignHor(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetAlignHor();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
int arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "al", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetAlignVer(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetAlignVer();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
int arg2 ;
|
|
int arg3 ;
|
|
int arg4 = (int) wxHTML_UNITS_PIXELS ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
int val4 ;
|
|
int ecode4 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
if (obj3) {
|
|
ecode4 = SWIG_AsVal_int(obj3, &val4);
|
|
if (!SWIG_IsOK(ecode4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
|
|
}
|
|
arg4 = static_cast< int >(val4);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetIndent(arg2,arg3,arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
int arg2 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "ind", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetIndent(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
int arg2 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "ind", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetIndentUnits(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
wxHtmlTag *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "tag", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
|
|
}
|
|
if (!argp2) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetAlign((wxHtmlTag const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
int arg2 ;
|
|
int arg3 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "w",(char *) "units", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetWidthFloat(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
wxHtmlTag *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "tag", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
|
|
}
|
|
if (!argp2) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
int arg2 ;
|
|
int arg3 = (int) wxHTML_ALIGN_TOP ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "h",(char *) "align", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
if (obj2) {
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetMinHeight(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
wxColour *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxColour temp2 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "clr", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetBackgroundColour((wxColour const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
wxColour result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetBackgroundColour();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
wxColour *arg2 = 0 ;
|
|
wxColour *arg3 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxColour temp2 ;
|
|
wxColour temp3 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "clr1",(char *) "clr2", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
{
|
|
arg3 = &temp3;
|
|
if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
|
|
wxHtmlCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCell *)(arg1)->GetFirstChild();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxColour *arg1 = 0 ;
|
|
int arg2 = (int) wxHTML_CLR_FOREGROUND ;
|
|
wxHtmlColourCell *result = 0 ;
|
|
wxColour temp1 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "clr",(char *) "flags", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
{
|
|
arg1 = &temp1;
|
|
if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
|
|
}
|
|
if (obj1) {
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxFont *arg1 = (wxFont *) 0 ;
|
|
wxHtmlFontCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "font", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxFont * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxWindow *arg1 = (wxWindow *) 0 ;
|
|
int arg2 = (int) 0 ;
|
|
wxHtmlWidgetCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "wnd",(char *) "w", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
|
if (obj1) {
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlFilter *result = 0 ;
|
|
|
|
if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
|
|
PyObject *arg2 = (PyObject *) 0 ;
|
|
PyObject *arg3 = (PyObject *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "self",(char *) "_class", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
|
|
arg2 = obj1;
|
|
arg3 = obj2;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->_setCallbackInfo(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
delete arg1;
|
|
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "title", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetHTMLWindowTitle((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
|
|
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
|
|
wxPoint *arg3 = 0 ;
|
|
wxPoint result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
wxPoint temp3 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "cell",(char *) "pos", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
|
|
{
|
|
arg3 = &temp3;
|
|
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
|
|
wxWindow *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxWindow *)(arg1)->GetHTMLWindow();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
|
|
wxColour result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
|
|
wxColour *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxColour temp2 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "clr", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
|
|
wxBitmap *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "bmpBg", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
|
|
}
|
|
if (!argp2) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxBitmap * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "text", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetHTMLStatusText((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxWindow *arg1 = (wxWindow *) 0 ;
|
|
int arg2 = (int) -1 ;
|
|
wxPoint const &arg3_defvalue = wxDefaultPosition ;
|
|
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
|
|
wxSize const &arg4_defvalue = wxDefaultSize ;
|
|
wxSize *arg4 = (wxSize *) &arg4_defvalue ;
|
|
int arg5 = (int) wxHW_DEFAULT_STYLE ;
|
|
wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
|
|
wxString *arg6 = (wxString *) &arg6_defvalue ;
|
|
wxPyHtmlWindow *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
wxPoint temp3 ;
|
|
wxSize temp4 ;
|
|
int val5 ;
|
|
int ecode5 = 0 ;
|
|
bool temp6 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
PyObject * obj5 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
|
if (obj1) {
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
}
|
|
if (obj2) {
|
|
{
|
|
arg3 = &temp3;
|
|
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
|
|
}
|
|
}
|
|
if (obj3) {
|
|
{
|
|
arg4 = &temp4;
|
|
if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
|
|
}
|
|
}
|
|
if (obj4) {
|
|
ecode5 = SWIG_AsVal_int(obj4, &val5);
|
|
if (!SWIG_IsOK(ecode5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
|
|
}
|
|
arg5 = static_cast< int >(val5);
|
|
}
|
|
if (obj5) {
|
|
{
|
|
arg6 = wxString_in_helper(obj5);
|
|
if (arg6 == NULL) SWIG_fail;
|
|
temp6 = true;
|
|
}
|
|
}
|
|
{
|
|
if (!wxPyCheckForApp()) SWIG_fail;
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 );
|
|
{
|
|
if (temp6)
|
|
delete arg6;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp6)
|
|
delete arg6;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *result = 0 ;
|
|
|
|
if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail;
|
|
{
|
|
if (!wxPyCheckForApp()) SWIG_fail;
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxWindow *arg2 = (wxWindow *) 0 ;
|
|
int arg3 = (int) -1 ;
|
|
wxPoint const &arg4_defvalue = wxDefaultPosition ;
|
|
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
|
|
wxSize const &arg5_defvalue = wxDefaultSize ;
|
|
wxSize *arg5 = (wxSize *) &arg5_defvalue ;
|
|
int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
|
|
wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
|
|
wxString *arg7 = (wxString *) &arg7_defvalue ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
wxPoint temp4 ;
|
|
wxSize temp5 ;
|
|
int val6 ;
|
|
int ecode6 = 0 ;
|
|
bool temp7 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
PyObject * obj5 = 0 ;
|
|
PyObject * obj6 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
|
if (obj2) {
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
}
|
|
if (obj3) {
|
|
{
|
|
arg4 = &temp4;
|
|
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
|
|
}
|
|
}
|
|
if (obj4) {
|
|
{
|
|
arg5 = &temp5;
|
|
if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
|
|
}
|
|
}
|
|
if (obj5) {
|
|
ecode6 = SWIG_AsVal_int(obj5, &val6);
|
|
if (!SWIG_IsOK(ecode6)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
|
|
}
|
|
arg6 = static_cast< int >(val6);
|
|
}
|
|
if (obj6) {
|
|
{
|
|
arg7 = wxString_in_helper(obj6);
|
|
if (arg7 == NULL) SWIG_fail;
|
|
temp7 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp7)
|
|
delete arg7;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp7)
|
|
delete arg7;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
PyObject *arg2 = (PyObject *) 0 ;
|
|
PyObject *arg3 = (PyObject *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "self",(char *) "_class", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
arg2 = obj1;
|
|
arg3 = obj2;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->_setCallbackInfo(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "source", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->SetPage((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "location", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "filename", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "source", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetOpenedPage();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetOpenedAnchor();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetOpenedPageTitle();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxFrame *arg2 = (wxFrame *) 0 ;
|
|
wxString *arg3 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
bool temp3 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "frame",(char *) "format", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxFrame * >(argp2);
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxFrame *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxFrame *)(arg1)->GetRelatedFrame();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
int arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "bar", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetRelatedStatusBar(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxString arg2 ;
|
|
wxString arg3 ;
|
|
PyObject *arg4 = (PyObject *) NULL ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj1);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg2 = *sptr;
|
|
delete sptr;
|
|
}
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj2);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg3 = *sptr;
|
|
delete sptr;
|
|
}
|
|
if (obj3) {
|
|
arg4 = obj3;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
int arg2 = (int) -1 ;
|
|
wxString const &arg3_defvalue = wxPyEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
wxString const &arg4_defvalue = wxPyEmptyString ;
|
|
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
bool temp3 = false ;
|
|
bool temp4 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
if (obj1) {
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
}
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
if (obj3) {
|
|
{
|
|
arg4 = wxString_in_helper(obj3);
|
|
if (arg4 == NULL) SWIG_fail;
|
|
temp4 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
int arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "b", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetBorders(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxBitmap *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "bmpBg", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
|
|
}
|
|
if (!argp2) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxBitmap * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
|
|
wxString arg3 = (wxString) wxPyEmptyString ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "cfg",(char *) "path", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
|
|
if (obj2) {
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj2);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg3 = *sptr;
|
|
delete sptr;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->ReadCustomization(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
|
|
wxString arg3 = (wxString) wxPyEmptyString ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "cfg",(char *) "path", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
|
|
if (obj2) {
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj2);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg3 = *sptr;
|
|
delete sptr;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->WriteCustomization(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->HistoryBack();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->HistoryForward();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->HistoryCanBack();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->HistoryCanForward();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->HistoryClear();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxHtmlContainerCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxHtmlWinParser *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlWinParser *)(arg1)->GetParser();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "anchor", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "anchor", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "filter", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
wxPyHtmlWindow::AddFilter(arg1);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxPoint *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxPoint temp2 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "pos", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SelectWord((wxPoint const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxPoint *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
wxPoint temp2 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "pos", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
arg2 = &temp2;
|
|
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SelectLine((wxPoint const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SelectAll();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->SelectionToText();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->ToText();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxHtmlLinkInfo *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "link", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
|
|
}
|
|
if (!argp2) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "title", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->OnSetTitle((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
|
|
int arg3 ;
|
|
int arg4 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
int val4 ;
|
|
int ecode4 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
ecode4 = SWIG_AsVal_int(obj3, &val4);
|
|
if (!SWIG_IsOK(ecode4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
|
|
}
|
|
arg4 = static_cast< int >(val4);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->OnCellMouseHover(arg2,arg3,arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
|
|
int arg3 ;
|
|
int arg4 ;
|
|
wxMouseEvent *arg5 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
int val4 ;
|
|
int ecode4 = 0 ;
|
|
void *argp5 = 0 ;
|
|
int res5 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
ecode4 = SWIG_AsVal_int(obj3, &val4);
|
|
if (!SWIG_IsOK(ecode4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
|
|
}
|
|
arg4 = static_cast< int >(val4);
|
|
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0);
|
|
if (!SWIG_IsOK(res5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
|
|
}
|
|
if (!argp5) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
|
|
}
|
|
arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
|
|
wxHtmlURLType arg2 ;
|
|
wxString *arg3 = 0 ;
|
|
wxString *arg4 = (wxString *) 0 ;
|
|
wxHtmlOpeningStatus result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
bool temp3 = false ;
|
|
bool temp4 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
|
|
}
|
|
arg2 = static_cast< wxHtmlURLType >(val2);
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
{
|
|
arg4 = wxString_in_helper(obj3);
|
|
if (arg4 == NULL) SWIG_fail;
|
|
temp4 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
|
|
SwigValueWrapper<wxVisualAttributes > result;
|
|
int val1 ;
|
|
int ecode1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "variant", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
|
|
if (obj0) {
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
|
|
}
|
|
arg1 = static_cast< wxWindowVariant >(val1);
|
|
}
|
|
{
|
|
if (!wxPyCheckForApp()) SWIG_fail;
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxPyHtmlWindow::HTMLCursor arg1 ;
|
|
wxCursor result;
|
|
int val1 ;
|
|
int ecode1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "type", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail;
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
|
|
}
|
|
arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlDCRenderer *result = 0 ;
|
|
|
|
if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail;
|
|
{
|
|
if (!wxPyCheckForApp()) SWIG_fail;
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
delete arg1;
|
|
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
|
|
wxDC *arg2 = (wxDC *) 0 ;
|
|
int arg3 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "dc",(char *) "maxwidth", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxDC * >(argp2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetDC(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
|
|
int arg2 ;
|
|
int arg3 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "width",(char *) "height", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetSize(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
wxString const &arg3_defvalue = wxPyEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
bool arg4 = (bool) true ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
bool temp3 = false ;
|
|
bool val4 ;
|
|
int ecode4 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
if (obj3) {
|
|
ecode4 = SWIG_AsVal_bool(obj3, &val4);
|
|
if (!SWIG_IsOK(ecode4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
|
|
}
|
|
arg4 = static_cast< bool >(val4);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
|
|
wxString arg2 ;
|
|
wxString arg3 ;
|
|
PyObject *arg4 = (PyObject *) NULL ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj1);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg2 = *sptr;
|
|
delete sptr;
|
|
}
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj2);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg3 = *sptr;
|
|
delete sptr;
|
|
}
|
|
if (obj3) {
|
|
arg4 = obj3;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
|
|
int arg2 = (int) -1 ;
|
|
wxString const &arg3_defvalue = wxPyEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
wxString const &arg4_defvalue = wxPyEmptyString ;
|
|
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
bool temp3 = false ;
|
|
bool temp4 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
|
|
if (obj1) {
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
}
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
if (obj3) {
|
|
{
|
|
arg4 = wxString_in_helper(obj3);
|
|
if (arg4 == NULL) SWIG_fail;
|
|
temp4 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
|
|
int arg2 ;
|
|
int arg3 ;
|
|
wxArrayInt *arg4 = 0 ;
|
|
int arg5 = (int) 0 ;
|
|
int arg6 = (int) FALSE ;
|
|
int arg7 = (int) INT_MAX ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
bool temp4 = false ;
|
|
int val5 ;
|
|
int ecode5 = 0 ;
|
|
int val6 ;
|
|
int ecode6 = 0 ;
|
|
int val7 ;
|
|
int ecode7 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
PyObject * obj5 = 0 ;
|
|
PyObject * obj6 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
{
|
|
if (! PySequence_Check(obj3)) {
|
|
PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
|
|
SWIG_fail;
|
|
}
|
|
arg4 = new wxArrayInt;
|
|
temp4 = true;
|
|
int i, len=PySequence_Length(obj3);
|
|
for (i=0; i<len; i++) {
|
|
PyObject* item = PySequence_GetItem(obj3, i);
|
|
PyObject* number = PyNumber_Int(item);
|
|
if (!number) {
|
|
PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
|
|
SWIG_fail;
|
|
}
|
|
arg4->Add(PyInt_AS_LONG(number));
|
|
Py_DECREF(item);
|
|
Py_DECREF(number);
|
|
}
|
|
}
|
|
if (obj4) {
|
|
ecode5 = SWIG_AsVal_int(obj4, &val5);
|
|
if (!SWIG_IsOK(ecode5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
|
|
}
|
|
arg5 = static_cast< int >(val5);
|
|
}
|
|
if (obj5) {
|
|
ecode6 = SWIG_AsVal_int(obj5, &val6);
|
|
if (!SWIG_IsOK(ecode6)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
|
|
}
|
|
arg6 = static_cast< int >(val6);
|
|
}
|
|
if (obj6) {
|
|
ecode7 = SWIG_AsVal_int(obj6, &val7);
|
|
if (!SWIG_IsOK(ecode7)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
|
|
}
|
|
arg7 = static_cast< int >(val7);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->Render(arg2,arg3,*arg4,arg5,arg6,arg7);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
{
|
|
if (temp4) delete arg4;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp4) delete arg4;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetTotalHeight();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
|
|
wxString *arg1 = (wxString *) &arg1_defvalue ;
|
|
wxHtmlPrintout *result = 0 ;
|
|
bool temp1 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "title", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail;
|
|
if (obj0) {
|
|
{
|
|
arg1 = wxString_in_helper(obj0);
|
|
if (arg1 == NULL) SWIG_fail;
|
|
temp1 = true;
|
|
}
|
|
}
|
|
{
|
|
if (!wxPyCheckForApp()) SWIG_fail;
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 );
|
|
{
|
|
if (temp1)
|
|
delete arg1;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp1)
|
|
delete arg1;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
wxString const &arg3_defvalue = wxPyEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
bool arg4 = (bool) true ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
bool temp3 = false ;
|
|
bool val4 ;
|
|
int ecode4 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
if (obj3) {
|
|
ecode4 = SWIG_AsVal_bool(obj3, &val4);
|
|
if (!SWIG_IsOK(ecode4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
|
|
}
|
|
arg4 = static_cast< bool >(val4);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "htmlfile", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetHtmlFile((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
int arg3 = (int) wxPAGE_ALL ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "header",(char *) "pg", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetHeader((wxString const &)*arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
int arg3 = (int) wxPAGE_ALL ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "footer",(char *) "pg", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetFooter((wxString const &)*arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
|
|
wxString arg2 ;
|
|
wxString arg3 ;
|
|
PyObject *arg4 = (PyObject *) NULL ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj1);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg2 = *sptr;
|
|
delete sptr;
|
|
}
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj2);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg3 = *sptr;
|
|
delete sptr;
|
|
}
|
|
if (obj3) {
|
|
arg4 = obj3;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
|
|
int arg2 = (int) -1 ;
|
|
wxString const &arg3_defvalue = wxPyEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
wxString const &arg4_defvalue = wxPyEmptyString ;
|
|
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
bool temp3 = false ;
|
|
bool temp4 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
|
|
if (obj1) {
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
}
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
if (obj3) {
|
|
{
|
|
arg4 = wxString_in_helper(obj3);
|
|
if (arg4 == NULL) SWIG_fail;
|
|
temp4 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
|
|
float arg2 = (float) 25.2 ;
|
|
float arg3 = (float) 25.2 ;
|
|
float arg4 = (float) 25.2 ;
|
|
float arg5 = (float) 25.2 ;
|
|
float arg6 = (float) 5 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
float val2 ;
|
|
int ecode2 = 0 ;
|
|
float val3 ;
|
|
int ecode3 = 0 ;
|
|
float val4 ;
|
|
int ecode4 = 0 ;
|
|
float val5 ;
|
|
int ecode5 = 0 ;
|
|
float val6 ;
|
|
int ecode6 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
PyObject * obj5 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
|
|
if (obj1) {
|
|
ecode2 = SWIG_AsVal_float(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
|
|
}
|
|
arg2 = static_cast< float >(val2);
|
|
}
|
|
if (obj2) {
|
|
ecode3 = SWIG_AsVal_float(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
|
|
}
|
|
arg3 = static_cast< float >(val3);
|
|
}
|
|
if (obj3) {
|
|
ecode4 = SWIG_AsVal_float(obj3, &val4);
|
|
if (!SWIG_IsOK(ecode4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
|
|
}
|
|
arg4 = static_cast< float >(val4);
|
|
}
|
|
if (obj4) {
|
|
ecode5 = SWIG_AsVal_float(obj4, &val5);
|
|
if (!SWIG_IsOK(ecode5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
|
|
}
|
|
arg5 = static_cast< float >(val5);
|
|
}
|
|
if (obj5) {
|
|
ecode6 = SWIG_AsVal_float(obj5, &val6);
|
|
if (!SWIG_IsOK(ecode6)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
|
|
}
|
|
arg6 = static_cast< float >(val6);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "filter", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlFilter * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
wxHtmlPrintout::AddFilter(arg1);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
|
|
if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
wxHtmlPrintout::CleanUpStatics();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
|
|
wxString *arg1 = (wxString *) &arg1_defvalue ;
|
|
wxWindow *arg2 = (wxWindow *) NULL ;
|
|
wxHtmlEasyPrinting *result = 0 ;
|
|
bool temp1 = false ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "name",(char *) "parentWindow", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
if (obj0) {
|
|
{
|
|
arg1 = wxString_in_helper(obj0);
|
|
if (arg1 == NULL) SWIG_fail;
|
|
temp1 = true;
|
|
}
|
|
}
|
|
if (obj1) {
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
|
}
|
|
{
|
|
if (!wxPyCheckForApp()) SWIG_fail;
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 );
|
|
{
|
|
if (temp1)
|
|
delete arg1;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp1)
|
|
delete arg1;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
delete arg1;
|
|
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "htmlfile", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->PreviewFile((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
wxString const &arg3_defvalue = wxPyEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
bool temp3 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "htmltext",(char *) "basepath", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "htmlfile", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->PrintFile((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
wxString const &arg3_defvalue = wxPyEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
bool temp3 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "htmltext",(char *) "basepath", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->PageSetup();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
int arg3 = (int) wxPAGE_ALL ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "header",(char *) "pg", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetHeader((wxString const &)*arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
int arg3 = (int) wxPAGE_ALL ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "footer",(char *) "pg", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetFooter((wxString const &)*arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
|
|
wxString arg2 ;
|
|
wxString arg3 ;
|
|
PyObject *arg4 = (PyObject *) NULL ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj1);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg2 = *sptr;
|
|
delete sptr;
|
|
}
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj2);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg3 = *sptr;
|
|
delete sptr;
|
|
}
|
|
if (obj3) {
|
|
arg4 = obj3;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
|
|
int arg2 = (int) -1 ;
|
|
wxString const &arg3_defvalue = wxPyEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
wxString const &arg4_defvalue = wxPyEmptyString ;
|
|
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
bool temp3 = false ;
|
|
bool temp4 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
|
|
if (obj1) {
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
}
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
if (obj3) {
|
|
{
|
|
arg4 = wxString_in_helper(obj3);
|
|
if (arg4 == NULL) SWIG_fail;
|
|
temp4 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
|
|
wxPrintData *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxPrintData *)(arg1)->GetPrintData();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
|
|
wxPageSetupDialogData *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxString *arg1 = 0 ;
|
|
wxString *arg2 = 0 ;
|
|
wxString *arg3 = 0 ;
|
|
wxString *arg4 = 0 ;
|
|
wxHtmlBookRecord *result = 0 ;
|
|
bool temp1 = false ;
|
|
bool temp2 = false ;
|
|
bool temp3 = false ;
|
|
bool temp4 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
{
|
|
arg1 = wxString_in_helper(obj0);
|
|
if (arg1 == NULL) SWIG_fail;
|
|
temp1 = true;
|
|
}
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
{
|
|
arg4 = wxString_in_helper(obj3);
|
|
if (arg4 == NULL) SWIG_fail;
|
|
temp4 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 );
|
|
{
|
|
if (temp1)
|
|
delete arg1;
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp1)
|
|
delete arg1;
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetBookFile();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetTitle();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetStart();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->GetBasePath();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
|
|
int arg2 ;
|
|
int arg3 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "start",(char *) "end", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetContentsRange(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetContentsStart();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetContentsEnd();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "title", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetTitle((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "path", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetBasePath((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "start", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetStart((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "page", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->Search();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->IsActive();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetCurIndex();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
|
|
int result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (int)(arg1)->GetMaxIndex();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_From_int(static_cast< int >(result));
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
|
|
wxString *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
{
|
|
wxString const &_result_ref = (arg1)->GetName();
|
|
result = (wxString *) &_result_ref;
|
|
}
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpData *result = 0 ;
|
|
|
|
if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail;
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpData *)new wxHtmlHelpData();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
delete arg1;
|
|
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "path", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetTempDir((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "book", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->AddBook((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "page", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->FindPageByName((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
|
|
int arg2 ;
|
|
wxString result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "id", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (arg1)->FindPageById(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
#if wxUSE_UNICODE
|
|
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
|
#else
|
|
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
|
#endif
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
|
|
wxHtmlBookRecArray *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
{
|
|
wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
|
|
result = (wxHtmlBookRecArray *) &_result_ref;
|
|
}
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxWindow *arg1 = (wxWindow *) 0 ;
|
|
int arg2 ;
|
|
wxPoint const &arg3_defvalue = wxDefaultPosition ;
|
|
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
|
|
wxSize const &arg4_defvalue = wxDefaultSize ;
|
|
wxSize *arg4 = (wxSize *) &arg4_defvalue ;
|
|
int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
|
|
int arg6 = (int) wxHF_DEFAULT_STYLE ;
|
|
wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
|
|
wxHtmlHelpWindow *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
wxPoint temp3 ;
|
|
wxSize temp4 ;
|
|
int val5 ;
|
|
int ecode5 = 0 ;
|
|
int val6 ;
|
|
int ecode6 = 0 ;
|
|
void *argp7 = 0 ;
|
|
int res7 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
PyObject * obj5 = 0 ;
|
|
PyObject * obj6 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
if (obj2) {
|
|
{
|
|
arg3 = &temp3;
|
|
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
|
|
}
|
|
}
|
|
if (obj3) {
|
|
{
|
|
arg4 = &temp4;
|
|
if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
|
|
}
|
|
}
|
|
if (obj4) {
|
|
ecode5 = SWIG_AsVal_int(obj4, &val5);
|
|
if (!SWIG_IsOK(ecode5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
|
|
}
|
|
arg5 = static_cast< int >(val5);
|
|
}
|
|
if (obj5) {
|
|
ecode6 = SWIG_AsVal_int(obj5, &val6);
|
|
if (!SWIG_IsOK(ecode6)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
|
|
}
|
|
arg6 = static_cast< int >(val6);
|
|
}
|
|
if (obj6) {
|
|
res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
if (!SWIG_IsOK(res7)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
|
|
}
|
|
arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7);
|
|
}
|
|
{
|
|
if (!wxPyCheckForApp()) SWIG_fail;
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
|
|
wxHtmlHelpWindow *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "data", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail;
|
|
if (obj0) {
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
|
|
}
|
|
{
|
|
if (!wxPyCheckForApp()) SWIG_fail;
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxWindow *arg2 = (wxWindow *) 0 ;
|
|
int arg3 ;
|
|
wxPoint const &arg4_defvalue = wxDefaultPosition ;
|
|
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
|
|
wxSize const &arg5_defvalue = wxDefaultSize ;
|
|
wxSize *arg5 = (wxSize *) &arg5_defvalue ;
|
|
int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
|
|
int arg7 = (int) wxHF_DEFAULT_STYLE ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
wxPoint temp4 ;
|
|
wxSize temp5 ;
|
|
int val6 ;
|
|
int ecode6 = 0 ;
|
|
int val7 ;
|
|
int ecode7 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
PyObject * obj5 = 0 ;
|
|
PyObject * obj6 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
if (obj3) {
|
|
{
|
|
arg4 = &temp4;
|
|
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
|
|
}
|
|
}
|
|
if (obj4) {
|
|
{
|
|
arg5 = &temp5;
|
|
if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
|
|
}
|
|
}
|
|
if (obj5) {
|
|
ecode6 = SWIG_AsVal_int(obj5, &val6);
|
|
if (!SWIG_IsOK(ecode6)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
|
|
}
|
|
arg6 = static_cast< int >(val6);
|
|
}
|
|
if (obj6) {
|
|
ecode7 = SWIG_AsVal_int(obj6, &val7);
|
|
if (!SWIG_IsOK(ecode7)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
|
|
}
|
|
arg7 = static_cast< int >(val7);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxHtmlHelpData *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpData *)(arg1)->GetData();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxHtmlHelpController *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "controller", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetController(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "x", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->Display((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
int arg2 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "id", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->Display(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->DisplayContents();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->DisplayIndex();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
void *argp3 ;
|
|
int res3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "keyword",(char *) "mode", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
{
|
|
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
|
|
if (!SWIG_IsOK(res3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
|
|
}
|
|
if (!argp3) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
|
|
} else {
|
|
wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
|
|
arg3 = *temp;
|
|
if (SWIG_IsNewObj(res3)) delete temp;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
|
|
wxString const &arg3_defvalue = wxEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
bool temp3 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "config",(char *) "rootpath", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->UseConfig(arg2,(wxString const &)*arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
|
|
wxString const &arg3_defvalue = wxEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
bool temp3 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "cfg",(char *) "path", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
|
|
wxString const &arg3_defvalue = wxEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
bool temp3 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "cfg",(char *) "path", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->NotifyPageChanged();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->RefreshLists();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxPyHtmlWindow *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxPyHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxSplitterWindow *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxToolBar *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, (bool)0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxHtmlHelpFrameCfg *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
{
|
|
wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
|
|
result = (wxHtmlHelpFrameCfg *) &_result_ref;
|
|
}
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
|
|
wxPyTreeCtrl *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxPyTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, (bool)0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlCellEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxEventType arg1 ;
|
|
int arg2 ;
|
|
wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
|
|
wxPoint *arg4 = 0 ;
|
|
wxMouseEvent *arg5 = 0 ;
|
|
wxHtmlCellEvent *result = 0 ;
|
|
int val1 ;
|
|
int ecode1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
void *argp3 = 0 ;
|
|
int res3 = 0 ;
|
|
wxPoint temp4 ;
|
|
void *argp5 = 0 ;
|
|
int res5 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "commandType",(char *) "id",(char *) "cell",(char *) "pt",(char *) "ev", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_HtmlCellEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlCellEvent" "', expected argument " "1"" of type '" "wxEventType""'");
|
|
}
|
|
arg1 = static_cast< wxEventType >(val1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlCellEvent" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
|
|
if (!SWIG_IsOK(res3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_HtmlCellEvent" "', expected argument " "3"" of type '" "wxHtmlCell *""'");
|
|
}
|
|
arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
|
|
{
|
|
arg4 = &temp4;
|
|
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
|
|
}
|
|
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0);
|
|
if (!SWIG_IsOK(res5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
|
|
}
|
|
if (!argp5) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
|
|
}
|
|
arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCellEvent *)new wxHtmlCellEvent(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxMouseEvent const &)*arg5);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCellEvent, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
|
|
wxHtmlCell *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetCell" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlCell *)((wxHtmlCellEvent const *)arg1)->GetCell();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
|
|
wxPoint result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetPoint" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = ((wxHtmlCellEvent const *)arg1)->GetPoint();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
|
|
wxMouseEvent result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = ((wxHtmlCellEvent const *)arg1)->GetMouseEvent();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj((new wxMouseEvent(static_cast< const wxMouseEvent& >(result))), SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCellEvent_SetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
|
|
bool arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "linkclicked", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCellEvent_SetLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
|
|
ecode2 = SWIG_AsVal_bool(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "2"" of type '" "bool""'");
|
|
}
|
|
arg2 = static_cast< bool >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetLinkClicked(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)((wxHtmlCellEvent const *)arg1)->GetLinkClicked();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlCellEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCellEvent, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlCellEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlLinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
int arg1 ;
|
|
wxHtmlLinkInfo *arg2 = 0 ;
|
|
wxHtmlLinkEvent *result = 0 ;
|
|
int val1 ;
|
|
int ecode1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "id",(char *) "linkinfo", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlLinkEvent",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlLinkEvent" "', expected argument " "1"" of type '" "int""'");
|
|
}
|
|
arg1 = static_cast< int >(val1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
|
|
}
|
|
if (!argp2) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlLinkEvent *)new wxHtmlLinkEvent(arg1,(wxHtmlLinkInfo const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkEvent, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlLinkEvent_GetLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlLinkEvent *arg1 = (wxHtmlLinkEvent *) 0 ;
|
|
wxHtmlLinkInfo *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkEvent, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkEvent_GetLinkInfo" "', expected argument " "1"" of type '" "wxHtmlLinkEvent const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlLinkEvent * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
{
|
|
wxHtmlLinkInfo const &_result_ref = ((wxHtmlLinkEvent const *)arg1)->GetLinkInfo();
|
|
result = (wxHtmlLinkInfo *) &_result_ref;
|
|
}
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlLinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkEvent, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlLinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxWindow *arg1 = (wxWindow *) 0 ;
|
|
int arg2 ;
|
|
wxString const &arg3_defvalue = wxPyEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
int arg4 = (int) wxHF_DEFAULTSTYLE ;
|
|
wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
|
|
wxConfigBase *arg6 = (wxConfigBase *) NULL ;
|
|
wxString const &arg7_defvalue = wxPyEmptyString ;
|
|
wxString *arg7 = (wxString *) &arg7_defvalue ;
|
|
wxHtmlHelpFrame *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
bool temp3 = false ;
|
|
int val4 ;
|
|
int ecode4 = 0 ;
|
|
void *argp5 = 0 ;
|
|
int res5 = 0 ;
|
|
void *argp6 = 0 ;
|
|
int res6 = 0 ;
|
|
bool temp7 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
PyObject * obj5 = 0 ;
|
|
PyObject * obj6 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data",(char *) "config",(char *) "rootpath", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
if (obj3) {
|
|
ecode4 = SWIG_AsVal_int(obj3, &val4);
|
|
if (!SWIG_IsOK(ecode4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
|
|
}
|
|
arg4 = static_cast< int >(val4);
|
|
}
|
|
if (obj4) {
|
|
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
if (!SWIG_IsOK(res5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
|
|
}
|
|
arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
|
|
}
|
|
if (obj5) {
|
|
res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res6)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_HtmlHelpFrame" "', expected argument " "6"" of type '" "wxConfigBase *""'");
|
|
}
|
|
arg6 = reinterpret_cast< wxConfigBase * >(argp6);
|
|
}
|
|
if (obj6) {
|
|
{
|
|
arg7 = wxString_in_helper(obj6);
|
|
if (arg7 == NULL) SWIG_fail;
|
|
temp7 = true;
|
|
}
|
|
}
|
|
{
|
|
if (!wxPyCheckForApp()) SWIG_fail;
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxString const &)*arg7);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 );
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp7)
|
|
delete arg7;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
{
|
|
if (temp7)
|
|
delete arg7;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
|
|
wxHtmlHelpFrame *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "data", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail;
|
|
if (obj0) {
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
|
|
}
|
|
{
|
|
if (!wxPyCheckForApp()) SWIG_fail;
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
|
|
wxWindow *arg2 = (wxWindow *) 0 ;
|
|
int arg3 ;
|
|
wxString const &arg4_defvalue = wxPyEmptyString ;
|
|
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
|
int arg5 = (int) wxHF_DEFAULT_STYLE ;
|
|
wxConfigBase *arg6 = (wxConfigBase *) NULL ;
|
|
wxString const &arg7_defvalue = wxPyEmptyString ;
|
|
wxString *arg7 = (wxString *) &arg7_defvalue ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
bool temp4 = false ;
|
|
int val5 ;
|
|
int ecode5 = 0 ;
|
|
void *argp6 = 0 ;
|
|
int res6 = 0 ;
|
|
bool temp7 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
PyObject * obj5 = 0 ;
|
|
PyObject * obj6 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style",(char *) "config",(char *) "rootpath", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
if (obj3) {
|
|
{
|
|
arg4 = wxString_in_helper(obj3);
|
|
if (arg4 == NULL) SWIG_fail;
|
|
temp4 = true;
|
|
}
|
|
}
|
|
if (obj4) {
|
|
ecode5 = SWIG_AsVal_int(obj4, &val5);
|
|
if (!SWIG_IsOK(ecode5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
|
|
}
|
|
arg5 = static_cast< int >(val5);
|
|
}
|
|
if (obj5) {
|
|
res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res6)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "HtmlHelpFrame_Create" "', expected argument " "6"" of type '" "wxConfigBase *""'");
|
|
}
|
|
arg6 = reinterpret_cast< wxConfigBase * >(argp6);
|
|
}
|
|
if (obj6) {
|
|
{
|
|
arg7 = wxString_in_helper(obj6);
|
|
if (arg7 == NULL) SWIG_fail;
|
|
temp7 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5,arg6,(wxString const &)*arg7);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
{
|
|
if (temp7)
|
|
delete arg7;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
{
|
|
if (temp7)
|
|
delete arg7;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
|
|
wxHtmlHelpData *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpData *)(arg1)->GetData();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "format", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetTitleFormat((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->AddGrabIfNeeded();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
|
|
wxHtmlHelpController *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
|
|
wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "controller", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetController(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
|
|
wxHtmlHelpWindow *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxWindow *arg1 = (wxWindow *) 0 ;
|
|
int arg2 ;
|
|
wxString const &arg3_defvalue = wxPyEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
int arg4 = (int) wxHF_DEFAULT_STYLE ;
|
|
wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
|
|
wxHtmlHelpDialog *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
bool temp3 = false ;
|
|
int val4 ;
|
|
int ecode4 = 0 ;
|
|
void *argp5 = 0 ;
|
|
int res5 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
if (obj3) {
|
|
ecode4 = SWIG_AsVal_int(obj3, &val4);
|
|
if (!SWIG_IsOK(ecode4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
|
|
}
|
|
arg4 = static_cast< int >(val4);
|
|
}
|
|
if (obj4) {
|
|
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
if (!SWIG_IsOK(res5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
|
|
}
|
|
arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
|
|
}
|
|
{
|
|
if (!wxPyCheckForApp()) SWIG_fail;
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 );
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
|
|
wxHtmlHelpDialog *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "data", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail;
|
|
if (obj0) {
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
|
|
}
|
|
{
|
|
if (!wxPyCheckForApp()) SWIG_fail;
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
|
|
wxWindow *arg2 = (wxWindow *) 0 ;
|
|
int arg3 ;
|
|
wxString const &arg4_defvalue = wxPyEmptyString ;
|
|
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
|
int arg5 = (int) wxHF_DEFAULT_STYLE ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
bool temp4 = false ;
|
|
int val5 ;
|
|
int ecode5 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
if (obj3) {
|
|
{
|
|
arg4 = wxString_in_helper(obj3);
|
|
if (arg4 == NULL) SWIG_fail;
|
|
temp4 = true;
|
|
}
|
|
}
|
|
if (obj4) {
|
|
ecode5 = SWIG_AsVal_int(obj4, &val5);
|
|
if (!SWIG_IsOK(ecode5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
|
|
}
|
|
arg5 = static_cast< int >(val5);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp4)
|
|
delete arg4;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
|
|
wxHtmlHelpData *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpData *)(arg1)->GetData();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
|
|
wxHtmlHelpController *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
|
|
wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "controller", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetController(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
|
|
wxHtmlHelpWindow *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "format", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetTitleFormat((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
int arg3 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
|
|
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(swig_obj[1]);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
|
|
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(swig_obj[1]);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->Initialize((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
|
|
int argc;
|
|
PyObject *argv[4];
|
|
|
|
if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail;
|
|
--argc;
|
|
if (argc == 2) {
|
|
return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv);
|
|
}
|
|
if (argc == 3) {
|
|
return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv);
|
|
}
|
|
|
|
fail:
|
|
SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
long arg3 = (long) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
long val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "viewer",(char *) "flags", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
ecode3 = SWIG_AsVal_long(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
|
|
}
|
|
arg3 = static_cast< long >(val3);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetViewer((wxString const &)*arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
wxString const &arg2_defvalue = wxEmptyString ;
|
|
wxString *arg2 = (wxString *) &arg2_defvalue ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "file", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
if (obj1) {
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->DisplayContents();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
int arg2 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
|
|
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->DisplaySection(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
int arg2 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "contextId", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->DisplayContextPopup(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
wxPoint *arg3 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
wxPoint temp3 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "text",(char *) "pos", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
arg3 = &temp3;
|
|
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
|
|
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(swig_obj[1]);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
|
|
int argc;
|
|
PyObject *argv[3];
|
|
|
|
if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail;
|
|
--argc;
|
|
if (argc == 2) {
|
|
int _v = 0;
|
|
{
|
|
{
|
|
_v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
|
|
}
|
|
}
|
|
if (!_v) goto check_1;
|
|
return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv);
|
|
}
|
|
check_1:
|
|
|
|
if (argc == 2) {
|
|
return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv);
|
|
}
|
|
|
|
fail:
|
|
SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
long arg2 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
long val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "blockNo", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
ecode2 = SWIG_AsVal_long(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
|
|
}
|
|
arg2 = static_cast< long >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->DisplayBlock(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
void *argp3 ;
|
|
int res3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "k",(char *) "mode", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
{
|
|
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
|
|
if (!SWIG_IsOK(res3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
|
|
}
|
|
if (!argp3) {
|
|
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
|
|
} else {
|
|
wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
|
|
arg3 = *temp;
|
|
if (SWIG_IsNewObj(res3)) delete temp;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
wxSize *arg3 = 0 ;
|
|
wxPoint const &arg4_defvalue = wxDefaultPosition ;
|
|
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
|
|
bool arg5 = (bool) false ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
wxSize temp3 ;
|
|
wxPoint temp4 ;
|
|
bool val5 ;
|
|
int ecode5 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
PyObject * obj4 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
arg3 = &temp3;
|
|
if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
|
|
}
|
|
if (obj3) {
|
|
{
|
|
arg4 = &temp4;
|
|
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
|
|
}
|
|
}
|
|
if (obj4) {
|
|
ecode5 = SWIG_AsVal_bool(obj4, &val5);
|
|
if (!SWIG_IsOK(ecode5)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
|
|
}
|
|
arg5 = static_cast< bool >(val5);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
wxSize *arg2 = (wxSize *) NULL ;
|
|
wxPoint *arg3 = (wxPoint *) NULL ;
|
|
bool *arg4 = (bool *) NULL ;
|
|
wxFrame *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
void *argp3 = 0 ;
|
|
int res3 = 0 ;
|
|
void *argp4 = 0 ;
|
|
int res4 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
if (obj1) {
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxSize * >(argp2);
|
|
}
|
|
if (obj2) {
|
|
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPoint, 0 | 0 );
|
|
if (!SWIG_IsOK(res3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
|
|
}
|
|
arg3 = reinterpret_cast< wxPoint * >(argp3);
|
|
}
|
|
if (obj3) {
|
|
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_bool, 0 | 0 );
|
|
if (!SWIG_IsOK(res4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
|
|
}
|
|
arg4 = reinterpret_cast< bool * >(argp4);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->Quit();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->OnQuit();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
wxWindow *arg2 = (wxWindow *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "win", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetParentWindow(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
|
|
wxWindow *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
int arg1 = (int) wxHF_DEFAULT_STYLE ;
|
|
wxWindow *arg2 = (wxWindow *) NULL ;
|
|
wxHtmlHelpController *result = 0 ;
|
|
int val1 ;
|
|
int ecode1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "style",(char *) "parentWindow", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
if (obj0) {
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
|
|
}
|
|
arg1 = static_cast< int >(val1);
|
|
}
|
|
if (obj1) {
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
|
}
|
|
{
|
|
if (!wxPyCheckForApp()) SWIG_fail;
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 );
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
delete arg1;
|
|
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
wxHtmlHelpWindow *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "helpWindow", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetHelpWindow(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
wxHtmlHelpFrame *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
wxHtmlHelpDialog *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "format", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetTitleFormat((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "path", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->SetTempDir((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
int arg3 = (int) false ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
int val3 ;
|
|
int ecode3 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
|
|
}
|
|
arg3 = static_cast< int >(val3);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "x", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->Display((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
int arg2 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
int val2 ;
|
|
int ecode2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "id", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
|
|
}
|
|
arg2 = static_cast< int >(val2);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->Display(arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->DisplayContents();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->DisplayIndex();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
bool result;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "keyword", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
|
}
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
|
|
wxString const &arg3_defvalue = wxPyEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
bool temp3 = false ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "config",(char *) "rootpath", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->UseConfig(arg2,(wxString const &)*arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
|
|
wxString arg3 = (wxString) wxPyEmptyString ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "cfg",(char *) "path", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
|
|
if (obj2) {
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj2);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg3 = *sptr;
|
|
delete sptr;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->ReadCustomization(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
|
|
wxString arg3 = (wxString) wxPyEmptyString ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
void *argp2 = 0 ;
|
|
int res2 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "self",(char *) "cfg",(char *) "path", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
|
|
if (!SWIG_IsOK(res2)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
|
|
}
|
|
arg2 = reinterpret_cast< wxConfigBase * >(argp2);
|
|
if (obj2) {
|
|
{
|
|
wxString* sptr = wxString_in_helper(obj2);
|
|
if (sptr == NULL) SWIG_fail;
|
|
arg3 = *sptr;
|
|
delete sptr;
|
|
}
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->WriteCustomization(arg2,arg3);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
(arg1)->MakeModalIfNeeded();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_Py_Void();
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *resultobj = 0;
|
|
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
|
|
wxWindow *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
PyObject *swig_obj[1] ;
|
|
|
|
if (!args) SWIG_fail;
|
|
swig_obj[0] = args;
|
|
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxWindow *)(arg1)->FindTopLevelWindow();
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
{
|
|
resultobj = wxPyMake_wxObject(result, 0);
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
|
PyObject *resultobj = 0;
|
|
wxWindow *arg1 = (wxWindow *) 0 ;
|
|
wxString *arg2 = 0 ;
|
|
wxString const &arg3_defvalue = wxEmptyString ;
|
|
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
|
int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
|
|
wxHtmlModalHelp *result = 0 ;
|
|
void *argp1 = 0 ;
|
|
int res1 = 0 ;
|
|
bool temp2 = false ;
|
|
bool temp3 = false ;
|
|
int val4 ;
|
|
int ecode4 = 0 ;
|
|
PyObject * obj0 = 0 ;
|
|
PyObject * obj1 = 0 ;
|
|
PyObject * obj2 = 0 ;
|
|
PyObject * obj3 = 0 ;
|
|
char * kwnames[] = {
|
|
(char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
|
|
};
|
|
|
|
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
|
if (!SWIG_IsOK(res1)) {
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
|
|
}
|
|
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
|
{
|
|
arg2 = wxString_in_helper(obj1);
|
|
if (arg2 == NULL) SWIG_fail;
|
|
temp2 = true;
|
|
}
|
|
if (obj2) {
|
|
{
|
|
arg3 = wxString_in_helper(obj2);
|
|
if (arg3 == NULL) SWIG_fail;
|
|
temp3 = true;
|
|
}
|
|
}
|
|
if (obj3) {
|
|
ecode4 = SWIG_AsVal_int(obj3, &val4);
|
|
if (!SWIG_IsOK(ecode4)) {
|
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
|
|
}
|
|
arg4 = static_cast< int >(val4);
|
|
}
|
|
{
|
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
|
|
wxPyEndAllowThreads(__tstate);
|
|
if (PyErr_Occurred()) SWIG_fail;
|
|
}
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 );
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return resultobj;
|
|
fail:
|
|
{
|
|
if (temp2)
|
|
delete arg2;
|
|
}
|
|
{
|
|
if (temp3)
|
|
delete arg3;
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
|
|
SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
PyObject *obj;
|
|
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
|
SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj));
|
|
return SWIG_Py_Void();
|
|
}
|
|
|
|
SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
return SWIG_Python_InitShadowInstance(args);
|
|
}
|
|
|
|
static PyMethodDef SwigMethods[] = {
|
|
{ (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL},
|
|
{ (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL},
|
|
{ (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL},
|
|
{ (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL},
|
|
{ (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL},
|
|
{ (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL},
|
|
{ (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL},
|
|
{ (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL},
|
|
{ (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL},
|
|
{ (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL},
|
|
{ (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL},
|
|
{ (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL},
|
|
{ (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL},
|
|
{ (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL},
|
|
{ (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL},
|
|
{ (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL},
|
|
{ (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL},
|
|
{ (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL},
|
|
{ (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL},
|
|
{ (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL},
|
|
{ (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL},
|
|
{ (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL},
|
|
{ (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL},
|
|
{ (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL},
|
|
{ (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL},
|
|
{ (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL},
|
|
{ (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL},
|
|
{ (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL},
|
|
{ (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL},
|
|
{ (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL},
|
|
{ (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL},
|
|
{ (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL},
|
|
{ (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL},
|
|
{ (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL},
|
|
{ (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL},
|
|
{ (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL},
|
|
{ (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL},
|
|
{ (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL},
|
|
{ (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL},
|
|
{ (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL},
|
|
{ (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL},
|
|
{ (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL},
|
|
{ (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL},
|
|
{ (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL},
|
|
{ (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL},
|
|
{ (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL},
|
|
{ (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL},
|
|
{ (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL},
|
|
{ (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL},
|
|
{ (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL},
|
|
{ (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL},
|
|
{ (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL},
|
|
{ (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL},
|
|
{ (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL},
|
|
{ (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL},
|
|
{ (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL},
|
|
{ (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL},
|
|
{ (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL},
|
|
{ (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL},
|
|
{ (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL},
|
|
{ (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL},
|
|
{ (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL},
|
|
{ (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL},
|
|
{ (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL},
|
|
{ (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL},
|
|
{ (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL},
|
|
{ (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL},
|
|
{ (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL},
|
|
{ (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL},
|
|
{ (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL},
|
|
{ (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL},
|
|
{ (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL},
|
|
{ (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL},
|
|
{ (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL},
|
|
{ (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL},
|
|
{ (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL},
|
|
{ (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL},
|
|
{ (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL},
|
|
{ (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL},
|
|
{ (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL},
|
|
{ (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL},
|
|
{ (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL},
|
|
{ (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL},
|
|
{ (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL},
|
|
{ (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL},
|
|
{ (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL},
|
|
{ (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL},
|
|
{ (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL},
|
|
{ (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL},
|
|
{ (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL},
|
|
{ (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL},
|
|
{ (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL},
|
|
{ (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL},
|
|
{ (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL},
|
|
{ (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL},
|
|
{ (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL},
|
|
{ (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL},
|
|
{ (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL},
|
|
{ (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL},
|
|
{ (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL},
|
|
{ (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL},
|
|
{ (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL},
|
|
{ (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL},
|
|
{ (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL},
|
|
{ (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlCellEvent", (PyCFunction) _wrap_new_HtmlCellEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCellEvent_GetCell", (PyCFunction)_wrap_HtmlCellEvent_GetCell, METH_O, NULL},
|
|
{ (char *)"HtmlCellEvent_GetPoint", (PyCFunction)_wrap_HtmlCellEvent_GetPoint, METH_O, NULL},
|
|
{ (char *)"HtmlCellEvent_GetMouseEvent", (PyCFunction)_wrap_HtmlCellEvent_GetMouseEvent, METH_O, NULL},
|
|
{ (char *)"HtmlCellEvent_SetLinkClicked", (PyCFunction) _wrap_HtmlCellEvent_SetLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlCellEvent_GetLinkClicked", (PyCFunction)_wrap_HtmlCellEvent_GetLinkClicked, METH_O, NULL},
|
|
{ (char *)"HtmlCellEvent_swigregister", HtmlCellEvent_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlCellEvent_swiginit", HtmlCellEvent_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlLinkEvent", (PyCFunction) _wrap_new_HtmlLinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlLinkEvent_GetLinkInfo", (PyCFunction)_wrap_HtmlLinkEvent_GetLinkInfo, METH_O, NULL},
|
|
{ (char *)"HtmlLinkEvent_swigregister", HtmlLinkEvent_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlLinkEvent_swiginit", HtmlLinkEvent_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL},
|
|
{ (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL},
|
|
{ (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL},
|
|
{ (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL},
|
|
{ (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL},
|
|
{ (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL},
|
|
{ (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL},
|
|
{ (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
|
|
{ (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL},
|
|
{ (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
|
|
{ (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL},
|
|
{ (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL},
|
|
{ (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL},
|
|
{ (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL},
|
|
{ (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL},
|
|
{ (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL},
|
|
{ (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL},
|
|
{ (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL},
|
|
{ (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL},
|
|
{ (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL},
|
|
{ (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL},
|
|
{ (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL},
|
|
{ (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
|
|
{ (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
|
|
{ (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL},
|
|
{ NULL, NULL, 0, NULL }
|
|
};
|
|
|
|
|
|
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
|
|
|
|
static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
|
|
return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
|
|
}
|
|
static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
|
|
}
|
|
static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxMenuEvent *) x));
|
|
}
|
|
static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxCloseEvent *) x));
|
|
}
|
|
static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxMouseEvent *) x));
|
|
}
|
|
static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxEraseEvent *) x));
|
|
}
|
|
static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
|
|
}
|
|
static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
|
|
}
|
|
static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
|
|
}
|
|
static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
|
|
}
|
|
static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
|
|
}
|
|
static void *_p_wxHtmlCellEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlCellEvent *) x));
|
|
}
|
|
static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
|
|
}
|
|
static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
|
|
}
|
|
static void *_p_wxPyEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxPyEvent *) x));
|
|
}
|
|
static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
|
|
}
|
|
static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxIdleEvent *) x));
|
|
}
|
|
static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
|
|
}
|
|
static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
|
|
}
|
|
static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
|
|
}
|
|
static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxIconizeEvent *) x));
|
|
}
|
|
static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxActivateEvent *) x));
|
|
}
|
|
static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxSizeEvent *) x));
|
|
}
|
|
static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxMoveEvent *) x));
|
|
}
|
|
static void *_p_wxDateEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
|
|
}
|
|
static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxPaintEvent *) x));
|
|
}
|
|
static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
|
|
}
|
|
static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
|
|
}
|
|
static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
|
|
}
|
|
static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
|
|
}
|
|
static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
|
|
}
|
|
static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
|
|
}
|
|
static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
|
|
}
|
|
static void *_p_wxHtmlLinkEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlLinkEvent *) x));
|
|
}
|
|
static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
|
|
}
|
|
static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxFocusEvent *) x));
|
|
}
|
|
static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
|
|
}
|
|
static void *_p_wxSashEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
|
|
}
|
|
static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
|
|
}
|
|
static void *_p_wxShowEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxShowEvent *) x));
|
|
}
|
|
static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxCommandEvent *) x));
|
|
}
|
|
static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
|
|
}
|
|
static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
|
|
}
|
|
static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
|
|
}
|
|
static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxKeyEvent *) x));
|
|
}
|
|
static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
|
|
}
|
|
static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
|
|
return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
|
|
}
|
|
static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
|
|
return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
|
|
}
|
|
static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
|
|
return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
|
|
}
|
|
static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
|
|
return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
|
|
}
|
|
static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
|
|
return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
|
|
}
|
|
static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
|
|
return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
|
|
}
|
|
static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
|
|
}
|
|
static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
|
|
}
|
|
static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
|
|
}
|
|
static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
|
|
}
|
|
static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) ((wxValidator *) x));
|
|
}
|
|
static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
|
|
}
|
|
static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) ((wxMenu *) x));
|
|
}
|
|
static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
|
|
}
|
|
static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
|
|
}
|
|
static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
|
|
}
|
|
static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
|
|
}
|
|
static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
|
|
}
|
|
static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
|
|
}
|
|
static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
|
|
}
|
|
static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
|
|
}
|
|
static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
|
|
}
|
|
static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
|
|
}
|
|
static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
|
|
}
|
|
static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
|
|
}
|
|
static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
|
|
}
|
|
static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
|
|
}
|
|
static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
|
|
}
|
|
static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
|
|
}
|
|
static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
|
|
}
|
|
static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
|
|
}
|
|
static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
|
|
}
|
|
static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) ((wxWindow *) x));
|
|
}
|
|
static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
|
|
}
|
|
static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
|
|
}
|
|
static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
|
|
}
|
|
static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
|
|
}
|
|
static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
|
|
}
|
|
static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
|
|
}
|
|
static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
|
|
}
|
|
static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
|
|
}
|
|
static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
|
|
}
|
|
static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) ((wxPyApp *) x));
|
|
}
|
|
static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
|
|
}
|
|
static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
|
|
}
|
|
static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
|
|
}
|
|
static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
|
|
}
|
|
static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
|
|
}
|
|
static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
|
|
}
|
|
static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
|
|
}
|
|
static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
|
|
}
|
|
static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
|
|
}
|
|
static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
|
|
}
|
|
static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
|
|
}
|
|
static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
|
|
}
|
|
static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
|
|
}
|
|
static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
|
|
}
|
|
static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
|
|
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
|
|
}
|
|
static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
|
|
return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
|
|
}
|
|
static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
|
|
return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
|
|
}
|
|
static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
|
|
return (void *)((wxFrame *) ((wxProgressDialog *) x));
|
|
}
|
|
static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
|
|
return (void *)((wxFrame *) ((wxPreviewFrame *) x));
|
|
}
|
|
static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
|
|
return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
|
|
}
|
|
static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
|
|
return (void *)((wxFrame *) ((wxMiniFrame *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
|
|
return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
|
|
}
|
|
static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
|
|
return (void *)((wxFrame *) ((wxSplashScreen *) x));
|
|
}
|
|
static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
|
|
return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
|
|
}
|
|
static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
|
|
return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
|
|
}
|
|
static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
|
|
}
|
|
static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
|
|
}
|
|
static void *_p_wxEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxEvent *) x));
|
|
}
|
|
static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
|
|
}
|
|
static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
|
|
}
|
|
static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
|
|
}
|
|
static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
|
|
}
|
|
static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
|
|
}
|
|
static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
|
|
}
|
|
static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxHtmlTag *) x));
|
|
}
|
|
static void *_p_wxMenuItemTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxMenuItem *) x));
|
|
}
|
|
static void *_p_wxImageTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxImage *) x));
|
|
}
|
|
static void *_p_wxPySizerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
|
|
}
|
|
static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
|
|
}
|
|
static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
|
|
}
|
|
static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
|
|
}
|
|
static void *_p_wxPyAppTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
|
|
}
|
|
static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
|
|
}
|
|
static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
|
|
}
|
|
static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxFindReplaceData *) x));
|
|
}
|
|
static void *_p_wxValidatorTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
|
|
}
|
|
static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
|
|
}
|
|
static void *_p_wxEraseEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
|
|
}
|
|
static void *_p_wxMouseEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
|
|
}
|
|
static void *_p_wxCloseEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
|
|
}
|
|
static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
|
|
}
|
|
static void *_p_wxScrollEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
|
|
}
|
|
static void *_p_wxHtmlCellEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlCellEvent *) x));
|
|
}
|
|
static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxPrintDialogData *) x));
|
|
}
|
|
static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
|
|
}
|
|
static void *_p_wxPrinterTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxPrinter *) x));
|
|
}
|
|
static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
|
|
}
|
|
static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
|
|
}
|
|
static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxHtmlParser *) x));
|
|
}
|
|
static void *_p_wxGridSizerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
|
|
}
|
|
static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
|
|
}
|
|
static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxAcceleratorTable *) x));
|
|
}
|
|
static void *_p_wxControlTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
|
|
}
|
|
static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
|
|
}
|
|
static void *_p_wxColourDataTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxColourData *) x));
|
|
}
|
|
static void *_p_wxActivateEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
|
|
}
|
|
static void *_p_wxMoveEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
|
|
}
|
|
static void *_p_wxSizeEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
|
|
}
|
|
static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
|
|
}
|
|
static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
|
|
}
|
|
static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
|
|
}
|
|
static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
|
|
}
|
|
static void *_p_wxIdleEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
|
|
}
|
|
static void *_p_wxDateEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
|
|
}
|
|
static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
|
|
}
|
|
static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
|
|
}
|
|
static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
|
|
}
|
|
static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxPyPrintout *) x));
|
|
}
|
|
static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
|
|
}
|
|
static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
|
|
}
|
|
static void *_p_wxKeyEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
|
|
}
|
|
static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
|
|
}
|
|
static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
|
|
}
|
|
static void *_p_wxSashEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
|
|
}
|
|
static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
|
|
}
|
|
static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
|
|
}
|
|
static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
|
|
}
|
|
static void *_p_wxPrintDataTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxPrintData *) x));
|
|
}
|
|
static void *_p_wxFontDataTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxFontData *) x));
|
|
}
|
|
static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
|
|
}
|
|
static void *_p_wxFrameTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
|
|
}
|
|
static void *_p_wxPyPanelTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
|
|
}
|
|
static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
|
|
}
|
|
static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
|
|
}
|
|
static void *_p_wxFileSystemTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxFileSystem *) x));
|
|
}
|
|
static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
|
|
}
|
|
static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxPrintPreview *) x));
|
|
}
|
|
static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxLayoutConstraints *) x));
|
|
}
|
|
static void *_p_wxSizerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxSizer *) x));
|
|
}
|
|
static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
|
|
}
|
|
static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
|
|
}
|
|
static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
|
|
}
|
|
static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
|
|
}
|
|
static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
|
|
}
|
|
static void *_p_wxPaintEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
|
|
}
|
|
static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
|
|
}
|
|
static void *_p_wxFSFileTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxFSFile *) x));
|
|
}
|
|
static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
|
|
}
|
|
static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
|
|
}
|
|
static void *_p_wxMenuTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
|
|
}
|
|
static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
|
|
}
|
|
static void *_p_wxSizerItemTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxSizerItem *) x));
|
|
}
|
|
static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxPrintDialog *) x));
|
|
}
|
|
static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxPageSetupDialog *) x));
|
|
}
|
|
static void *_p_wxFontDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
|
|
}
|
|
static void *_p_wxDirDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
|
|
}
|
|
static void *_p_wxColourDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
|
|
}
|
|
static void *_p_wxDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
|
|
}
|
|
static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
|
|
}
|
|
static void *_p_wxPyEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
|
|
}
|
|
static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
|
|
}
|
|
static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
|
|
}
|
|
static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxEvtHandler *) x));
|
|
}
|
|
static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
|
|
}
|
|
static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
|
|
}
|
|
static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
|
|
}
|
|
static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxImageHandler *) x));
|
|
}
|
|
static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
|
|
}
|
|
static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
|
|
}
|
|
static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
|
|
}
|
|
static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
|
|
}
|
|
static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
|
|
}
|
|
static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
|
|
}
|
|
static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
|
|
}
|
|
static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
|
|
}
|
|
static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
|
|
}
|
|
static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
|
|
}
|
|
static void *_p_wxShowEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
|
|
}
|
|
static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
|
|
}
|
|
static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
|
|
}
|
|
static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
|
|
}
|
|
static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
|
|
}
|
|
static void *_p_wxTipWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
|
|
}
|
|
static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
|
|
}
|
|
static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
|
|
}
|
|
static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
|
|
}
|
|
static void *_p_wxSashWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
|
|
}
|
|
static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
|
|
}
|
|
static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
|
|
}
|
|
static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
|
|
}
|
|
static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
|
|
}
|
|
static void *_p_wxWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
|
|
}
|
|
static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxHelpControllerBase *) x));
|
|
}
|
|
static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
|
|
}
|
|
static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
|
|
}
|
|
static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
|
|
}
|
|
static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
|
|
}
|
|
static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
|
|
}
|
|
static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
|
|
}
|
|
static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
|
|
}
|
|
static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
|
|
}
|
|
static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
|
|
}
|
|
static void *_p_wxFileDialogTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
|
|
}
|
|
static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
|
|
}
|
|
static void *_p_wxPyWindowTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
|
|
}
|
|
static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
|
|
}
|
|
static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
|
|
}
|
|
static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
|
|
}
|
|
static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
|
|
}
|
|
static void *_p_wxHtmlLinkEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlLinkEvent *) x));
|
|
}
|
|
static void *_p_wxPanelTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
|
|
}
|
|
static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
|
|
}
|
|
static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
|
|
}
|
|
static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) ((wxHtmlCell *) x));
|
|
}
|
|
static void *_p_wxMenuEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
|
|
}
|
|
static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
|
|
}
|
|
static void *_p_wxCommandEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
|
|
}
|
|
static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
|
|
}
|
|
static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
|
|
}
|
|
static void *_p_wxStatusBarTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
|
|
}
|
|
static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
|
|
}
|
|
static void *_p_wxFocusEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
|
|
}
|
|
static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
|
|
}
|
|
static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
|
|
}
|
|
static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
|
|
}
|
|
static void *_p_wxMenuBarTo_p_wxObject(void *x) {
|
|
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
|
|
}
|
|
static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
|
|
}
|
|
static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
|
|
}
|
|
static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
|
|
}
|
|
static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
|
|
}
|
|
static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
|
|
}
|
|
static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
|
|
}
|
|
static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
|
|
}
|
|
static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
|
|
}
|
|
static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
|
|
}
|
|
static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
|
|
}
|
|
static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
|
|
}
|
|
static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
|
|
}
|
|
static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
|
|
}
|
|
static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
|
|
}
|
|
static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
|
|
}
|
|
static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
|
|
}
|
|
static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
|
|
}
|
|
static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
|
|
}
|
|
static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
|
|
}
|
|
static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
|
|
return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
|
|
}
|
|
static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
|
|
}
|
|
static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
|
|
}
|
|
static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
|
|
}
|
|
static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) ((wxMenuBar *) x));
|
|
}
|
|
static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
|
|
}
|
|
static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
|
|
}
|
|
static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
|
|
}
|
|
static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
|
|
}
|
|
static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
|
|
}
|
|
static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
|
|
}
|
|
static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
|
|
}
|
|
static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
|
|
}
|
|
static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
|
|
}
|
|
static void *_p_wxPanelTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) ((wxPanel *) x));
|
|
}
|
|
static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) ((wxStatusBar *) x));
|
|
}
|
|
static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
|
|
}
|
|
static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
|
|
}
|
|
static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
|
|
}
|
|
static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) ((wxPopupWindow *) x));
|
|
}
|
|
static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
|
|
}
|
|
static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
|
|
}
|
|
static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
|
|
}
|
|
static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
|
|
}
|
|
static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) ((wxSplitterWindow *) x));
|
|
}
|
|
static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) ((wxSashWindow *) x));
|
|
}
|
|
static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
|
|
}
|
|
static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
|
|
}
|
|
static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
|
|
}
|
|
static void *_p_wxControlTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) ((wxControl *) x));
|
|
}
|
|
static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
|
|
}
|
|
static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
|
|
}
|
|
static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
|
|
}
|
|
static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
|
|
}
|
|
static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) ((wxPyWindow *) x));
|
|
}
|
|
static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
|
|
}
|
|
static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
|
|
}
|
|
static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
|
|
}
|
|
static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
|
|
}
|
|
static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
|
|
}
|
|
static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
|
|
}
|
|
static void *_p_wxFrameTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
|
|
}
|
|
static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
|
|
}
|
|
static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
|
|
}
|
|
static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
|
|
}
|
|
static void *_p_wxDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
|
|
}
|
|
static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
|
|
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
|
|
}
|
|
static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
|
|
return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
|
|
}
|
|
static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
|
|
return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
|
|
}
|
|
static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
|
|
return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
|
|
}
|
|
static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
|
|
return (void *)((wxDialog *) ((wxColourDialog *) x));
|
|
}
|
|
static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
|
|
return (void *)((wxDialog *) ((wxDirDialog *) x));
|
|
}
|
|
static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
|
|
return (void *)((wxDialog *) ((wxFontDialog *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
|
|
return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
|
|
}
|
|
static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
|
|
return (void *)((wxDialog *) ((wxFileDialog *) x));
|
|
}
|
|
static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
|
|
return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
|
|
}
|
|
static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
|
|
return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
|
|
}
|
|
static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
|
|
return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
|
|
}
|
|
static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
|
|
return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
|
|
}
|
|
static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
|
|
return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
|
|
}
|
|
static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
|
|
return (void *)((wxDialog *) ((wxMessageDialog *) x));
|
|
}
|
|
static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
|
|
return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
|
|
}
|
|
static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
|
|
return (void *)((wxPanel *) ((wxScrolledWindow *) x));
|
|
}
|
|
static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
|
|
return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
|
|
}
|
|
static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
|
|
return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
|
|
}
|
|
static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
|
|
return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
|
|
}
|
|
static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
|
|
return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
|
|
}
|
|
static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
|
|
return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
|
|
}
|
|
static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
|
|
return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
|
|
}
|
|
static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
|
|
return (void *)((wxPanel *) ((wxPyPanel *) x));
|
|
}
|
|
static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
|
|
return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
|
|
}
|
|
static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
|
|
return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
|
|
}
|
|
static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
|
|
return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
|
|
}
|
|
static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
|
|
return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
|
|
}
|
|
static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
|
|
return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
|
|
}
|
|
static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
|
|
}
|
|
static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
|
|
}
|
|
static void *_p_wxHtmlLinkEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxHtmlLinkEvent *) x));
|
|
}
|
|
static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
|
|
}
|
|
static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
|
|
}
|
|
static void *_p_wxHtmlCellEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxHtmlCellEvent *) x));
|
|
}
|
|
static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
|
|
}
|
|
static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
|
|
}
|
|
static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
|
|
}
|
|
static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
|
|
}
|
|
static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
|
|
}
|
|
static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
|
|
}
|
|
static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
|
|
}
|
|
static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
|
|
}
|
|
static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
|
|
return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
|
|
}
|
|
static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
|
|
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};
|
|
static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlCellEvent = {"_p_wxHtmlCellEvent", "wxHtmlCellEvent *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlLinkEvent = {"_p_wxHtmlLinkEvent", "wxHtmlLinkEvent *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
|
|
static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
|
|
static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
|
|
|
|
static swig_type_info *swig_type_initial[] = {
|
|
&_swigt__p_bool,
|
|
&_swigt__p_char,
|
|
&_swigt__p_form_ops_t,
|
|
&_swigt__p_int,
|
|
&_swigt__p_unsigned_char,
|
|
&_swigt__p_unsigned_int,
|
|
&_swigt__p_unsigned_long,
|
|
&_swigt__p_wxANIHandler,
|
|
&_swigt__p_wxAcceleratorTable,
|
|
&_swigt__p_wxActivateEvent,
|
|
&_swigt__p_wxArrayInt,
|
|
&_swigt__p_wxBMPHandler,
|
|
&_swigt__p_wxBitmap,
|
|
&_swigt__p_wxBoxSizer,
|
|
&_swigt__p_wxCURHandler,
|
|
&_swigt__p_wxCalculateLayoutEvent,
|
|
&_swigt__p_wxChildFocusEvent,
|
|
&_swigt__p_wxClipboardTextEvent,
|
|
&_swigt__p_wxCloseEvent,
|
|
&_swigt__p_wxColour,
|
|
&_swigt__p_wxColourData,
|
|
&_swigt__p_wxColourDialog,
|
|
&_swigt__p_wxCommandEvent,
|
|
&_swigt__p_wxConfigBase,
|
|
&_swigt__p_wxContextMenuEvent,
|
|
&_swigt__p_wxControl,
|
|
&_swigt__p_wxControlWithItems,
|
|
&_swigt__p_wxCursor,
|
|
&_swigt__p_wxDC,
|
|
&_swigt__p_wxDateEvent,
|
|
&_swigt__p_wxDefaultHtmlRenderingStyle,
|
|
&_swigt__p_wxDialog,
|
|
&_swigt__p_wxDirDialog,
|
|
&_swigt__p_wxDisplayChangedEvent,
|
|
&_swigt__p_wxDropFilesEvent,
|
|
&_swigt__p_wxDuplexMode,
|
|
&_swigt__p_wxEraseEvent,
|
|
&_swigt__p_wxEvent,
|
|
&_swigt__p_wxEvtHandler,
|
|
&_swigt__p_wxFSFile,
|
|
&_swigt__p_wxFileDialog,
|
|
&_swigt__p_wxFileSystem,
|
|
&_swigt__p_wxFindDialogEvent,
|
|
&_swigt__p_wxFindReplaceData,
|
|
&_swigt__p_wxFindReplaceDialog,
|
|
&_swigt__p_wxFlexGridSizer,
|
|
&_swigt__p_wxFocusEvent,
|
|
&_swigt__p_wxFont,
|
|
&_swigt__p_wxFontData,
|
|
&_swigt__p_wxFontDialog,
|
|
&_swigt__p_wxFrame,
|
|
&_swigt__p_wxGBSizerItem,
|
|
&_swigt__p_wxGIFHandler,
|
|
&_swigt__p_wxGridBagSizer,
|
|
&_swigt__p_wxGridSizer,
|
|
&_swigt__p_wxHelpControllerBase,
|
|
&_swigt__p_wxHelpSearchMode,
|
|
&_swigt__p_wxHtmlBookRecArray,
|
|
&_swigt__p_wxHtmlBookRecord,
|
|
&_swigt__p_wxHtmlCell,
|
|
&_swigt__p_wxHtmlCellEvent,
|
|
&_swigt__p_wxHtmlColourCell,
|
|
&_swigt__p_wxHtmlContainerCell,
|
|
&_swigt__p_wxHtmlDCRenderer,
|
|
&_swigt__p_wxHtmlEasyPrinting,
|
|
&_swigt__p_wxHtmlFilter,
|
|
&_swigt__p_wxHtmlFontCell,
|
|
&_swigt__p_wxHtmlHelpController,
|
|
&_swigt__p_wxHtmlHelpData,
|
|
&_swigt__p_wxHtmlHelpDialog,
|
|
&_swigt__p_wxHtmlHelpFrame,
|
|
&_swigt__p_wxHtmlHelpFrameCfg,
|
|
&_swigt__p_wxHtmlHelpWindow,
|
|
&_swigt__p_wxHtmlLinkEvent,
|
|
&_swigt__p_wxHtmlLinkInfo,
|
|
&_swigt__p_wxHtmlModalHelp,
|
|
&_swigt__p_wxHtmlParser,
|
|
&_swigt__p_wxHtmlPrintout,
|
|
&_swigt__p_wxHtmlRenderingInfo,
|
|
&_swigt__p_wxHtmlRenderingState,
|
|
&_swigt__p_wxHtmlRenderingStyle,
|
|
&_swigt__p_wxHtmlSearchStatus,
|
|
&_swigt__p_wxHtmlSelection,
|
|
&_swigt__p_wxHtmlTag,
|
|
&_swigt__p_wxHtmlTagHandler,
|
|
&_swigt__p_wxHtmlWidgetCell,
|
|
&_swigt__p_wxHtmlWinParser,
|
|
&_swigt__p_wxHtmlWindowInterface,
|
|
&_swigt__p_wxHtmlWordCell,
|
|
&_swigt__p_wxICOHandler,
|
|
&_swigt__p_wxIconizeEvent,
|
|
&_swigt__p_wxIdleEvent,
|
|
&_swigt__p_wxImage,
|
|
&_swigt__p_wxImageHandler,
|
|
&_swigt__p_wxIndividualLayoutConstraint,
|
|
&_swigt__p_wxInitDialogEvent,
|
|
&_swigt__p_wxJPEGHandler,
|
|
&_swigt__p_wxKeyEvent,
|
|
&_swigt__p_wxLayoutAlgorithm,
|
|
&_swigt__p_wxLayoutConstraints,
|
|
&_swigt__p_wxMDIChildFrame,
|
|
&_swigt__p_wxMDIClientWindow,
|
|
&_swigt__p_wxMDIParentFrame,
|
|
&_swigt__p_wxMaximizeEvent,
|
|
&_swigt__p_wxMenu,
|
|
&_swigt__p_wxMenuBar,
|
|
&_swigt__p_wxMenuEvent,
|
|
&_swigt__p_wxMenuItem,
|
|
&_swigt__p_wxMessageDialog,
|
|
&_swigt__p_wxMiniFrame,
|
|
&_swigt__p_wxMouseCaptureChangedEvent,
|
|
&_swigt__p_wxMouseCaptureLostEvent,
|
|
&_swigt__p_wxMouseEvent,
|
|
&_swigt__p_wxMoveEvent,
|
|
&_swigt__p_wxMultiChoiceDialog,
|
|
&_swigt__p_wxNavigationKeyEvent,
|
|
&_swigt__p_wxNcPaintEvent,
|
|
&_swigt__p_wxNotifyEvent,
|
|
&_swigt__p_wxNumberEntryDialog,
|
|
&_swigt__p_wxObject,
|
|
&_swigt__p_wxPCXHandler,
|
|
&_swigt__p_wxPNGHandler,
|
|
&_swigt__p_wxPNMHandler,
|
|
&_swigt__p_wxPageSetupDialog,
|
|
&_swigt__p_wxPageSetupDialogData,
|
|
&_swigt__p_wxPaintEvent,
|
|
&_swigt__p_wxPaletteChangedEvent,
|
|
&_swigt__p_wxPanel,
|
|
&_swigt__p_wxPaperSize,
|
|
&_swigt__p_wxPasswordEntryDialog,
|
|
&_swigt__p_wxPoint,
|
|
&_swigt__p_wxPopupWindow,
|
|
&_swigt__p_wxPreviewCanvas,
|
|
&_swigt__p_wxPreviewControlBar,
|
|
&_swigt__p_wxPreviewFrame,
|
|
&_swigt__p_wxPrintData,
|
|
&_swigt__p_wxPrintDialog,
|
|
&_swigt__p_wxPrintDialogData,
|
|
&_swigt__p_wxPrintPreview,
|
|
&_swigt__p_wxPrinter,
|
|
&_swigt__p_wxProgressDialog,
|
|
&_swigt__p_wxPyApp,
|
|
&_swigt__p_wxPyCommandEvent,
|
|
&_swigt__p_wxPyEvent,
|
|
&_swigt__p_wxPyHtmlFilter,
|
|
&_swigt__p_wxPyHtmlListBox,
|
|
&_swigt__p_wxPyHtmlTagHandler,
|
|
&_swigt__p_wxPyHtmlWinTagHandler,
|
|
&_swigt__p_wxPyHtmlWindow,
|
|
&_swigt__p_wxPyImageHandler,
|
|
&_swigt__p_wxPyPanel,
|
|
&_swigt__p_wxPyPopupTransientWindow,
|
|
&_swigt__p_wxPyPreviewControlBar,
|
|
&_swigt__p_wxPyPreviewFrame,
|
|
&_swigt__p_wxPyPrintPreview,
|
|
&_swigt__p_wxPyPrintout,
|
|
&_swigt__p_wxPyScrolledWindow,
|
|
&_swigt__p_wxPySizer,
|
|
&_swigt__p_wxPyTaskBarIcon,
|
|
&_swigt__p_wxPyVListBox,
|
|
&_swigt__p_wxPyVScrolledWindow,
|
|
&_swigt__p_wxPyValidator,
|
|
&_swigt__p_wxPyWindow,
|
|
&_swigt__p_wxQueryLayoutInfoEvent,
|
|
&_swigt__p_wxQueryNewPaletteEvent,
|
|
&_swigt__p_wxSashEvent,
|
|
&_swigt__p_wxSashLayoutWindow,
|
|
&_swigt__p_wxSashWindow,
|
|
&_swigt__p_wxScrollEvent,
|
|
&_swigt__p_wxScrollWinEvent,
|
|
&_swigt__p_wxScrolledWindow,
|
|
&_swigt__p_wxSetCursorEvent,
|
|
&_swigt__p_wxShowEvent,
|
|
&_swigt__p_wxSimpleHtmlListBox,
|
|
&_swigt__p_wxSingleChoiceDialog,
|
|
&_swigt__p_wxSize,
|
|
&_swigt__p_wxSizeEvent,
|
|
&_swigt__p_wxSizer,
|
|
&_swigt__p_wxSizerItem,
|
|
&_swigt__p_wxSplashScreen,
|
|
&_swigt__p_wxSplashScreenWindow,
|
|
&_swigt__p_wxSplitterEvent,
|
|
&_swigt__p_wxSplitterWindow,
|
|
&_swigt__p_wxStaticBoxSizer,
|
|
&_swigt__p_wxStatusBar,
|
|
&_swigt__p_wxStdDialogButtonSizer,
|
|
&_swigt__p_wxString,
|
|
&_swigt__p_wxSysColourChangedEvent,
|
|
&_swigt__p_wxTGAHandler,
|
|
&_swigt__p_wxTIFFHandler,
|
|
&_swigt__p_wxTaskBarIconEvent,
|
|
&_swigt__p_wxTextEntryDialog,
|
|
&_swigt__p_wxTipWindow,
|
|
&_swigt__p_wxTopLevelWindow,
|
|
&_swigt__p_wxUpdateUIEvent,
|
|
&_swigt__p_wxValidator,
|
|
&_swigt__p_wxVisualAttributes,
|
|
&_swigt__p_wxWindow,
|
|
&_swigt__p_wxWindowCreateEvent,
|
|
&_swigt__p_wxWindowDestroyEvent,
|
|
&_swigt__p_wxXPMHandler,
|
|
};
|
|
|
|
static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
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}};
|
|
static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
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}};
|
|
static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
|
|
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_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
|
|
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}};
|
|
static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
|
|
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}};
|
|
static swig_cast_info _swigc__p_wxHtmlCellEvent[] = { {&_swigt__p_wxHtmlCellEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlLinkEvent[] = { {&_swigt__p_wxHtmlLinkEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
|
|
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}};
|
|
static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
|
|
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}};
|
|
static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = { {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
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_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_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_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_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_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_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
|
|
static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
|
|
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}};
|
|
static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
|
|
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}};
|
|
static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
|
|
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}};
|
|
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}};
|
|
static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
|
|
static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
|
|
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_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
|
|
|
|
static swig_cast_info *swig_cast_initial[] = {
|
|
_swigc__p_bool,
|
|
_swigc__p_char,
|
|
_swigc__p_form_ops_t,
|
|
_swigc__p_int,
|
|
_swigc__p_unsigned_char,
|
|
_swigc__p_unsigned_int,
|
|
_swigc__p_unsigned_long,
|
|
_swigc__p_wxANIHandler,
|
|
_swigc__p_wxAcceleratorTable,
|
|
_swigc__p_wxActivateEvent,
|
|
_swigc__p_wxArrayInt,
|
|
_swigc__p_wxBMPHandler,
|
|
_swigc__p_wxBitmap,
|
|
_swigc__p_wxBoxSizer,
|
|
_swigc__p_wxCURHandler,
|
|
_swigc__p_wxCalculateLayoutEvent,
|
|
_swigc__p_wxChildFocusEvent,
|
|
_swigc__p_wxClipboardTextEvent,
|
|
_swigc__p_wxCloseEvent,
|
|
_swigc__p_wxColour,
|
|
_swigc__p_wxColourData,
|
|
_swigc__p_wxColourDialog,
|
|
_swigc__p_wxCommandEvent,
|
|
_swigc__p_wxConfigBase,
|
|
_swigc__p_wxContextMenuEvent,
|
|
_swigc__p_wxControl,
|
|
_swigc__p_wxControlWithItems,
|
|
_swigc__p_wxCursor,
|
|
_swigc__p_wxDC,
|
|
_swigc__p_wxDateEvent,
|
|
_swigc__p_wxDefaultHtmlRenderingStyle,
|
|
_swigc__p_wxDialog,
|
|
_swigc__p_wxDirDialog,
|
|
_swigc__p_wxDisplayChangedEvent,
|
|
_swigc__p_wxDropFilesEvent,
|
|
_swigc__p_wxDuplexMode,
|
|
_swigc__p_wxEraseEvent,
|
|
_swigc__p_wxEvent,
|
|
_swigc__p_wxEvtHandler,
|
|
_swigc__p_wxFSFile,
|
|
_swigc__p_wxFileDialog,
|
|
_swigc__p_wxFileSystem,
|
|
_swigc__p_wxFindDialogEvent,
|
|
_swigc__p_wxFindReplaceData,
|
|
_swigc__p_wxFindReplaceDialog,
|
|
_swigc__p_wxFlexGridSizer,
|
|
_swigc__p_wxFocusEvent,
|
|
_swigc__p_wxFont,
|
|
_swigc__p_wxFontData,
|
|
_swigc__p_wxFontDialog,
|
|
_swigc__p_wxFrame,
|
|
_swigc__p_wxGBSizerItem,
|
|
_swigc__p_wxGIFHandler,
|
|
_swigc__p_wxGridBagSizer,
|
|
_swigc__p_wxGridSizer,
|
|
_swigc__p_wxHelpControllerBase,
|
|
_swigc__p_wxHelpSearchMode,
|
|
_swigc__p_wxHtmlBookRecArray,
|
|
_swigc__p_wxHtmlBookRecord,
|
|
_swigc__p_wxHtmlCell,
|
|
_swigc__p_wxHtmlCellEvent,
|
|
_swigc__p_wxHtmlColourCell,
|
|
_swigc__p_wxHtmlContainerCell,
|
|
_swigc__p_wxHtmlDCRenderer,
|
|
_swigc__p_wxHtmlEasyPrinting,
|
|
_swigc__p_wxHtmlFilter,
|
|
_swigc__p_wxHtmlFontCell,
|
|
_swigc__p_wxHtmlHelpController,
|
|
_swigc__p_wxHtmlHelpData,
|
|
_swigc__p_wxHtmlHelpDialog,
|
|
_swigc__p_wxHtmlHelpFrame,
|
|
_swigc__p_wxHtmlHelpFrameCfg,
|
|
_swigc__p_wxHtmlHelpWindow,
|
|
_swigc__p_wxHtmlLinkEvent,
|
|
_swigc__p_wxHtmlLinkInfo,
|
|
_swigc__p_wxHtmlModalHelp,
|
|
_swigc__p_wxHtmlParser,
|
|
_swigc__p_wxHtmlPrintout,
|
|
_swigc__p_wxHtmlRenderingInfo,
|
|
_swigc__p_wxHtmlRenderingState,
|
|
_swigc__p_wxHtmlRenderingStyle,
|
|
_swigc__p_wxHtmlSearchStatus,
|
|
_swigc__p_wxHtmlSelection,
|
|
_swigc__p_wxHtmlTag,
|
|
_swigc__p_wxHtmlTagHandler,
|
|
_swigc__p_wxHtmlWidgetCell,
|
|
_swigc__p_wxHtmlWinParser,
|
|
_swigc__p_wxHtmlWindowInterface,
|
|
_swigc__p_wxHtmlWordCell,
|
|
_swigc__p_wxICOHandler,
|
|
_swigc__p_wxIconizeEvent,
|
|
_swigc__p_wxIdleEvent,
|
|
_swigc__p_wxImage,
|
|
_swigc__p_wxImageHandler,
|
|
_swigc__p_wxIndividualLayoutConstraint,
|
|
_swigc__p_wxInitDialogEvent,
|
|
_swigc__p_wxJPEGHandler,
|
|
_swigc__p_wxKeyEvent,
|
|
_swigc__p_wxLayoutAlgorithm,
|
|
_swigc__p_wxLayoutConstraints,
|
|
_swigc__p_wxMDIChildFrame,
|
|
_swigc__p_wxMDIClientWindow,
|
|
_swigc__p_wxMDIParentFrame,
|
|
_swigc__p_wxMaximizeEvent,
|
|
_swigc__p_wxMenu,
|
|
_swigc__p_wxMenuBar,
|
|
_swigc__p_wxMenuEvent,
|
|
_swigc__p_wxMenuItem,
|
|
_swigc__p_wxMessageDialog,
|
|
_swigc__p_wxMiniFrame,
|
|
_swigc__p_wxMouseCaptureChangedEvent,
|
|
_swigc__p_wxMouseCaptureLostEvent,
|
|
_swigc__p_wxMouseEvent,
|
|
_swigc__p_wxMoveEvent,
|
|
_swigc__p_wxMultiChoiceDialog,
|
|
_swigc__p_wxNavigationKeyEvent,
|
|
_swigc__p_wxNcPaintEvent,
|
|
_swigc__p_wxNotifyEvent,
|
|
_swigc__p_wxNumberEntryDialog,
|
|
_swigc__p_wxObject,
|
|
_swigc__p_wxPCXHandler,
|
|
_swigc__p_wxPNGHandler,
|
|
_swigc__p_wxPNMHandler,
|
|
_swigc__p_wxPageSetupDialog,
|
|
_swigc__p_wxPageSetupDialogData,
|
|
_swigc__p_wxPaintEvent,
|
|
_swigc__p_wxPaletteChangedEvent,
|
|
_swigc__p_wxPanel,
|
|
_swigc__p_wxPaperSize,
|
|
_swigc__p_wxPasswordEntryDialog,
|
|
_swigc__p_wxPoint,
|
|
_swigc__p_wxPopupWindow,
|
|
_swigc__p_wxPreviewCanvas,
|
|
_swigc__p_wxPreviewControlBar,
|
|
_swigc__p_wxPreviewFrame,
|
|
_swigc__p_wxPrintData,
|
|
_swigc__p_wxPrintDialog,
|
|
_swigc__p_wxPrintDialogData,
|
|
_swigc__p_wxPrintPreview,
|
|
_swigc__p_wxPrinter,
|
|
_swigc__p_wxProgressDialog,
|
|
_swigc__p_wxPyApp,
|
|
_swigc__p_wxPyCommandEvent,
|
|
_swigc__p_wxPyEvent,
|
|
_swigc__p_wxPyHtmlFilter,
|
|
_swigc__p_wxPyHtmlListBox,
|
|
_swigc__p_wxPyHtmlTagHandler,
|
|
_swigc__p_wxPyHtmlWinTagHandler,
|
|
_swigc__p_wxPyHtmlWindow,
|
|
_swigc__p_wxPyImageHandler,
|
|
_swigc__p_wxPyPanel,
|
|
_swigc__p_wxPyPopupTransientWindow,
|
|
_swigc__p_wxPyPreviewControlBar,
|
|
_swigc__p_wxPyPreviewFrame,
|
|
_swigc__p_wxPyPrintPreview,
|
|
_swigc__p_wxPyPrintout,
|
|
_swigc__p_wxPyScrolledWindow,
|
|
_swigc__p_wxPySizer,
|
|
_swigc__p_wxPyTaskBarIcon,
|
|
_swigc__p_wxPyVListBox,
|
|
_swigc__p_wxPyVScrolledWindow,
|
|
_swigc__p_wxPyValidator,
|
|
_swigc__p_wxPyWindow,
|
|
_swigc__p_wxQueryLayoutInfoEvent,
|
|
_swigc__p_wxQueryNewPaletteEvent,
|
|
_swigc__p_wxSashEvent,
|
|
_swigc__p_wxSashLayoutWindow,
|
|
_swigc__p_wxSashWindow,
|
|
_swigc__p_wxScrollEvent,
|
|
_swigc__p_wxScrollWinEvent,
|
|
_swigc__p_wxScrolledWindow,
|
|
_swigc__p_wxSetCursorEvent,
|
|
_swigc__p_wxShowEvent,
|
|
_swigc__p_wxSimpleHtmlListBox,
|
|
_swigc__p_wxSingleChoiceDialog,
|
|
_swigc__p_wxSize,
|
|
_swigc__p_wxSizeEvent,
|
|
_swigc__p_wxSizer,
|
|
_swigc__p_wxSizerItem,
|
|
_swigc__p_wxSplashScreen,
|
|
_swigc__p_wxSplashScreenWindow,
|
|
_swigc__p_wxSplitterEvent,
|
|
_swigc__p_wxSplitterWindow,
|
|
_swigc__p_wxStaticBoxSizer,
|
|
_swigc__p_wxStatusBar,
|
|
_swigc__p_wxStdDialogButtonSizer,
|
|
_swigc__p_wxString,
|
|
_swigc__p_wxSysColourChangedEvent,
|
|
_swigc__p_wxTGAHandler,
|
|
_swigc__p_wxTIFFHandler,
|
|
_swigc__p_wxTaskBarIconEvent,
|
|
_swigc__p_wxTextEntryDialog,
|
|
_swigc__p_wxTipWindow,
|
|
_swigc__p_wxTopLevelWindow,
|
|
_swigc__p_wxUpdateUIEvent,
|
|
_swigc__p_wxValidator,
|
|
_swigc__p_wxVisualAttributes,
|
|
_swigc__p_wxWindow,
|
|
_swigc__p_wxWindowCreateEvent,
|
|
_swigc__p_wxWindowDestroyEvent,
|
|
_swigc__p_wxXPMHandler,
|
|
};
|
|
|
|
|
|
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
|
|
|
|
static swig_const_info swig_const_table[] = {
|
|
{0, 0, 0, 0.0, 0, 0}};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
/* -----------------------------------------------------------------------------
|
|
* Type initialization:
|
|
* This problem is tough by the requirement that no dynamic
|
|
* memory is used. Also, since swig_type_info structures store pointers to
|
|
* swig_cast_info structures and swig_cast_info structures store pointers back
|
|
* to swig_type_info structures, we need some lookup code at initialization.
|
|
* The idea is that swig generates all the structures that are needed.
|
|
* The runtime then collects these partially filled structures.
|
|
* The SWIG_InitializeModule function takes these initial arrays out of
|
|
* swig_module, and does all the lookup, filling in the swig_module.types
|
|
* array with the correct data and linking the correct swig_cast_info
|
|
* structures together.
|
|
*
|
|
* The generated swig_type_info structures are assigned staticly to an initial
|
|
* array. We just loop though that array, and handle each type individually.
|
|
* First we lookup if this type has been already loaded, and if so, use the
|
|
* loaded structure instead of the generated one. Then we have to fill in the
|
|
* cast linked list. The cast data is initially stored in something like a
|
|
* two-dimensional array. Each row corresponds to a type (there are the same
|
|
* number of rows as there are in the swig_type_initial array). Each entry in
|
|
* a column is one of the swig_cast_info structures for that type.
|
|
* The cast_initial array is actually an array of arrays, because each row has
|
|
* a variable number of columns. So to actually build the cast linked list,
|
|
* we find the array of casts associated with the type, and loop through it
|
|
* adding the casts to the list. The one last trick we need to do is making
|
|
* sure the type pointer in the swig_cast_info struct is correct.
|
|
*
|
|
* First off, we lookup the cast->type name to see if it is already loaded.
|
|
* There are three cases to handle:
|
|
* 1) If the cast->type has already been loaded AND the type we are adding
|
|
* casting info to has not been loaded (it is in this module), THEN we
|
|
* replace the cast->type pointer with the type pointer that has already
|
|
* been loaded.
|
|
* 2) If BOTH types (the one we are adding casting info to, and the
|
|
* cast->type) are loaded, THEN the cast info has already been loaded by
|
|
* the previous module so we just ignore it.
|
|
* 3) Finally, if cast->type has not already been loaded, then we add that
|
|
* swig_cast_info to the linked list (because the cast->type) pointer will
|
|
* be correct.
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#if 0
|
|
} /* c-mode */
|
|
#endif
|
|
#endif
|
|
|
|
#if 0
|
|
#define SWIGRUNTIME_DEBUG
|
|
#endif
|
|
|
|
SWIGRUNTIME void
|
|
SWIG_InitializeModule(void *clientdata) {
|
|
size_t i;
|
|
swig_module_info *module_head;
|
|
static int init_run = 0;
|
|
|
|
clientdata = clientdata;
|
|
|
|
if (init_run) return;
|
|
init_run = 1;
|
|
|
|
/* Initialize the swig_module */
|
|
swig_module.type_initial = swig_type_initial;
|
|
swig_module.cast_initial = swig_cast_initial;
|
|
|
|
/* Try and load any already created modules */
|
|
module_head = SWIG_GetModule(clientdata);
|
|
if (module_head) {
|
|
swig_module.next = module_head->next;
|
|
module_head->next = &swig_module;
|
|
} else {
|
|
/* This is the first module loaded */
|
|
swig_module.next = &swig_module;
|
|
SWIG_SetModule(clientdata, &swig_module);
|
|
}
|
|
|
|
/* Now work on filling in swig_module.types */
|
|
#ifdef SWIGRUNTIME_DEBUG
|
|
printf("SWIG_InitializeModule: size %d\n", swig_module.size);
|
|
#endif
|
|
for (i = 0; i < swig_module.size; ++i) {
|
|
swig_type_info *type = 0;
|
|
swig_type_info *ret;
|
|
swig_cast_info *cast;
|
|
|
|
#ifdef SWIGRUNTIME_DEBUG
|
|
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
|
|
#endif
|
|
|
|
/* if there is another module already loaded */
|
|
if (swig_module.next != &swig_module) {
|
|
type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
|
|
}
|
|
if (type) {
|
|
/* Overwrite clientdata field */
|
|
#ifdef SWIGRUNTIME_DEBUG
|
|
printf("SWIG_InitializeModule: found type %s\n", type->name);
|
|
#endif
|
|
if (swig_module.type_initial[i]->clientdata) {
|
|
type->clientdata = swig_module.type_initial[i]->clientdata;
|
|
#ifdef SWIGRUNTIME_DEBUG
|
|
printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
|
|
#endif
|
|
}
|
|
} else {
|
|
type = swig_module.type_initial[i];
|
|
}
|
|
|
|
/* Insert casting types */
|
|
cast = swig_module.cast_initial[i];
|
|
while (cast->type) {
|
|
/* Don't need to add information already in the list */
|
|
ret = 0;
|
|
#ifdef SWIGRUNTIME_DEBUG
|
|
printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
|
|
#endif
|
|
if (swig_module.next != &swig_module) {
|
|
ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
|
|
#ifdef SWIGRUNTIME_DEBUG
|
|
if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
|
|
#endif
|
|
}
|
|
if (ret) {
|
|
if (type == swig_module.type_initial[i]) {
|
|
#ifdef SWIGRUNTIME_DEBUG
|
|
printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
|
|
#endif
|
|
cast->type = ret;
|
|
ret = 0;
|
|
} else {
|
|
/* Check for casting already in the list */
|
|
swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
|
|
#ifdef SWIGRUNTIME_DEBUG
|
|
if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
|
|
#endif
|
|
if (!ocast) ret = 0;
|
|
}
|
|
}
|
|
|
|
if (!ret) {
|
|
#ifdef SWIGRUNTIME_DEBUG
|
|
printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
|
|
#endif
|
|
if (type->cast) {
|
|
type->cast->prev = cast;
|
|
cast->next = type->cast;
|
|
}
|
|
type->cast = cast;
|
|
}
|
|
cast++;
|
|
}
|
|
/* Set entry in modules->types array equal to the type */
|
|
swig_module.types[i] = type;
|
|
}
|
|
swig_module.types[i] = 0;
|
|
|
|
#ifdef SWIGRUNTIME_DEBUG
|
|
printf("**** SWIG_InitializeModule: Cast List ******\n");
|
|
for (i = 0; i < swig_module.size; ++i) {
|
|
int j = 0;
|
|
swig_cast_info *cast = swig_module.cast_initial[i];
|
|
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
|
|
while (cast->type) {
|
|
printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
|
|
cast++;
|
|
++j;
|
|
}
|
|
printf("---- Total casts: %d\n",j);
|
|
}
|
|
printf("**** SWIG_InitializeModule: Cast List ******\n");
|
|
#endif
|
|
}
|
|
|
|
/* This function will propagate the clientdata field of type to
|
|
* any new swig_type_info structures that have been added into the list
|
|
* of equivalent types. It is like calling
|
|
* SWIG_TypeClientData(type, clientdata) a second time.
|
|
*/
|
|
SWIGRUNTIME void
|
|
SWIG_PropagateClientData(void) {
|
|
size_t i;
|
|
swig_cast_info *equiv;
|
|
static int init_run = 0;
|
|
|
|
if (init_run) return;
|
|
init_run = 1;
|
|
|
|
for (i = 0; i < swig_module.size; i++) {
|
|
if (swig_module.types[i]->clientdata) {
|
|
equiv = swig_module.types[i]->cast;
|
|
while (equiv) {
|
|
if (!equiv->converter) {
|
|
if (equiv->type && !equiv->type->clientdata)
|
|
SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
|
|
}
|
|
equiv = equiv->next;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
#if 0
|
|
{
|
|
/* c-mode */
|
|
#endif
|
|
}
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Python-specific SWIG API */
|
|
#define SWIG_newvarlink() SWIG_Python_newvarlink()
|
|
#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
|
|
#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* global variable support code.
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
typedef struct swig_globalvar {
|
|
char *name; /* Name of global variable */
|
|
PyObject *(*get_attr)(void); /* Return the current value */
|
|
int (*set_attr)(PyObject *); /* Set the value */
|
|
struct swig_globalvar *next;
|
|
} swig_globalvar;
|
|
|
|
typedef struct swig_varlinkobject {
|
|
PyObject_HEAD
|
|
swig_globalvar *vars;
|
|
} swig_varlinkobject;
|
|
|
|
SWIGINTERN PyObject *
|
|
swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
|
|
return PyString_FromString("<Swig global variables>");
|
|
}
|
|
|
|
SWIGINTERN PyObject *
|
|
swig_varlink_str(swig_varlinkobject *v) {
|
|
PyObject *str = PyString_FromString("(");
|
|
swig_globalvar *var;
|
|
for (var = v->vars; var; var=var->next) {
|
|
PyString_ConcatAndDel(&str,PyString_FromString(var->name));
|
|
if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
|
|
}
|
|
PyString_ConcatAndDel(&str,PyString_FromString(")"));
|
|
return str;
|
|
}
|
|
|
|
SWIGINTERN int
|
|
swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
|
|
PyObject *str = swig_varlink_str(v);
|
|
fprintf(fp,"Swig global variables ");
|
|
fprintf(fp,"%s\n", PyString_AsString(str));
|
|
Py_DECREF(str);
|
|
return 0;
|
|
}
|
|
|
|
SWIGINTERN void
|
|
swig_varlink_dealloc(swig_varlinkobject *v) {
|
|
swig_globalvar *var = v->vars;
|
|
while (var) {
|
|
swig_globalvar *n = var->next;
|
|
free(var->name);
|
|
free(var);
|
|
var = n;
|
|
}
|
|
}
|
|
|
|
SWIGINTERN PyObject *
|
|
swig_varlink_getattr(swig_varlinkobject *v, char *n) {
|
|
PyObject *res = NULL;
|
|
swig_globalvar *var = v->vars;
|
|
while (var) {
|
|
if (strcmp(var->name,n) == 0) {
|
|
res = (*var->get_attr)();
|
|
break;
|
|
}
|
|
var = var->next;
|
|
}
|
|
if (res == NULL && !PyErr_Occurred()) {
|
|
PyErr_SetString(PyExc_NameError,"Unknown C global variable");
|
|
}
|
|
return res;
|
|
}
|
|
|
|
SWIGINTERN int
|
|
swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
|
|
int res = 1;
|
|
swig_globalvar *var = v->vars;
|
|
while (var) {
|
|
if (strcmp(var->name,n) == 0) {
|
|
res = (*var->set_attr)(p);
|
|
break;
|
|
}
|
|
var = var->next;
|
|
}
|
|
if (res == 1 && !PyErr_Occurred()) {
|
|
PyErr_SetString(PyExc_NameError,"Unknown C global variable");
|
|
}
|
|
return res;
|
|
}
|
|
|
|
SWIGINTERN PyTypeObject*
|
|
swig_varlink_type(void) {
|
|
static char varlink__doc__[] = "Swig var link object";
|
|
static PyTypeObject varlink_type;
|
|
static int type_init = 0;
|
|
if (!type_init) {
|
|
const PyTypeObject tmp
|
|
= {
|
|
PyObject_HEAD_INIT(NULL)
|
|
0, /* Number of items in variable part (ob_size) */
|
|
(char *)"swigvarlink", /* Type name (tp_name) */
|
|
sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
|
|
0, /* Itemsize (tp_itemsize) */
|
|
(destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
|
|
(printfunc) swig_varlink_print, /* Print (tp_print) */
|
|
(getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
|
|
(setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
|
|
0, /* tp_compare */
|
|
(reprfunc) swig_varlink_repr, /* tp_repr */
|
|
0, /* tp_as_number */
|
|
0, /* tp_as_sequence */
|
|
0, /* tp_as_mapping */
|
|
0, /* tp_hash */
|
|
0, /* tp_call */
|
|
(reprfunc)swig_varlink_str, /* tp_str */
|
|
0, /* tp_getattro */
|
|
0, /* tp_setattro */
|
|
0, /* tp_as_buffer */
|
|
0, /* tp_flags */
|
|
varlink__doc__, /* tp_doc */
|
|
0, /* tp_traverse */
|
|
0, /* tp_clear */
|
|
0, /* tp_richcompare */
|
|
0, /* tp_weaklistoffset */
|
|
#if PY_VERSION_HEX >= 0x02020000
|
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
|
|
#endif
|
|
#if PY_VERSION_HEX >= 0x02030000
|
|
0, /* tp_del */
|
|
#endif
|
|
#ifdef COUNT_ALLOCS
|
|
0,0,0,0 /* tp_alloc -> tp_next */
|
|
#endif
|
|
};
|
|
varlink_type = tmp;
|
|
varlink_type.ob_type = &PyType_Type;
|
|
type_init = 1;
|
|
}
|
|
return &varlink_type;
|
|
}
|
|
|
|
/* Create a variable linking object for use later */
|
|
SWIGINTERN PyObject *
|
|
SWIG_Python_newvarlink(void) {
|
|
swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
|
|
if (result) {
|
|
result->vars = 0;
|
|
}
|
|
return ((PyObject*) result);
|
|
}
|
|
|
|
SWIGINTERN void
|
|
SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
|
|
swig_varlinkobject *v = (swig_varlinkobject *) p;
|
|
swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
|
|
if (gv) {
|
|
size_t size = strlen(name)+1;
|
|
gv->name = (char *)malloc(size);
|
|
if (gv->name) {
|
|
strncpy(gv->name,name,size);
|
|
gv->get_attr = get_attr;
|
|
gv->set_attr = set_attr;
|
|
gv->next = v->vars;
|
|
}
|
|
}
|
|
v->vars = gv;
|
|
}
|
|
|
|
SWIGINTERN PyObject *
|
|
SWIG_globals() {
|
|
static PyObject *_SWIG_globals = 0;
|
|
if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
|
|
return _SWIG_globals;
|
|
}
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* constants/methods manipulation
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
/* Install Constants */
|
|
SWIGINTERN void
|
|
SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
|
|
PyObject *obj = 0;
|
|
size_t i;
|
|
for (i = 0; constants[i].type; ++i) {
|
|
switch(constants[i].type) {
|
|
case SWIG_PY_POINTER:
|
|
obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
|
|
break;
|
|
case SWIG_PY_BINARY:
|
|
obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
|
|
break;
|
|
default:
|
|
obj = 0;
|
|
break;
|
|
}
|
|
if (obj) {
|
|
PyDict_SetItemString(d, constants[i].name, obj);
|
|
Py_DECREF(obj);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* -----------------------------------------------------------------------------*/
|
|
/* Fix SwigMethods to carry the callback ptrs when needed */
|
|
/* -----------------------------------------------------------------------------*/
|
|
|
|
SWIGINTERN void
|
|
SWIG_Python_FixMethods(PyMethodDef *methods,
|
|
swig_const_info *const_table,
|
|
swig_type_info **types,
|
|
swig_type_info **types_initial) {
|
|
size_t i;
|
|
for (i = 0; methods[i].ml_name; ++i) {
|
|
const char *c = methods[i].ml_doc;
|
|
if (c && (c = strstr(c, "swig_ptr: "))) {
|
|
int j;
|
|
swig_const_info *ci = 0;
|
|
const char *name = c + 10;
|
|
for (j = 0; const_table[j].type; ++j) {
|
|
if (strncmp(const_table[j].name, name,
|
|
strlen(const_table[j].name)) == 0) {
|
|
ci = &(const_table[j]);
|
|
break;
|
|
}
|
|
}
|
|
if (ci) {
|
|
size_t shift = (ci->ptype) - types;
|
|
swig_type_info *ty = types_initial[shift];
|
|
size_t ldoc = (c - methods[i].ml_doc);
|
|
size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
|
|
char *ndoc = (char*)malloc(ldoc + lptr + 10);
|
|
if (ndoc) {
|
|
char *buff = ndoc;
|
|
void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
|
|
if (ptr) {
|
|
strncpy(buff, methods[i].ml_doc, ldoc);
|
|
buff += ldoc;
|
|
strncpy(buff, "swig_ptr: ", 10);
|
|
buff += 10;
|
|
SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
|
|
methods[i].ml_doc = ndoc;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/* -----------------------------------------------------------------------------*
|
|
* Partial Init method
|
|
* -----------------------------------------------------------------------------*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
SWIGEXPORT void SWIG_init(void) {
|
|
PyObject *m, *d;
|
|
|
|
/* Fix SwigMethods to carry the callback ptrs when needed */
|
|
SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
|
|
|
|
m = Py_InitModule((char *) SWIG_name, SwigMethods);
|
|
d = PyModule_GetDict(m);
|
|
|
|
SWIG_InitializeModule(0);
|
|
SWIG_InstallConstants(d,swig_const_table);
|
|
|
|
|
|
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
|
|
SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set);
|
|
SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set);
|
|
SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set);
|
|
SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT)));
|
|
SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER)));
|
|
SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT)));
|
|
SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM)));
|
|
SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP)));
|
|
SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND)));
|
|
SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND)));
|
|
SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS)));
|
|
SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT)));
|
|
SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT)));
|
|
SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT)));
|
|
SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP)));
|
|
SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM)));
|
|
SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL)));
|
|
SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL)));
|
|
SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL)));
|
|
SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR)));
|
|
SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP)));
|
|
SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER)));
|
|
SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER)));
|
|
SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO)));
|
|
SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION)));
|
|
SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE)));
|
|
SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN)));
|
|
SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK)));
|
|
SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT)));
|
|
SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE)));
|
|
SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE)));
|
|
SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER)));
|
|
SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT)));
|
|
SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN)));
|
|
SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING)));
|
|
SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT)));
|
|
SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE)));
|
|
SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER)));
|
|
SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default)));
|
|
SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link)));
|
|
SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text)));
|
|
SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default)));
|
|
SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link)));
|
|
SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text)));
|
|
SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD)));
|
|
SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN)));
|
|
SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL)));
|
|
SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR)));
|
|
SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS)));
|
|
SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX)));
|
|
SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH)));
|
|
SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS)));
|
|
SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES)));
|
|
SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT)));
|
|
SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR)));
|
|
SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS)));
|
|
SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK)));
|
|
SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER)));
|
|
SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER)));
|
|
SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE)));
|
|
SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED)));
|
|
SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG)));
|
|
SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME)));
|
|
SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE)));
|
|
SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO)));
|
|
PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_CLICKED));
|
|
PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_HOVER", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_HOVER));
|
|
PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_LINK_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_LINK_CLICKED));
|
|
|
|
wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
|
|
wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
|
|
wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
|
|
wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
|
|
|
|
}
|
|
|