1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_VERSION 0x010327
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /***********************************************************************
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
35 ************************************************************************/
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
42 # define SWIGTEMPLATEDISAMBIGUATOR
46 /* inline attribute */
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
64 /* internal SWIG method */
66 # define SWIGINTERN static SWIGUNUSED
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
74 /* exporting methods for Windows DLLs */
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
80 # define SWIGEXPORT __declspec(dllexport)
87 /* calling conventions for Windows */
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
100 /***********************************************************************
103 * This file contains generic CAPI SWIG runtime support for pointer
106 ************************************************************************/
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
118 # define SWIG_TYPE_TABLE_NAME
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
131 # define SWIGRUNTIME SWIGINTERN
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
144 typedef void *(*swig_converter_func
)(void *);
145 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info
{
149 const char *name
; /* mangled name of this type */
150 const char *str
; /* human readable name of this type */
151 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
153 void *clientdata
; /* language specific type data */
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info
{
158 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter
; /* function to cast the void pointers */
160 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
161 struct swig_cast_info
*prev
; /* pointer to the previous cast */
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info
{
168 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size
; /* Number of types in this module */
170 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
171 swig_type_info
**type_initial
; /* Array of initially generated type structures */
172 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
173 void *clientdata
; /* Language specific module data */
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
185 SWIG_TypeNameComp(const char *f1
, const char *l1
,
186 const char *f2
, const char *l2
) {
187 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
188 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
189 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
190 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
192 return (l1
- f1
) - (l2
- f2
);
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
200 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
202 const char* te
= tb
+ strlen(tb
);
204 while (!equiv
&& *ne
) {
205 for (nb
= ne
; *ne
; ++ne
) {
206 if (*ne
== '|') break;
208 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
219 SWIG_TypeCompare(const char *nb
, const char *tb
) {
221 const char* te
= tb
+ strlen(tb
);
223 while (!equiv
&& *ne
) {
224 for (nb
= ne
; *ne
; ++ne
) {
225 if (*ne
== '|') break;
227 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
237 swig_cast_info *iter = ty->cast; \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
247 if (ty->cast) ty->cast->prev = iter; \
259 SWIGRUNTIME swig_cast_info
*
260 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
261 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info
*
266 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
267 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
271 Cast a pointer up an inheritance hierarchy
273 SWIGRUNTIMEINLINE
void *
274 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
275 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
279 Dynamic pointer casting. Down an inheritance hierarchy
281 SWIGRUNTIME swig_type_info
*
282 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
283 swig_type_info
*lastty
= ty
;
284 if (!ty
|| !ty
->dcast
) return ty
;
285 while (ty
&& (ty
->dcast
)) {
286 ty
= (*ty
->dcast
)(ptr
);
293 Return the name associated with this type
295 SWIGRUNTIMEINLINE
const char *
296 SWIG_TypeName(const swig_type_info
*ty
) {
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
304 SWIGRUNTIME
const char *
305 SWIG_TypePrettyName(const swig_type_info
*type
) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
310 if (type
->str
!= NULL
) {
311 const char *last_name
= type
->str
;
313 for (s
= type
->str
; *s
; s
++)
314 if (*s
== '|') last_name
= s
+1;
322 Set the clientdata field for a type
325 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
326 swig_cast_info
*cast
= ti
->cast
;
327 /* if (ti->clientdata == clientdata) return; */
328 ti
->clientdata
= clientdata
;
331 if (!cast
->converter
) {
332 swig_type_info
*tc
= cast
->type
;
333 if (!tc
->clientdata
) {
334 SWIG_TypeClientData(tc
, clientdata
);
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
349 SWIGRUNTIME swig_type_info
*
350 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
351 swig_module_info
*end
,
353 swig_module_info
*iter
= start
;
356 register size_t l
= 0;
357 register size_t r
= iter
->size
- 1;
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i
= (l
+ r
) >> 1;
361 const char *iname
= iter
->types
[i
]->name
;
363 register int compare
= strcmp(name
, iname
);
365 return iter
->types
[i
];
366 } else if (compare
< 0) {
372 } else if (compare
> 0) {
376 break; /* should never happen */
381 } while (iter
!= end
);
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
394 SWIGRUNTIME swig_type_info
*
395 SWIG_TypeQueryModule(swig_module_info
*start
,
396 swig_module_info
*end
,
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info
*iter
= start
;
407 register size_t i
= 0;
408 for (; i
< iter
->size
; ++i
) {
409 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
410 return iter
->types
[i
];
413 } while (iter
!= end
);
416 /* neither found a match */
422 Pack binary data into a string
425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
426 static const char hex
[17] = "0123456789abcdef";
427 register const unsigned char *u
= (unsigned char *) ptr
;
428 register const unsigned char *eu
= u
+ sz
;
429 for (; u
!= eu
; ++u
) {
430 register unsigned char uu
= *u
;
431 *(c
++) = hex
[(uu
& 0xf0) >> 4];
432 *(c
++) = hex
[uu
& 0xf];
438 Unpack binary data from a string
440 SWIGRUNTIME
const char *
441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
442 register unsigned char *u
= (unsigned char *) ptr
;
443 register const unsigned char *eu
= u
+ sz
;
444 for (; u
!= eu
; ++u
) {
445 register char d
= *(c
++);
446 register unsigned char uu
= 0;
447 if ((d
>= '0') && (d
<= '9'))
448 uu
= ((d
- '0') << 4);
449 else if ((d
>= 'a') && (d
<= 'f'))
450 uu
= ((d
- ('a'-10)) << 4);
454 if ((d
>= '0') && (d
<= '9'))
456 else if ((d
>= 'a') && (d
<= 'f'))
457 uu
|= (d
- ('a'-10));
466 Pack 'void *' into a string buffer.
469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
471 if ((2*sizeof(void *) + 2) > bsz
) return 0;
473 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
474 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
479 SWIGRUNTIME
const char *
480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
482 if (strcmp(c
,"NULL") == 0) {
489 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
495 size_t lname
= (name
? strlen(name
) : 0);
496 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
498 r
= SWIG_PackData(r
,ptr
,sz
);
500 strncpy(r
,name
,lname
+1);
507 SWIGRUNTIME
const char *
508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
510 if (strcmp(c
,"NULL") == 0) {
517 return SWIG_UnpackData(++c
,ptr
,sz
);
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
537 # define SWIGINTERN static SWIGUNUSED
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
545 Exception handling in wrappers
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
571 /* Constant information structure */
572 typedef struct swig_const_info
{
578 swig_type_info
**ptype
;
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
594 /***********************************************************************
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
654 PyString_FromFormat(const char *fmt
, ...) {
656 char buf
[SWIG_BUFFER_SIZE
* 2];
659 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
661 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
681 /* Declarations for objects of type PySwigObject */
684 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
686 char result
[SWIG_BUFFER_SIZE
];
688 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
689 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
696 SWIGRUNTIME PyObject
*
697 PySwigObject_repr(PySwigObject
*v
)
699 char result
[SWIG_BUFFER_SIZE
];
700 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
701 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
704 SWIGRUNTIME PyObject
*
705 PySwigObject_str(PySwigObject
*v
)
707 char result
[SWIG_BUFFER_SIZE
];
708 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
709 PyString_FromString(result
) : 0;
712 SWIGRUNTIME PyObject
*
713 PySwigObject_long(PySwigObject
*v
)
715 return PyLong_FromVoidPtr(v
->ptr
);
718 SWIGRUNTIME PyObject
*
719 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
721 PyObject
*res
= NULL
;
722 PyObject
*args
= PyTuple_New(1);
723 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
724 PyObject
*ofmt
= PyString_FromString(fmt
);
726 res
= PyString_Format(ofmt
,args
);
734 SWIGRUNTIME PyObject
*
735 PySwigObject_oct(PySwigObject
*v
)
737 return PySwigObject_format("%o",v
);
740 SWIGRUNTIME PyObject
*
741 PySwigObject_hex(PySwigObject
*v
)
743 return PySwigObject_format("%x",v
);
747 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
749 int c
= strcmp(v
->desc
, w
->desc
);
751 return (c
> 0) ? 1 : -1;
755 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
760 PySwigObject_dealloc(PySwigObject
*self
)
765 SWIGRUNTIME PyTypeObject
*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__
[] =
768 "Swig object carries a C/C++ instance pointer";
770 static PyNumberMethods PySwigObject_as_number
= {
771 (binaryfunc
)0, /*nb_add*/
772 (binaryfunc
)0, /*nb_subtract*/
773 (binaryfunc
)0, /*nb_multiply*/
774 (binaryfunc
)0, /*nb_divide*/
775 (binaryfunc
)0, /*nb_remainder*/
776 (binaryfunc
)0, /*nb_divmod*/
777 (ternaryfunc
)0,/*nb_power*/
778 (unaryfunc
)0, /*nb_negative*/
779 (unaryfunc
)0, /*nb_positive*/
780 (unaryfunc
)0, /*nb_absolute*/
781 (inquiry
)0, /*nb_nonzero*/
788 (coercion
)0, /*nb_coerce*/
789 (unaryfunc
)PySwigObject_long
, /*nb_int*/
790 (unaryfunc
)PySwigObject_long
, /*nb_long*/
791 (unaryfunc
)0, /*nb_float*/
792 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
793 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
804 static int type_init
= 0;
809 PyObject_HEAD_INIT(&PyType_Type
)
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject
), /*tp_basicsize*/
815 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
816 (printfunc
)PySwigObject_print
, /*tp_print*/
817 (getattrfunc
)0, /*tp_getattr*/
818 (setattrfunc
)0, /*tp_setattr*/
819 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
820 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
821 &PySwigObject_as_number
, /*tp_as_number*/
822 0, /*tp_as_sequence*/
824 (hashfunc
)0, /*tp_hash*/
825 (ternaryfunc
)0, /*tp_call*/
826 (reprfunc
)PySwigObject_str
, /*tp_str*/
827 /* Space for future expansion */
829 pyswigobject_type__doc__
, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
841 #if PY_VERSION_HEX >= 0x02030000
845 0,0,0,0 /* tp_alloc -> tp_next */
848 #if !defined(__cplusplus)
849 pyswigobject_type
= tmp
;
853 return &pyswigobject_type
;
856 SWIGRUNTIME PyObject
*
857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
859 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
864 return (PyObject
*)self
;
867 SWIGRUNTIMEINLINE
void *
868 PySwigObject_AsVoidPtr(PyObject
*self
)
870 return ((PySwigObject
*)self
)->ptr
;
873 SWIGRUNTIMEINLINE
const char *
874 PySwigObject_GetDesc(PyObject
*self
)
876 return ((PySwigObject
*)self
)->desc
;
879 SWIGRUNTIMEINLINE
int
880 PySwigObject_Check(PyObject
*op
) {
881 return ((op
)->ob_type
== PySwigObject_type())
882 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
897 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
899 char result
[SWIG_BUFFER_SIZE
];
901 fputs("<Swig Packed ", fp
);
902 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
911 SWIGRUNTIME PyObject
*
912 PySwigPacked_repr(PySwigPacked
*v
)
914 char result
[SWIG_BUFFER_SIZE
];
915 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
918 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
922 SWIGRUNTIME PyObject
*
923 PySwigPacked_str(PySwigPacked
*v
)
925 char result
[SWIG_BUFFER_SIZE
];
926 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
927 return PyString_FromFormat("%s%s", result
, v
->desc
);
929 return PyString_FromString(v
->desc
);
934 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
936 int c
= strcmp(v
->desc
, w
->desc
);
938 return (c
> 0) ? 1 : -1;
942 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
943 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
948 PySwigPacked_dealloc(PySwigPacked
*self
)
954 SWIGRUNTIME PyTypeObject
*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__
[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
961 static int type_init
= 0;
966 PyObject_HEAD_INIT(&PyType_Type
)
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked
), /*tp_basicsize*/
972 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
973 (printfunc
)PySwigPacked_print
, /*tp_print*/
974 (getattrfunc
)0, /*tp_getattr*/
975 (setattrfunc
)0, /*tp_setattr*/
976 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
977 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
979 0, /*tp_as_sequence*/
981 (hashfunc
)0, /*tp_hash*/
982 (ternaryfunc
)0, /*tp_call*/
983 (reprfunc
)PySwigPacked_str
, /*tp_str*/
984 /* Space for future expansion */
986 pyswigpacked_type__doc__
, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
998 #if PY_VERSION_HEX >= 0x02030000
1002 0,0,0,0 /* tp_alloc -> tp_next */
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type
= tmp
;
1010 return &pyswigpacked_type
;
1013 SWIGRUNTIME PyObject
*
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1016 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1020 void *pack
= malloc(size
);
1022 memcpy(pack
, ptr
, size
);
1026 return (PyObject
*) self
;
1032 SWIGRUNTIMEINLINE
const char *
1033 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1035 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1036 if (self
->size
!= size
) return 0;
1037 memcpy(ptr
, self
->pack
, size
);
1041 SWIGRUNTIMEINLINE
const char *
1042 PySwigPacked_GetDesc(PyObject
*self
)
1044 return ((PySwigPacked
*)self
)->desc
;
1047 SWIGRUNTIMEINLINE
int
1048 PySwigPacked_Check(PyObject
*op
) {
1049 return ((op
)->ob_type
== PySwigPacked_type())
1050 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1072 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj
&& PySwigObject_Check(obj
)) {
1077 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1079 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1086 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1088 PyObject
*str
= PyObject_Str(obj
);
1089 const char *cstr
= str
? PyString_AsString(str
) : 0;
1091 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1094 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1101 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1103 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1107 SWIGRUNTIMEINLINE
void
1108 SWIG_Python_NullRef(const char *type
)
1111 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1113 PyErr_Format(PyExc_TypeError
, "null reference was received");
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1120 if (PyErr_Occurred()) {
1122 PyObject
*value
= 0;
1123 PyObject
*traceback
= 0;
1124 PyErr_Fetch(&type
, &value
, &traceback
);
1126 PyObject
*old_str
= PyObject_Str(value
);
1130 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1132 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1143 SWIG_Python_ArgFail(int argnum
)
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1148 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1149 return SWIG_Python_AddErrMesg(mesg
, 1);
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1160 /* Convert a pointer value */
1162 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1165 static PyObject
*SWIG_this
= 0;
1167 PyObject
*pyobj
= 0;
1171 if (obj
== Py_None
) {
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj
))) {
1179 SWIG_this
= PyString_FromString("this");
1181 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1183 if (!obj
) goto type_error
;
1184 if (!PySwigObject_Check(obj
)) {
1189 vptr
= PySwigObject_AsVoidPtr(obj
);
1190 c
= (const char *) PySwigObject_GetDesc(obj
);
1191 if (newref
) { Py_DECREF(obj
); }
1194 if (!(PyString_Check(obj
))) {
1196 SWIG_this
= PyString_FromString("this");
1198 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1200 if (!obj
) goto type_error
;
1201 if (!PyString_Check(obj
)) {
1206 c
= PyString_AsString(obj
);
1207 /* Pointer values must start with leading underscore */
1208 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1209 if (newref
) { Py_DECREF(obj
); }
1210 if (!c
) goto type_error
;
1215 tc
= SWIG_TypeCheck(c
,ty
);
1216 if (!tc
) goto type_error
;
1217 *ptr
= SWIG_TypeCast(tc
,vptr
);
1221 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1222 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1228 if (pyobj
&& !obj
) {
1230 if (PyCFunction_Check(obj
)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1233 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1235 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1236 if (!c
) goto type_error
;
1241 if (flags
& SWIG_POINTER_EXCEPTION
) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1245 SWIG_Python_TypeError("C/C++ pointer", obj
);
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1253 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1255 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1257 if (flags
& SWIG_POINTER_EXCEPTION
) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1259 SWIG_Python_ArgFail(argnum
);
1265 /* Convert a packed value value */
1267 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1274 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1275 c
= PyString_AsString(obj
);
1276 /* Pointer values must start with leading underscore */
1277 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1279 if (!c
) goto type_error
;
1281 tc
= SWIG_TypeCheck(c
,ty
);
1282 if (!tc
) goto type_error
;
1288 if (flags
& SWIG_POINTER_EXCEPTION
) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1292 SWIG_Python_TypeError("C/C++ packed data", obj
);
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject
*
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1316 char result
[SWIG_BUFFER_SIZE
];
1317 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1318 PyString_FromString(result
) : 0;
1321 if (!robj
|| (robj
== Py_None
)) return robj
;
1322 if (type
->clientdata
) {
1324 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1326 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1330 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1338 SWIGRUNTIME PyObject
*
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1349 char result
[SWIG_BUFFER_SIZE
];
1350 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1351 PyString_FromString(result
) : 0;
1357 /* -----------------------------------------------------------------------------*
1359 * -----------------------------------------------------------------------------*/
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1365 SWIGRUNTIME swig_module_info
*
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer
= (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer
) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1373 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1375 if (PyErr_Occurred()) {
1377 type_pointer
= (void *)0;
1381 return (swig_module_info
*) type_pointer
;
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1388 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1391 if (!PyModule_Check(m
)) {
1392 PyErr_SetString(PyExc_TypeError
,
1393 "PyModule_AddObject() needs module as first arg");
1397 PyErr_SetString(PyExc_TypeError
,
1398 "PyModule_AddObject() needs non-NULL value");
1402 dict
= PyModule_GetDict(m
);
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1406 PyModule_GetName(m
));
1409 if (PyDict_SetItemString(dict
, name
, o
))
1417 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1418 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1420 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1421 swig_empty_runtime_method_table
);
1422 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1423 if (pointer
&& module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_form_ops_t swig_types[1]
1437 #define SWIGTYPE_p_int swig_types[2]
1438 #define SWIGTYPE_p_long swig_types[3]
1439 #define SWIGTYPE_p_unsigned_char swig_types[4]
1440 #define SWIGTYPE_p_unsigned_int swig_types[5]
1441 #define SWIGTYPE_p_unsigned_long swig_types[6]
1442 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1443 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1444 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1445 #define SWIGTYPE_p_wxArrayString swig_types[10]
1446 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
1447 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1448 #define SWIGTYPE_p_wxCURHandler swig_types[13]
1449 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1450 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1451 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1452 #define SWIGTYPE_p_wxColour swig_types[17]
1453 #define SWIGTYPE_p_wxColourData swig_types[18]
1454 #define SWIGTYPE_p_wxColourDialog swig_types[19]
1455 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1456 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1457 #define SWIGTYPE_p_wxControl swig_types[22]
1458 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
1459 #define SWIGTYPE_p_wxDC swig_types[24]
1460 #define SWIGTYPE_p_wxDateEvent swig_types[25]
1461 #define SWIGTYPE_p_wxDialog swig_types[26]
1462 #define SWIGTYPE_p_wxDirDialog swig_types[27]
1463 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1464 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1465 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
1466 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
1467 #define SWIGTYPE_p_wxEvent swig_types[32]
1468 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
1469 #define SWIGTYPE_p_wxFSFile swig_types[34]
1470 #define SWIGTYPE_p_wxFileDialog swig_types[35]
1471 #define SWIGTYPE_p_wxFileSystem swig_types[36]
1472 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1473 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1474 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1475 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1476 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
1477 #define SWIGTYPE_p_wxFont swig_types[42]
1478 #define SWIGTYPE_p_wxFontData swig_types[43]
1479 #define SWIGTYPE_p_wxFontDialog swig_types[44]
1480 #define SWIGTYPE_p_wxFrame swig_types[45]
1481 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1482 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
1483 #define SWIGTYPE_p_wxGrid swig_types[48]
1484 #define SWIGTYPE_p_wxGridBagSizer swig_types[49]
1485 #define SWIGTYPE_p_wxGridCellAttr swig_types[50]
1486 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[51]
1487 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[52]
1488 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[53]
1489 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[54]
1490 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[55]
1491 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[56]
1492 #define SWIGTYPE_p_wxGridCellCoords swig_types[57]
1493 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[58]
1494 #define SWIGTYPE_p_wxGridCellEditor swig_types[59]
1495 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[60]
1496 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[61]
1497 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[62]
1498 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[63]
1499 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[64]
1500 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[65]
1501 #define SWIGTYPE_p_wxGridCellRenderer swig_types[66]
1502 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[67]
1503 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[68]
1504 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[69]
1505 #define SWIGTYPE_p_wxGridEvent swig_types[70]
1506 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[71]
1507 #define SWIGTYPE_p_wxGridSizeEvent swig_types[72]
1508 #define SWIGTYPE_p_wxGridSizer swig_types[73]
1509 #define SWIGTYPE_p_wxGridStringTable swig_types[74]
1510 #define SWIGTYPE_p_wxGridTableBase swig_types[75]
1511 #define SWIGTYPE_p_wxGridTableMessage swig_types[76]
1512 #define SWIGTYPE_p_wxICOHandler swig_types[77]
1513 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
1514 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
1515 #define SWIGTYPE_p_wxImage swig_types[80]
1516 #define SWIGTYPE_p_wxImageHandler swig_types[81]
1517 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
1518 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
1519 #define SWIGTYPE_p_wxJPEGHandler swig_types[84]
1520 #define SWIGTYPE_p_wxKeyEvent swig_types[85]
1521 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[86]
1522 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
1523 #define SWIGTYPE_p_wxMDIChildFrame swig_types[88]
1524 #define SWIGTYPE_p_wxMDIClientWindow swig_types[89]
1525 #define SWIGTYPE_p_wxMDIParentFrame swig_types[90]
1526 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
1527 #define SWIGTYPE_p_wxMenu swig_types[92]
1528 #define SWIGTYPE_p_wxMenuBar swig_types[93]
1529 #define SWIGTYPE_p_wxMenuEvent swig_types[94]
1530 #define SWIGTYPE_p_wxMenuItem swig_types[95]
1531 #define SWIGTYPE_p_wxMessageDialog swig_types[96]
1532 #define SWIGTYPE_p_wxMiniFrame swig_types[97]
1533 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[98]
1534 #define SWIGTYPE_p_wxMouseEvent swig_types[99]
1535 #define SWIGTYPE_p_wxMoveEvent swig_types[100]
1536 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[101]
1537 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
1538 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
1539 #define SWIGTYPE_p_wxNotifyEvent swig_types[104]
1540 #define SWIGTYPE_p_wxObject swig_types[105]
1541 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
1542 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
1543 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
1544 #define SWIGTYPE_p_wxPageSetupDialog swig_types[109]
1545 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[110]
1546 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
1547 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
1548 #define SWIGTYPE_p_wxPanel swig_types[113]
1549 #define SWIGTYPE_p_wxPaperSize swig_types[114]
1550 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[115]
1551 #define SWIGTYPE_p_wxPoint swig_types[116]
1552 #define SWIGTYPE_p_wxPopupWindow swig_types[117]
1553 #define SWIGTYPE_p_wxPreviewCanvas swig_types[118]
1554 #define SWIGTYPE_p_wxPreviewControlBar swig_types[119]
1555 #define SWIGTYPE_p_wxPreviewFrame swig_types[120]
1556 #define SWIGTYPE_p_wxPrintData swig_types[121]
1557 #define SWIGTYPE_p_wxPrintDialog swig_types[122]
1558 #define SWIGTYPE_p_wxPrintDialogData swig_types[123]
1559 #define SWIGTYPE_p_wxPrintPreview swig_types[124]
1560 #define SWIGTYPE_p_wxPrinter swig_types[125]
1561 #define SWIGTYPE_p_wxProgressDialog swig_types[126]
1562 #define SWIGTYPE_p_wxPyApp swig_types[127]
1563 #define SWIGTYPE_p_wxPyCommandEvent swig_types[128]
1564 #define SWIGTYPE_p_wxPyEvent swig_types[129]
1565 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[130]
1566 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[131]
1567 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[132]
1568 #define SWIGTYPE_p_wxPyGridTableBase swig_types[133]
1569 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[134]
1570 #define SWIGTYPE_p_wxPyImageHandler swig_types[135]
1571 #define SWIGTYPE_p_wxPyPanel swig_types[136]
1572 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[137]
1573 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[138]
1574 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[139]
1575 #define SWIGTYPE_p_wxPyPrintPreview swig_types[140]
1576 #define SWIGTYPE_p_wxPyPrintout swig_types[141]
1577 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[142]
1578 #define SWIGTYPE_p_wxPySizer swig_types[143]
1579 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[144]
1580 #define SWIGTYPE_p_wxPyVListBox swig_types[145]
1581 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[146]
1582 #define SWIGTYPE_p_wxPyValidator swig_types[147]
1583 #define SWIGTYPE_p_wxPyWindow swig_types[148]
1584 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[149]
1585 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[150]
1586 #define SWIGTYPE_p_wxRect swig_types[151]
1587 #define SWIGTYPE_p_wxSashEvent swig_types[152]
1588 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[153]
1589 #define SWIGTYPE_p_wxSashWindow swig_types[154]
1590 #define SWIGTYPE_p_wxScrollEvent swig_types[155]
1591 #define SWIGTYPE_p_wxScrollWinEvent swig_types[156]
1592 #define SWIGTYPE_p_wxScrolledWindow swig_types[157]
1593 #define SWIGTYPE_p_wxSetCursorEvent swig_types[158]
1594 #define SWIGTYPE_p_wxShowEvent swig_types[159]
1595 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[160]
1596 #define SWIGTYPE_p_wxSize swig_types[161]
1597 #define SWIGTYPE_p_wxSizeEvent swig_types[162]
1598 #define SWIGTYPE_p_wxSizer swig_types[163]
1599 #define SWIGTYPE_p_wxSizerItem swig_types[164]
1600 #define SWIGTYPE_p_wxSplashScreen swig_types[165]
1601 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[166]
1602 #define SWIGTYPE_p_wxSplitterEvent swig_types[167]
1603 #define SWIGTYPE_p_wxSplitterWindow swig_types[168]
1604 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[169]
1605 #define SWIGTYPE_p_wxStatusBar swig_types[170]
1606 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[171]
1607 #define SWIGTYPE_p_wxString swig_types[172]
1608 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[173]
1609 #define SWIGTYPE_p_wxTIFFHandler swig_types[174]
1610 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[175]
1611 #define SWIGTYPE_p_wxTextEntryDialog swig_types[176]
1612 #define SWIGTYPE_p_wxTipWindow swig_types[177]
1613 #define SWIGTYPE_p_wxTopLevelWindow swig_types[178]
1614 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[179]
1615 #define SWIGTYPE_p_wxValidator swig_types[180]
1616 #define SWIGTYPE_p_wxVisualAttributes swig_types[181]
1617 #define SWIGTYPE_p_wxWindow swig_types[182]
1618 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[183]
1619 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[184]
1620 #define SWIGTYPE_p_wxXPMHandler swig_types[185]
1621 #define SWIGTYPE_ptrdiff_t swig_types[186]
1622 #define SWIGTYPE_std__ptrdiff_t swig_types[187]
1623 #define SWIGTYPE_unsigned_int swig_types[188]
1624 static swig_type_info
*swig_types
[190];
1625 static swig_module_info swig_module
= {swig_types
, 189, 0, 0, 0, 0};
1626 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1627 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1629 /* -------- TYPES TABLE (END) -------- */
1632 /*-----------------------------------------------
1633 @(target):= _grid.so
1634 ------------------------------------------------*/
1635 #define SWIG_init init_grid
1637 #define SWIG_name "_grid"
1639 #include "wx/wxPython/wxPython.h"
1640 #include "wx/wxPython/pyclasses.h"
1641 #include "wx/wxPython/printfw.h"
1643 #include <wx/grid.h>
1644 #include <wx/generic/gridctrl.h>
1647 static const wxString
wxPyEmptyString(wxEmptyString
);
1648 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1649 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
1652 #define wxPyMake_TEMPLATE(TYPE) \
1653 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
1654 PyObject* target = NULL; \
1656 /* Check if there is already a pointer to a Python object in the \
1657 OOR data that we can use. */ \
1658 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
1660 target = data->m_obj; \
1662 Py_INCREF(target); \
1664 /* Otherwise make a new wrapper for it the old fashioned way and \
1665 give it the OOR treatment */ \
1667 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
1669 source->SetClientObject(new wxPyOORClientData(target)); \
1671 } else { /* source was NULL so return None. */ \
1672 Py_INCREF(Py_None); target = Py_None; \
1678 wxPyMake_TEMPLATE(wxGridCellRenderer)
1679 wxPyMake_TEMPLATE(wxGridCellEditor
)
1680 wxPyMake_TEMPLATE(wxGridCellAttr
)
1681 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
1682 wxPyMake_TEMPLATE(wxGridTableBase
)
1686 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
1687 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
1688 wxGridCellAttr* rval = NULL; \
1690 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1691 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1693 wxGridCellAttr* ptr; \
1694 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
1696 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
1701 wxPyEndBlockThreads(blocked); \
1703 rval = PCLASS::CBNAME(a, b, c); \
1706 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
1707 return PCLASS::CBNAME(a, b, c); \
1712 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
1713 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
1714 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1716 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1717 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
1718 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
1721 wxPyEndBlockThreads(blocked); \
1723 PCLASS::CBNAME(attr, a, b); \
1725 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
1726 PCLASS::CBNAME(attr, a, b); \
1731 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
1732 void CBNAME(wxGridCellAttr *attr, int val) { \
1733 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1735 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1736 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
1737 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
1740 wxPyEndBlockThreads(blocked); \
1742 PCLASS::CBNAME(attr, val); \
1744 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
1745 PCLASS::CBNAME(attr, val); \
1750 #define PYCALLBACK_INT__pure(CBNAME) \
1752 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1754 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
1755 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1756 wxPyEndBlockThreads(blocked); \
1762 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
1763 bool CBNAME(int a, int b) { \
1764 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1766 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
1767 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
1768 wxPyEndBlockThreads(blocked); \
1773 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
1774 wxString CBNAME(int a, int b) { \
1775 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1777 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
1779 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1781 rval = Py2wxString(ro); \
1785 wxPyEndBlockThreads(blocked); \
1790 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
1791 void CBNAME(int a, int b, const wxString& c) { \
1792 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1793 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
1794 PyObject* s = wx2PyString(c); \
1795 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
1798 wxPyEndBlockThreads(blocked); \
1802 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
1803 wxString CBNAME(int a, int b) { \
1805 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1807 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1809 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1811 rval = Py2wxString(ro); \
1815 wxPyEndBlockThreads(blocked); \
1817 rval = PCLASS::CBNAME(a, b); \
1820 wxString base_##CBNAME(int a, int b) { \
1821 return PCLASS::CBNAME(a, b); \
1825 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
1826 bool CBNAME(int a, int b, const wxString& c) { \
1829 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1830 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1831 PyObject* s = wx2PyString(c); \
1832 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
1835 wxPyEndBlockThreads(blocked); \
1837 rval = PCLASS::CBNAME(a,b,c); \
1840 bool base_##CBNAME(int a, int b, const wxString& c) { \
1841 return PCLASS::CBNAME(a,b,c); \
1847 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
1848 long CBNAME(int a, int b) { \
1851 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1852 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1853 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1854 wxPyEndBlockThreads(blocked); \
1856 rval = PCLASS::CBNAME(a,b); \
1859 long base_##CBNAME(int a, int b) { \
1860 return PCLASS::CBNAME(a,b); \
1865 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
1866 bool CBNAME(int a, int b) { \
1869 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1870 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1871 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1872 wxPyEndBlockThreads(blocked); \
1874 rval = PCLASS::CBNAME(a,b); \
1877 bool base_##CBNAME(int a, int b) { \
1878 return PCLASS::CBNAME(a,b); \
1883 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
1884 double CBNAME(int a, int b) { \
1886 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1888 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1890 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1892 PyObject* str = PyObject_Str(ro); \
1893 rval = PyFloat_AsDouble(str); \
1894 Py_DECREF(ro); Py_DECREF(str); \
1897 wxPyEndBlockThreads(blocked); \
1899 rval = PCLASS::CBNAME(a, b); \
1902 double base_##CBNAME(int a, int b) { \
1903 return PCLASS::CBNAME(a, b); \
1908 #define PYCALLBACK__(PCLASS, CBNAME) \
1911 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1912 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1913 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1914 wxPyEndBlockThreads(blocked); \
1918 void base_##CBNAME() { \
1925 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
1926 bool CBNAME(size_t a, size_t b) { \
1929 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1930 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1931 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1932 wxPyEndBlockThreads(blocked); \
1934 rval = PCLASS::CBNAME(a,b); \
1937 bool base_##CBNAME(size_t a, size_t b) { \
1938 return PCLASS::CBNAME(a,b); \
1943 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
1944 bool CBNAME(size_t a) { \
1947 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1948 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1949 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
1950 wxPyEndBlockThreads(blocked); \
1952 rval = PCLASS::CBNAME(a); \
1955 bool base_##CBNAME(size_t a) { \
1956 return PCLASS::CBNAME(a); \
1960 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
1961 wxString CBNAME(int a) { \
1963 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1965 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1967 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
1969 rval = Py2wxString(ro); \
1973 wxPyEndBlockThreads(blocked); \
1975 rval = PCLASS::CBNAME(a); \
1978 wxString base_##CBNAME(int a) { \
1979 return PCLASS::CBNAME(a); \
1983 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
1984 void CBNAME(int a, const wxString& c) { \
1986 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1987 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1988 PyObject* s = wx2PyString(c); \
1989 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
1992 wxPyEndBlockThreads(blocked); \
1994 PCLASS::CBNAME(a,c); \
1996 void base_##CBNAME(int a, const wxString& c) { \
1997 PCLASS::CBNAME(a,c); \
2003 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
2007 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2008 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2009 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
2010 wxPyEndBlockThreads(blocked); \
2012 rval = PCLASS::CBNAME(); \
2015 bool base_##CBNAME() { \
2016 return PCLASS::CBNAME(); \
2021 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
2022 void CBNAME(size_t a, int b) { \
2024 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2025 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2026 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
2027 wxPyEndBlockThreads(blocked); \
2029 PCLASS::CBNAME(a,b); \
2031 void base_##CBNAME(size_t a, int b) { \
2032 PCLASS::CBNAME(a,b); \
2038 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
2039 void CBNAME(int a, int b, long c) { \
2041 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2042 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2043 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
2044 wxPyEndBlockThreads(blocked); \
2046 PCLASS::CBNAME(a,b,c); \
2048 void base_##CBNAME(int a, int b, long c) { \
2049 PCLASS::CBNAME(a,b,c); \
2055 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
2056 void CBNAME(int a, int b, double c) { \
2058 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2059 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2060 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
2061 wxPyEndBlockThreads(blocked); \
2063 PCLASS::CBNAME(a,b,c); \
2065 void base_##CBNAME(int a, int b, double c) { \
2066 PCLASS::CBNAME(a,b,c); \
2071 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
2072 void CBNAME(int a, int b, bool c) { \
2074 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2075 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2076 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
2077 wxPyEndBlockThreads(blocked); \
2079 PCLASS::CBNAME(a,b,c); \
2081 void base_##CBNAME(int a, int b, bool c) { \
2082 PCLASS::CBNAME(a,b,c); \
2090 SWIGINTERN PyObject
*
2091 SWIG_FromCharPtr(const char* cptr
)
2094 size_t size
= strlen(cptr
);
2095 if (size
> INT_MAX
) {
2096 return SWIG_NewPointerObj(const_cast<char* >(cptr
),
2097 SWIG_TypeQuery("char *"), 0);
2100 return PyString_FromStringAndSize(cptr
, size
);
2102 return PyString_FromString(cptr
);
2111 #define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
2112 #define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
2113 #define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
2114 #define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
2115 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
2116 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
2117 #define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
2118 #define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
2119 #define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
2120 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
2123 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2124 #define SWIG_From_int PyInt_FromLong
2127 static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
2128 if (!self
->GetClientObject())
2129 self
->SetClientObject(new wxPyOORClientData(_self
));
2136 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
2139 if (value
< min_value
) {
2141 PyErr_Format(PyExc_OverflowError
,
2142 "value %ld is less than '%s' minimum %ld",
2143 value
, errmsg
, min_value
);
2146 } else if (value
> max_value
) {
2148 PyErr_Format(PyExc_OverflowError
,
2149 "value %ld is greater than '%s' maximum %ld",
2150 value
, errmsg
, max_value
);
2159 SWIG_AsVal_long(PyObject
* obj
, long* val
)
2161 if (PyNumber_Check(obj
)) {
2162 if (val
) *val
= PyInt_AsLong(obj
);
2166 SWIG_Python_TypeError("number", obj
);
2172 #if INT_MAX != LONG_MAX
2174 SWIG_AsVal_int(PyObject
*obj
, int *val
)
2176 const char* errmsg
= val
? "int" : (char*)0;
2178 if (SWIG_AsVal_long(obj
, &v
)) {
2179 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
2180 if (val
) *val
= static_cast<int >(v
);
2189 SWIG_type_error(errmsg
, obj
);
2194 SWIGINTERNINLINE
int
2195 SWIG_AsVal_int(PyObject
*obj
, int *val
)
2197 return SWIG_AsVal_long(obj
,(long*)val
);
2202 SWIGINTERNINLINE
int
2203 SWIG_As_int(PyObject
* obj
)
2206 if (!SWIG_AsVal_int(obj
, &v
)) {
2208 this is needed to make valgrind/purify happier.
2210 memset((void*)&v
, 0, sizeof(int));
2217 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2219 if (obj
== Py_True
) {
2220 if (val
) *val
= true;
2223 if (obj
== Py_False
) {
2224 if (val
) *val
= false;
2228 if (SWIG_AsVal_int(obj
, &res
)) {
2229 if (val
) *val
= res
? true : false;
2235 SWIG_type_error("bool", obj
);
2241 SWIGINTERNINLINE
bool
2242 SWIG_As_bool(PyObject
* obj
)
2245 if (!SWIG_AsVal_bool(obj
, &v
)) {
2247 this is needed to make valgrind/purify happier.
2249 memset((void*)&v
, 0, sizeof(bool));
2255 SWIGINTERNINLINE
int
2256 SWIG_Check_int(PyObject
* obj
)
2258 return SWIG_AsVal_int(obj
, (int*)0);
2262 SWIGINTERNINLINE
int
2263 SWIG_Check_bool(PyObject
* obj
)
2265 return SWIG_AsVal_bool(obj
, (bool*)0);
2269 class wxPyGridCellRenderer
: public wxGridCellRenderer
2272 wxPyGridCellRenderer() : wxGridCellRenderer() {};
2274 // Implement Python callback aware virtual methods
2275 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
2276 wxDC
& dc
, const wxRect
& rect
,
2277 int row
, int col
, bool isSelected
) {
2278 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2279 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
2280 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
2281 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
2282 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
2283 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
2285 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
2286 row
, col
, isSelected
));
2292 wxPyEndBlockThreads(blocked
);
2295 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
2298 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2299 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
2302 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
2303 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
2304 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
2306 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
2314 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
2315 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
2318 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
2319 PyObject
* o1
= PySequence_GetItem(ro
, 0);
2320 PyObject
* o2
= PySequence_GetItem(ro
, 1);
2321 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
2322 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
2324 PyErr_SetString(PyExc_TypeError
, errmsg
);
2329 PyErr_SetString(PyExc_TypeError
, errmsg
);
2334 wxPyEndBlockThreads(blocked
);
2339 wxGridCellRenderer
*Clone() const {
2340 wxGridCellRenderer
* rval
= NULL
;
2341 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2342 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
2344 wxGridCellRenderer
* ptr
;
2345 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2347 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
2352 wxPyEndBlockThreads(blocked
);
2356 DEC_PYCALLBACK__STRING(SetParameters
);
2361 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
2364 static void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
2365 if (!self
->GetClientObject())
2366 self
->SetClientObject(new wxPyOORClientData(_self
));
2369 class wxPyGridCellEditor
: public wxGridCellEditor
2372 wxPyGridCellEditor() : wxGridCellEditor() {}
2374 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
2375 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2376 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
2377 PyObject
* po
= wxPyMake_wxObject(parent
,false);
2378 PyObject
* eo
= wxPyMake_wxObject(evtHandler
,false);
2380 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
2384 wxPyEndBlockThreads(blocked
);
2388 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
2389 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2390 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
2391 PyObject
* go
= wxPyMake_wxObject(grid
,false);
2392 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
2395 wxPyEndBlockThreads(blocked
);
2399 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
2401 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2402 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
2403 PyObject
* go
= wxPyMake_wxObject(grid
,false);
2404 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
2407 wxPyEndBlockThreads(blocked
);
2412 wxGridCellEditor
* Clone() const {
2413 wxGridCellEditor
* rval
= NULL
;
2414 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2415 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
2417 wxGridCellEditor
* ptr
;
2418 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2420 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
2425 wxPyEndBlockThreads(blocked
);
2430 void Show(bool show
, wxGridCellAttr
*attr
) {
2432 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2433 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
2434 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
2435 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
2438 wxPyEndBlockThreads(blocked
);
2440 wxGridCellEditor::Show(show
, attr
);
2442 void base_Show(bool show
, wxGridCellAttr
*attr
) {
2443 wxGridCellEditor::Show(show
, attr
);
2447 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
2449 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2450 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
2451 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
2452 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
2454 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
2459 wxPyEndBlockThreads(blocked
);
2461 wxGridCellEditor::PaintBackground(rectCell
, attr
);
2463 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
2464 wxGridCellEditor::PaintBackground(rectCell
, attr
);
2468 DEC_PYCALLBACK___pure(Reset
);
2469 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
2470 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
2471 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
2472 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
2473 DEC_PYCALLBACK__(StartingClick
);
2474 DEC_PYCALLBACK__(Destroy
);
2475 DEC_PYCALLBACK__STRING(SetParameters
);
2476 DEC_PYCALLBACK_STRING__constpure(GetValue
);
2482 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
2483 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
2484 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
2485 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
2486 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
2487 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
2488 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
2489 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
2490 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
2493 static void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
2494 if (!self
->GetClientObject())
2495 self
->SetClientObject(new wxPyOORClientData(_self
));
2498 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
2504 } else if (result
== Py_None
) {
2508 if (!PyTuple_Check(result
)) {
2510 result
= PyTuple_New(1);
2511 PyTuple_SET_ITEM(result
, 0, o2
);
2513 o3
= PyTuple_New(1);
2514 PyTuple_SetItem(o3
, 0, obj
);
2516 result
= PySequence_Concat(o2
, o3
);
2524 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
2525 if (!self
->GetClientObject())
2526 self
->SetClientObject(new wxPyOORClientData(_self
));
2530 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2533 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2534 SWIG_Python_TypeError("unsigned number", obj
);
2537 *val
= (unsigned long)v
;
2542 SWIGINTERNINLINE
unsigned long
2543 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2546 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2548 this is needed to make valgrind/purify happier.
2550 memset((void*)&v
, 0, sizeof(unsigned long));
2556 SWIGINTERNINLINE
int
2557 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2559 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2563 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
2566 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
2568 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
2569 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
2570 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
2571 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
2576 static void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
2577 if (!self
->GetClientObject())
2578 self
->SetClientObject(new wxPyOORClientData(_self
));
2581 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2582 #define SWIG_From_long PyInt_FromLong
2586 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2587 #define SWIG_From_double PyFloat_FromDouble
2591 SWIGINTERNINLINE
long
2592 SWIG_As_long(PyObject
* obj
)
2595 if (!SWIG_AsVal_long(obj
, &v
)) {
2597 this is needed to make valgrind/purify happier.
2599 memset((void*)&v
, 0, sizeof(long));
2605 SWIGINTERNINLINE
int
2606 SWIG_Check_long(PyObject
* obj
)
2608 return SWIG_AsVal_long(obj
, (long*)0);
2613 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2615 if (PyNumber_Check(obj
)) {
2616 if (val
) *val
= PyFloat_AsDouble(obj
);
2620 SWIG_Python_TypeError("number", obj
);
2626 SWIGINTERNINLINE
double
2627 SWIG_As_double(PyObject
* obj
)
2630 if (!SWIG_AsVal_double(obj
, &v
)) {
2632 this is needed to make valgrind/purify happier.
2634 memset((void*)&v
, 0, sizeof(double));
2640 SWIGINTERNINLINE
int
2641 SWIG_Check_double(PyObject
* obj
)
2643 return SWIG_AsVal_double(obj
, (double*)0);
2647 class wxPyGridTableBase
: public wxGridTableBase
2650 wxPyGridTableBase() : wxGridTableBase() {}
2652 PYCALLBACK_INT__pure(GetNumberRows
);
2653 PYCALLBACK_INT__pure(GetNumberCols
);
2654 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
2655 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
2656 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
2657 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
2658 PYCALLBACK__(wxGridTableBase
, Clear
);
2659 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
2660 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
2661 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
2662 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
2663 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
2664 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
2665 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
2666 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
2667 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
2668 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
2669 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
2670 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
2671 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
2672 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
2673 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
2676 wxString
GetValue(int row
, int col
) {
2677 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2679 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2681 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
2683 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
2685 ro
= PyObject_Str(ro
);
2688 rval
= Py2wxString(ro
);
2692 wxPyEndBlockThreads(blocked
);
2696 void SetValue(int row
, int col
, const wxString
& val
) {
2697 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2698 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2699 PyObject
* s
= wx2PyString(val
);
2700 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
2703 wxPyEndBlockThreads(blocked
);
2707 // Map the Get/Set methods for the standard non-string types to
2708 // the GetValue and SetValue python methods.
2709 long GetValueAsLong( int row
, int col
) {
2711 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2712 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2715 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
2716 if (ro
&& PyNumber_Check(ro
)) {
2717 num
= PyNumber_Int(ro
);
2719 rval
= PyInt_AsLong(num
);
2725 wxPyEndBlockThreads(blocked
);
2729 double GetValueAsDouble( int row
, int col
) {
2731 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2732 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2735 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
2736 if (ro
&& PyNumber_Check(ro
)) {
2737 num
= PyNumber_Float(ro
);
2739 rval
= PyFloat_AsDouble(num
);
2745 wxPyEndBlockThreads(blocked
);
2749 bool GetValueAsBool( int row
, int col
) {
2750 return (bool)GetValueAsLong(row
, col
);
2753 void SetValueAsLong( int row
, int col
, long value
) {
2754 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2755 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2756 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
2758 wxPyEndBlockThreads(blocked
);
2761 void SetValueAsDouble( int row
, int col
, double value
) {
2762 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2763 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2764 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
2766 wxPyEndBlockThreads(blocked
);
2769 void SetValueAsBool( int row
, int col
, bool value
) {
2770 SetValueAsLong( row
, col
, (long)value
);
2777 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
2779 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
2781 if (source
== Py_None
) {
2782 **obj
= wxGridCellCoords(-1,-1);
2786 // If source is an object instance then it may already be the right type
2787 if (wxPySwigInstance_Check(source
)) {
2788 wxGridCellCoords
* ptr
;
2789 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
2794 // otherwise a 2-tuple of integers is expected
2795 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
2796 PyObject
* o1
= PySequence_GetItem(source
, 0);
2797 PyObject
* o2
= PySequence_GetItem(source
, 1);
2798 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
2803 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
2810 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
2815 bool wxGridCellCoords_typecheck(PyObject
* source
) {
2818 if (wxPySwigInstance_Check(source
) &&
2819 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
2823 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
2830 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
2832 PyObject
* list
= PyList_New(0);
2834 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
2835 wxGridCellCoords
& coord
= source
.Item(idx
);
2836 PyObject
* tup
= PyTuple_New(2);
2837 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
2838 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
2839 PyList_Append(list
, tup
);
2845 static PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
2846 PyObject
* tup
= PyTuple_New(2);
2847 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2848 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2852 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
2855 static wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
2856 wxGridCellCoords rv
;
2857 self
->XYToCell(x
, y
, rv
);
2863 static int _wrap_GridNoCellCoords_set(PyObject
*) {
2864 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
2869 static PyObject
*_wrap_GridNoCellCoords_get(void) {
2870 PyObject
*pyobj
= NULL
;
2872 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0);
2877 static int _wrap_GridNoCellRect_set(PyObject
*) {
2878 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
2883 static PyObject
*_wrap_GridNoCellRect_get(void) {
2884 PyObject
*pyobj
= NULL
;
2886 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0);
2891 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
*resultobj
= NULL
;
2893 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2894 PyObject
*arg2
= (PyObject
*) 0 ;
2895 PyObject
* obj0
= 0 ;
2896 PyObject
* obj1
= 0 ;
2898 (char *) "self",(char *) "_self", NULL
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2903 if (SWIG_arg_fail(1)) SWIG_fail
;
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2912 Py_INCREF(Py_None
); resultobj
= Py_None
;
2919 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
= NULL
;
2921 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2922 wxString
*arg2
= 0 ;
2923 bool temp2
= false ;
2924 PyObject
* obj0
= 0 ;
2925 PyObject
* obj1
= 0 ;
2927 (char *) "self",(char *) "params", NULL
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2932 if (SWIG_arg_fail(1)) SWIG_fail
;
2934 arg2
= wxString_in_helper(obj1
);
2935 if (arg2
== NULL
) SWIG_fail
;
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 (arg1
)->SetParameters((wxString
const &)*arg2
);
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) SWIG_fail
;
2945 Py_INCREF(Py_None
); resultobj
= Py_None
;
2960 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
*resultobj
= NULL
;
2962 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2963 PyObject
* obj0
= 0 ;
2965 (char *) "self", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
2969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2970 if (SWIG_arg_fail(1)) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2978 Py_INCREF(Py_None
); resultobj
= Py_None
;
2985 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
*resultobj
= NULL
;
2987 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2988 PyObject
* obj0
= 0 ;
2990 (char *) "self", NULL
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
2994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2995 if (SWIG_arg_fail(1)) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 Py_INCREF(Py_None
); resultobj
= Py_None
;
3010 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
= NULL
;
3012 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3014 wxGridCellAttr
*arg3
= 0 ;
3021 PyObject
* obj0
= 0 ;
3022 PyObject
* obj1
= 0 ;
3023 PyObject
* obj2
= 0 ;
3024 PyObject
* obj3
= 0 ;
3025 PyObject
* obj4
= 0 ;
3026 PyObject
* obj5
= 0 ;
3027 PyObject
* obj6
= 0 ;
3028 PyObject
* obj7
= 0 ;
3030 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3035 if (SWIG_arg_fail(1)) SWIG_fail
;
3037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3038 if (SWIG_arg_fail(2)) SWIG_fail
;
3040 SWIG_null_ref("wxGrid");
3042 if (SWIG_arg_fail(2)) SWIG_fail
;
3045 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3046 if (SWIG_arg_fail(3)) SWIG_fail
;
3048 SWIG_null_ref("wxGridCellAttr");
3050 if (SWIG_arg_fail(3)) SWIG_fail
;
3053 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3054 if (SWIG_arg_fail(4)) SWIG_fail
;
3056 SWIG_null_ref("wxDC");
3058 if (SWIG_arg_fail(4)) SWIG_fail
;
3062 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
3065 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3066 if (SWIG_arg_fail(6)) SWIG_fail
;
3069 arg7
= static_cast<int >(SWIG_As_int(obj6
));
3070 if (SWIG_arg_fail(7)) SWIG_fail
;
3073 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
3074 if (SWIG_arg_fail(8)) SWIG_fail
;
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) SWIG_fail
;
3083 Py_INCREF(Py_None
); resultobj
= Py_None
;
3090 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
= NULL
;
3092 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3094 wxGridCellAttr
*arg3
= 0 ;
3099 PyObject
* obj0
= 0 ;
3100 PyObject
* obj1
= 0 ;
3101 PyObject
* obj2
= 0 ;
3102 PyObject
* obj3
= 0 ;
3103 PyObject
* obj4
= 0 ;
3104 PyObject
* obj5
= 0 ;
3106 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3111 if (SWIG_arg_fail(1)) SWIG_fail
;
3113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3114 if (SWIG_arg_fail(2)) SWIG_fail
;
3116 SWIG_null_ref("wxGrid");
3118 if (SWIG_arg_fail(2)) SWIG_fail
;
3121 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3122 if (SWIG_arg_fail(3)) SWIG_fail
;
3124 SWIG_null_ref("wxGridCellAttr");
3126 if (SWIG_arg_fail(3)) SWIG_fail
;
3129 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3130 if (SWIG_arg_fail(4)) SWIG_fail
;
3132 SWIG_null_ref("wxDC");
3134 if (SWIG_arg_fail(4)) SWIG_fail
;
3137 arg5
= static_cast<int >(SWIG_As_int(obj4
));
3138 if (SWIG_arg_fail(5)) SWIG_fail
;
3141 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3142 if (SWIG_arg_fail(6)) SWIG_fail
;
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3153 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
3154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3162 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
= NULL
;
3164 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3165 wxGridCellRenderer
*result
;
3166 PyObject
* obj0
= 0 ;
3168 (char *) "self", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
3172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3173 if (SWIG_arg_fail(1)) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3182 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
3190 static PyObject
* GridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
3192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3193 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
3195 return Py_BuildValue((char *)"");
3197 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
*resultobj
= NULL
;
3199 wxPyGridCellRenderer
*result
;
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1);
3219 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
= NULL
;
3221 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
3222 PyObject
*arg2
= (PyObject
*) 0 ;
3223 PyObject
*arg3
= (PyObject
*) 0 ;
3224 PyObject
* obj0
= 0 ;
3225 PyObject
* obj1
= 0 ;
3226 PyObject
* obj2
= 0 ;
3228 (char *) "self",(char *) "self",(char *) "_class", NULL
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3233 if (SWIG_arg_fail(1)) SWIG_fail
;
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3243 Py_INCREF(Py_None
); resultobj
= Py_None
;
3250 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
= NULL
;
3252 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
3253 wxString
*arg2
= 0 ;
3254 bool temp2
= false ;
3255 PyObject
* obj0
= 0 ;
3256 PyObject
* obj1
= 0 ;
3258 (char *) "self",(char *) "params", NULL
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3263 if (SWIG_arg_fail(1)) SWIG_fail
;
3265 arg2
= wxString_in_helper(obj1
);
3266 if (arg2
== NULL
) SWIG_fail
;
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3276 Py_INCREF(Py_None
); resultobj
= Py_None
;
3291 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
3293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3294 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
3296 return Py_BuildValue((char *)"");
3298 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
*resultobj
= NULL
;
3300 wxGridCellStringRenderer
*result
;
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) SWIG_fail
;
3313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1);
3320 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
3322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3323 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
3325 return Py_BuildValue((char *)"");
3327 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
= NULL
;
3329 wxGridCellNumberRenderer
*result
;
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
3349 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*, PyObject
*args
) {
3351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3352 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
3354 return Py_BuildValue((char *)"");
3356 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
= NULL
;
3358 int arg1
= (int) -1 ;
3359 int arg2
= (int) -1 ;
3360 wxGridCellFloatRenderer
*result
;
3361 PyObject
* obj0
= 0 ;
3362 PyObject
* obj1
= 0 ;
3364 (char *) "width",(char *) "precision", NULL
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3370 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3371 if (SWIG_arg_fail(1)) SWIG_fail
;
3376 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3377 if (SWIG_arg_fail(2)) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
3394 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
= NULL
;
3396 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3400 (char *) "self", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
3404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3405 if (SWIG_arg_fail(1)) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3414 resultobj
= SWIG_From_int(static_cast<int >(result
));
3422 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
= NULL
;
3424 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3429 (char *) "self",(char *) "width", NULL
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3434 if (SWIG_arg_fail(1)) SWIG_fail
;
3436 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3437 if (SWIG_arg_fail(2)) SWIG_fail
;
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3441 (arg1
)->SetWidth(arg2
);
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3446 Py_INCREF(Py_None
); resultobj
= Py_None
;
3453 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
*resultobj
= NULL
;
3455 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3457 PyObject
* obj0
= 0 ;
3459 (char *) "self", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
3463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3464 if (SWIG_arg_fail(1)) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3473 resultobj
= SWIG_From_int(static_cast<int >(result
));
3481 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
= NULL
;
3483 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3486 PyObject
* obj1
= 0 ;
3488 (char *) "self",(char *) "precision", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
3492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3493 if (SWIG_arg_fail(1)) SWIG_fail
;
3495 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3496 if (SWIG_arg_fail(2)) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 (arg1
)->SetPrecision(arg2
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 Py_INCREF(Py_None
); resultobj
= Py_None
;
3512 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*, PyObject
*args
) {
3514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3515 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
3517 return Py_BuildValue((char *)"");
3519 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
= NULL
;
3521 wxGridCellBoolRenderer
*result
;
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
3541 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*, PyObject
*args
) {
3543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3544 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
3546 return Py_BuildValue((char *)"");
3548 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
*resultobj
= NULL
;
3550 wxString arg1
= (wxString
) wxPyDefaultDateTimeFormat
;
3551 wxString arg2
= (wxString
) wxPyDefaultDateTimeFormat
;
3552 wxGridCellDateTimeRenderer
*result
;
3553 PyObject
* obj0
= 0 ;
3554 PyObject
* obj1
= 0 ;
3556 (char *) "outformat",(char *) "informat", NULL
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3562 wxString
* sptr
= wxString_in_helper(obj0
);
3563 if (sptr
== NULL
) SWIG_fail
;
3570 wxString
* sptr
= wxString_in_helper(obj1
);
3571 if (sptr
== NULL
) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
3590 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*, PyObject
*args
) {
3592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3593 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
3595 return Py_BuildValue((char *)"");
3597 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
= NULL
;
3599 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3600 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3601 wxGridCellEnumRenderer
*result
;
3602 bool temp1
= false ;
3603 PyObject
* obj0
= 0 ;
3605 (char *) "choices", NULL
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
3611 arg1
= wxString_in_helper(obj0
);
3612 if (arg1
== NULL
) SWIG_fail
;
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
3638 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*, PyObject
*args
) {
3640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3641 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
3643 return Py_BuildValue((char *)"");
3645 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
= NULL
;
3647 wxGridCellAutoWrapStringRenderer
*result
;
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
3667 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
3669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3670 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
3672 return Py_BuildValue((char *)"");
3674 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
*resultobj
= NULL
;
3676 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3677 PyObject
*arg2
= (PyObject
*) 0 ;
3678 PyObject
* obj0
= 0 ;
3679 PyObject
* obj1
= 0 ;
3681 (char *) "self",(char *) "_self", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3686 if (SWIG_arg_fail(1)) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 wxGridCellEditor__setOORInfo(arg1
,arg2
);
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3695 Py_INCREF(Py_None
); resultobj
= Py_None
;
3702 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
*resultobj
= NULL
;
3704 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3706 PyObject
* obj0
= 0 ;
3708 (char *) "self", NULL
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
3712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3713 if (SWIG_arg_fail(1)) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 result
= (bool)(arg1
)->IsCreated();
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3730 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
= NULL
;
3732 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3734 PyObject
* obj0
= 0 ;
3736 (char *) "self", NULL
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
3740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3741 if (SWIG_arg_fail(1)) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 result
= (wxControl
*)(arg1
)->GetControl();
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= wxPyMake_wxObject(result
, 0);
3758 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
= NULL
;
3760 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3761 wxControl
*arg2
= (wxControl
*) 0 ;
3762 PyObject
* obj0
= 0 ;
3763 PyObject
* obj1
= 0 ;
3765 (char *) "self",(char *) "control", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
3769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3770 if (SWIG_arg_fail(1)) SWIG_fail
;
3771 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
3772 if (SWIG_arg_fail(2)) SWIG_fail
;
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 (arg1
)->SetControl(arg2
);
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 Py_INCREF(Py_None
); resultobj
= Py_None
;
3787 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
= NULL
;
3789 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3790 wxGridCellAttr
*result
;
3791 PyObject
* obj0
= 0 ;
3793 (char *) "self", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
3797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3798 if (SWIG_arg_fail(1)) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
3815 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
= NULL
;
3817 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3818 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3819 PyObject
* obj0
= 0 ;
3820 PyObject
* obj1
= 0 ;
3822 (char *) "self",(char *) "attr", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
3826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3827 if (SWIG_arg_fail(1)) SWIG_fail
;
3828 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3829 if (SWIG_arg_fail(2)) SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3832 (arg1
)->SetCellAttr(arg2
);
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 Py_INCREF(Py_None
); resultobj
= Py_None
;
3844 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
= NULL
;
3846 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3847 wxString
*arg2
= 0 ;
3848 bool temp2
= false ;
3849 PyObject
* obj0
= 0 ;
3850 PyObject
* obj1
= 0 ;
3852 (char *) "self",(char *) "params", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3857 if (SWIG_arg_fail(1)) SWIG_fail
;
3859 arg2
= wxString_in_helper(obj1
);
3860 if (arg2
== NULL
) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 (arg1
)->SetParameters((wxString
const &)*arg2
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 Py_INCREF(Py_None
); resultobj
= Py_None
;
3885 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
= NULL
;
3887 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3888 PyObject
* obj0
= 0 ;
3890 (char *) "self", NULL
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
3894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3895 if (SWIG_arg_fail(1)) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 Py_INCREF(Py_None
); resultobj
= Py_None
;
3910 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
= NULL
;
3912 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3915 (char *) "self", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
3919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3920 if (SWIG_arg_fail(1)) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3928 Py_INCREF(Py_None
); resultobj
= Py_None
;
3935 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
= NULL
;
3937 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3938 wxWindow
*arg2
= (wxWindow
*) 0 ;
3940 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3943 PyObject
* obj2
= 0 ;
3944 PyObject
* obj3
= 0 ;
3946 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3951 if (SWIG_arg_fail(1)) SWIG_fail
;
3952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3953 if (SWIG_arg_fail(2)) SWIG_fail
;
3955 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3956 if (SWIG_arg_fail(3)) SWIG_fail
;
3958 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3959 if (SWIG_arg_fail(4)) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 (arg1
)->Create(arg2
,arg3
,arg4
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 Py_INCREF(Py_None
); resultobj
= Py_None
;
3974 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
= NULL
;
3976 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3979 wxGrid
*arg4
= (wxGrid
*) 0 ;
3980 PyObject
* obj0
= 0 ;
3981 PyObject
* obj1
= 0 ;
3982 PyObject
* obj2
= 0 ;
3983 PyObject
* obj3
= 0 ;
3985 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3990 if (SWIG_arg_fail(1)) SWIG_fail
;
3992 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3993 if (SWIG_arg_fail(2)) SWIG_fail
;
3996 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3997 if (SWIG_arg_fail(3)) SWIG_fail
;
3999 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
4000 if (SWIG_arg_fail(4)) SWIG_fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 Py_INCREF(Py_None
); resultobj
= Py_None
;
4015 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
= NULL
;
4017 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4020 wxGrid
*arg4
= (wxGrid
*) 0 ;
4022 PyObject
* obj0
= 0 ;
4023 PyObject
* obj1
= 0 ;
4024 PyObject
* obj2
= 0 ;
4025 PyObject
* obj3
= 0 ;
4027 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4032 if (SWIG_arg_fail(1)) SWIG_fail
;
4034 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4035 if (SWIG_arg_fail(2)) SWIG_fail
;
4038 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4039 if (SWIG_arg_fail(3)) SWIG_fail
;
4041 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
4042 if (SWIG_arg_fail(4)) SWIG_fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4059 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
= NULL
;
4061 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4062 PyObject
* obj0
= 0 ;
4064 (char *) "self", NULL
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
4068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4069 if (SWIG_arg_fail(1)) SWIG_fail
;
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4077 Py_INCREF(Py_None
); resultobj
= Py_None
;
4084 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
= NULL
;
4086 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4087 wxGridCellEditor
*result
;
4088 PyObject
* obj0
= 0 ;
4090 (char *) "self", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
4094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4095 if (SWIG_arg_fail(1)) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4104 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
4112 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
= NULL
;
4114 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4117 PyObject
* obj0
= 0 ;
4118 PyObject
* obj1
= 0 ;
4120 (char *) "self",(char *) "rect", NULL
4123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4125 if (SWIG_arg_fail(1)) SWIG_fail
;
4128 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 (arg1
)->SetSize((wxRect
const &)*arg2
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 Py_INCREF(Py_None
); resultobj
= Py_None
;
4144 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
= NULL
;
4146 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4148 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
4149 PyObject
* obj0
= 0 ;
4150 PyObject
* obj1
= 0 ;
4151 PyObject
* obj2
= 0 ;
4153 (char *) "self",(char *) "show",(char *) "attr", NULL
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4158 if (SWIG_arg_fail(1)) SWIG_fail
;
4160 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4161 if (SWIG_arg_fail(2)) SWIG_fail
;
4164 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4165 if (SWIG_arg_fail(3)) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 (arg1
)->Show(arg2
,arg3
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 Py_INCREF(Py_None
); resultobj
= Py_None
;
4181 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= NULL
;
4183 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4185 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
4187 PyObject
* obj0
= 0 ;
4188 PyObject
* obj1
= 0 ;
4189 PyObject
* obj2
= 0 ;
4191 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4196 if (SWIG_arg_fail(1)) SWIG_fail
;
4199 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4201 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4202 if (SWIG_arg_fail(3)) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 Py_INCREF(Py_None
); resultobj
= Py_None
;
4217 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
= NULL
;
4219 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4220 wxKeyEvent
*arg2
= 0 ;
4222 PyObject
* obj0
= 0 ;
4223 PyObject
* obj1
= 0 ;
4225 (char *) "self",(char *) "event", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4230 if (SWIG_arg_fail(1)) SWIG_fail
;
4232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4233 if (SWIG_arg_fail(2)) SWIG_fail
;
4235 SWIG_null_ref("wxKeyEvent");
4237 if (SWIG_arg_fail(2)) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4255 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
= NULL
;
4257 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4258 wxKeyEvent
*arg2
= 0 ;
4259 PyObject
* obj0
= 0 ;
4260 PyObject
* obj1
= 0 ;
4262 (char *) "self",(char *) "event", NULL
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4267 if (SWIG_arg_fail(1)) SWIG_fail
;
4269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4270 if (SWIG_arg_fail(2)) SWIG_fail
;
4272 SWIG_null_ref("wxKeyEvent");
4274 if (SWIG_arg_fail(2)) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 (arg1
)->StartingKey(*arg2
);
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 Py_INCREF(Py_None
); resultobj
= Py_None
;
4290 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
*resultobj
= NULL
;
4292 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4293 PyObject
* obj0
= 0 ;
4295 (char *) "self", NULL
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
4299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4300 if (SWIG_arg_fail(1)) SWIG_fail
;
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 (arg1
)->StartingClick();
4305 wxPyEndAllowThreads(__tstate
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4308 Py_INCREF(Py_None
); resultobj
= Py_None
;
4315 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
= NULL
;
4317 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4318 wxKeyEvent
*arg2
= 0 ;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4322 (char *) "self",(char *) "event", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
4326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4327 if (SWIG_arg_fail(1)) SWIG_fail
;
4329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4330 if (SWIG_arg_fail(2)) SWIG_fail
;
4332 SWIG_null_ref("wxKeyEvent");
4334 if (SWIG_arg_fail(2)) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 (arg1
)->HandleReturn(*arg2
);
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 Py_INCREF(Py_None
); resultobj
= Py_None
;
4350 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
= NULL
;
4352 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4355 (char *) "self", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
4359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4360 if (SWIG_arg_fail(1)) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 Py_INCREF(Py_None
); resultobj
= Py_None
;
4375 static PyObject
* GridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
4377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4378 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
4380 return Py_BuildValue((char *)"");
4382 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
= NULL
;
4384 wxPyGridCellEditor
*result
;
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1);
4404 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
= NULL
;
4406 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4407 PyObject
*arg2
= (PyObject
*) 0 ;
4408 PyObject
*arg3
= (PyObject
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4410 PyObject
* obj1
= 0 ;
4411 PyObject
* obj2
= 0 ;
4413 (char *) "self",(char *) "self",(char *) "_class", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4418 if (SWIG_arg_fail(1)) SWIG_fail
;
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 Py_INCREF(Py_None
); resultobj
= Py_None
;
4435 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
= NULL
;
4437 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4443 (char *) "self",(char *) "rect", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4448 if (SWIG_arg_fail(1)) SWIG_fail
;
4451 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4460 Py_INCREF(Py_None
); resultobj
= Py_None
;
4467 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
*resultobj
= NULL
;
4469 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4471 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
4472 PyObject
* obj0
= 0 ;
4473 PyObject
* obj1
= 0 ;
4474 PyObject
* obj2
= 0 ;
4476 (char *) "self",(char *) "show",(char *) "attr", NULL
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4481 if (SWIG_arg_fail(1)) SWIG_fail
;
4483 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4484 if (SWIG_arg_fail(2)) SWIG_fail
;
4487 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4488 if (SWIG_arg_fail(3)) SWIG_fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 (arg1
)->base_Show(arg2
,arg3
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4497 Py_INCREF(Py_None
); resultobj
= Py_None
;
4504 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
= NULL
;
4506 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4508 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
4510 PyObject
* obj0
= 0 ;
4511 PyObject
* obj1
= 0 ;
4512 PyObject
* obj2
= 0 ;
4514 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4519 if (SWIG_arg_fail(1)) SWIG_fail
;
4522 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4524 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4525 if (SWIG_arg_fail(3)) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 Py_INCREF(Py_None
); resultobj
= Py_None
;
4540 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
= NULL
;
4542 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4543 wxKeyEvent
*arg2
= 0 ;
4545 PyObject
* obj0
= 0 ;
4546 PyObject
* obj1
= 0 ;
4548 (char *) "self",(char *) "event", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4553 if (SWIG_arg_fail(1)) SWIG_fail
;
4555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4556 if (SWIG_arg_fail(2)) SWIG_fail
;
4558 SWIG_null_ref("wxKeyEvent");
4560 if (SWIG_arg_fail(2)) SWIG_fail
;
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4578 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
= NULL
;
4580 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4581 wxKeyEvent
*arg2
= 0 ;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4585 (char *) "self",(char *) "event", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4590 if (SWIG_arg_fail(1)) SWIG_fail
;
4592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4593 if (SWIG_arg_fail(2)) SWIG_fail
;
4595 SWIG_null_ref("wxKeyEvent");
4597 if (SWIG_arg_fail(2)) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 (arg1
)->base_StartingKey(*arg2
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4606 Py_INCREF(Py_None
); resultobj
= Py_None
;
4613 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
= NULL
;
4615 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4616 PyObject
* obj0
= 0 ;
4618 (char *) "self", NULL
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
4622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4623 if (SWIG_arg_fail(1)) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 (arg1
)->base_StartingClick();
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 Py_INCREF(Py_None
); resultobj
= Py_None
;
4638 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
= NULL
;
4640 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4641 wxKeyEvent
*arg2
= 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4645 (char *) "self",(char *) "event", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
4649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4650 if (SWIG_arg_fail(1)) SWIG_fail
;
4652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4653 if (SWIG_arg_fail(2)) SWIG_fail
;
4655 SWIG_null_ref("wxKeyEvent");
4657 if (SWIG_arg_fail(2)) SWIG_fail
;
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 (arg1
)->base_HandleReturn(*arg2
);
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4666 Py_INCREF(Py_None
); resultobj
= Py_None
;
4673 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
= NULL
;
4675 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4678 (char *) "self", NULL
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
4682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4683 if (SWIG_arg_fail(1)) SWIG_fail
;
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 (arg1
)->base_Destroy();
4688 wxPyEndAllowThreads(__tstate
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4691 Py_INCREF(Py_None
); resultobj
= Py_None
;
4698 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
*resultobj
= NULL
;
4700 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4701 wxString
*arg2
= 0 ;
4702 bool temp2
= false ;
4703 PyObject
* obj0
= 0 ;
4704 PyObject
* obj1
= 0 ;
4706 (char *) "self",(char *) "params", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
4710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4711 if (SWIG_arg_fail(1)) SWIG_fail
;
4713 arg2
= wxString_in_helper(obj1
);
4714 if (arg2
== NULL
) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 Py_INCREF(Py_None
); resultobj
= Py_None
;
4739 static PyObject
* PyGridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
4741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4742 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
4744 return Py_BuildValue((char *)"");
4746 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
= NULL
;
4748 wxGridCellTextEditor
*result
;
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1);
4768 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
= NULL
;
4770 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
4772 PyObject
* obj0
= 0 ;
4774 (char *) "self", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_EXCEPTION
| 0);
4779 if (SWIG_arg_fail(1)) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 result
= (arg1
)->GetValue();
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4800 static PyObject
* GridCellTextEditor_swigregister(PyObject
*, PyObject
*args
) {
4802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4803 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
4805 return Py_BuildValue((char *)"");
4807 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
*resultobj
= NULL
;
4809 int arg1
= (int) -1 ;
4810 int arg2
= (int) -1 ;
4811 wxGridCellNumberEditor
*result
;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4815 (char *) "min",(char *) "max", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4821 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4822 if (SWIG_arg_fail(1)) SWIG_fail
;
4827 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4828 if (SWIG_arg_fail(2)) SWIG_fail
;
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1);
4845 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
= NULL
;
4847 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4851 (char *) "self", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_POINTER_EXCEPTION
| 0);
4856 if (SWIG_arg_fail(1)) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (arg1
)->GetValue();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4877 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*, PyObject
*args
) {
4879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4880 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
4882 return Py_BuildValue((char *)"");
4884 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
= NULL
;
4886 int arg1
= (int) -1 ;
4887 int arg2
= (int) -1 ;
4888 wxGridCellFloatEditor
*result
;
4889 PyObject
* obj0
= 0 ;
4890 PyObject
* obj1
= 0 ;
4892 (char *) "width",(char *) "precision", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4898 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4899 if (SWIG_arg_fail(1)) SWIG_fail
;
4904 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4905 if (SWIG_arg_fail(2)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1);
4922 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
= NULL
;
4924 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
4926 PyObject
* obj0
= 0 ;
4928 (char *) "self", NULL
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_EXCEPTION
| 0);
4933 if (SWIG_arg_fail(1)) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= (arg1
)->GetValue();
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4945 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4954 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*, PyObject
*args
) {
4956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4957 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
4959 return Py_BuildValue((char *)"");
4961 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
= NULL
;
4963 wxGridCellBoolEditor
*result
;
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1);
4983 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
= NULL
;
4985 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
4987 PyObject
* obj0
= 0 ;
4989 (char *) "self", NULL
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_EXCEPTION
| 0);
4994 if (SWIG_arg_fail(1)) SWIG_fail
;
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 result
= (arg1
)->GetValue();
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5015 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*, PyObject
*args
) {
5017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5018 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
5020 return Py_BuildValue((char *)"");
5022 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
= NULL
;
5024 int arg1
= (int) 0 ;
5025 wxString
*arg2
= (wxString
*) NULL
;
5026 bool arg3
= (bool) false ;
5027 wxGridCellChoiceEditor
*result
;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5031 (char *) "choices",(char *) "allowOthers", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
5037 arg1
= PyList_Size(obj0
);
5038 arg2
= wxString_LIST_helper(obj0
);
5039 if (arg2
== NULL
) SWIG_fail
;
5044 arg3
= static_cast<bool >(SWIG_As_bool(obj1
));
5045 if (SWIG_arg_fail(3)) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
5057 if (arg2
) delete [] arg2
;
5062 if (arg2
) delete [] arg2
;
5068 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
= NULL
;
5070 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5074 (char *) "self", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
5078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_EXCEPTION
| 0);
5079 if (SWIG_arg_fail(1)) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= (arg1
)->GetValue();
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5100 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*, PyObject
*args
) {
5102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5103 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
5105 return Py_BuildValue((char *)"");
5107 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
*resultobj
= NULL
;
5109 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5110 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5111 wxGridCellEnumEditor
*result
;
5112 bool temp1
= false ;
5113 PyObject
* obj0
= 0 ;
5115 (char *) "choices", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
5121 arg1
= wxString_in_helper(obj0
);
5122 if (arg1
== NULL
) SWIG_fail
;
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1);
5148 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
= NULL
;
5150 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
5152 PyObject
* obj0
= 0 ;
5154 (char *) "self", NULL
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
5158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_EXCEPTION
| 0);
5159 if (SWIG_arg_fail(1)) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (arg1
)->GetValue();
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5180 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*, PyObject
*args
) {
5182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5183 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
5185 return Py_BuildValue((char *)"");
5187 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
= NULL
;
5189 wxGridCellAutoWrapStringEditor
*result
;
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
5209 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
*resultobj
= NULL
;
5211 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
5213 PyObject
* obj0
= 0 ;
5215 (char *) "self", NULL
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
5219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_EXCEPTION
| 0);
5220 if (SWIG_arg_fail(1)) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 result
= (arg1
)->GetValue();
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5241 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*, PyObject
*args
) {
5243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5244 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
5246 return Py_BuildValue((char *)"");
5248 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
= NULL
;
5250 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5251 PyObject
*arg2
= (PyObject
*) 0 ;
5252 PyObject
* obj0
= 0 ;
5253 PyObject
* obj1
= 0 ;
5255 (char *) "self",(char *) "_self", NULL
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5260 if (SWIG_arg_fail(1)) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 wxGridCellAttr__setOORInfo(arg1
,arg2
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 Py_INCREF(Py_None
); resultobj
= Py_None
;
5276 static PyObject
*_wrap_new_GridCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
= NULL
;
5278 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
5279 wxGridCellAttr
*result
;
5280 PyObject
* obj0
= 0 ;
5282 (char *) "attrDefault", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
5287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5288 if (SWIG_arg_fail(1)) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5298 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)1);
5306 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
= NULL
;
5308 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5309 wxGridCellAttr
*result
;
5310 PyObject
* obj0
= 0 ;
5312 (char *) "self", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
5316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5317 if (SWIG_arg_fail(1)) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5326 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
5334 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
= NULL
;
5336 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5337 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5338 PyObject
* obj0
= 0 ;
5339 PyObject
* obj1
= 0 ;
5341 (char *) "self",(char *) "mergefrom", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
5345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5346 if (SWIG_arg_fail(1)) SWIG_fail
;
5347 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5348 if (SWIG_arg_fail(2)) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 (arg1
)->MergeWith(arg2
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 Py_INCREF(Py_None
); resultobj
= Py_None
;
5363 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
= NULL
;
5365 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5366 PyObject
* obj0
= 0 ;
5368 (char *) "self", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
5372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5373 if (SWIG_arg_fail(1)) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 Py_INCREF(Py_None
); resultobj
= Py_None
;
5388 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
= NULL
;
5390 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5391 PyObject
* obj0
= 0 ;
5393 (char *) "self", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
5397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5398 if (SWIG_arg_fail(1)) SWIG_fail
;
5400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 Py_INCREF(Py_None
); resultobj
= Py_None
;
5413 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
= NULL
;
5415 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5416 wxColour
*arg2
= 0 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5421 (char *) "self",(char *) "colText", NULL
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5426 if (SWIG_arg_fail(1)) SWIG_fail
;
5429 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 Py_INCREF(Py_None
); resultobj
= Py_None
;
5445 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= NULL
;
5447 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5448 wxColour
*arg2
= 0 ;
5450 PyObject
* obj0
= 0 ;
5451 PyObject
* obj1
= 0 ;
5453 (char *) "self",(char *) "colBack", NULL
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5458 if (SWIG_arg_fail(1)) SWIG_fail
;
5461 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 Py_INCREF(Py_None
); resultobj
= Py_None
;
5477 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
= NULL
;
5479 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5482 PyObject
* obj1
= 0 ;
5484 (char *) "self",(char *) "font", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5489 if (SWIG_arg_fail(1)) SWIG_fail
;
5491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
5492 if (SWIG_arg_fail(2)) SWIG_fail
;
5494 SWIG_null_ref("wxFont");
5496 if (SWIG_arg_fail(2)) SWIG_fail
;
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 (arg1
)->SetFont((wxFont
const &)*arg2
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5505 Py_INCREF(Py_None
); resultobj
= Py_None
;
5512 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
= NULL
;
5514 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5517 PyObject
* obj0
= 0 ;
5518 PyObject
* obj1
= 0 ;
5519 PyObject
* obj2
= 0 ;
5521 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5526 if (SWIG_arg_fail(1)) SWIG_fail
;
5528 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5529 if (SWIG_arg_fail(2)) SWIG_fail
;
5532 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5533 if (SWIG_arg_fail(3)) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 (arg1
)->SetAlignment(arg2
,arg3
);
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5542 Py_INCREF(Py_None
); resultobj
= Py_None
;
5549 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
*resultobj
= NULL
;
5551 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5554 PyObject
* obj0
= 0 ;
5555 PyObject
* obj1
= 0 ;
5556 PyObject
* obj2
= 0 ;
5558 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5563 if (SWIG_arg_fail(1)) SWIG_fail
;
5565 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5566 if (SWIG_arg_fail(2)) SWIG_fail
;
5569 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5570 if (SWIG_arg_fail(3)) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 (arg1
)->SetSize(arg2
,arg3
);
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 Py_INCREF(Py_None
); resultobj
= Py_None
;
5586 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
= NULL
;
5588 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5589 bool arg2
= (bool) true ;
5590 PyObject
* obj0
= 0 ;
5591 PyObject
* obj1
= 0 ;
5593 (char *) "self",(char *) "allow", NULL
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
5597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5598 if (SWIG_arg_fail(1)) SWIG_fail
;
5601 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
5602 if (SWIG_arg_fail(2)) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 (arg1
)->SetOverflow(arg2
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 Py_INCREF(Py_None
); resultobj
= Py_None
;
5619 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
= NULL
;
5621 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5622 bool arg2
= (bool) true ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5626 (char *) "self",(char *) "isReadOnly", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
5630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5631 if (SWIG_arg_fail(1)) SWIG_fail
;
5634 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
5635 if (SWIG_arg_fail(2)) SWIG_fail
;
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 (arg1
)->SetReadOnly(arg2
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 Py_INCREF(Py_None
); resultobj
= Py_None
;
5652 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
= NULL
;
5654 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5655 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5659 (char *) "self",(char *) "renderer", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
5663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5664 if (SWIG_arg_fail(1)) SWIG_fail
;
5665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
5666 if (SWIG_arg_fail(2)) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 (arg1
)->SetRenderer(arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 Py_INCREF(Py_None
); resultobj
= Py_None
;
5681 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
= NULL
;
5683 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5684 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
5685 PyObject
* obj0
= 0 ;
5686 PyObject
* obj1
= 0 ;
5688 (char *) "self",(char *) "editor", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
5692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5693 if (SWIG_arg_fail(1)) SWIG_fail
;
5694 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
5695 if (SWIG_arg_fail(2)) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 (arg1
)->SetEditor(arg2
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 Py_INCREF(Py_None
); resultobj
= Py_None
;
5710 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
= NULL
;
5712 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5713 wxGridCellAttr::wxAttrKind arg2
;
5714 PyObject
* obj0
= 0 ;
5715 PyObject
* obj1
= 0 ;
5717 (char *) "self",(char *) "kind", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
5721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5722 if (SWIG_arg_fail(1)) SWIG_fail
;
5724 arg2
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj1
));
5725 if (SWIG_arg_fail(2)) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 (arg1
)->SetKind(arg2
);
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 Py_INCREF(Py_None
); resultobj
= Py_None
;
5741 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
= NULL
;
5743 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5745 PyObject
* obj0
= 0 ;
5747 (char *) "self", NULL
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5752 if (SWIG_arg_fail(1)) SWIG_fail
;
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5769 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
= NULL
;
5771 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5775 (char *) "self", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5780 if (SWIG_arg_fail(1)) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5797 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
= NULL
;
5799 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5801 PyObject
* obj0
= 0 ;
5803 (char *) "self", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
5807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5808 if (SWIG_arg_fail(1)) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5825 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
= NULL
;
5827 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5829 PyObject
* obj0
= 0 ;
5831 (char *) "self", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
5835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5853 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
= NULL
;
5855 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5857 PyObject
* obj0
= 0 ;
5859 (char *) "self", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
5863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5864 if (SWIG_arg_fail(1)) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5881 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
= NULL
;
5883 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5885 PyObject
* obj0
= 0 ;
5887 (char *) "self", NULL
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
5891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5892 if (SWIG_arg_fail(1)) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5909 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
= NULL
;
5911 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5913 PyObject
* obj0
= 0 ;
5915 (char *) "self", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
5919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5920 if (SWIG_arg_fail(1)) SWIG_fail
;
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5937 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
= NULL
;
5939 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5941 PyObject
* obj0
= 0 ;
5943 (char *) "self", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
5947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5948 if (SWIG_arg_fail(1)) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5965 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
= NULL
;
5967 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5971 (char *) "self", NULL
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
5975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5976 if (SWIG_arg_fail(1)) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5985 wxColour
* resultptr
;
5986 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
5987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5995 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
= NULL
;
5997 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5999 PyObject
* obj0
= 0 ;
6001 (char *) "self", NULL
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6006 if (SWIG_arg_fail(1)) SWIG_fail
;
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6015 wxColour
* resultptr
;
6016 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
6017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
6025 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
= NULL
;
6027 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6029 PyObject
* obj0
= 0 ;
6031 (char *) "self", NULL
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6036 if (SWIG_arg_fail(1)) SWIG_fail
;
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6046 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
6047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
6055 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
= NULL
;
6057 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6058 int *arg2
= (int *) 0 ;
6059 int *arg3
= (int *) 0 ;
6064 PyObject
* obj0
= 0 ;
6066 (char *) "self", NULL
6069 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6070 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6073 if (SWIG_arg_fail(1)) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 Py_INCREF(Py_None
); resultobj
= Py_None
;
6082 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6083 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6084 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6085 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6092 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
*resultobj
= NULL
;
6094 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6095 int *arg2
= (int *) 0 ;
6096 int *arg3
= (int *) 0 ;
6101 PyObject
* obj0
= 0 ;
6103 (char *) "self", NULL
6106 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6107 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
6109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6110 if (SWIG_arg_fail(1)) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 Py_INCREF(Py_None
); resultobj
= Py_None
;
6119 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6120 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6121 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6122 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6129 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
= NULL
;
6131 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6133 PyObject
* obj0
= 0 ;
6135 (char *) "self", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
6139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6140 if (SWIG_arg_fail(1)) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6157 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
= NULL
;
6159 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6160 wxGrid
*arg2
= (wxGrid
*) 0 ;
6163 wxGridCellRenderer
*result
;
6164 PyObject
* obj0
= 0 ;
6165 PyObject
* obj1
= 0 ;
6166 PyObject
* obj2
= 0 ;
6167 PyObject
* obj3
= 0 ;
6169 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6174 if (SWIG_arg_fail(1)) SWIG_fail
;
6175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
6176 if (SWIG_arg_fail(2)) SWIG_fail
;
6178 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6179 if (SWIG_arg_fail(3)) SWIG_fail
;
6182 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6183 if (SWIG_arg_fail(4)) SWIG_fail
;
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
6201 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
= NULL
;
6203 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6204 wxGrid
*arg2
= (wxGrid
*) 0 ;
6207 wxGridCellEditor
*result
;
6208 PyObject
* obj0
= 0 ;
6209 PyObject
* obj1
= 0 ;
6210 PyObject
* obj2
= 0 ;
6211 PyObject
* obj3
= 0 ;
6213 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6218 if (SWIG_arg_fail(1)) SWIG_fail
;
6219 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
6220 if (SWIG_arg_fail(2)) SWIG_fail
;
6222 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6223 if (SWIG_arg_fail(3)) SWIG_fail
;
6226 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6227 if (SWIG_arg_fail(4)) SWIG_fail
;
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
6245 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
= NULL
;
6247 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6249 PyObject
* obj0
= 0 ;
6251 (char *) "self", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
6255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6256 if (SWIG_arg_fail(1)) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6273 static PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
= NULL
;
6275 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6276 wxGridCellAttr::wxAttrKind result
;
6277 PyObject
* obj0
= 0 ;
6279 (char *) "self", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetKind",kwnames
,&obj0
)) goto fail
;
6283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6284 if (SWIG_arg_fail(1)) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind();
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= SWIG_From_int((result
));
6299 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
= NULL
;
6301 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6302 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6303 PyObject
* obj0
= 0 ;
6304 PyObject
* obj1
= 0 ;
6306 (char *) "self",(char *) "defAttr", NULL
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
6310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6311 if (SWIG_arg_fail(1)) SWIG_fail
;
6312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6313 if (SWIG_arg_fail(2)) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 (arg1
)->SetDefAttr(arg2
);
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 Py_INCREF(Py_None
); resultobj
= Py_None
;
6328 static PyObject
* GridCellAttr_swigregister(PyObject
*, PyObject
*args
) {
6330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6331 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
6333 return Py_BuildValue((char *)"");
6335 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
= NULL
;
6337 wxGridCellAttrProvider
*result
;
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)1);
6359 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
= NULL
;
6361 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6362 PyObject
*arg2
= (PyObject
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6364 PyObject
* obj1
= 0 ;
6366 (char *) "self",(char *) "_self", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
6370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6371 if (SWIG_arg_fail(1)) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 Py_INCREF(Py_None
); resultobj
= Py_None
;
6387 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
= NULL
;
6389 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6392 wxGridCellAttr::wxAttrKind arg4
;
6393 wxGridCellAttr
*result
;
6394 PyObject
* obj0
= 0 ;
6395 PyObject
* obj1
= 0 ;
6396 PyObject
* obj2
= 0 ;
6397 PyObject
* obj3
= 0 ;
6399 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6404 if (SWIG_arg_fail(1)) SWIG_fail
;
6406 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6407 if (SWIG_arg_fail(2)) SWIG_fail
;
6410 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6411 if (SWIG_arg_fail(3)) SWIG_fail
;
6414 arg4
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj3
));
6415 if (SWIG_arg_fail(4)) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,arg4
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
6433 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
= NULL
;
6435 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6436 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6439 PyObject
* obj0
= 0 ;
6440 PyObject
* obj1
= 0 ;
6441 PyObject
* obj2
= 0 ;
6442 PyObject
* obj3
= 0 ;
6444 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6449 if (SWIG_arg_fail(1)) SWIG_fail
;
6450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6451 if (SWIG_arg_fail(2)) SWIG_fail
;
6453 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6454 if (SWIG_arg_fail(3)) SWIG_fail
;
6457 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6458 if (SWIG_arg_fail(4)) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 Py_INCREF(Py_None
); resultobj
= Py_None
;
6474 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
*resultobj
= NULL
;
6476 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6477 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6479 PyObject
* obj0
= 0 ;
6480 PyObject
* obj1
= 0 ;
6481 PyObject
* obj2
= 0 ;
6483 (char *) "self",(char *) "attr",(char *) "row", NULL
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6488 if (SWIG_arg_fail(1)) SWIG_fail
;
6489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6490 if (SWIG_arg_fail(2)) SWIG_fail
;
6492 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6493 if (SWIG_arg_fail(3)) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 (arg1
)->SetRowAttr(arg2
,arg3
);
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6502 Py_INCREF(Py_None
); resultobj
= Py_None
;
6509 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
*resultobj
= NULL
;
6511 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6512 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6514 PyObject
* obj0
= 0 ;
6515 PyObject
* obj1
= 0 ;
6516 PyObject
* obj2
= 0 ;
6518 (char *) "self",(char *) "attr",(char *) "col", NULL
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6523 if (SWIG_arg_fail(1)) SWIG_fail
;
6524 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6525 if (SWIG_arg_fail(2)) SWIG_fail
;
6527 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6528 if (SWIG_arg_fail(3)) SWIG_fail
;
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 (arg1
)->SetColAttr(arg2
,arg3
);
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6537 Py_INCREF(Py_None
); resultobj
= Py_None
;
6544 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
*resultobj
= NULL
;
6546 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6550 PyObject
* obj1
= 0 ;
6551 PyObject
* obj2
= 0 ;
6553 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6558 if (SWIG_arg_fail(1)) SWIG_fail
;
6560 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
6561 if (SWIG_arg_fail(2)) SWIG_fail
;
6564 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6565 if (SWIG_arg_fail(3)) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 (arg1
)->UpdateAttrRows(arg2
,arg3
);
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 Py_INCREF(Py_None
); resultobj
= Py_None
;
6581 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
= NULL
;
6583 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6586 PyObject
* obj0
= 0 ;
6587 PyObject
* obj1
= 0 ;
6588 PyObject
* obj2
= 0 ;
6590 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6595 if (SWIG_arg_fail(1)) SWIG_fail
;
6597 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
6598 if (SWIG_arg_fail(2)) SWIG_fail
;
6601 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6602 if (SWIG_arg_fail(3)) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 (arg1
)->UpdateAttrCols(arg2
,arg3
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 Py_INCREF(Py_None
); resultobj
= Py_None
;
6618 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
6620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6621 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
6623 return Py_BuildValue((char *)"");
6625 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
= NULL
;
6627 wxPyGridCellAttrProvider
*result
;
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
6647 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
= NULL
;
6649 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6650 PyObject
*arg2
= (PyObject
*) 0 ;
6651 PyObject
*arg3
= (PyObject
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6653 PyObject
* obj1
= 0 ;
6654 PyObject
* obj2
= 0 ;
6656 (char *) "self",(char *) "self",(char *) "_class", NULL
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6661 if (SWIG_arg_fail(1)) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6671 Py_INCREF(Py_None
); resultobj
= Py_None
;
6678 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
= NULL
;
6680 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6683 wxGridCellAttr::wxAttrKind arg4
;
6684 wxGridCellAttr
*result
;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6687 PyObject
* obj2
= 0 ;
6688 PyObject
* obj3
= 0 ;
6690 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6695 if (SWIG_arg_fail(1)) SWIG_fail
;
6697 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6698 if (SWIG_arg_fail(2)) SWIG_fail
;
6701 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6702 if (SWIG_arg_fail(3)) SWIG_fail
;
6705 arg4
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj3
));
6706 if (SWIG_arg_fail(4)) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,arg4
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
6724 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
= NULL
;
6726 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6727 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6730 PyObject
* obj0
= 0 ;
6731 PyObject
* obj1
= 0 ;
6732 PyObject
* obj2
= 0 ;
6733 PyObject
* obj3
= 0 ;
6735 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6740 if (SWIG_arg_fail(1)) SWIG_fail
;
6741 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6742 if (SWIG_arg_fail(2)) SWIG_fail
;
6744 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6745 if (SWIG_arg_fail(3)) SWIG_fail
;
6748 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6749 if (SWIG_arg_fail(4)) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 Py_INCREF(Py_None
); resultobj
= Py_None
;
6765 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
= NULL
;
6767 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6768 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6772 PyObject
* obj2
= 0 ;
6774 (char *) "self",(char *) "attr",(char *) "row", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6779 if (SWIG_arg_fail(1)) SWIG_fail
;
6780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6781 if (SWIG_arg_fail(2)) SWIG_fail
;
6783 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6784 if (SWIG_arg_fail(3)) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 (arg1
)->base_SetRowAttr(arg2
,arg3
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6793 Py_INCREF(Py_None
); resultobj
= Py_None
;
6800 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
= NULL
;
6802 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6803 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6805 PyObject
* obj0
= 0 ;
6806 PyObject
* obj1
= 0 ;
6807 PyObject
* obj2
= 0 ;
6809 (char *) "self",(char *) "attr",(char *) "col", NULL
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6814 if (SWIG_arg_fail(1)) SWIG_fail
;
6815 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6816 if (SWIG_arg_fail(2)) SWIG_fail
;
6818 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6819 if (SWIG_arg_fail(3)) SWIG_fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 (arg1
)->base_SetColAttr(arg2
,arg3
);
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6828 Py_INCREF(Py_None
); resultobj
= Py_None
;
6835 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
6837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6838 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
6840 return Py_BuildValue((char *)"");
6842 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
= NULL
;
6844 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6845 PyObject
*arg2
= (PyObject
*) 0 ;
6846 PyObject
* obj0
= 0 ;
6847 PyObject
* obj1
= 0 ;
6849 (char *) "self",(char *) "_self", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
6853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6854 if (SWIG_arg_fail(1)) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 wxGridTableBase__setOORInfo(arg1
,arg2
);
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 Py_INCREF(Py_None
); resultobj
= Py_None
;
6870 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
= NULL
;
6872 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6873 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
6874 PyObject
* obj0
= 0 ;
6875 PyObject
* obj1
= 0 ;
6877 (char *) "self",(char *) "attrProvider", NULL
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6882 if (SWIG_arg_fail(1)) SWIG_fail
;
6883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6884 if (SWIG_arg_fail(2)) SWIG_fail
;
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6887 (arg1
)->SetAttrProvider(arg2
);
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6892 Py_INCREF(Py_None
); resultobj
= Py_None
;
6899 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
= NULL
;
6901 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6902 wxGridCellAttrProvider
*result
;
6903 PyObject
* obj0
= 0 ;
6905 (char *) "self", NULL
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
6909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6910 if (SWIG_arg_fail(1)) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)0);
6927 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
= NULL
;
6929 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6930 wxGrid
*arg2
= (wxGrid
*) 0 ;
6931 PyObject
* obj0
= 0 ;
6932 PyObject
* obj1
= 0 ;
6934 (char *) "self",(char *) "grid", NULL
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
6938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6939 if (SWIG_arg_fail(1)) SWIG_fail
;
6940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
6941 if (SWIG_arg_fail(2)) SWIG_fail
;
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 (arg1
)->SetView(arg2
);
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6949 Py_INCREF(Py_None
); resultobj
= Py_None
;
6956 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
= NULL
;
6958 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6960 PyObject
* obj0
= 0 ;
6962 (char *) "self", NULL
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
6966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6967 if (SWIG_arg_fail(1)) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6976 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6984 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
*resultobj
= NULL
;
6986 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6988 PyObject
* obj0
= 0 ;
6990 (char *) "self", NULL
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
6994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6995 if (SWIG_arg_fail(1)) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 result
= (int)(arg1
)->GetNumberRows();
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= SWIG_From_int(static_cast<int >(result
));
7012 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
= NULL
;
7014 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7016 PyObject
* obj0
= 0 ;
7018 (char *) "self", NULL
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
7022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7023 if (SWIG_arg_fail(1)) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 result
= (int)(arg1
)->GetNumberCols();
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= SWIG_From_int(static_cast<int >(result
));
7040 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
= NULL
;
7042 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7047 PyObject
* obj1
= 0 ;
7048 PyObject
* obj2
= 0 ;
7050 (char *) "self",(char *) "row",(char *) "col", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7055 if (SWIG_arg_fail(1)) SWIG_fail
;
7057 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7058 if (SWIG_arg_fail(2)) SWIG_fail
;
7061 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7062 if (SWIG_arg_fail(3)) SWIG_fail
;
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7080 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
= NULL
;
7082 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7086 PyObject
* obj0
= 0 ;
7087 PyObject
* obj1
= 0 ;
7088 PyObject
* obj2
= 0 ;
7090 (char *) "self",(char *) "row",(char *) "col", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7095 if (SWIG_arg_fail(1)) SWIG_fail
;
7097 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7098 if (SWIG_arg_fail(2)) SWIG_fail
;
7101 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7102 if (SWIG_arg_fail(3)) SWIG_fail
;
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 result
= (arg1
)->GetValue(arg2
,arg3
);
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7124 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
= NULL
;
7126 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7129 wxString
*arg4
= 0 ;
7130 bool temp4
= false ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7133 PyObject
* obj2
= 0 ;
7134 PyObject
* obj3
= 0 ;
7136 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7141 if (SWIG_arg_fail(1)) SWIG_fail
;
7143 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7144 if (SWIG_arg_fail(2)) SWIG_fail
;
7147 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7148 if (SWIG_arg_fail(3)) SWIG_fail
;
7151 arg4
= wxString_in_helper(obj3
);
7152 if (arg4
== NULL
) SWIG_fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 Py_INCREF(Py_None
); resultobj
= Py_None
;
7177 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
= NULL
;
7179 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7183 PyObject
* obj0
= 0 ;
7184 PyObject
* obj1
= 0 ;
7185 PyObject
* obj2
= 0 ;
7187 (char *) "self",(char *) "row",(char *) "col", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7192 if (SWIG_arg_fail(1)) SWIG_fail
;
7194 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7195 if (SWIG_arg_fail(2)) SWIG_fail
;
7198 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7199 if (SWIG_arg_fail(3)) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= (arg1
)->GetTypeName(arg2
,arg3
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7221 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
= NULL
;
7223 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7226 wxString
*arg4
= 0 ;
7228 bool temp4
= false ;
7229 PyObject
* obj0
= 0 ;
7230 PyObject
* obj1
= 0 ;
7231 PyObject
* obj2
= 0 ;
7232 PyObject
* obj3
= 0 ;
7234 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7239 if (SWIG_arg_fail(1)) SWIG_fail
;
7241 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7242 if (SWIG_arg_fail(2)) SWIG_fail
;
7245 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7246 if (SWIG_arg_fail(3)) SWIG_fail
;
7249 arg4
= wxString_in_helper(obj3
);
7250 if (arg4
== NULL
) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7277 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
= NULL
;
7279 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7282 wxString
*arg4
= 0 ;
7284 bool temp4
= false ;
7285 PyObject
* obj0
= 0 ;
7286 PyObject
* obj1
= 0 ;
7287 PyObject
* obj2
= 0 ;
7288 PyObject
* obj3
= 0 ;
7290 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7295 if (SWIG_arg_fail(1)) SWIG_fail
;
7297 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7298 if (SWIG_arg_fail(2)) SWIG_fail
;
7301 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7302 if (SWIG_arg_fail(3)) SWIG_fail
;
7305 arg4
= wxString_in_helper(obj3
);
7306 if (arg4
== NULL
) SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7333 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
= NULL
;
7335 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7339 PyObject
* obj0
= 0 ;
7340 PyObject
* obj1
= 0 ;
7341 PyObject
* obj2
= 0 ;
7343 (char *) "self",(char *) "row",(char *) "col", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7348 if (SWIG_arg_fail(1)) SWIG_fail
;
7350 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7351 if (SWIG_arg_fail(2)) SWIG_fail
;
7354 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7355 if (SWIG_arg_fail(3)) SWIG_fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= SWIG_From_long(static_cast<long >(result
));
7373 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
= NULL
;
7375 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7381 PyObject
* obj2
= 0 ;
7383 (char *) "self",(char *) "row",(char *) "col", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7388 if (SWIG_arg_fail(1)) SWIG_fail
;
7390 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7391 if (SWIG_arg_fail(2)) SWIG_fail
;
7394 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7395 if (SWIG_arg_fail(3)) SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7405 resultobj
= SWIG_From_double(static_cast<double >(result
));
7413 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
= NULL
;
7415 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7419 PyObject
* obj0
= 0 ;
7420 PyObject
* obj1
= 0 ;
7421 PyObject
* obj2
= 0 ;
7423 (char *) "self",(char *) "row",(char *) "col", NULL
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7428 if (SWIG_arg_fail(1)) SWIG_fail
;
7430 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7431 if (SWIG_arg_fail(2)) SWIG_fail
;
7434 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7435 if (SWIG_arg_fail(3)) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7453 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
= NULL
;
7455 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 PyObject
* obj2
= 0 ;
7462 PyObject
* obj3
= 0 ;
7464 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7469 if (SWIG_arg_fail(1)) SWIG_fail
;
7471 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7472 if (SWIG_arg_fail(2)) SWIG_fail
;
7475 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7476 if (SWIG_arg_fail(3)) SWIG_fail
;
7479 arg4
= static_cast<long >(SWIG_As_long(obj3
));
7480 if (SWIG_arg_fail(4)) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 Py_INCREF(Py_None
); resultobj
= Py_None
;
7496 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
= NULL
;
7498 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7504 PyObject
* obj2
= 0 ;
7505 PyObject
* obj3
= 0 ;
7507 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7512 if (SWIG_arg_fail(1)) SWIG_fail
;
7514 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7515 if (SWIG_arg_fail(2)) SWIG_fail
;
7518 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7519 if (SWIG_arg_fail(3)) SWIG_fail
;
7522 arg4
= static_cast<double >(SWIG_As_double(obj3
));
7523 if (SWIG_arg_fail(4)) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7532 Py_INCREF(Py_None
); resultobj
= Py_None
;
7539 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
= NULL
;
7541 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7545 PyObject
* obj0
= 0 ;
7546 PyObject
* obj1
= 0 ;
7547 PyObject
* obj2
= 0 ;
7548 PyObject
* obj3
= 0 ;
7550 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7555 if (SWIG_arg_fail(1)) SWIG_fail
;
7557 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7558 if (SWIG_arg_fail(2)) SWIG_fail
;
7561 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7562 if (SWIG_arg_fail(3)) SWIG_fail
;
7565 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
7566 if (SWIG_arg_fail(4)) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 Py_INCREF(Py_None
); resultobj
= Py_None
;
7582 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
= NULL
;
7584 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7587 (char *) "self", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
7591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7592 if (SWIG_arg_fail(1)) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 Py_INCREF(Py_None
); resultobj
= Py_None
;
7607 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
= NULL
;
7609 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7610 size_t arg2
= (size_t) 0 ;
7611 size_t arg3
= (size_t) 1 ;
7613 PyObject
* obj0
= 0 ;
7614 PyObject
* obj1
= 0 ;
7615 PyObject
* obj2
= 0 ;
7617 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7622 if (SWIG_arg_fail(1)) SWIG_fail
;
7625 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7626 if (SWIG_arg_fail(2)) SWIG_fail
;
7631 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
7632 if (SWIG_arg_fail(3)) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7651 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
= NULL
;
7653 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7654 size_t arg2
= (size_t) 1 ;
7656 PyObject
* obj0
= 0 ;
7657 PyObject
* obj1
= 0 ;
7659 (char *) "self",(char *) "numRows", NULL
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
7663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7664 if (SWIG_arg_fail(1)) SWIG_fail
;
7667 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7668 if (SWIG_arg_fail(2)) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= (bool)(arg1
)->AppendRows(arg2
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7687 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
= NULL
;
7689 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7690 size_t arg2
= (size_t) 0 ;
7691 size_t arg3
= (size_t) 1 ;
7693 PyObject
* obj0
= 0 ;
7694 PyObject
* obj1
= 0 ;
7695 PyObject
* obj2
= 0 ;
7697 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7702 if (SWIG_arg_fail(1)) SWIG_fail
;
7705 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7706 if (SWIG_arg_fail(2)) SWIG_fail
;
7711 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
7712 if (SWIG_arg_fail(3)) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7731 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
= NULL
;
7733 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7734 size_t arg2
= (size_t) 0 ;
7735 size_t arg3
= (size_t) 1 ;
7737 PyObject
* obj0
= 0 ;
7738 PyObject
* obj1
= 0 ;
7739 PyObject
* obj2
= 0 ;
7741 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7746 if (SWIG_arg_fail(1)) SWIG_fail
;
7749 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7750 if (SWIG_arg_fail(2)) SWIG_fail
;
7755 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
7756 if (SWIG_arg_fail(3)) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7775 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
= NULL
;
7777 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7778 size_t arg2
= (size_t) 1 ;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7783 (char *) "self",(char *) "numCols", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
7787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7788 if (SWIG_arg_fail(1)) SWIG_fail
;
7791 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7792 if (SWIG_arg_fail(2)) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (bool)(arg1
)->AppendCols(arg2
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7811 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
= NULL
;
7813 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7814 size_t arg2
= (size_t) 0 ;
7815 size_t arg3
= (size_t) 1 ;
7817 PyObject
* obj0
= 0 ;
7818 PyObject
* obj1
= 0 ;
7819 PyObject
* obj2
= 0 ;
7821 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7826 if (SWIG_arg_fail(1)) SWIG_fail
;
7829 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7830 if (SWIG_arg_fail(2)) SWIG_fail
;
7835 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
7836 if (SWIG_arg_fail(3)) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7855 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
= NULL
;
7857 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7863 (char *) "self",(char *) "row", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7868 if (SWIG_arg_fail(1)) SWIG_fail
;
7870 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7871 if (SWIG_arg_fail(2)) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 result
= (arg1
)->GetRowLabelValue(arg2
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7893 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
= NULL
;
7895 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7899 PyObject
* obj1
= 0 ;
7901 (char *) "self",(char *) "col", NULL
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7906 if (SWIG_arg_fail(1)) SWIG_fail
;
7908 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7909 if (SWIG_arg_fail(2)) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (arg1
)->GetColLabelValue(arg2
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7931 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
= NULL
;
7933 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7935 wxString
*arg3
= 0 ;
7936 bool temp3
= false ;
7937 PyObject
* obj0
= 0 ;
7938 PyObject
* obj1
= 0 ;
7939 PyObject
* obj2
= 0 ;
7941 (char *) "self",(char *) "row",(char *) "value", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7946 if (SWIG_arg_fail(1)) SWIG_fail
;
7948 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7949 if (SWIG_arg_fail(2)) SWIG_fail
;
7952 arg3
= wxString_in_helper(obj2
);
7953 if (arg3
== NULL
) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 Py_INCREF(Py_None
); resultobj
= Py_None
;
7978 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
*resultobj
= NULL
;
7980 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7982 wxString
*arg3
= 0 ;
7983 bool temp3
= false ;
7984 PyObject
* obj0
= 0 ;
7985 PyObject
* obj1
= 0 ;
7986 PyObject
* obj2
= 0 ;
7988 (char *) "self",(char *) "col",(char *) "value", NULL
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7993 if (SWIG_arg_fail(1)) SWIG_fail
;
7995 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7996 if (SWIG_arg_fail(2)) SWIG_fail
;
7999 arg3
= wxString_in_helper(obj2
);
8000 if (arg3
== NULL
) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8010 Py_INCREF(Py_None
); resultobj
= Py_None
;
8025 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
*resultobj
= NULL
;
8027 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8029 PyObject
* obj0
= 0 ;
8031 (char *) "self", NULL
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
8035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8036 if (SWIG_arg_fail(1)) SWIG_fail
;
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 result
= (bool)(arg1
)->CanHaveAttributes();
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8053 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
= NULL
;
8055 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8058 wxGridCellAttr::wxAttrKind arg4
;
8059 wxGridCellAttr
*result
;
8060 PyObject
* obj0
= 0 ;
8061 PyObject
* obj1
= 0 ;
8062 PyObject
* obj2
= 0 ;
8063 PyObject
* obj3
= 0 ;
8065 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8070 if (SWIG_arg_fail(1)) SWIG_fail
;
8072 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8073 if (SWIG_arg_fail(2)) SWIG_fail
;
8076 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8077 if (SWIG_arg_fail(3)) SWIG_fail
;
8080 arg4
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj3
));
8081 if (SWIG_arg_fail(4)) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
8099 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
= NULL
;
8101 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8102 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8105 PyObject
* obj0
= 0 ;
8106 PyObject
* obj1
= 0 ;
8107 PyObject
* obj2
= 0 ;
8108 PyObject
* obj3
= 0 ;
8110 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8115 if (SWIG_arg_fail(1)) SWIG_fail
;
8116 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8117 if (SWIG_arg_fail(2)) SWIG_fail
;
8119 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8120 if (SWIG_arg_fail(3)) SWIG_fail
;
8123 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8124 if (SWIG_arg_fail(4)) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 Py_INCREF(Py_None
); resultobj
= Py_None
;
8140 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
= NULL
;
8142 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8143 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8145 PyObject
* obj0
= 0 ;
8146 PyObject
* obj1
= 0 ;
8147 PyObject
* obj2
= 0 ;
8149 (char *) "self",(char *) "attr",(char *) "row", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8154 if (SWIG_arg_fail(1)) SWIG_fail
;
8155 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8156 if (SWIG_arg_fail(2)) SWIG_fail
;
8158 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8159 if (SWIG_arg_fail(3)) SWIG_fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 (arg1
)->SetRowAttr(arg2
,arg3
);
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8168 Py_INCREF(Py_None
); resultobj
= Py_None
;
8175 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
*resultobj
= NULL
;
8177 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8178 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8180 PyObject
* obj0
= 0 ;
8181 PyObject
* obj1
= 0 ;
8182 PyObject
* obj2
= 0 ;
8184 (char *) "self",(char *) "attr",(char *) "col", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8189 if (SWIG_arg_fail(1)) SWIG_fail
;
8190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8191 if (SWIG_arg_fail(2)) SWIG_fail
;
8193 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8194 if (SWIG_arg_fail(3)) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 (arg1
)->SetColAttr(arg2
,arg3
);
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 Py_INCREF(Py_None
); resultobj
= Py_None
;
8210 static PyObject
* GridTableBase_swigregister(PyObject
*, PyObject
*args
) {
8212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8213 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
8215 return Py_BuildValue((char *)"");
8217 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
= NULL
;
8219 wxPyGridTableBase
*result
;
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
8239 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
= NULL
;
8241 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8242 PyObject
*arg2
= (PyObject
*) 0 ;
8243 PyObject
*arg3
= (PyObject
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8246 PyObject
* obj2
= 0 ;
8248 (char *) "self",(char *) "self",(char *) "_class", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8253 if (SWIG_arg_fail(1)) SWIG_fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8263 Py_INCREF(Py_None
); resultobj
= Py_None
;
8270 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
= NULL
;
8272 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8273 PyObject
* obj0
= 0 ;
8275 (char *) "self", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
8279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8280 if (SWIG_arg_fail(1)) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 wxPyGridTableBase_Destroy(arg1
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 Py_INCREF(Py_None
); resultobj
= Py_None
;
8295 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
= NULL
;
8297 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 PyObject
* obj2
= 0 ;
8305 (char *) "self",(char *) "row",(char *) "col", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8310 if (SWIG_arg_fail(1)) SWIG_fail
;
8312 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8313 if (SWIG_arg_fail(2)) SWIG_fail
;
8316 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8317 if (SWIG_arg_fail(3)) SWIG_fail
;
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8339 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
= NULL
;
8341 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8344 wxString
*arg4
= 0 ;
8346 bool temp4
= false ;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8349 PyObject
* obj2
= 0 ;
8350 PyObject
* obj3
= 0 ;
8352 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8357 if (SWIG_arg_fail(1)) SWIG_fail
;
8359 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8360 if (SWIG_arg_fail(2)) SWIG_fail
;
8363 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8364 if (SWIG_arg_fail(3)) SWIG_fail
;
8367 arg4
= wxString_in_helper(obj3
);
8368 if (arg4
== NULL
) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8395 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
= NULL
;
8397 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8400 wxString
*arg4
= 0 ;
8402 bool temp4
= false ;
8403 PyObject
* obj0
= 0 ;
8404 PyObject
* obj1
= 0 ;
8405 PyObject
* obj2
= 0 ;
8406 PyObject
* obj3
= 0 ;
8408 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8413 if (SWIG_arg_fail(1)) SWIG_fail
;
8415 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8416 if (SWIG_arg_fail(2)) SWIG_fail
;
8419 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8420 if (SWIG_arg_fail(3)) SWIG_fail
;
8423 arg4
= wxString_in_helper(obj3
);
8424 if (arg4
== NULL
) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8451 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
= NULL
;
8453 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8454 PyObject
* obj0
= 0 ;
8456 (char *) "self", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
8460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8461 if (SWIG_arg_fail(1)) SWIG_fail
;
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 (arg1
)->base_Clear();
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 Py_INCREF(Py_None
); resultobj
= Py_None
;
8476 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8477 PyObject
*resultobj
= NULL
;
8478 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8479 size_t arg2
= (size_t) 0 ;
8480 size_t arg3
= (size_t) 1 ;
8482 PyObject
* obj0
= 0 ;
8483 PyObject
* obj1
= 0 ;
8484 PyObject
* obj2
= 0 ;
8486 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8491 if (SWIG_arg_fail(1)) SWIG_fail
;
8494 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8495 if (SWIG_arg_fail(2)) SWIG_fail
;
8500 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
8501 if (SWIG_arg_fail(3)) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8520 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
= NULL
;
8522 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8523 size_t arg2
= (size_t) 1 ;
8525 PyObject
* obj0
= 0 ;
8526 PyObject
* obj1
= 0 ;
8528 (char *) "self",(char *) "numRows", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
8532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8533 if (SWIG_arg_fail(1)) SWIG_fail
;
8536 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8537 if (SWIG_arg_fail(2)) SWIG_fail
;
8541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 result
= (bool)(arg1
)->base_AppendRows(arg2
);
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8556 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
*resultobj
= NULL
;
8558 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8559 size_t arg2
= (size_t) 0 ;
8560 size_t arg3
= (size_t) 1 ;
8562 PyObject
* obj0
= 0 ;
8563 PyObject
* obj1
= 0 ;
8564 PyObject
* obj2
= 0 ;
8566 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8571 if (SWIG_arg_fail(1)) SWIG_fail
;
8574 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8575 if (SWIG_arg_fail(2)) SWIG_fail
;
8580 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
8581 if (SWIG_arg_fail(3)) SWIG_fail
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8600 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
= NULL
;
8602 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8603 size_t arg2
= (size_t) 0 ;
8604 size_t arg3
= (size_t) 1 ;
8606 PyObject
* obj0
= 0 ;
8607 PyObject
* obj1
= 0 ;
8608 PyObject
* obj2
= 0 ;
8610 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8615 if (SWIG_arg_fail(1)) SWIG_fail
;
8618 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8619 if (SWIG_arg_fail(2)) SWIG_fail
;
8624 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
8625 if (SWIG_arg_fail(3)) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8644 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
= NULL
;
8646 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8647 size_t arg2
= (size_t) 1 ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8652 (char *) "self",(char *) "numCols", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
8656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8657 if (SWIG_arg_fail(1)) SWIG_fail
;
8660 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8661 if (SWIG_arg_fail(2)) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 result
= (bool)(arg1
)->base_AppendCols(arg2
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8680 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
= NULL
;
8682 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8683 size_t arg2
= (size_t) 0 ;
8684 size_t arg3
= (size_t) 1 ;
8686 PyObject
* obj0
= 0 ;
8687 PyObject
* obj1
= 0 ;
8688 PyObject
* obj2
= 0 ;
8690 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8695 if (SWIG_arg_fail(1)) SWIG_fail
;
8698 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8699 if (SWIG_arg_fail(2)) SWIG_fail
;
8704 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
8705 if (SWIG_arg_fail(3)) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8724 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
= NULL
;
8726 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8730 PyObject
* obj1
= 0 ;
8732 (char *) "self",(char *) "row", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8737 if (SWIG_arg_fail(1)) SWIG_fail
;
8739 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8740 if (SWIG_arg_fail(2)) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 result
= (arg1
)->base_GetRowLabelValue(arg2
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8762 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
= NULL
;
8764 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8770 (char *) "self",(char *) "col", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8775 if (SWIG_arg_fail(1)) SWIG_fail
;
8777 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8778 if (SWIG_arg_fail(2)) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (arg1
)->base_GetColLabelValue(arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8800 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
= NULL
;
8802 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8804 wxString
*arg3
= 0 ;
8805 bool temp3
= false ;
8806 PyObject
* obj0
= 0 ;
8807 PyObject
* obj1
= 0 ;
8808 PyObject
* obj2
= 0 ;
8810 (char *) "self",(char *) "row",(char *) "value", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8815 if (SWIG_arg_fail(1)) SWIG_fail
;
8817 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8818 if (SWIG_arg_fail(2)) SWIG_fail
;
8821 arg3
= wxString_in_helper(obj2
);
8822 if (arg3
== NULL
) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 Py_INCREF(Py_None
); resultobj
= Py_None
;
8847 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
= NULL
;
8849 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8851 wxString
*arg3
= 0 ;
8852 bool temp3
= false ;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj1
= 0 ;
8855 PyObject
* obj2
= 0 ;
8857 (char *) "self",(char *) "col",(char *) "value", NULL
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8862 if (SWIG_arg_fail(1)) SWIG_fail
;
8864 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8865 if (SWIG_arg_fail(2)) SWIG_fail
;
8868 arg3
= wxString_in_helper(obj2
);
8869 if (arg3
== NULL
) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 Py_INCREF(Py_None
); resultobj
= Py_None
;
8894 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
= NULL
;
8896 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8898 PyObject
* obj0
= 0 ;
8900 (char *) "self", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
8904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8905 if (SWIG_arg_fail(1)) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 result
= (bool)(arg1
)->base_CanHaveAttributes();
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8922 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
= NULL
;
8924 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8927 wxGridCellAttr::wxAttrKind arg4
;
8928 wxGridCellAttr
*result
;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8931 PyObject
* obj2
= 0 ;
8932 PyObject
* obj3
= 0 ;
8934 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8939 if (SWIG_arg_fail(1)) SWIG_fail
;
8941 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8942 if (SWIG_arg_fail(2)) SWIG_fail
;
8945 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8946 if (SWIG_arg_fail(3)) SWIG_fail
;
8949 arg4
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj3
));
8950 if (SWIG_arg_fail(4)) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,arg4
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
8968 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
= NULL
;
8970 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8971 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8976 PyObject
* obj2
= 0 ;
8977 PyObject
* obj3
= 0 ;
8979 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8984 if (SWIG_arg_fail(1)) SWIG_fail
;
8985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8986 if (SWIG_arg_fail(2)) SWIG_fail
;
8988 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8989 if (SWIG_arg_fail(3)) SWIG_fail
;
8992 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8993 if (SWIG_arg_fail(4)) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 Py_INCREF(Py_None
); resultobj
= Py_None
;
9009 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
= NULL
;
9011 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9012 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9016 PyObject
* obj2
= 0 ;
9018 (char *) "self",(char *) "attr",(char *) "row", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
9023 if (SWIG_arg_fail(1)) SWIG_fail
;
9024 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
9025 if (SWIG_arg_fail(2)) SWIG_fail
;
9027 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9028 if (SWIG_arg_fail(3)) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 (arg1
)->base_SetRowAttr(arg2
,arg3
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 Py_INCREF(Py_None
); resultobj
= Py_None
;
9044 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
= NULL
;
9046 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9047 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9051 PyObject
* obj2
= 0 ;
9053 (char *) "self",(char *) "attr",(char *) "col", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
9058 if (SWIG_arg_fail(1)) SWIG_fail
;
9059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
9060 if (SWIG_arg_fail(2)) SWIG_fail
;
9062 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9063 if (SWIG_arg_fail(3)) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 (arg1
)->base_SetColAttr(arg2
,arg3
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 Py_INCREF(Py_None
); resultobj
= Py_None
;
9079 static PyObject
* PyGridTableBase_swigregister(PyObject
*, PyObject
*args
) {
9081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9082 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
9084 return Py_BuildValue((char *)"");
9086 static PyObject
*_wrap_new_GridStringTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
= NULL
;
9088 int arg1
= (int) 0 ;
9089 int arg2
= (int) 0 ;
9090 wxGridStringTable
*result
;
9091 PyObject
* obj0
= 0 ;
9092 PyObject
* obj1
= 0 ;
9094 (char *) "numRows",(char *) "numCols", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
9100 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9101 if (SWIG_arg_fail(1)) SWIG_fail
;
9106 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9107 if (SWIG_arg_fail(2)) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
9124 static PyObject
* GridStringTable_swigregister(PyObject
*, PyObject
*args
) {
9126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9127 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
9129 return Py_BuildValue((char *)"");
9131 static PyObject
*_wrap_new_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
*resultobj
= NULL
;
9133 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9135 int arg3
= (int) -1 ;
9136 int arg4
= (int) -1 ;
9137 wxGridTableMessage
*result
;
9138 PyObject
* obj0
= 0 ;
9139 PyObject
* obj1
= 0 ;
9140 PyObject
* obj2
= 0 ;
9141 PyObject
* obj3
= 0 ;
9143 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
9148 if (SWIG_arg_fail(1)) SWIG_fail
;
9150 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9151 if (SWIG_arg_fail(2)) SWIG_fail
;
9155 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9156 if (SWIG_arg_fail(3)) SWIG_fail
;
9161 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9162 if (SWIG_arg_fail(4)) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
9179 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
= NULL
;
9181 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9184 (char *) "self", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
9188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9189 if (SWIG_arg_fail(1)) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 Py_INCREF(Py_None
); resultobj
= Py_None
;
9204 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
= NULL
;
9206 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9207 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
9208 PyObject
* obj0
= 0 ;
9209 PyObject
* obj1
= 0 ;
9211 (char *) "self",(char *) "table", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
9215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9216 if (SWIG_arg_fail(1)) SWIG_fail
;
9217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
9218 if (SWIG_arg_fail(2)) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 (arg1
)->SetTableObject(arg2
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 Py_INCREF(Py_None
); resultobj
= Py_None
;
9233 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
= NULL
;
9235 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9236 wxGridTableBase
*result
;
9237 PyObject
* obj0
= 0 ;
9239 (char *) "self", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
9243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9244 if (SWIG_arg_fail(1)) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
9261 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
= NULL
;
9263 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9265 PyObject
* obj0
= 0 ;
9266 PyObject
* obj1
= 0 ;
9268 (char *) "self",(char *) "id", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
9272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9273 if (SWIG_arg_fail(1)) SWIG_fail
;
9275 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9276 if (SWIG_arg_fail(2)) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 (arg1
)->SetId(arg2
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 Py_INCREF(Py_None
); resultobj
= Py_None
;
9292 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
= NULL
;
9294 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9296 PyObject
* obj0
= 0 ;
9298 (char *) "self", NULL
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
9302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9303 if (SWIG_arg_fail(1)) SWIG_fail
;
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 result
= (int)(arg1
)->GetId();
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9312 resultobj
= SWIG_From_int(static_cast<int >(result
));
9320 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
= NULL
;
9322 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9324 PyObject
* obj0
= 0 ;
9325 PyObject
* obj1
= 0 ;
9327 (char *) "self",(char *) "comInt1", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9332 if (SWIG_arg_fail(1)) SWIG_fail
;
9334 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9335 if (SWIG_arg_fail(2)) SWIG_fail
;
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 (arg1
)->SetCommandInt(arg2
);
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9344 Py_INCREF(Py_None
); resultobj
= Py_None
;
9351 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
*resultobj
= NULL
;
9353 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9355 PyObject
* obj0
= 0 ;
9357 (char *) "self", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
9361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9362 if (SWIG_arg_fail(1)) SWIG_fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 result
= (int)(arg1
)->GetCommandInt();
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_From_int(static_cast<int >(result
));
9379 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
= NULL
;
9381 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9384 PyObject
* obj1
= 0 ;
9386 (char *) "self",(char *) "comInt2", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
9390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9391 if (SWIG_arg_fail(1)) SWIG_fail
;
9393 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9394 if (SWIG_arg_fail(2)) SWIG_fail
;
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 (arg1
)->SetCommandInt2(arg2
);
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 Py_INCREF(Py_None
); resultobj
= Py_None
;
9410 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
= NULL
;
9412 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9416 (char *) "self", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
9420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9421 if (SWIG_arg_fail(1)) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (int)(arg1
)->GetCommandInt2();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_From_int(static_cast<int >(result
));
9438 static PyObject
* GridTableMessage_swigregister(PyObject
*, PyObject
*args
) {
9440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9441 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
9443 return Py_BuildValue((char *)"");
9445 static PyObject
*_wrap_new_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
= NULL
;
9447 int arg1
= (int) -1 ;
9448 int arg2
= (int) -1 ;
9449 wxGridCellCoords
*result
;
9450 PyObject
* obj0
= 0 ;
9451 PyObject
* obj1
= 0 ;
9453 (char *) "r",(char *) "c", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
9459 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9460 if (SWIG_arg_fail(1)) SWIG_fail
;
9465 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9466 if (SWIG_arg_fail(2)) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
9483 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
= NULL
;
9485 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9486 PyObject
* obj0
= 0 ;
9488 (char *) "self", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
9492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9493 if (SWIG_arg_fail(1)) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 Py_INCREF(Py_None
); resultobj
= Py_None
;
9508 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
= NULL
;
9510 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9512 PyObject
* obj0
= 0 ;
9514 (char *) "self", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
9518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9519 if (SWIG_arg_fail(1)) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_From_int(static_cast<int >(result
));
9536 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
= NULL
;
9538 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9543 (char *) "self",(char *) "n", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9548 if (SWIG_arg_fail(1)) SWIG_fail
;
9550 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9551 if (SWIG_arg_fail(2)) SWIG_fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 (arg1
)->SetRow(arg2
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 Py_INCREF(Py_None
); resultobj
= Py_None
;
9567 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
= NULL
;
9569 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9571 PyObject
* obj0
= 0 ;
9573 (char *) "self", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
9577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9578 if (SWIG_arg_fail(1)) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= SWIG_From_int(static_cast<int >(result
));
9595 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
= NULL
;
9597 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj1
= 0 ;
9602 (char *) "self",(char *) "n", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9607 if (SWIG_arg_fail(1)) SWIG_fail
;
9609 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9610 if (SWIG_arg_fail(2)) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 (arg1
)->SetCol(arg2
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 Py_INCREF(Py_None
); resultobj
= Py_None
;
9626 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
= NULL
;
9628 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9633 PyObject
* obj2
= 0 ;
9635 (char *) "self",(char *) "row",(char *) "col", NULL
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9640 if (SWIG_arg_fail(1)) SWIG_fail
;
9642 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9643 if (SWIG_arg_fail(2)) SWIG_fail
;
9646 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9647 if (SWIG_arg_fail(3)) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 (arg1
)->Set(arg2
,arg3
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 Py_INCREF(Py_None
); resultobj
= Py_None
;
9663 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
= NULL
;
9665 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9666 wxGridCellCoords
*arg2
= 0 ;
9668 wxGridCellCoords temp2
;
9669 PyObject
* obj0
= 0 ;
9670 PyObject
* obj1
= 0 ;
9672 (char *) "self",(char *) "other", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9677 if (SWIG_arg_fail(1)) SWIG_fail
;
9680 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9698 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
= NULL
;
9700 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9701 wxGridCellCoords
*arg2
= 0 ;
9703 wxGridCellCoords temp2
;
9704 PyObject
* obj0
= 0 ;
9705 PyObject
* obj1
= 0 ;
9707 (char *) "self",(char *) "other", NULL
9710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9712 if (SWIG_arg_fail(1)) SWIG_fail
;
9715 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9733 static PyObject
*_wrap_GridCellCoords_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
= NULL
;
9735 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9739 (char *) "self", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_Get",kwnames
,&obj0
)) goto fail
;
9743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9744 if (SWIG_arg_fail(1)) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9759 static PyObject
* GridCellCoords_swigregister(PyObject
*, PyObject
*args
) {
9761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9762 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
9764 return Py_BuildValue((char *)"");
9766 static PyObject
*_wrap_new_Grid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
= NULL
;
9768 wxWindow
*arg1
= (wxWindow
*) 0 ;
9769 int arg2
= (int) -1 ;
9770 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9771 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9772 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9773 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9774 long arg5
= (long) wxWANTS_CHARS
;
9775 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9776 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9780 bool temp6
= false ;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9783 PyObject
* obj2
= 0 ;
9784 PyObject
* obj3
= 0 ;
9785 PyObject
* obj4
= 0 ;
9786 PyObject
* obj5
= 0 ;
9788 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9793 if (SWIG_arg_fail(1)) SWIG_fail
;
9796 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9797 if (SWIG_arg_fail(2)) SWIG_fail
;
9803 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9809 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9814 arg5
= static_cast<long >(SWIG_As_long(obj4
));
9815 if (SWIG_arg_fail(5)) SWIG_fail
;
9820 arg6
= wxString_in_helper(obj5
);
9821 if (arg6
== NULL
) SWIG_fail
;
9826 if (!wxPyCheckForApp()) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
9848 static PyObject
*_wrap_new_PreGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
= NULL
;
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGrid",kwnames
)) goto fail
;
9857 if (!wxPyCheckForApp()) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (wxGrid
*)new wxGrid();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
9871 static PyObject
*_wrap_Grid_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
= NULL
;
9873 wxGrid
*arg1
= (wxGrid
*) 0 ;
9874 wxWindow
*arg2
= (wxWindow
*) 0 ;
9875 int arg3
= (int) -1 ;
9876 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9877 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9878 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9879 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9880 long arg6
= (long) wxWANTS_CHARS
;
9881 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9882 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9886 bool temp7
= false ;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9889 PyObject
* obj2
= 0 ;
9890 PyObject
* obj3
= 0 ;
9891 PyObject
* obj4
= 0 ;
9892 PyObject
* obj5
= 0 ;
9893 PyObject
* obj6
= 0 ;
9895 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9900 if (SWIG_arg_fail(1)) SWIG_fail
;
9901 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9902 if (SWIG_arg_fail(2)) SWIG_fail
;
9905 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9906 if (SWIG_arg_fail(3)) SWIG_fail
;
9912 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9918 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9923 arg6
= static_cast<long >(SWIG_As_long(obj5
));
9924 if (SWIG_arg_fail(6)) SWIG_fail
;
9929 arg7
= wxString_in_helper(obj6
);
9930 if (arg7
== NULL
) SWIG_fail
;
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9958 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
= NULL
;
9960 wxGrid
*arg1
= (wxGrid
*) 0 ;
9963 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
9965 PyObject
* obj0
= 0 ;
9966 PyObject
* obj1
= 0 ;
9967 PyObject
* obj2
= 0 ;
9968 PyObject
* obj3
= 0 ;
9970 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9975 if (SWIG_arg_fail(1)) SWIG_fail
;
9977 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9978 if (SWIG_arg_fail(2)) SWIG_fail
;
9981 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9982 if (SWIG_arg_fail(3)) SWIG_fail
;
9986 arg4
= static_cast<WXGRIDSELECTIONMODES
>(SWIG_As_int(obj3
));
9987 if (SWIG_arg_fail(4)) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10006 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
= NULL
;
10008 wxGrid
*arg1
= (wxGrid
*) 0 ;
10009 WXGRIDSELECTIONMODES arg2
;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self",(char *) "selmode", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
10017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10018 if (SWIG_arg_fail(1)) SWIG_fail
;
10020 arg2
= static_cast<WXGRIDSELECTIONMODES
>(SWIG_As_int(obj1
));
10021 if (SWIG_arg_fail(2)) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 (arg1
)->SetSelectionMode(arg2
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 Py_INCREF(Py_None
); resultobj
= Py_None
;
10037 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
= NULL
;
10039 wxGrid
*arg1
= (wxGrid
*) 0 ;
10040 WXGRIDSELECTIONMODES result
;
10041 PyObject
* obj0
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
10047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10048 if (SWIG_arg_fail(1)) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= SWIG_From_int(static_cast<int >(result
));
10065 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
= NULL
;
10067 wxGrid
*arg1
= (wxGrid
*) 0 ;
10069 PyObject
* obj0
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "self", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
10075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10076 if (SWIG_arg_fail(1)) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 result
= (int)(arg1
)->GetNumberRows();
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= SWIG_From_int(static_cast<int >(result
));
10093 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
= NULL
;
10095 wxGrid
*arg1
= (wxGrid
*) 0 ;
10097 PyObject
* obj0
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "self", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
10103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10104 if (SWIG_arg_fail(1)) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 result
= (int)(arg1
)->GetNumberCols();
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= SWIG_From_int(static_cast<int >(result
));
10121 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
= NULL
;
10123 wxGrid
*arg1
= (wxGrid
*) 0 ;
10124 wxGridTableMessage
*arg2
= 0 ;
10126 PyObject
* obj0
= 0 ;
10127 PyObject
* obj1
= 0 ;
10128 char *kwnames
[] = {
10129 (char *) "self","arg2", NULL
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10134 if (SWIG_arg_fail(1)) SWIG_fail
;
10136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
10137 if (SWIG_arg_fail(2)) SWIG_fail
;
10138 if (arg2
== NULL
) {
10139 SWIG_null_ref("wxGridTableMessage");
10141 if (SWIG_arg_fail(2)) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10159 static PyObject
*_wrap_Grid_GetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
= NULL
;
10161 wxGrid
*arg1
= (wxGrid
*) 0 ;
10162 wxGridTableBase
*result
;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
10169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10170 if (SWIG_arg_fail(1)) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
10187 static PyObject
*_wrap_Grid_SetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
= NULL
;
10189 wxGrid
*arg1
= (wxGrid
*) 0 ;
10190 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
10191 bool arg3
= (bool) false ;
10192 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10194 PyObject
* obj0
= 0 ;
10195 PyObject
* obj1
= 0 ;
10196 PyObject
* obj2
= 0 ;
10197 PyObject
* obj3
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10204 if (SWIG_arg_fail(1)) SWIG_fail
;
10205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
10206 if (SWIG_arg_fail(2)) SWIG_fail
;
10209 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10210 if (SWIG_arg_fail(3)) SWIG_fail
;
10215 arg4
= static_cast<WXGRIDSELECTIONMODES
>(SWIG_As_int(obj3
));
10216 if (SWIG_arg_fail(4)) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10235 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
= NULL
;
10237 wxGrid
*arg1
= (wxGrid
*) 0 ;
10238 PyObject
* obj0
= 0 ;
10239 char *kwnames
[] = {
10240 (char *) "self", NULL
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
10244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10245 if (SWIG_arg_fail(1)) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 (arg1
)->ClearGrid();
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 Py_INCREF(Py_None
); resultobj
= Py_None
;
10260 static PyObject
*_wrap_Grid_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
= NULL
;
10262 wxGrid
*arg1
= (wxGrid
*) 0 ;
10263 int arg2
= (int) 0 ;
10264 int arg3
= (int) 1 ;
10265 bool arg4
= (bool) true ;
10267 PyObject
* obj0
= 0 ;
10268 PyObject
* obj1
= 0 ;
10269 PyObject
* obj2
= 0 ;
10270 PyObject
* obj3
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10277 if (SWIG_arg_fail(1)) SWIG_fail
;
10280 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10281 if (SWIG_arg_fail(2)) SWIG_fail
;
10286 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10287 if (SWIG_arg_fail(3)) SWIG_fail
;
10292 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10293 if (SWIG_arg_fail(4)) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10312 static PyObject
*_wrap_Grid_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
= NULL
;
10314 wxGrid
*arg1
= (wxGrid
*) 0 ;
10315 int arg2
= (int) 1 ;
10316 bool arg3
= (bool) true ;
10318 PyObject
* obj0
= 0 ;
10319 PyObject
* obj1
= 0 ;
10320 PyObject
* obj2
= 0 ;
10321 char *kwnames
[] = {
10322 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10327 if (SWIG_arg_fail(1)) SWIG_fail
;
10330 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10331 if (SWIG_arg_fail(2)) SWIG_fail
;
10336 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10337 if (SWIG_arg_fail(3)) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10356 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
= NULL
;
10358 wxGrid
*arg1
= (wxGrid
*) 0 ;
10359 int arg2
= (int) 0 ;
10360 int arg3
= (int) 1 ;
10361 bool arg4
= (bool) true ;
10363 PyObject
* obj0
= 0 ;
10364 PyObject
* obj1
= 0 ;
10365 PyObject
* obj2
= 0 ;
10366 PyObject
* obj3
= 0 ;
10367 char *kwnames
[] = {
10368 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10373 if (SWIG_arg_fail(1)) SWIG_fail
;
10376 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10377 if (SWIG_arg_fail(2)) SWIG_fail
;
10382 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10383 if (SWIG_arg_fail(3)) SWIG_fail
;
10388 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10389 if (SWIG_arg_fail(4)) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10408 static PyObject
*_wrap_Grid_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
= NULL
;
10410 wxGrid
*arg1
= (wxGrid
*) 0 ;
10411 int arg2
= (int) 0 ;
10412 int arg3
= (int) 1 ;
10413 bool arg4
= (bool) true ;
10415 PyObject
* obj0
= 0 ;
10416 PyObject
* obj1
= 0 ;
10417 PyObject
* obj2
= 0 ;
10418 PyObject
* obj3
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10425 if (SWIG_arg_fail(1)) SWIG_fail
;
10428 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10429 if (SWIG_arg_fail(2)) SWIG_fail
;
10434 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10435 if (SWIG_arg_fail(3)) SWIG_fail
;
10440 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10441 if (SWIG_arg_fail(4)) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10460 static PyObject
*_wrap_Grid_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
= NULL
;
10462 wxGrid
*arg1
= (wxGrid
*) 0 ;
10463 int arg2
= (int) 1 ;
10464 bool arg3
= (bool) true ;
10466 PyObject
* obj0
= 0 ;
10467 PyObject
* obj1
= 0 ;
10468 PyObject
* obj2
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10475 if (SWIG_arg_fail(1)) SWIG_fail
;
10478 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10479 if (SWIG_arg_fail(2)) SWIG_fail
;
10484 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10485 if (SWIG_arg_fail(3)) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10504 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
= NULL
;
10506 wxGrid
*arg1
= (wxGrid
*) 0 ;
10507 int arg2
= (int) 0 ;
10508 int arg3
= (int) 1 ;
10509 bool arg4
= (bool) true ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 PyObject
* obj2
= 0 ;
10514 PyObject
* obj3
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10521 if (SWIG_arg_fail(1)) SWIG_fail
;
10524 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10525 if (SWIG_arg_fail(2)) SWIG_fail
;
10530 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10531 if (SWIG_arg_fail(3)) SWIG_fail
;
10536 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10537 if (SWIG_arg_fail(4)) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10556 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
= NULL
;
10558 wxGrid
*arg1
= (wxGrid
*) 0 ;
10560 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
10561 PyObject
* obj0
= 0 ;
10562 PyObject
* obj1
= 0 ;
10563 PyObject
* obj2
= 0 ;
10564 char *kwnames
[] = {
10565 (char *) "self",(char *) "dc",(char *) "attr", NULL
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10570 if (SWIG_arg_fail(1)) SWIG_fail
;
10572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10573 if (SWIG_arg_fail(2)) SWIG_fail
;
10574 if (arg2
== NULL
) {
10575 SWIG_null_ref("wxDC");
10577 if (SWIG_arg_fail(2)) SWIG_fail
;
10579 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
10580 if (SWIG_arg_fail(3)) SWIG_fail
;
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 Py_INCREF(Py_None
); resultobj
= Py_None
;
10595 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
= NULL
;
10597 wxGrid
*arg1
= (wxGrid
*) 0 ;
10599 wxString
*arg3
= 0 ;
10601 int arg5
= (int) wxLEFT
;
10602 int arg6
= (int) wxTOP
;
10603 int arg7
= (int) wxHORIZONTAL
;
10604 bool temp3
= false ;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 PyObject
* obj3
= 0 ;
10610 PyObject
* obj4
= 0 ;
10611 PyObject
* obj5
= 0 ;
10612 PyObject
* obj6
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10619 if (SWIG_arg_fail(1)) SWIG_fail
;
10621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10622 if (SWIG_arg_fail(2)) SWIG_fail
;
10623 if (arg2
== NULL
) {
10624 SWIG_null_ref("wxDC");
10626 if (SWIG_arg_fail(2)) SWIG_fail
;
10629 arg3
= wxString_in_helper(obj2
);
10630 if (arg3
== NULL
) SWIG_fail
;
10635 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
10639 arg5
= static_cast<int >(SWIG_As_int(obj4
));
10640 if (SWIG_arg_fail(5)) SWIG_fail
;
10645 arg6
= static_cast<int >(SWIG_As_int(obj5
));
10646 if (SWIG_arg_fail(6)) SWIG_fail
;
10651 arg7
= static_cast<int >(SWIG_As_int(obj6
));
10652 if (SWIG_arg_fail(7)) SWIG_fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 Py_INCREF(Py_None
); resultobj
= Py_None
;
10677 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
= NULL
;
10679 wxGrid
*arg1
= (wxGrid
*) 0 ;
10681 wxArrayString
*arg3
= 0 ;
10682 long *arg4
= (long *) 0 ;
10683 long *arg5
= (long *) 0 ;
10684 bool temp3
= false ;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 PyObject
* obj2
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self",(char *) "dc",(char *) "lines", NULL
10696 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10697 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10700 if (SWIG_arg_fail(1)) SWIG_fail
;
10702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10703 if (SWIG_arg_fail(2)) SWIG_fail
;
10704 if (arg2
== NULL
) {
10705 SWIG_null_ref("wxDC");
10707 if (SWIG_arg_fail(2)) SWIG_fail
;
10710 if (! PySequence_Check(obj2
)) {
10711 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10714 arg3
= new wxArrayString
;
10716 int i
, len
=PySequence_Length(obj2
);
10717 for (i
=0; i
<len
; i
++) {
10718 PyObject
* item
= PySequence_GetItem(obj2
, i
);
10719 wxString
* s
= wxString_in_helper(item
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 Py_INCREF(Py_None
); resultobj
= Py_None
;
10734 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10735 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10736 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
10737 SWIG_From_long((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, 0)));
10739 if (temp3
) delete arg3
;
10744 if (temp3
) delete arg3
;
10750 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
= NULL
;
10752 wxGrid
*arg1
= (wxGrid
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
10759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10760 if (SWIG_arg_fail(1)) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 (arg1
)->BeginBatch();
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 Py_INCREF(Py_None
); resultobj
= Py_None
;
10775 static PyObject
*_wrap_Grid_EndBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
= NULL
;
10777 wxGrid
*arg1
= (wxGrid
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "self", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
10784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10785 if (SWIG_arg_fail(1)) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 (arg1
)->EndBatch();
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 Py_INCREF(Py_None
); resultobj
= Py_None
;
10800 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
= NULL
;
10802 wxGrid
*arg1
= (wxGrid
*) 0 ;
10804 PyObject
* obj0
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
10810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10811 if (SWIG_arg_fail(1)) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 result
= (int)(arg1
)->GetBatchCount();
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= SWIG_From_int(static_cast<int >(result
));
10828 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
= NULL
;
10830 wxGrid
*arg1
= (wxGrid
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
10837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10838 if (SWIG_arg_fail(1)) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 (arg1
)->ForceRefresh();
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 Py_INCREF(Py_None
); resultobj
= Py_None
;
10853 static PyObject
*_wrap_Grid_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
= NULL
;
10855 wxGrid
*arg1
= (wxGrid
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
10863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10864 if (SWIG_arg_fail(1)) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 result
= (bool)(arg1
)->IsEditable();
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10881 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
= NULL
;
10883 wxGrid
*arg1
= (wxGrid
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self",(char *) "edit", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
10892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10893 if (SWIG_arg_fail(1)) SWIG_fail
;
10895 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10896 if (SWIG_arg_fail(2)) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->EnableEditing(arg2
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 Py_INCREF(Py_None
); resultobj
= Py_None
;
10912 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
= NULL
;
10914 wxGrid
*arg1
= (wxGrid
*) 0 ;
10915 bool arg2
= (bool) true ;
10916 PyObject
* obj0
= 0 ;
10917 PyObject
* obj1
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self",(char *) "enable", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
10923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail
;
10927 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10928 if (SWIG_arg_fail(2)) SWIG_fail
;
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 (arg1
)->EnableCellEditControl(arg2
);
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 Py_INCREF(Py_None
); resultobj
= Py_None
;
10945 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
= NULL
;
10947 wxGrid
*arg1
= (wxGrid
*) 0 ;
10948 PyObject
* obj0
= 0 ;
10949 char *kwnames
[] = {
10950 (char *) "self", NULL
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
10954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10955 if (SWIG_arg_fail(1)) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 (arg1
)->DisableCellEditControl();
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 Py_INCREF(Py_None
); resultobj
= Py_None
;
10970 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
= NULL
;
10972 wxGrid
*arg1
= (wxGrid
*) 0 ;
10974 PyObject
* obj0
= 0 ;
10975 char *kwnames
[] = {
10976 (char *) "self", NULL
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
10980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10981 if (SWIG_arg_fail(1)) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10998 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
= NULL
;
11000 wxGrid
*arg1
= (wxGrid
*) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
11008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11009 if (SWIG_arg_fail(1)) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11026 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
= NULL
;
11028 wxGrid
*arg1
= (wxGrid
*) 0 ;
11030 PyObject
* obj0
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
11036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11037 if (SWIG_arg_fail(1)) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11054 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
*resultobj
= NULL
;
11056 wxGrid
*arg1
= (wxGrid
*) 0 ;
11058 PyObject
* obj0
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
11064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11065 if (SWIG_arg_fail(1)) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11082 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
= NULL
;
11084 wxGrid
*arg1
= (wxGrid
*) 0 ;
11085 PyObject
* obj0
= 0 ;
11086 char *kwnames
[] = {
11087 (char *) "self", NULL
11090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
11091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11092 if (SWIG_arg_fail(1)) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 (arg1
)->ShowCellEditControl();
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 Py_INCREF(Py_None
); resultobj
= Py_None
;
11107 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
= NULL
;
11109 wxGrid
*arg1
= (wxGrid
*) 0 ;
11110 PyObject
* obj0
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "self", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
11116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11117 if (SWIG_arg_fail(1)) SWIG_fail
;
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 (arg1
)->HideCellEditControl();
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11125 Py_INCREF(Py_None
); resultobj
= Py_None
;
11132 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
= NULL
;
11134 wxGrid
*arg1
= (wxGrid
*) 0 ;
11135 PyObject
* obj0
= 0 ;
11136 char *kwnames
[] = {
11137 (char *) "self", NULL
11140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
11141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11142 if (SWIG_arg_fail(1)) SWIG_fail
;
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 (arg1
)->SaveEditControlValue();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11150 Py_INCREF(Py_None
); resultobj
= Py_None
;
11157 static PyObject
*_wrap_Grid_XYToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11158 PyObject
*resultobj
= NULL
;
11159 wxGrid
*arg1
= (wxGrid
*) 0 ;
11162 wxGridCellCoords result
;
11163 PyObject
* obj0
= 0 ;
11164 PyObject
* obj1
= 0 ;
11165 PyObject
* obj2
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self",(char *) "x",(char *) "y", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11172 if (SWIG_arg_fail(1)) SWIG_fail
;
11174 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11175 if (SWIG_arg_fail(2)) SWIG_fail
;
11178 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11179 if (SWIG_arg_fail(3)) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11189 wxGridCellCoords
* resultptr
;
11190 resultptr
= new wxGridCellCoords(static_cast<wxGridCellCoords
& >(result
));
11191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
11199 static PyObject
*_wrap_Grid_YToRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
= NULL
;
11201 wxGrid
*arg1
= (wxGrid
*) 0 ;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self",(char *) "y", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
11211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11212 if (SWIG_arg_fail(1)) SWIG_fail
;
11214 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11215 if (SWIG_arg_fail(2)) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (int)(arg1
)->YToRow(arg2
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= SWIG_From_int(static_cast<int >(result
));
11233 static PyObject
*_wrap_Grid_XToCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
= NULL
;
11235 wxGrid
*arg1
= (wxGrid
*) 0 ;
11238 PyObject
* obj0
= 0 ;
11239 PyObject
* obj1
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self",(char *) "x", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
11245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11246 if (SWIG_arg_fail(1)) SWIG_fail
;
11248 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11249 if (SWIG_arg_fail(2)) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 result
= (int)(arg1
)->XToCol(arg2
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11259 resultobj
= SWIG_From_int(static_cast<int >(result
));
11267 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
= NULL
;
11269 wxGrid
*arg1
= (wxGrid
*) 0 ;
11272 PyObject
* obj0
= 0 ;
11273 PyObject
* obj1
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self",(char *) "y", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
11279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11280 if (SWIG_arg_fail(1)) SWIG_fail
;
11282 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11283 if (SWIG_arg_fail(2)) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11293 resultobj
= SWIG_From_int(static_cast<int >(result
));
11301 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
= NULL
;
11303 wxGrid
*arg1
= (wxGrid
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 PyObject
* obj1
= 0 ;
11308 char *kwnames
[] = {
11309 (char *) "self",(char *) "x", NULL
11312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
11313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11314 if (SWIG_arg_fail(1)) SWIG_fail
;
11316 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11317 if (SWIG_arg_fail(2)) SWIG_fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_From_int(static_cast<int >(result
));
11335 static PyObject
*_wrap_Grid_CellToRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
= NULL
;
11337 wxGrid
*arg1
= (wxGrid
*) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 PyObject
* obj2
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self",(char *) "row",(char *) "col", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11350 if (SWIG_arg_fail(1)) SWIG_fail
;
11352 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11353 if (SWIG_arg_fail(2)) SWIG_fail
;
11356 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11357 if (SWIG_arg_fail(3)) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 result
= (arg1
)->CellToRect(arg2
,arg3
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11367 wxRect
* resultptr
;
11368 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
11369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
11377 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
= NULL
;
11379 wxGrid
*arg1
= (wxGrid
*) 0 ;
11381 PyObject
* obj0
= 0 ;
11382 char *kwnames
[] = {
11383 (char *) "self", NULL
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
11387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11388 if (SWIG_arg_fail(1)) SWIG_fail
;
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 result
= (int)(arg1
)->GetGridCursorRow();
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= SWIG_From_int(static_cast<int >(result
));
11405 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
= NULL
;
11407 wxGrid
*arg1
= (wxGrid
*) 0 ;
11409 PyObject
* obj0
= 0 ;
11410 char *kwnames
[] = {
11411 (char *) "self", NULL
11414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
11415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11416 if (SWIG_arg_fail(1)) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (int)(arg1
)->GetGridCursorCol();
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= SWIG_From_int(static_cast<int >(result
));
11433 static PyObject
*_wrap_Grid_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
= NULL
;
11435 wxGrid
*arg1
= (wxGrid
*) 0 ;
11438 bool arg4
= (bool) true ;
11440 PyObject
* obj0
= 0 ;
11441 PyObject
* obj1
= 0 ;
11442 PyObject
* obj2
= 0 ;
11443 PyObject
* obj3
= 0 ;
11444 char *kwnames
[] = {
11445 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11450 if (SWIG_arg_fail(1)) SWIG_fail
;
11452 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11453 if (SWIG_arg_fail(2)) SWIG_fail
;
11456 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11457 if (SWIG_arg_fail(3)) SWIG_fail
;
11461 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
11462 if (SWIG_arg_fail(4)) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11481 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
= NULL
;
11483 wxGrid
*arg1
= (wxGrid
*) 0 ;
11486 PyObject
* obj0
= 0 ;
11487 PyObject
* obj1
= 0 ;
11488 PyObject
* obj2
= 0 ;
11489 char *kwnames
[] = {
11490 (char *) "self",(char *) "row",(char *) "col", NULL
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11495 if (SWIG_arg_fail(1)) SWIG_fail
;
11497 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11498 if (SWIG_arg_fail(2)) SWIG_fail
;
11501 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11502 if (SWIG_arg_fail(3)) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 (arg1
)->MakeCellVisible(arg2
,arg3
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 Py_INCREF(Py_None
); resultobj
= Py_None
;
11518 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
= NULL
;
11520 wxGrid
*arg1
= (wxGrid
*) 0 ;
11523 PyObject
* obj0
= 0 ;
11524 PyObject
* obj1
= 0 ;
11525 PyObject
* obj2
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self",(char *) "row",(char *) "col", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11532 if (SWIG_arg_fail(1)) SWIG_fail
;
11534 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11535 if (SWIG_arg_fail(2)) SWIG_fail
;
11538 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11539 if (SWIG_arg_fail(3)) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 (arg1
)->SetGridCursor(arg2
,arg3
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11548 Py_INCREF(Py_None
); resultobj
= Py_None
;
11555 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
= NULL
;
11557 wxGrid
*arg1
= (wxGrid
*) 0 ;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 char *kwnames
[] = {
11563 (char *) "self",(char *) "expandSelection", NULL
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11568 if (SWIG_arg_fail(1)) SWIG_fail
;
11570 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11571 if (SWIG_arg_fail(2)) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11589 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
= NULL
;
11591 wxGrid
*arg1
= (wxGrid
*) 0 ;
11594 PyObject
* obj0
= 0 ;
11595 PyObject
* obj1
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "self",(char *) "expandSelection", NULL
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11602 if (SWIG_arg_fail(1)) SWIG_fail
;
11604 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11605 if (SWIG_arg_fail(2)) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11623 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
= NULL
;
11625 wxGrid
*arg1
= (wxGrid
*) 0 ;
11628 PyObject
* obj0
= 0 ;
11629 PyObject
* obj1
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self",(char *) "expandSelection", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
11635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11636 if (SWIG_arg_fail(1)) SWIG_fail
;
11638 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11639 if (SWIG_arg_fail(2)) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11657 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
= NULL
;
11659 wxGrid
*arg1
= (wxGrid
*) 0 ;
11662 PyObject
* obj0
= 0 ;
11663 PyObject
* obj1
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self",(char *) "expandSelection", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
11669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11670 if (SWIG_arg_fail(1)) SWIG_fail
;
11672 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11673 if (SWIG_arg_fail(2)) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11691 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11692 PyObject
*resultobj
= NULL
;
11693 wxGrid
*arg1
= (wxGrid
*) 0 ;
11695 PyObject
* obj0
= 0 ;
11696 char *kwnames
[] = {
11697 (char *) "self", NULL
11700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
11701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11702 if (SWIG_arg_fail(1)) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (bool)(arg1
)->MovePageDown();
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11719 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
= NULL
;
11721 wxGrid
*arg1
= (wxGrid
*) 0 ;
11723 PyObject
* obj0
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
11729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (bool)(arg1
)->MovePageUp();
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11747 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
= NULL
;
11749 wxGrid
*arg1
= (wxGrid
*) 0 ;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11754 char *kwnames
[] = {
11755 (char *) "self",(char *) "expandSelection", NULL
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11760 if (SWIG_arg_fail(1)) SWIG_fail
;
11762 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11763 if (SWIG_arg_fail(2)) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11781 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
= NULL
;
11783 wxGrid
*arg1
= (wxGrid
*) 0 ;
11786 PyObject
* obj0
= 0 ;
11787 PyObject
* obj1
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "self",(char *) "expandSelection", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11794 if (SWIG_arg_fail(1)) SWIG_fail
;
11796 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11797 if (SWIG_arg_fail(2)) SWIG_fail
;
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11815 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
= NULL
;
11817 wxGrid
*arg1
= (wxGrid
*) 0 ;
11820 PyObject
* obj0
= 0 ;
11821 PyObject
* obj1
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "self",(char *) "expandSelection", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11828 if (SWIG_arg_fail(1)) SWIG_fail
;
11830 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11831 if (SWIG_arg_fail(2)) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11849 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
= NULL
;
11851 wxGrid
*arg1
= (wxGrid
*) 0 ;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "self",(char *) "expandSelection", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11862 if (SWIG_arg_fail(1)) SWIG_fail
;
11864 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11865 if (SWIG_arg_fail(2)) SWIG_fail
;
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11883 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
= NULL
;
11885 wxGrid
*arg1
= (wxGrid
*) 0 ;
11887 PyObject
* obj0
= 0 ;
11888 char *kwnames
[] = {
11889 (char *) "self", NULL
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
11893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11894 if (SWIG_arg_fail(1)) SWIG_fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= (int)(arg1
)->GetDefaultRowLabelSize();
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11903 resultobj
= SWIG_From_int(static_cast<int >(result
));
11911 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11912 PyObject
*resultobj
= NULL
;
11913 wxGrid
*arg1
= (wxGrid
*) 0 ;
11915 PyObject
* obj0
= 0 ;
11916 char *kwnames
[] = {
11917 (char *) "self", NULL
11920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
11921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11922 if (SWIG_arg_fail(1)) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= (int)(arg1
)->GetRowLabelSize();
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= SWIG_From_int(static_cast<int >(result
));
11939 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
= NULL
;
11941 wxGrid
*arg1
= (wxGrid
*) 0 ;
11943 PyObject
* obj0
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
11949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11950 if (SWIG_arg_fail(1)) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= (int)(arg1
)->GetDefaultColLabelSize();
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11959 resultobj
= SWIG_From_int(static_cast<int >(result
));
11967 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
= NULL
;
11969 wxGrid
*arg1
= (wxGrid
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
11977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11978 if (SWIG_arg_fail(1)) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (int)(arg1
)->GetColLabelSize();
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= SWIG_From_int(static_cast<int >(result
));
11995 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
= NULL
;
11997 wxGrid
*arg1
= (wxGrid
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
12005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12006 if (SWIG_arg_fail(1)) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (arg1
)->GetLabelBackgroundColour();
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12015 wxColour
* resultptr
;
12016 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
12017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12025 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
= NULL
;
12027 wxGrid
*arg1
= (wxGrid
*) 0 ;
12029 PyObject
* obj0
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
12035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (arg1
)->GetLabelTextColour();
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12045 wxColour
* resultptr
;
12046 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
12047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12055 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
= NULL
;
12057 wxGrid
*arg1
= (wxGrid
*) 0 ;
12059 PyObject
* obj0
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
12065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12066 if (SWIG_arg_fail(1)) SWIG_fail
;
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= (arg1
)->GetLabelFont();
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12075 wxFont
* resultptr
;
12076 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
12077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12085 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
= NULL
;
12087 wxGrid
*arg1
= (wxGrid
*) 0 ;
12088 int *arg2
= (int *) 0 ;
12089 int *arg3
= (int *) 0 ;
12094 PyObject
* obj0
= 0 ;
12095 char *kwnames
[] = {
12096 (char *) "self", NULL
12099 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12100 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
12102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12103 if (SWIG_arg_fail(1)) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 Py_INCREF(Py_None
); resultobj
= Py_None
;
12112 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12113 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
12114 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12115 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
12122 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
= NULL
;
12124 wxGrid
*arg1
= (wxGrid
*) 0 ;
12125 int *arg2
= (int *) 0 ;
12126 int *arg3
= (int *) 0 ;
12131 PyObject
* obj0
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "self", NULL
12136 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12137 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
12139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12140 if (SWIG_arg_fail(1)) SWIG_fail
;
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 Py_INCREF(Py_None
); resultobj
= Py_None
;
12149 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12150 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
12151 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12152 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
12159 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12160 PyObject
*resultobj
= NULL
;
12161 wxGrid
*arg1
= (wxGrid
*) 0 ;
12163 PyObject
* obj0
= 0 ;
12164 char *kwnames
[] = {
12165 (char *) "self", NULL
12168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
12169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12170 if (SWIG_arg_fail(1)) SWIG_fail
;
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (int)(arg1
)->GetColLabelTextOrientation();
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= SWIG_From_int(static_cast<int >(result
));
12187 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12188 PyObject
*resultobj
= NULL
;
12189 wxGrid
*arg1
= (wxGrid
*) 0 ;
12192 PyObject
* obj0
= 0 ;
12193 PyObject
* obj1
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self",(char *) "row", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12200 if (SWIG_arg_fail(1)) SWIG_fail
;
12202 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12203 if (SWIG_arg_fail(2)) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 result
= (arg1
)->GetRowLabelValue(arg2
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12225 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
= NULL
;
12227 wxGrid
*arg1
= (wxGrid
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 PyObject
* obj1
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self",(char *) "col", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12238 if (SWIG_arg_fail(1)) SWIG_fail
;
12240 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12241 if (SWIG_arg_fail(2)) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= (arg1
)->GetColLabelValue(arg2
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12263 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
= NULL
;
12265 wxGrid
*arg1
= (wxGrid
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
12273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12274 if (SWIG_arg_fail(1)) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= (arg1
)->GetGridLineColour();
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 wxColour
* resultptr
;
12284 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
12285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12293 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
= NULL
;
12295 wxGrid
*arg1
= (wxGrid
*) 0 ;
12297 PyObject
* obj0
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
12303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 result
= (arg1
)->GetCellHighlightColour();
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12313 wxColour
* resultptr
;
12314 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
12315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12323 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
= NULL
;
12325 wxGrid
*arg1
= (wxGrid
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
12333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= (int)(arg1
)->GetCellHighlightPenWidth();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= SWIG_From_int(static_cast<int >(result
));
12351 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
= NULL
;
12353 wxGrid
*arg1
= (wxGrid
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
12361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12362 if (SWIG_arg_fail(1)) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_From_int(static_cast<int >(result
));
12379 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
= NULL
;
12381 wxGrid
*arg1
= (wxGrid
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 PyObject
* obj1
= 0 ;
12385 char *kwnames
[] = {
12386 (char *) "self",(char *) "width", NULL
12389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12391 if (SWIG_arg_fail(1)) SWIG_fail
;
12393 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12394 if (SWIG_arg_fail(2)) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 (arg1
)->SetRowLabelSize(arg2
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 Py_INCREF(Py_None
); resultobj
= Py_None
;
12410 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
= NULL
;
12412 wxGrid
*arg1
= (wxGrid
*) 0 ;
12414 PyObject
* obj0
= 0 ;
12415 PyObject
* obj1
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "self",(char *) "height", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12422 if (SWIG_arg_fail(1)) SWIG_fail
;
12424 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12425 if (SWIG_arg_fail(2)) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 (arg1
)->SetColLabelSize(arg2
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12434 Py_INCREF(Py_None
); resultobj
= Py_None
;
12441 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
= NULL
;
12443 wxGrid
*arg1
= (wxGrid
*) 0 ;
12444 wxColour
*arg2
= 0 ;
12446 PyObject
* obj0
= 0 ;
12447 PyObject
* obj1
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "self","arg2", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12454 if (SWIG_arg_fail(1)) SWIG_fail
;
12457 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 Py_INCREF(Py_None
); resultobj
= Py_None
;
12473 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
= NULL
;
12475 wxGrid
*arg1
= (wxGrid
*) 0 ;
12476 wxColour
*arg2
= 0 ;
12478 PyObject
* obj0
= 0 ;
12479 PyObject
* obj1
= 0 ;
12480 char *kwnames
[] = {
12481 (char *) "self","arg2", NULL
12484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12486 if (SWIG_arg_fail(1)) SWIG_fail
;
12489 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 Py_INCREF(Py_None
); resultobj
= Py_None
;
12505 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
= NULL
;
12507 wxGrid
*arg1
= (wxGrid
*) 0 ;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "self","arg2", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12517 if (SWIG_arg_fail(1)) SWIG_fail
;
12519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
12520 if (SWIG_arg_fail(2)) SWIG_fail
;
12521 if (arg2
== NULL
) {
12522 SWIG_null_ref("wxFont");
12524 if (SWIG_arg_fail(2)) SWIG_fail
;
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12533 Py_INCREF(Py_None
); resultobj
= Py_None
;
12540 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
*resultobj
= NULL
;
12542 wxGrid
*arg1
= (wxGrid
*) 0 ;
12545 PyObject
* obj0
= 0 ;
12546 PyObject
* obj1
= 0 ;
12547 PyObject
* obj2
= 0 ;
12548 char *kwnames
[] = {
12549 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12554 if (SWIG_arg_fail(1)) SWIG_fail
;
12556 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12557 if (SWIG_arg_fail(2)) SWIG_fail
;
12560 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12561 if (SWIG_arg_fail(3)) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 Py_INCREF(Py_None
); resultobj
= Py_None
;
12577 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
= NULL
;
12579 wxGrid
*arg1
= (wxGrid
*) 0 ;
12582 PyObject
* obj0
= 0 ;
12583 PyObject
* obj1
= 0 ;
12584 PyObject
* obj2
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail
;
12593 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12594 if (SWIG_arg_fail(2)) SWIG_fail
;
12597 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12598 if (SWIG_arg_fail(3)) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 Py_INCREF(Py_None
); resultobj
= Py_None
;
12614 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
= NULL
;
12616 wxGrid
*arg1
= (wxGrid
*) 0 ;
12618 PyObject
* obj0
= 0 ;
12619 PyObject
* obj1
= 0 ;
12620 char *kwnames
[] = {
12621 (char *) "self",(char *) "textOrientation", NULL
12624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
12625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12626 if (SWIG_arg_fail(1)) SWIG_fail
;
12628 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12629 if (SWIG_arg_fail(2)) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 (arg1
)->SetColLabelTextOrientation(arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 Py_INCREF(Py_None
); resultobj
= Py_None
;
12645 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
= NULL
;
12647 wxGrid
*arg1
= (wxGrid
*) 0 ;
12649 wxString
*arg3
= 0 ;
12650 bool temp3
= false ;
12651 PyObject
* obj0
= 0 ;
12652 PyObject
* obj1
= 0 ;
12653 PyObject
* obj2
= 0 ;
12654 char *kwnames
[] = {
12655 (char *) "self",(char *) "row","arg3", NULL
12658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12660 if (SWIG_arg_fail(1)) SWIG_fail
;
12662 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12663 if (SWIG_arg_fail(2)) SWIG_fail
;
12666 arg3
= wxString_in_helper(obj2
);
12667 if (arg3
== NULL
) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 Py_INCREF(Py_None
); resultobj
= Py_None
;
12692 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
= NULL
;
12694 wxGrid
*arg1
= (wxGrid
*) 0 ;
12696 wxString
*arg3
= 0 ;
12697 bool temp3
= false ;
12698 PyObject
* obj0
= 0 ;
12699 PyObject
* obj1
= 0 ;
12700 PyObject
* obj2
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "self",(char *) "col","arg3", NULL
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12707 if (SWIG_arg_fail(1)) SWIG_fail
;
12709 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12710 if (SWIG_arg_fail(2)) SWIG_fail
;
12713 arg3
= wxString_in_helper(obj2
);
12714 if (arg3
== NULL
) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 Py_INCREF(Py_None
); resultobj
= Py_None
;
12739 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
= NULL
;
12741 wxGrid
*arg1
= (wxGrid
*) 0 ;
12742 wxColour
*arg2
= 0 ;
12744 PyObject
* obj0
= 0 ;
12745 PyObject
* obj1
= 0 ;
12746 char *kwnames
[] = {
12747 (char *) "self","arg2", NULL
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12752 if (SWIG_arg_fail(1)) SWIG_fail
;
12755 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 Py_INCREF(Py_None
); resultobj
= Py_None
;
12771 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
= NULL
;
12773 wxGrid
*arg1
= (wxGrid
*) 0 ;
12774 wxColour
*arg2
= 0 ;
12776 PyObject
* obj0
= 0 ;
12777 PyObject
* obj1
= 0 ;
12778 char *kwnames
[] = {
12779 (char *) "self","arg2", NULL
12782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12784 if (SWIG_arg_fail(1)) SWIG_fail
;
12787 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 Py_INCREF(Py_None
); resultobj
= Py_None
;
12803 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
= NULL
;
12805 wxGrid
*arg1
= (wxGrid
*) 0 ;
12807 PyObject
* obj0
= 0 ;
12808 PyObject
* obj1
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self",(char *) "width", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12815 if (SWIG_arg_fail(1)) SWIG_fail
;
12817 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12818 if (SWIG_arg_fail(2)) SWIG_fail
;
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 (arg1
)->SetCellHighlightPenWidth(arg2
);
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12827 Py_INCREF(Py_None
); resultobj
= Py_None
;
12834 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
= NULL
;
12836 wxGrid
*arg1
= (wxGrid
*) 0 ;
12838 PyObject
* obj0
= 0 ;
12839 PyObject
* obj1
= 0 ;
12840 char *kwnames
[] = {
12841 (char *) "self",(char *) "width", NULL
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12846 if (SWIG_arg_fail(1)) SWIG_fail
;
12848 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12849 if (SWIG_arg_fail(2)) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 (arg1
)->SetCellHighlightROPenWidth(arg2
);
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12858 Py_INCREF(Py_None
); resultobj
= Py_None
;
12865 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
= NULL
;
12867 wxGrid
*arg1
= (wxGrid
*) 0 ;
12868 bool arg2
= (bool) true ;
12869 PyObject
* obj0
= 0 ;
12870 PyObject
* obj1
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self",(char *) "enable", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12877 if (SWIG_arg_fail(1)) SWIG_fail
;
12880 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
12881 if (SWIG_arg_fail(2)) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 (arg1
)->EnableDragRowSize(arg2
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 Py_INCREF(Py_None
); resultobj
= Py_None
;
12898 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
= NULL
;
12900 wxGrid
*arg1
= (wxGrid
*) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
12907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12908 if (SWIG_arg_fail(1)) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 (arg1
)->DisableDragRowSize();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 Py_INCREF(Py_None
); resultobj
= Py_None
;
12923 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
= NULL
;
12925 wxGrid
*arg1
= (wxGrid
*) 0 ;
12927 PyObject
* obj0
= 0 ;
12928 char *kwnames
[] = {
12929 (char *) "self", NULL
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
12933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12934 if (SWIG_arg_fail(1)) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 result
= (bool)(arg1
)->CanDragRowSize();
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12951 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
= NULL
;
12953 wxGrid
*arg1
= (wxGrid
*) 0 ;
12954 bool arg2
= (bool) true ;
12955 PyObject
* obj0
= 0 ;
12956 PyObject
* obj1
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "self",(char *) "enable", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12963 if (SWIG_arg_fail(1)) SWIG_fail
;
12966 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
12967 if (SWIG_arg_fail(2)) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 (arg1
)->EnableDragColSize(arg2
);
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 Py_INCREF(Py_None
); resultobj
= Py_None
;
12984 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
= NULL
;
12986 wxGrid
*arg1
= (wxGrid
*) 0 ;
12987 PyObject
* obj0
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "self", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
12993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 (arg1
)->DisableDragColSize();
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13002 Py_INCREF(Py_None
); resultobj
= Py_None
;
13009 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13010 PyObject
*resultobj
= NULL
;
13011 wxGrid
*arg1
= (wxGrid
*) 0 ;
13013 PyObject
* obj0
= 0 ;
13014 char *kwnames
[] = {
13015 (char *) "self", NULL
13018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
13019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13020 if (SWIG_arg_fail(1)) SWIG_fail
;
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 result
= (bool)(arg1
)->CanDragColSize();
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13037 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
= NULL
;
13039 wxGrid
*arg1
= (wxGrid
*) 0 ;
13040 bool arg2
= (bool) true ;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 char *kwnames
[] = {
13044 (char *) "self",(char *) "enable", NULL
13047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13049 if (SWIG_arg_fail(1)) SWIG_fail
;
13052 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
13053 if (SWIG_arg_fail(2)) SWIG_fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 (arg1
)->EnableDragGridSize(arg2
);
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 Py_INCREF(Py_None
); resultobj
= Py_None
;
13070 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
= NULL
;
13072 wxGrid
*arg1
= (wxGrid
*) 0 ;
13073 PyObject
* obj0
= 0 ;
13074 char *kwnames
[] = {
13075 (char *) "self", NULL
13078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
13079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13080 if (SWIG_arg_fail(1)) SWIG_fail
;
13082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13083 (arg1
)->DisableDragGridSize();
13085 wxPyEndAllowThreads(__tstate
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13088 Py_INCREF(Py_None
); resultobj
= Py_None
;
13095 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
= NULL
;
13097 wxGrid
*arg1
= (wxGrid
*) 0 ;
13099 PyObject
* obj0
= 0 ;
13100 char *kwnames
[] = {
13101 (char *) "self", NULL
13104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
13105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13106 if (SWIG_arg_fail(1)) SWIG_fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (bool)(arg1
)->CanDragGridSize();
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13123 static PyObject
*_wrap_Grid_EnableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
= NULL
;
13125 wxGrid
*arg1
= (wxGrid
*) 0 ;
13126 bool arg2
= (bool) true ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 char *kwnames
[] = {
13130 (char *) "self",(char *) "enable", NULL
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) goto fail
;
13134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13135 if (SWIG_arg_fail(1)) SWIG_fail
;
13138 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
13139 if (SWIG_arg_fail(2)) SWIG_fail
;
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 (arg1
)->EnableDragCell(arg2
);
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13149 Py_INCREF(Py_None
); resultobj
= Py_None
;
13156 static PyObject
*_wrap_Grid_DisableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
*resultobj
= NULL
;
13158 wxGrid
*arg1
= (wxGrid
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragCell",kwnames
,&obj0
)) goto fail
;
13165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13166 if (SWIG_arg_fail(1)) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 (arg1
)->DisableDragCell();
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 Py_INCREF(Py_None
); resultobj
= Py_None
;
13181 static PyObject
*_wrap_Grid_CanDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
= NULL
;
13183 wxGrid
*arg1
= (wxGrid
*) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragCell",kwnames
,&obj0
)) goto fail
;
13191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13192 if (SWIG_arg_fail(1)) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (bool)(arg1
)->CanDragCell();
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13209 static PyObject
*_wrap_Grid_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
= NULL
;
13211 wxGrid
*arg1
= (wxGrid
*) 0 ;
13214 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 PyObject
* obj1
= 0 ;
13217 PyObject
* obj2
= 0 ;
13218 PyObject
* obj3
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13225 if (SWIG_arg_fail(1)) SWIG_fail
;
13227 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13228 if (SWIG_arg_fail(2)) SWIG_fail
;
13231 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13232 if (SWIG_arg_fail(3)) SWIG_fail
;
13234 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13235 if (SWIG_arg_fail(4)) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 Py_INCREF(Py_None
); resultobj
= Py_None
;
13250 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
= NULL
;
13252 wxGrid
*arg1
= (wxGrid
*) 0 ;
13254 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 PyObject
* obj2
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self",(char *) "row",(char *) "attr", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13264 if (SWIG_arg_fail(1)) SWIG_fail
;
13266 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13267 if (SWIG_arg_fail(2)) SWIG_fail
;
13269 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13270 if (SWIG_arg_fail(3)) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 (arg1
)->SetRowAttr(arg2
,arg3
);
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 Py_INCREF(Py_None
); resultobj
= Py_None
;
13285 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
= NULL
;
13287 wxGrid
*arg1
= (wxGrid
*) 0 ;
13289 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
13290 PyObject
* obj0
= 0 ;
13291 PyObject
* obj1
= 0 ;
13292 PyObject
* obj2
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self",(char *) "col",(char *) "attr", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13299 if (SWIG_arg_fail(1)) SWIG_fail
;
13301 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13302 if (SWIG_arg_fail(2)) SWIG_fail
;
13304 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13305 if (SWIG_arg_fail(3)) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 (arg1
)->SetColAttr(arg2
,arg3
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 Py_INCREF(Py_None
); resultobj
= Py_None
;
13320 static PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
= NULL
;
13322 wxGrid
*arg1
= (wxGrid
*) 0 ;
13325 wxGridCellAttr
*result
;
13326 PyObject
* obj0
= 0 ;
13327 PyObject
* obj1
= 0 ;
13328 PyObject
* obj2
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "self",(char *) "row",(char *) "col", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13335 if (SWIG_arg_fail(1)) SWIG_fail
;
13337 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13338 if (SWIG_arg_fail(2)) SWIG_fail
;
13341 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13342 if (SWIG_arg_fail(3)) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13352 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
13360 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
= NULL
;
13362 wxGrid
*arg1
= (wxGrid
*) 0 ;
13364 PyObject
* obj0
= 0 ;
13365 PyObject
* obj1
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "self",(char *) "col", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
13371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13372 if (SWIG_arg_fail(1)) SWIG_fail
;
13374 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13375 if (SWIG_arg_fail(2)) SWIG_fail
;
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 (arg1
)->SetColFormatBool(arg2
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 Py_INCREF(Py_None
); resultobj
= Py_None
;
13391 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
= NULL
;
13393 wxGrid
*arg1
= (wxGrid
*) 0 ;
13395 PyObject
* obj0
= 0 ;
13396 PyObject
* obj1
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self",(char *) "col", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
13402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13403 if (SWIG_arg_fail(1)) SWIG_fail
;
13405 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13406 if (SWIG_arg_fail(2)) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 (arg1
)->SetColFormatNumber(arg2
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 Py_INCREF(Py_None
); resultobj
= Py_None
;
13422 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
= NULL
;
13424 wxGrid
*arg1
= (wxGrid
*) 0 ;
13426 int arg3
= (int) -1 ;
13427 int arg4
= (int) -1 ;
13428 PyObject
* obj0
= 0 ;
13429 PyObject
* obj1
= 0 ;
13430 PyObject
* obj2
= 0 ;
13431 PyObject
* obj3
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13438 if (SWIG_arg_fail(1)) SWIG_fail
;
13440 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13441 if (SWIG_arg_fail(2)) SWIG_fail
;
13445 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13446 if (SWIG_arg_fail(3)) SWIG_fail
;
13451 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13452 if (SWIG_arg_fail(4)) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 Py_INCREF(Py_None
); resultobj
= Py_None
;
13469 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
= NULL
;
13471 wxGrid
*arg1
= (wxGrid
*) 0 ;
13473 wxString
*arg3
= 0 ;
13474 bool temp3
= false ;
13475 PyObject
* obj0
= 0 ;
13476 PyObject
* obj1
= 0 ;
13477 PyObject
* obj2
= 0 ;
13478 char *kwnames
[] = {
13479 (char *) "self",(char *) "col",(char *) "typeName", NULL
13482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13484 if (SWIG_arg_fail(1)) SWIG_fail
;
13486 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13487 if (SWIG_arg_fail(2)) SWIG_fail
;
13490 arg3
= wxString_in_helper(obj2
);
13491 if (arg3
== NULL
) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 Py_INCREF(Py_None
); resultobj
= Py_None
;
13516 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
= NULL
;
13518 wxGrid
*arg1
= (wxGrid
*) 0 ;
13519 bool arg2
= (bool) true ;
13520 PyObject
* obj0
= 0 ;
13521 PyObject
* obj1
= 0 ;
13522 char *kwnames
[] = {
13523 (char *) "self",(char *) "enable", NULL
13526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
13527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13528 if (SWIG_arg_fail(1)) SWIG_fail
;
13531 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
13532 if (SWIG_arg_fail(2)) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 (arg1
)->EnableGridLines(arg2
);
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13542 Py_INCREF(Py_None
); resultobj
= Py_None
;
13549 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
= NULL
;
13551 wxGrid
*arg1
= (wxGrid
*) 0 ;
13553 PyObject
* obj0
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "self", NULL
13558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
13559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13560 if (SWIG_arg_fail(1)) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= (bool)(arg1
)->GridLinesEnabled();
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13577 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
= NULL
;
13579 wxGrid
*arg1
= (wxGrid
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "self", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
13587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13588 if (SWIG_arg_fail(1)) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (int)(arg1
)->GetDefaultRowSize();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= SWIG_From_int(static_cast<int >(result
));
13605 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
= NULL
;
13607 wxGrid
*arg1
= (wxGrid
*) 0 ;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self",(char *) "row", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13618 if (SWIG_arg_fail(1)) SWIG_fail
;
13620 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13621 if (SWIG_arg_fail(2)) SWIG_fail
;
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 result
= (int)(arg1
)->GetRowSize(arg2
);
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= SWIG_From_int(static_cast<int >(result
));
13639 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
= NULL
;
13641 wxGrid
*arg1
= (wxGrid
*) 0 ;
13643 PyObject
* obj0
= 0 ;
13644 char *kwnames
[] = {
13645 (char *) "self", NULL
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
13649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13650 if (SWIG_arg_fail(1)) SWIG_fail
;
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 result
= (int)(arg1
)->GetDefaultColSize();
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13659 resultobj
= SWIG_From_int(static_cast<int >(result
));
13667 static PyObject
*_wrap_Grid_GetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13668 PyObject
*resultobj
= NULL
;
13669 wxGrid
*arg1
= (wxGrid
*) 0 ;
13672 PyObject
* obj0
= 0 ;
13673 PyObject
* obj1
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "self",(char *) "col", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13680 if (SWIG_arg_fail(1)) SWIG_fail
;
13682 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13683 if (SWIG_arg_fail(2)) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= (int)(arg1
)->GetColSize(arg2
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13693 resultobj
= SWIG_From_int(static_cast<int >(result
));
13701 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
= NULL
;
13703 wxGrid
*arg1
= (wxGrid
*) 0 ;
13705 PyObject
* obj0
= 0 ;
13706 char *kwnames
[] = {
13707 (char *) "self", NULL
13710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
13711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13712 if (SWIG_arg_fail(1)) SWIG_fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 result
= (arg1
)->GetDefaultCellBackgroundColour();
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13721 wxColour
* resultptr
;
13722 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13731 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
= NULL
;
13733 wxGrid
*arg1
= (wxGrid
*) 0 ;
13737 PyObject
* obj0
= 0 ;
13738 PyObject
* obj1
= 0 ;
13739 PyObject
* obj2
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self",(char *) "row",(char *) "col", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13746 if (SWIG_arg_fail(1)) SWIG_fail
;
13748 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13749 if (SWIG_arg_fail(2)) SWIG_fail
;
13752 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13753 if (SWIG_arg_fail(3)) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13763 wxColour
* resultptr
;
13764 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13773 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
= NULL
;
13775 wxGrid
*arg1
= (wxGrid
*) 0 ;
13777 PyObject
* obj0
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
13783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13784 if (SWIG_arg_fail(1)) SWIG_fail
;
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 result
= (arg1
)->GetDefaultCellTextColour();
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13793 wxColour
* resultptr
;
13794 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13803 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13804 PyObject
*resultobj
= NULL
;
13805 wxGrid
*arg1
= (wxGrid
*) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 PyObject
* obj2
= 0 ;
13812 char *kwnames
[] = {
13813 (char *) "self",(char *) "row",(char *) "col", NULL
13816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13818 if (SWIG_arg_fail(1)) SWIG_fail
;
13820 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13821 if (SWIG_arg_fail(2)) SWIG_fail
;
13824 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13825 if (SWIG_arg_fail(3)) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13835 wxColour
* resultptr
;
13836 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13845 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
= NULL
;
13847 wxGrid
*arg1
= (wxGrid
*) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
13855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13856 if (SWIG_arg_fail(1)) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (arg1
)->GetDefaultCellFont();
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13865 wxFont
* resultptr
;
13866 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
13867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13875 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
= NULL
;
13877 wxGrid
*arg1
= (wxGrid
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 PyObject
* obj1
= 0 ;
13883 PyObject
* obj2
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self",(char *) "row",(char *) "col", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13890 if (SWIG_arg_fail(1)) SWIG_fail
;
13892 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13893 if (SWIG_arg_fail(2)) SWIG_fail
;
13896 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13897 if (SWIG_arg_fail(3)) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (arg1
)->GetCellFont(arg2
,arg3
);
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13907 wxFont
* resultptr
;
13908 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
13909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13917 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13918 PyObject
*resultobj
= NULL
;
13919 wxGrid
*arg1
= (wxGrid
*) 0 ;
13920 int *arg2
= (int *) 0 ;
13921 int *arg3
= (int *) 0 ;
13926 PyObject
* obj0
= 0 ;
13927 char *kwnames
[] = {
13928 (char *) "self", NULL
13931 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13932 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
13934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13935 if (SWIG_arg_fail(1)) SWIG_fail
;
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 Py_INCREF(Py_None
); resultobj
= Py_None
;
13944 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13945 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13946 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13947 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13954 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
= NULL
;
13956 wxGrid
*arg1
= (wxGrid
*) 0 ;
13959 int *arg4
= (int *) 0 ;
13960 int *arg5
= (int *) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 PyObject
* obj1
= 0 ;
13967 PyObject
* obj2
= 0 ;
13968 char *kwnames
[] = {
13969 (char *) "self",(char *) "row",(char *) "col", NULL
13972 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13973 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13976 if (SWIG_arg_fail(1)) SWIG_fail
;
13978 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13979 if (SWIG_arg_fail(2)) SWIG_fail
;
13982 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13983 if (SWIG_arg_fail(3)) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 Py_INCREF(Py_None
); resultobj
= Py_None
;
13993 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13994 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13995 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13996 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14003 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14004 PyObject
*resultobj
= NULL
;
14005 wxGrid
*arg1
= (wxGrid
*) 0 ;
14007 PyObject
* obj0
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "self", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
14013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14014 if (SWIG_arg_fail(1)) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 result
= (bool)(arg1
)->GetDefaultCellOverflow();
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14031 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
= NULL
;
14033 wxGrid
*arg1
= (wxGrid
*) 0 ;
14037 PyObject
* obj0
= 0 ;
14038 PyObject
* obj1
= 0 ;
14039 PyObject
* obj2
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self",(char *) "row",(char *) "col", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14046 if (SWIG_arg_fail(1)) SWIG_fail
;
14048 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14049 if (SWIG_arg_fail(2)) SWIG_fail
;
14052 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14053 if (SWIG_arg_fail(3)) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14071 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
= NULL
;
14073 wxGrid
*arg1
= (wxGrid
*) 0 ;
14076 int *arg4
= (int *) 0 ;
14077 int *arg5
= (int *) 0 ;
14082 PyObject
* obj0
= 0 ;
14083 PyObject
* obj1
= 0 ;
14084 PyObject
* obj2
= 0 ;
14085 char *kwnames
[] = {
14086 (char *) "self",(char *) "row",(char *) "col", NULL
14089 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14090 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14093 if (SWIG_arg_fail(1)) SWIG_fail
;
14095 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14096 if (SWIG_arg_fail(2)) SWIG_fail
;
14099 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14100 if (SWIG_arg_fail(3)) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 Py_INCREF(Py_None
); resultobj
= Py_None
;
14110 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14111 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14112 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14113 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14120 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
= NULL
;
14122 wxGrid
*arg1
= (wxGrid
*) 0 ;
14124 bool arg3
= (bool) false ;
14125 PyObject
* obj0
= 0 ;
14126 PyObject
* obj1
= 0 ;
14127 PyObject
* obj2
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14134 if (SWIG_arg_fail(1)) SWIG_fail
;
14136 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14137 if (SWIG_arg_fail(2)) SWIG_fail
;
14141 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14142 if (SWIG_arg_fail(3)) SWIG_fail
;
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 Py_INCREF(Py_None
); resultobj
= Py_None
;
14159 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
= NULL
;
14161 wxGrid
*arg1
= (wxGrid
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 PyObject
* obj1
= 0 ;
14166 PyObject
* obj2
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self",(char *) "row",(char *) "height", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14173 if (SWIG_arg_fail(1)) SWIG_fail
;
14175 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14176 if (SWIG_arg_fail(2)) SWIG_fail
;
14179 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14180 if (SWIG_arg_fail(3)) SWIG_fail
;
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 (arg1
)->SetRowSize(arg2
,arg3
);
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14189 Py_INCREF(Py_None
); resultobj
= Py_None
;
14196 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
= NULL
;
14198 wxGrid
*arg1
= (wxGrid
*) 0 ;
14200 bool arg3
= (bool) false ;
14201 PyObject
* obj0
= 0 ;
14202 PyObject
* obj1
= 0 ;
14203 PyObject
* obj2
= 0 ;
14204 char *kwnames
[] = {
14205 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14210 if (SWIG_arg_fail(1)) SWIG_fail
;
14212 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14213 if (SWIG_arg_fail(2)) SWIG_fail
;
14217 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14218 if (SWIG_arg_fail(3)) SWIG_fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 (arg1
)->SetDefaultColSize(arg2
,arg3
);
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 Py_INCREF(Py_None
); resultobj
= Py_None
;
14235 static PyObject
*_wrap_Grid_SetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
= NULL
;
14237 wxGrid
*arg1
= (wxGrid
*) 0 ;
14240 PyObject
* obj0
= 0 ;
14241 PyObject
* obj1
= 0 ;
14242 PyObject
* obj2
= 0 ;
14243 char *kwnames
[] = {
14244 (char *) "self",(char *) "col",(char *) "width", NULL
14247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14249 if (SWIG_arg_fail(1)) SWIG_fail
;
14251 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14252 if (SWIG_arg_fail(2)) SWIG_fail
;
14255 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14256 if (SWIG_arg_fail(3)) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 (arg1
)->SetColSize(arg2
,arg3
);
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14265 Py_INCREF(Py_None
); resultobj
= Py_None
;
14272 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
= NULL
;
14274 wxGrid
*arg1
= (wxGrid
*) 0 ;
14276 bool arg3
= (bool) true ;
14277 PyObject
* obj0
= 0 ;
14278 PyObject
* obj1
= 0 ;
14279 PyObject
* obj2
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14286 if (SWIG_arg_fail(1)) SWIG_fail
;
14288 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14289 if (SWIG_arg_fail(2)) SWIG_fail
;
14293 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14294 if (SWIG_arg_fail(3)) SWIG_fail
;
14298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14299 (arg1
)->AutoSizeColumn(arg2
,arg3
);
14301 wxPyEndAllowThreads(__tstate
);
14302 if (PyErr_Occurred()) SWIG_fail
;
14304 Py_INCREF(Py_None
); resultobj
= Py_None
;
14311 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
= NULL
;
14313 wxGrid
*arg1
= (wxGrid
*) 0 ;
14315 bool arg3
= (bool) true ;
14316 PyObject
* obj0
= 0 ;
14317 PyObject
* obj1
= 0 ;
14318 PyObject
* obj2
= 0 ;
14319 char *kwnames
[] = {
14320 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14325 if (SWIG_arg_fail(1)) SWIG_fail
;
14327 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14328 if (SWIG_arg_fail(2)) SWIG_fail
;
14332 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14333 if (SWIG_arg_fail(3)) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 (arg1
)->AutoSizeRow(arg2
,arg3
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 Py_INCREF(Py_None
); resultobj
= Py_None
;
14350 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
= NULL
;
14352 wxGrid
*arg1
= (wxGrid
*) 0 ;
14353 bool arg2
= (bool) true ;
14354 PyObject
* obj0
= 0 ;
14355 PyObject
* obj1
= 0 ;
14356 char *kwnames
[] = {
14357 (char *) "self",(char *) "setAsMin", NULL
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
14361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14362 if (SWIG_arg_fail(1)) SWIG_fail
;
14365 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14366 if (SWIG_arg_fail(2)) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 (arg1
)->AutoSizeColumns(arg2
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 Py_INCREF(Py_None
); resultobj
= Py_None
;
14383 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
= NULL
;
14385 wxGrid
*arg1
= (wxGrid
*) 0 ;
14386 bool arg2
= (bool) true ;
14387 PyObject
* obj0
= 0 ;
14388 PyObject
* obj1
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self",(char *) "setAsMin", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
14394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14395 if (SWIG_arg_fail(1)) SWIG_fail
;
14398 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14399 if (SWIG_arg_fail(2)) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 (arg1
)->AutoSizeRows(arg2
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 Py_INCREF(Py_None
); resultobj
= Py_None
;
14416 static PyObject
*_wrap_Grid_AutoSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
= NULL
;
14418 wxGrid
*arg1
= (wxGrid
*) 0 ;
14419 PyObject
* obj0
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "self", NULL
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
14425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14426 if (SWIG_arg_fail(1)) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 (arg1
)->AutoSize();
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 Py_INCREF(Py_None
); resultobj
= Py_None
;
14441 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
= NULL
;
14443 wxGrid
*arg1
= (wxGrid
*) 0 ;
14445 PyObject
* obj0
= 0 ;
14446 PyObject
* obj1
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self",(char *) "row", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14453 if (SWIG_arg_fail(1)) SWIG_fail
;
14455 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14456 if (SWIG_arg_fail(2)) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 (arg1
)->AutoSizeRowLabelSize(arg2
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 Py_INCREF(Py_None
); resultobj
= Py_None
;
14472 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
= NULL
;
14474 wxGrid
*arg1
= (wxGrid
*) 0 ;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "self",(char *) "col", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14484 if (SWIG_arg_fail(1)) SWIG_fail
;
14486 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14487 if (SWIG_arg_fail(2)) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 (arg1
)->AutoSizeColLabelSize(arg2
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 Py_INCREF(Py_None
); resultobj
= Py_None
;
14503 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
= NULL
;
14505 wxGrid
*arg1
= (wxGrid
*) 0 ;
14508 PyObject
* obj0
= 0 ;
14509 PyObject
* obj1
= 0 ;
14510 PyObject
* obj2
= 0 ;
14511 char *kwnames
[] = {
14512 (char *) "self",(char *) "col",(char *) "width", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14517 if (SWIG_arg_fail(1)) SWIG_fail
;
14519 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14520 if (SWIG_arg_fail(2)) SWIG_fail
;
14523 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14524 if (SWIG_arg_fail(3)) SWIG_fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 Py_INCREF(Py_None
); resultobj
= Py_None
;
14540 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
= NULL
;
14542 wxGrid
*arg1
= (wxGrid
*) 0 ;
14545 PyObject
* obj0
= 0 ;
14546 PyObject
* obj1
= 0 ;
14547 PyObject
* obj2
= 0 ;
14548 char *kwnames
[] = {
14549 (char *) "self",(char *) "row",(char *) "width", NULL
14552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14554 if (SWIG_arg_fail(1)) SWIG_fail
;
14556 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14557 if (SWIG_arg_fail(2)) SWIG_fail
;
14560 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14561 if (SWIG_arg_fail(3)) SWIG_fail
;
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14570 Py_INCREF(Py_None
); resultobj
= Py_None
;
14577 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14578 PyObject
*resultobj
= NULL
;
14579 wxGrid
*arg1
= (wxGrid
*) 0 ;
14581 PyObject
* obj0
= 0 ;
14582 PyObject
* obj1
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self",(char *) "width", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
14588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14589 if (SWIG_arg_fail(1)) SWIG_fail
;
14591 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14592 if (SWIG_arg_fail(2)) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 Py_INCREF(Py_None
); resultobj
= Py_None
;
14608 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
= NULL
;
14610 wxGrid
*arg1
= (wxGrid
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 PyObject
* obj1
= 0 ;
14614 char *kwnames
[] = {
14615 (char *) "self",(char *) "width", NULL
14618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
14619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14620 if (SWIG_arg_fail(1)) SWIG_fail
;
14622 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14623 if (SWIG_arg_fail(2)) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 Py_INCREF(Py_None
); resultobj
= Py_None
;
14639 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
= NULL
;
14641 wxGrid
*arg1
= (wxGrid
*) 0 ;
14643 PyObject
* obj0
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "self", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
14649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14650 if (SWIG_arg_fail(1)) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= SWIG_From_int(static_cast<int >(result
));
14667 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14668 PyObject
*resultobj
= NULL
;
14669 wxGrid
*arg1
= (wxGrid
*) 0 ;
14671 PyObject
* obj0
= 0 ;
14672 char *kwnames
[] = {
14673 (char *) "self", NULL
14676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
14677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14678 if (SWIG_arg_fail(1)) SWIG_fail
;
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= SWIG_From_int(static_cast<int >(result
));
14695 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
= NULL
;
14697 wxGrid
*arg1
= (wxGrid
*) 0 ;
14698 wxColour
*arg2
= 0 ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 char *kwnames
[] = {
14703 (char *) "self","arg2", NULL
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14708 if (SWIG_arg_fail(1)) SWIG_fail
;
14711 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 Py_INCREF(Py_None
); resultobj
= Py_None
;
14727 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
= NULL
;
14729 wxGrid
*arg1
= (wxGrid
*) 0 ;
14732 wxColour
*arg4
= 0 ;
14734 PyObject
* obj0
= 0 ;
14735 PyObject
* obj1
= 0 ;
14736 PyObject
* obj2
= 0 ;
14737 PyObject
* obj3
= 0 ;
14738 char *kwnames
[] = {
14739 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14744 if (SWIG_arg_fail(1)) SWIG_fail
;
14746 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14747 if (SWIG_arg_fail(2)) SWIG_fail
;
14750 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14751 if (SWIG_arg_fail(3)) SWIG_fail
;
14755 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 Py_INCREF(Py_None
); resultobj
= Py_None
;
14771 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
= NULL
;
14773 wxGrid
*arg1
= (wxGrid
*) 0 ;
14774 wxColour
*arg2
= 0 ;
14776 PyObject
* obj0
= 0 ;
14777 PyObject
* obj1
= 0 ;
14778 char *kwnames
[] = {
14779 (char *) "self","arg2", NULL
14782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14784 if (SWIG_arg_fail(1)) SWIG_fail
;
14787 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14796 Py_INCREF(Py_None
); resultobj
= Py_None
;
14803 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
= NULL
;
14805 wxGrid
*arg1
= (wxGrid
*) 0 ;
14808 wxColour
*arg4
= 0 ;
14810 PyObject
* obj0
= 0 ;
14811 PyObject
* obj1
= 0 ;
14812 PyObject
* obj2
= 0 ;
14813 PyObject
* obj3
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14820 if (SWIG_arg_fail(1)) SWIG_fail
;
14822 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14823 if (SWIG_arg_fail(2)) SWIG_fail
;
14826 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14827 if (SWIG_arg_fail(3)) SWIG_fail
;
14831 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 Py_INCREF(Py_None
); resultobj
= Py_None
;
14847 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
= NULL
;
14849 wxGrid
*arg1
= (wxGrid
*) 0 ;
14851 PyObject
* obj0
= 0 ;
14852 PyObject
* obj1
= 0 ;
14853 char *kwnames
[] = {
14854 (char *) "self","arg2", NULL
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14859 if (SWIG_arg_fail(1)) SWIG_fail
;
14861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14862 if (SWIG_arg_fail(2)) SWIG_fail
;
14863 if (arg2
== NULL
) {
14864 SWIG_null_ref("wxFont");
14866 if (SWIG_arg_fail(2)) SWIG_fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 Py_INCREF(Py_None
); resultobj
= Py_None
;
14882 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
= NULL
;
14884 wxGrid
*arg1
= (wxGrid
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 PyObject
* obj2
= 0 ;
14891 PyObject
* obj3
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14898 if (SWIG_arg_fail(1)) SWIG_fail
;
14900 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14901 if (SWIG_arg_fail(2)) SWIG_fail
;
14904 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14905 if (SWIG_arg_fail(3)) SWIG_fail
;
14908 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14909 if (SWIG_arg_fail(4)) SWIG_fail
;
14910 if (arg4
== NULL
) {
14911 SWIG_null_ref("wxFont");
14913 if (SWIG_arg_fail(4)) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
14919 wxPyEndAllowThreads(__tstate
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14922 Py_INCREF(Py_None
); resultobj
= Py_None
;
14929 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14930 PyObject
*resultobj
= NULL
;
14931 wxGrid
*arg1
= (wxGrid
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 PyObject
* obj2
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self",(char *) "horiz",(char *) "vert", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14943 if (SWIG_arg_fail(1)) SWIG_fail
;
14945 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14946 if (SWIG_arg_fail(2)) SWIG_fail
;
14949 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14950 if (SWIG_arg_fail(3)) SWIG_fail
;
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 Py_INCREF(Py_None
); resultobj
= Py_None
;
14966 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
= NULL
;
14968 wxGrid
*arg1
= (wxGrid
*) 0 ;
14973 PyObject
* obj0
= 0 ;
14974 PyObject
* obj1
= 0 ;
14975 PyObject
* obj2
= 0 ;
14976 PyObject
* obj3
= 0 ;
14977 PyObject
* obj4
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14984 if (SWIG_arg_fail(1)) SWIG_fail
;
14986 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14987 if (SWIG_arg_fail(2)) SWIG_fail
;
14990 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14991 if (SWIG_arg_fail(3)) SWIG_fail
;
14994 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14995 if (SWIG_arg_fail(4)) SWIG_fail
;
14998 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14999 if (SWIG_arg_fail(5)) SWIG_fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15008 Py_INCREF(Py_None
); resultobj
= Py_None
;
15015 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
= NULL
;
15017 wxGrid
*arg1
= (wxGrid
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 PyObject
* obj1
= 0 ;
15021 char *kwnames
[] = {
15022 (char *) "self",(char *) "allow", NULL
15025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
15026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15027 if (SWIG_arg_fail(1)) SWIG_fail
;
15029 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15030 if (SWIG_arg_fail(2)) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 (arg1
)->SetDefaultCellOverflow(arg2
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 Py_INCREF(Py_None
); resultobj
= Py_None
;
15046 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
= NULL
;
15048 wxGrid
*arg1
= (wxGrid
*) 0 ;
15052 PyObject
* obj0
= 0 ;
15053 PyObject
* obj1
= 0 ;
15054 PyObject
* obj2
= 0 ;
15055 PyObject
* obj3
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15062 if (SWIG_arg_fail(1)) SWIG_fail
;
15064 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15065 if (SWIG_arg_fail(2)) SWIG_fail
;
15068 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15069 if (SWIG_arg_fail(3)) SWIG_fail
;
15072 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15073 if (SWIG_arg_fail(4)) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 Py_INCREF(Py_None
); resultobj
= Py_None
;
15089 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
= NULL
;
15091 wxGrid
*arg1
= (wxGrid
*) 0 ;
15096 PyObject
* obj0
= 0 ;
15097 PyObject
* obj1
= 0 ;
15098 PyObject
* obj2
= 0 ;
15099 PyObject
* obj3
= 0 ;
15100 PyObject
* obj4
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15107 if (SWIG_arg_fail(1)) SWIG_fail
;
15109 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15110 if (SWIG_arg_fail(2)) SWIG_fail
;
15113 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15114 if (SWIG_arg_fail(3)) SWIG_fail
;
15117 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15118 if (SWIG_arg_fail(4)) SWIG_fail
;
15121 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15122 if (SWIG_arg_fail(5)) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 Py_INCREF(Py_None
); resultobj
= Py_None
;
15138 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
= NULL
;
15140 wxGrid
*arg1
= (wxGrid
*) 0 ;
15141 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
15142 PyObject
* obj0
= 0 ;
15143 PyObject
* obj1
= 0 ;
15144 char *kwnames
[] = {
15145 (char *) "self",(char *) "renderer", NULL
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
15149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15150 if (SWIG_arg_fail(1)) SWIG_fail
;
15151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
15152 if (SWIG_arg_fail(2)) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 (arg1
)->SetDefaultRenderer(arg2
);
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 Py_INCREF(Py_None
); resultobj
= Py_None
;
15167 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
= NULL
;
15169 wxGrid
*arg1
= (wxGrid
*) 0 ;
15172 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
15173 PyObject
* obj0
= 0 ;
15174 PyObject
* obj1
= 0 ;
15175 PyObject
* obj2
= 0 ;
15176 PyObject
* obj3
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15183 if (SWIG_arg_fail(1)) SWIG_fail
;
15185 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15186 if (SWIG_arg_fail(2)) SWIG_fail
;
15189 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15190 if (SWIG_arg_fail(3)) SWIG_fail
;
15192 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
15193 if (SWIG_arg_fail(4)) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 Py_INCREF(Py_None
); resultobj
= Py_None
;
15208 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
= NULL
;
15210 wxGrid
*arg1
= (wxGrid
*) 0 ;
15211 wxGridCellRenderer
*result
;
15212 PyObject
* obj0
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "self", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
15218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15219 if (SWIG_arg_fail(1)) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
15236 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
= NULL
;
15238 wxGrid
*arg1
= (wxGrid
*) 0 ;
15241 wxGridCellRenderer
*result
;
15242 PyObject
* obj0
= 0 ;
15243 PyObject
* obj1
= 0 ;
15244 PyObject
* obj2
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "self",(char *) "row",(char *) "col", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15251 if (SWIG_arg_fail(1)) SWIG_fail
;
15253 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15254 if (SWIG_arg_fail(2)) SWIG_fail
;
15257 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15258 if (SWIG_arg_fail(3)) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
15276 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
= NULL
;
15278 wxGrid
*arg1
= (wxGrid
*) 0 ;
15279 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 PyObject
* obj1
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self",(char *) "editor", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
15287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15288 if (SWIG_arg_fail(1)) SWIG_fail
;
15289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
15290 if (SWIG_arg_fail(2)) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 (arg1
)->SetDefaultEditor(arg2
);
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 Py_INCREF(Py_None
); resultobj
= Py_None
;
15305 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
= NULL
;
15307 wxGrid
*arg1
= (wxGrid
*) 0 ;
15310 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
15311 PyObject
* obj0
= 0 ;
15312 PyObject
* obj1
= 0 ;
15313 PyObject
* obj2
= 0 ;
15314 PyObject
* obj3
= 0 ;
15315 char *kwnames
[] = {
15316 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15321 if (SWIG_arg_fail(1)) SWIG_fail
;
15323 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15324 if (SWIG_arg_fail(2)) SWIG_fail
;
15327 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15328 if (SWIG_arg_fail(3)) SWIG_fail
;
15330 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
15331 if (SWIG_arg_fail(4)) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 Py_INCREF(Py_None
); resultobj
= Py_None
;
15346 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
= NULL
;
15348 wxGrid
*arg1
= (wxGrid
*) 0 ;
15349 wxGridCellEditor
*result
;
15350 PyObject
* obj0
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
15356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15357 if (SWIG_arg_fail(1)) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
15374 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
= NULL
;
15376 wxGrid
*arg1
= (wxGrid
*) 0 ;
15379 wxGridCellEditor
*result
;
15380 PyObject
* obj0
= 0 ;
15381 PyObject
* obj1
= 0 ;
15382 PyObject
* obj2
= 0 ;
15383 char *kwnames
[] = {
15384 (char *) "self",(char *) "row",(char *) "col", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15389 if (SWIG_arg_fail(1)) SWIG_fail
;
15391 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15392 if (SWIG_arg_fail(2)) SWIG_fail
;
15395 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15396 if (SWIG_arg_fail(3)) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15406 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
15414 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
= NULL
;
15416 wxGrid
*arg1
= (wxGrid
*) 0 ;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15422 PyObject
* obj2
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self",(char *) "row",(char *) "col", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15429 if (SWIG_arg_fail(1)) SWIG_fail
;
15431 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15432 if (SWIG_arg_fail(2)) SWIG_fail
;
15435 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15436 if (SWIG_arg_fail(3)) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 result
= (arg1
)->GetCellValue(arg2
,arg3
);
15442 wxPyEndAllowThreads(__tstate
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15458 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
= NULL
;
15460 wxGrid
*arg1
= (wxGrid
*) 0 ;
15463 wxString
*arg4
= 0 ;
15464 bool temp4
= false ;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 PyObject
* obj2
= 0 ;
15468 PyObject
* obj3
= 0 ;
15469 char *kwnames
[] = {
15470 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
15473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15475 if (SWIG_arg_fail(1)) SWIG_fail
;
15477 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15478 if (SWIG_arg_fail(2)) SWIG_fail
;
15481 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15482 if (SWIG_arg_fail(3)) SWIG_fail
;
15485 arg4
= wxString_in_helper(obj3
);
15486 if (arg4
== NULL
) SWIG_fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 Py_INCREF(Py_None
); resultobj
= Py_None
;
15511 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
= NULL
;
15513 wxGrid
*arg1
= (wxGrid
*) 0 ;
15517 PyObject
* obj0
= 0 ;
15518 PyObject
* obj1
= 0 ;
15519 PyObject
* obj2
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self",(char *) "row",(char *) "col", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15526 if (SWIG_arg_fail(1)) SWIG_fail
;
15528 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15529 if (SWIG_arg_fail(2)) SWIG_fail
;
15532 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15533 if (SWIG_arg_fail(3)) SWIG_fail
;
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15551 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
= NULL
;
15553 wxGrid
*arg1
= (wxGrid
*) 0 ;
15556 bool arg4
= (bool) true ;
15557 PyObject
* obj0
= 0 ;
15558 PyObject
* obj1
= 0 ;
15559 PyObject
* obj2
= 0 ;
15560 PyObject
* obj3
= 0 ;
15561 char *kwnames
[] = {
15562 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
15565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15567 if (SWIG_arg_fail(1)) SWIG_fail
;
15569 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15570 if (SWIG_arg_fail(2)) SWIG_fail
;
15573 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15574 if (SWIG_arg_fail(3)) SWIG_fail
;
15578 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15579 if (SWIG_arg_fail(4)) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 Py_INCREF(Py_None
); resultobj
= Py_None
;
15596 static PyObject
*_wrap_Grid_SelectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
= NULL
;
15598 wxGrid
*arg1
= (wxGrid
*) 0 ;
15600 bool arg3
= (bool) false ;
15601 PyObject
* obj0
= 0 ;
15602 PyObject
* obj1
= 0 ;
15603 PyObject
* obj2
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15610 if (SWIG_arg_fail(1)) SWIG_fail
;
15612 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15613 if (SWIG_arg_fail(2)) SWIG_fail
;
15617 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
15618 if (SWIG_arg_fail(3)) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 (arg1
)->SelectRow(arg2
,arg3
);
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15628 Py_INCREF(Py_None
); resultobj
= Py_None
;
15635 static PyObject
*_wrap_Grid_SelectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
= NULL
;
15637 wxGrid
*arg1
= (wxGrid
*) 0 ;
15639 bool arg3
= (bool) false ;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 PyObject
* obj2
= 0 ;
15643 char *kwnames
[] = {
15644 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
15647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15649 if (SWIG_arg_fail(1)) SWIG_fail
;
15651 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15652 if (SWIG_arg_fail(2)) SWIG_fail
;
15656 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
15657 if (SWIG_arg_fail(3)) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 (arg1
)->SelectCol(arg2
,arg3
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 Py_INCREF(Py_None
); resultobj
= Py_None
;
15674 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
= NULL
;
15676 wxGrid
*arg1
= (wxGrid
*) 0 ;
15681 bool arg6
= (bool) false ;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15684 PyObject
* obj2
= 0 ;
15685 PyObject
* obj3
= 0 ;
15686 PyObject
* obj4
= 0 ;
15687 PyObject
* obj5
= 0 ;
15688 char *kwnames
[] = {
15689 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15694 if (SWIG_arg_fail(1)) SWIG_fail
;
15696 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15697 if (SWIG_arg_fail(2)) SWIG_fail
;
15700 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15701 if (SWIG_arg_fail(3)) SWIG_fail
;
15704 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15705 if (SWIG_arg_fail(4)) SWIG_fail
;
15708 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15709 if (SWIG_arg_fail(5)) SWIG_fail
;
15713 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
15714 if (SWIG_arg_fail(6)) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15724 Py_INCREF(Py_None
); resultobj
= Py_None
;
15731 static PyObject
*_wrap_Grid_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
= NULL
;
15733 wxGrid
*arg1
= (wxGrid
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 char *kwnames
[] = {
15736 (char *) "self", NULL
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
15740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15741 if (SWIG_arg_fail(1)) SWIG_fail
;
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 (arg1
)->SelectAll();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15749 Py_INCREF(Py_None
); resultobj
= Py_None
;
15756 static PyObject
*_wrap_Grid_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
= NULL
;
15758 wxGrid
*arg1
= (wxGrid
*) 0 ;
15760 PyObject
* obj0
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
15766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15767 if (SWIG_arg_fail(1)) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (bool)(arg1
)->IsSelection();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15784 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
= NULL
;
15786 wxGrid
*arg1
= (wxGrid
*) 0 ;
15787 PyObject
* obj0
= 0 ;
15788 char *kwnames
[] = {
15789 (char *) "self", NULL
15792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
15793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15794 if (SWIG_arg_fail(1)) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 (arg1
)->ClearSelection();
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15802 Py_INCREF(Py_None
); resultobj
= Py_None
;
15809 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
= NULL
;
15811 wxGrid
*arg1
= (wxGrid
*) 0 ;
15815 PyObject
* obj0
= 0 ;
15816 PyObject
* obj1
= 0 ;
15817 PyObject
* obj2
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self",(char *) "row",(char *) "col", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15824 if (SWIG_arg_fail(1)) SWIG_fail
;
15826 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15827 if (SWIG_arg_fail(2)) SWIG_fail
;
15830 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15831 if (SWIG_arg_fail(3)) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15849 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
= NULL
;
15851 wxGrid
*arg1
= (wxGrid
*) 0 ;
15852 wxGridCellCoordsArray result
;
15853 PyObject
* obj0
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "self", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
15859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15860 if (SWIG_arg_fail(1)) SWIG_fail
;
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= wxGridCellCoordsArray_helper(result
);
15877 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
= NULL
;
15879 wxGrid
*arg1
= (wxGrid
*) 0 ;
15880 wxGridCellCoordsArray result
;
15881 PyObject
* obj0
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
15887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15888 if (SWIG_arg_fail(1)) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= wxGridCellCoordsArray_helper(result
);
15905 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
= NULL
;
15907 wxGrid
*arg1
= (wxGrid
*) 0 ;
15908 wxGridCellCoordsArray result
;
15909 PyObject
* obj0
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
15915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15916 if (SWIG_arg_fail(1)) SWIG_fail
;
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= wxGridCellCoordsArray_helper(result
);
15933 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
= NULL
;
15935 wxGrid
*arg1
= (wxGrid
*) 0 ;
15937 PyObject
* obj0
= 0 ;
15938 char *kwnames
[] = {
15939 (char *) "self", NULL
15942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
15943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15944 if (SWIG_arg_fail(1)) SWIG_fail
;
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15953 resultobj
= PyList_New(0);
15955 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15956 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15957 PyList_Append(resultobj
, val
);
15967 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
= NULL
;
15969 wxGrid
*arg1
= (wxGrid
*) 0 ;
15971 PyObject
* obj0
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
15977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15978 if (SWIG_arg_fail(1)) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= PyList_New(0);
15989 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15990 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15991 PyList_Append(resultobj
, val
);
16001 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
= NULL
;
16003 wxGrid
*arg1
= (wxGrid
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 PyObject
* obj1
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self",(char *) "row", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
16012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16013 if (SWIG_arg_fail(1)) SWIG_fail
;
16015 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16016 if (SWIG_arg_fail(2)) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 (arg1
)->DeselectRow(arg2
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 Py_INCREF(Py_None
); resultobj
= Py_None
;
16032 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
= NULL
;
16034 wxGrid
*arg1
= (wxGrid
*) 0 ;
16036 PyObject
* obj0
= 0 ;
16037 PyObject
* obj1
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self",(char *) "col", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
16043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16044 if (SWIG_arg_fail(1)) SWIG_fail
;
16046 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16047 if (SWIG_arg_fail(2)) SWIG_fail
;
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16051 (arg1
)->DeselectCol(arg2
);
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16056 Py_INCREF(Py_None
); resultobj
= Py_None
;
16063 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
= NULL
;
16065 wxGrid
*arg1
= (wxGrid
*) 0 ;
16068 PyObject
* obj0
= 0 ;
16069 PyObject
* obj1
= 0 ;
16070 PyObject
* obj2
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "self",(char *) "row",(char *) "col", NULL
16075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16077 if (SWIG_arg_fail(1)) SWIG_fail
;
16079 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16080 if (SWIG_arg_fail(2)) SWIG_fail
;
16083 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16084 if (SWIG_arg_fail(3)) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 (arg1
)->DeselectCell(arg2
,arg3
);
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 Py_INCREF(Py_None
); resultobj
= Py_None
;
16100 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
= NULL
;
16102 wxGrid
*arg1
= (wxGrid
*) 0 ;
16103 wxGridCellCoords
*arg2
= 0 ;
16104 wxGridCellCoords
*arg3
= 0 ;
16106 wxGridCellCoords temp2
;
16107 wxGridCellCoords temp3
;
16108 PyObject
* obj0
= 0 ;
16109 PyObject
* obj1
= 0 ;
16110 PyObject
* obj2
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16117 if (SWIG_arg_fail(1)) SWIG_fail
;
16120 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
16124 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 wxRect
* resultptr
;
16135 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
16136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16144 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
= NULL
;
16146 wxGrid
*arg1
= (wxGrid
*) 0 ;
16148 PyObject
* obj0
= 0 ;
16149 char *kwnames
[] = {
16150 (char *) "self", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
16154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16155 if (SWIG_arg_fail(1)) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16164 wxColour
* resultptr
;
16165 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
16166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
16174 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
= NULL
;
16176 wxGrid
*arg1
= (wxGrid
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
16184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16185 if (SWIG_arg_fail(1)) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16194 wxColour
* resultptr
;
16195 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
16196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
16204 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
= NULL
;
16206 wxGrid
*arg1
= (wxGrid
*) 0 ;
16207 wxColour
*arg2
= 0 ;
16209 PyObject
* obj0
= 0 ;
16210 PyObject
* obj1
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self",(char *) "c", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16217 if (SWIG_arg_fail(1)) SWIG_fail
;
16220 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 Py_INCREF(Py_None
); resultobj
= Py_None
;
16236 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
= NULL
;
16238 wxGrid
*arg1
= (wxGrid
*) 0 ;
16239 wxColour
*arg2
= 0 ;
16241 PyObject
* obj0
= 0 ;
16242 PyObject
* obj1
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self",(char *) "c", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16249 if (SWIG_arg_fail(1)) SWIG_fail
;
16252 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 Py_INCREF(Py_None
); resultobj
= Py_None
;
16268 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
= NULL
;
16270 wxGrid
*arg1
= (wxGrid
*) 0 ;
16271 wxString
*arg2
= 0 ;
16272 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
16273 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
16274 bool temp2
= false ;
16275 PyObject
* obj0
= 0 ;
16276 PyObject
* obj1
= 0 ;
16277 PyObject
* obj2
= 0 ;
16278 PyObject
* obj3
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16285 if (SWIG_arg_fail(1)) SWIG_fail
;
16287 arg2
= wxString_in_helper(obj1
);
16288 if (arg2
== NULL
) SWIG_fail
;
16291 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
16292 if (SWIG_arg_fail(3)) SWIG_fail
;
16293 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
16294 if (SWIG_arg_fail(4)) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 Py_INCREF(Py_None
); resultobj
= Py_None
;
16317 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
= NULL
;
16319 wxGrid
*arg1
= (wxGrid
*) 0 ;
16322 wxGridCellEditor
*result
;
16323 PyObject
* obj0
= 0 ;
16324 PyObject
* obj1
= 0 ;
16325 PyObject
* obj2
= 0 ;
16326 char *kwnames
[] = {
16327 (char *) "self",(char *) "row",(char *) "col", NULL
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16332 if (SWIG_arg_fail(1)) SWIG_fail
;
16334 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16335 if (SWIG_arg_fail(2)) SWIG_fail
;
16338 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16339 if (SWIG_arg_fail(3)) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
16357 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
= NULL
;
16359 wxGrid
*arg1
= (wxGrid
*) 0 ;
16362 wxGridCellRenderer
*result
;
16363 PyObject
* obj0
= 0 ;
16364 PyObject
* obj1
= 0 ;
16365 PyObject
* obj2
= 0 ;
16366 char *kwnames
[] = {
16367 (char *) "self",(char *) "row",(char *) "col", NULL
16370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16372 if (SWIG_arg_fail(1)) SWIG_fail
;
16374 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16375 if (SWIG_arg_fail(2)) SWIG_fail
;
16378 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16379 if (SWIG_arg_fail(3)) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16389 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
16397 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
= NULL
;
16399 wxGrid
*arg1
= (wxGrid
*) 0 ;
16400 wxString
*arg2
= 0 ;
16401 wxGridCellEditor
*result
;
16402 bool temp2
= false ;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 char *kwnames
[] = {
16406 (char *) "self",(char *) "typeName", NULL
16409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
16410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16411 if (SWIG_arg_fail(1)) SWIG_fail
;
16413 arg2
= wxString_in_helper(obj1
);
16414 if (arg2
== NULL
) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
16441 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16442 PyObject
*resultobj
= NULL
;
16443 wxGrid
*arg1
= (wxGrid
*) 0 ;
16444 wxString
*arg2
= 0 ;
16445 wxGridCellRenderer
*result
;
16446 bool temp2
= false ;
16447 PyObject
* obj0
= 0 ;
16448 PyObject
* obj1
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "self",(char *) "typeName", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
16454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail
;
16457 arg2
= wxString_in_helper(obj1
);
16458 if (arg2
== NULL
) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
16485 static PyObject
*_wrap_Grid_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
= NULL
;
16487 wxGrid
*arg1
= (wxGrid
*) 0 ;
16490 PyObject
* obj0
= 0 ;
16491 PyObject
* obj1
= 0 ;
16492 PyObject
* obj2
= 0 ;
16493 char *kwnames
[] = {
16494 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16499 if (SWIG_arg_fail(1)) SWIG_fail
;
16501 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16502 if (SWIG_arg_fail(2)) SWIG_fail
;
16505 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16506 if (SWIG_arg_fail(3)) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 (arg1
)->SetMargins(arg2
,arg3
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 Py_INCREF(Py_None
); resultobj
= Py_None
;
16522 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
= NULL
;
16524 wxGrid
*arg1
= (wxGrid
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
16532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16533 if (SWIG_arg_fail(1)) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 result
= (wxWindow
*)(arg1
)->GetGridWindow();
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16542 resultobj
= wxPyMake_wxObject(result
, 0);
16550 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
= NULL
;
16552 wxGrid
*arg1
= (wxGrid
*) 0 ;
16554 PyObject
* obj0
= 0 ;
16555 char *kwnames
[] = {
16556 (char *) "self", NULL
16559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
16560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16561 if (SWIG_arg_fail(1)) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16570 resultobj
= wxPyMake_wxObject(result
, 0);
16578 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
= NULL
;
16580 wxGrid
*arg1
= (wxGrid
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
16588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16589 if (SWIG_arg_fail(1)) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= wxPyMake_wxObject(result
, 0);
16606 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16607 PyObject
*resultobj
= NULL
;
16608 wxGrid
*arg1
= (wxGrid
*) 0 ;
16610 PyObject
* obj0
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
16616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16617 if (SWIG_arg_fail(1)) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16626 resultobj
= wxPyMake_wxObject(result
, 0);
16634 static PyObject
*_wrap_Grid_SetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
= NULL
;
16636 wxGrid
*arg1
= (wxGrid
*) 0 ;
16638 PyObject
* obj0
= 0 ;
16639 PyObject
* obj1
= 0 ;
16640 char *kwnames
[] = {
16641 (char *) "self",(char *) "x", NULL
16644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) goto fail
;
16645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16646 if (SWIG_arg_fail(1)) SWIG_fail
;
16648 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16649 if (SWIG_arg_fail(2)) SWIG_fail
;
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 (arg1
)->SetScrollLineX(arg2
);
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16658 Py_INCREF(Py_None
); resultobj
= Py_None
;
16665 static PyObject
*_wrap_Grid_SetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
= NULL
;
16667 wxGrid
*arg1
= (wxGrid
*) 0 ;
16669 PyObject
* obj0
= 0 ;
16670 PyObject
* obj1
= 0 ;
16671 char *kwnames
[] = {
16672 (char *) "self",(char *) "y", NULL
16675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) goto fail
;
16676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16677 if (SWIG_arg_fail(1)) SWIG_fail
;
16679 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16680 if (SWIG_arg_fail(2)) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 (arg1
)->SetScrollLineY(arg2
);
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16689 Py_INCREF(Py_None
); resultobj
= Py_None
;
16696 static PyObject
*_wrap_Grid_GetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
= NULL
;
16698 wxGrid
*arg1
= (wxGrid
*) 0 ;
16700 PyObject
* obj0
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "self", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineX",kwnames
,&obj0
)) goto fail
;
16706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16707 if (SWIG_arg_fail(1)) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineX();
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16716 resultobj
= SWIG_From_int(static_cast<int >(result
));
16724 static PyObject
*_wrap_Grid_GetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
= NULL
;
16726 wxGrid
*arg1
= (wxGrid
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 char *kwnames
[] = {
16730 (char *) "self", NULL
16733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineY",kwnames
,&obj0
)) goto fail
;
16734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16735 if (SWIG_arg_fail(1)) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineY();
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= SWIG_From_int(static_cast<int >(result
));
16752 static PyObject
*_wrap_Grid_GetScrollX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
= NULL
;
16754 wxGrid
*arg1
= (wxGrid
*) 0 ;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 char *kwnames
[] = {
16760 (char *) "self",(char *) "x", NULL
16763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) goto fail
;
16764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16765 if (SWIG_arg_fail(1)) SWIG_fail
;
16767 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16768 if (SWIG_arg_fail(2)) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= (int)((wxGrid
const *)arg1
)->GetScrollX(arg2
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= SWIG_From_int(static_cast<int >(result
));
16786 static PyObject
*_wrap_Grid_GetScrollY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
= NULL
;
16788 wxGrid
*arg1
= (wxGrid
*) 0 ;
16791 PyObject
* obj0
= 0 ;
16792 PyObject
* obj1
= 0 ;
16793 char *kwnames
[] = {
16794 (char *) "self",(char *) "y", NULL
16797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) goto fail
;
16798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16799 if (SWIG_arg_fail(1)) SWIG_fail
;
16801 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16802 if (SWIG_arg_fail(2)) SWIG_fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= (int)((wxGrid
const *)arg1
)->GetScrollY(arg2
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_From_int(static_cast<int >(result
));
16820 static PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
= NULL
;
16822 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16823 wxVisualAttributes result
;
16824 PyObject
* obj0
= 0 ;
16825 char *kwnames
[] = {
16826 (char *) "variant", NULL
16829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16832 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
16833 if (SWIG_arg_fail(1)) SWIG_fail
;
16837 if (!wxPyCheckForApp()) SWIG_fail
;
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 result
= wxGrid::GetClassDefaultAttributes(arg1
);
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16845 wxVisualAttributes
* resultptr
;
16846 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
16847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16855 static PyObject
* Grid_swigregister(PyObject
*, PyObject
*args
) {
16857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16858 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
16860 return Py_BuildValue((char *)"");
16862 static PyObject
*_wrap_new_GridEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
= NULL
;
16866 wxGrid
*arg3
= (wxGrid
*) 0 ;
16867 int arg4
= (int) -1 ;
16868 int arg5
= (int) -1 ;
16869 int arg6
= (int) -1 ;
16870 int arg7
= (int) -1 ;
16871 bool arg8
= (bool) true ;
16872 bool arg9
= (bool) false ;
16873 bool arg10
= (bool) false ;
16874 bool arg11
= (bool) false ;
16875 bool arg12
= (bool) false ;
16876 wxGridEvent
*result
;
16877 PyObject
* obj0
= 0 ;
16878 PyObject
* obj1
= 0 ;
16879 PyObject
* obj2
= 0 ;
16880 PyObject
* obj3
= 0 ;
16881 PyObject
* obj4
= 0 ;
16882 PyObject
* obj5
= 0 ;
16883 PyObject
* obj6
= 0 ;
16884 PyObject
* obj7
= 0 ;
16885 PyObject
* obj8
= 0 ;
16886 PyObject
* obj9
= 0 ;
16887 PyObject
* obj10
= 0 ;
16888 PyObject
* obj11
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "x",(char *) "y",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOOOO:new_GridEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
16895 arg1
= static_cast<int >(SWIG_As_int(obj0
));
16896 if (SWIG_arg_fail(1)) SWIG_fail
;
16899 arg2
= static_cast<wxEventType
>(SWIG_As_int(obj1
));
16900 if (SWIG_arg_fail(2)) SWIG_fail
;
16902 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16903 if (SWIG_arg_fail(3)) SWIG_fail
;
16906 arg4
= static_cast<int >(SWIG_As_int(obj3
));
16907 if (SWIG_arg_fail(4)) SWIG_fail
;
16912 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16913 if (SWIG_arg_fail(5)) SWIG_fail
;
16918 arg6
= static_cast<int >(SWIG_As_int(obj5
));
16919 if (SWIG_arg_fail(6)) SWIG_fail
;
16924 arg7
= static_cast<int >(SWIG_As_int(obj6
));
16925 if (SWIG_arg_fail(7)) SWIG_fail
;
16930 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
16931 if (SWIG_arg_fail(8)) SWIG_fail
;
16936 arg9
= static_cast<bool >(SWIG_As_bool(obj8
));
16937 if (SWIG_arg_fail(9)) SWIG_fail
;
16942 arg10
= static_cast<bool >(SWIG_As_bool(obj9
));
16943 if (SWIG_arg_fail(10)) SWIG_fail
;
16948 arg11
= static_cast<bool >(SWIG_As_bool(obj10
));
16949 if (SWIG_arg_fail(11)) SWIG_fail
;
16954 arg12
= static_cast<bool >(SWIG_As_bool(obj11
));
16955 if (SWIG_arg_fail(12)) SWIG_fail
;
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
16972 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16973 PyObject
*resultobj
= NULL
;
16974 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16976 PyObject
* obj0
= 0 ;
16977 char *kwnames
[] = {
16978 (char *) "self", NULL
16981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
16982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16983 if (SWIG_arg_fail(1)) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= (int)(arg1
)->GetRow();
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= SWIG_From_int(static_cast<int >(result
));
17000 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17001 PyObject
*resultobj
= NULL
;
17002 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17004 PyObject
* obj0
= 0 ;
17005 char *kwnames
[] = {
17006 (char *) "self", NULL
17009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
17010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17011 if (SWIG_arg_fail(1)) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (int)(arg1
)->GetCol();
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= SWIG_From_int(static_cast<int >(result
));
17028 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
= NULL
;
17030 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17032 PyObject
* obj0
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17039 if (SWIG_arg_fail(1)) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= (arg1
)->GetPosition();
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17048 wxPoint
* resultptr
;
17049 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
17050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17058 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
= NULL
;
17060 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17062 PyObject
* obj0
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "self", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
17068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17069 if (SWIG_arg_fail(1)) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 result
= (bool)(arg1
)->Selecting();
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17086 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
= NULL
;
17088 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17090 PyObject
* obj0
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17097 if (SWIG_arg_fail(1)) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= (bool)(arg1
)->ControlDown();
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17114 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
= NULL
;
17116 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17118 PyObject
* obj0
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17125 if (SWIG_arg_fail(1)) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (bool)(arg1
)->MetaDown();
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17142 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
= NULL
;
17144 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17146 PyObject
* obj0
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17153 if (SWIG_arg_fail(1)) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 result
= (bool)(arg1
)->ShiftDown();
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17170 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
= NULL
;
17172 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17174 PyObject
* obj0
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17181 if (SWIG_arg_fail(1)) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (bool)(arg1
)->AltDown();
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17198 static PyObject
* GridEvent_swigregister(PyObject
*, PyObject
*args
) {
17200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17201 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
17203 return Py_BuildValue((char *)"");
17205 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
= NULL
;
17209 wxGrid
*arg3
= (wxGrid
*) 0 ;
17210 int arg4
= (int) -1 ;
17211 int arg5
= (int) -1 ;
17212 int arg6
= (int) -1 ;
17213 bool arg7
= (bool) false ;
17214 bool arg8
= (bool) false ;
17215 bool arg9
= (bool) false ;
17216 bool arg10
= (bool) false ;
17217 wxGridSizeEvent
*result
;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 PyObject
* obj2
= 0 ;
17221 PyObject
* obj3
= 0 ;
17222 PyObject
* obj4
= 0 ;
17223 PyObject
* obj5
= 0 ;
17224 PyObject
* obj6
= 0 ;
17225 PyObject
* obj7
= 0 ;
17226 PyObject
* obj8
= 0 ;
17227 PyObject
* obj9
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17234 arg1
= static_cast<int >(SWIG_As_int(obj0
));
17235 if (SWIG_arg_fail(1)) SWIG_fail
;
17238 arg2
= static_cast<wxEventType
>(SWIG_As_int(obj1
));
17239 if (SWIG_arg_fail(2)) SWIG_fail
;
17241 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
17242 if (SWIG_arg_fail(3)) SWIG_fail
;
17245 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17246 if (SWIG_arg_fail(4)) SWIG_fail
;
17251 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17252 if (SWIG_arg_fail(5)) SWIG_fail
;
17257 arg6
= static_cast<int >(SWIG_As_int(obj5
));
17258 if (SWIG_arg_fail(6)) SWIG_fail
;
17263 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
17264 if (SWIG_arg_fail(7)) SWIG_fail
;
17269 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
17270 if (SWIG_arg_fail(8)) SWIG_fail
;
17275 arg9
= static_cast<bool >(SWIG_As_bool(obj8
));
17276 if (SWIG_arg_fail(9)) SWIG_fail
;
17281 arg10
= static_cast<bool >(SWIG_As_bool(obj9
));
17282 if (SWIG_arg_fail(10)) SWIG_fail
;
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
17299 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
= NULL
;
17301 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17303 PyObject
* obj0
= 0 ;
17304 char *kwnames
[] = {
17305 (char *) "self", NULL
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
17309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17310 if (SWIG_arg_fail(1)) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 result
= (int)(arg1
)->GetRowOrCol();
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17319 resultobj
= SWIG_From_int(static_cast<int >(result
));
17327 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
= NULL
;
17329 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17331 PyObject
* obj0
= 0 ;
17332 char *kwnames
[] = {
17333 (char *) "self", NULL
17336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17338 if (SWIG_arg_fail(1)) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (arg1
)->GetPosition();
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17347 wxPoint
* resultptr
;
17348 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
17349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17357 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17358 PyObject
*resultobj
= NULL
;
17359 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17361 PyObject
* obj0
= 0 ;
17362 char *kwnames
[] = {
17363 (char *) "self", NULL
17366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17368 if (SWIG_arg_fail(1)) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= (bool)(arg1
)->ControlDown();
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17385 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
= NULL
;
17387 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17396 if (SWIG_arg_fail(1)) SWIG_fail
;
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= (bool)(arg1
)->MetaDown();
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17413 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
= NULL
;
17415 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17417 PyObject
* obj0
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17424 if (SWIG_arg_fail(1)) SWIG_fail
;
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= (bool)(arg1
)->ShiftDown();
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17441 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
= NULL
;
17443 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17445 PyObject
* obj0
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17452 if (SWIG_arg_fail(1)) SWIG_fail
;
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 result
= (bool)(arg1
)->AltDown();
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17469 static PyObject
* GridSizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17472 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
17474 return Py_BuildValue((char *)"");
17476 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
= NULL
;
17480 wxGrid
*arg3
= (wxGrid
*) 0 ;
17481 wxGridCellCoords
*arg4
= 0 ;
17482 wxGridCellCoords
*arg5
= 0 ;
17483 bool arg6
= (bool) true ;
17484 bool arg7
= (bool) false ;
17485 bool arg8
= (bool) false ;
17486 bool arg9
= (bool) false ;
17487 bool arg10
= (bool) false ;
17488 wxGridRangeSelectEvent
*result
;
17489 wxGridCellCoords temp4
;
17490 wxGridCellCoords temp5
;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj1
= 0 ;
17493 PyObject
* obj2
= 0 ;
17494 PyObject
* obj3
= 0 ;
17495 PyObject
* obj4
= 0 ;
17496 PyObject
* obj5
= 0 ;
17497 PyObject
* obj6
= 0 ;
17498 PyObject
* obj7
= 0 ;
17499 PyObject
* obj8
= 0 ;
17500 PyObject
* obj9
= 0 ;
17501 char *kwnames
[] = {
17502 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17507 arg1
= static_cast<int >(SWIG_As_int(obj0
));
17508 if (SWIG_arg_fail(1)) SWIG_fail
;
17511 arg2
= static_cast<wxEventType
>(SWIG_As_int(obj1
));
17512 if (SWIG_arg_fail(2)) SWIG_fail
;
17514 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
17515 if (SWIG_arg_fail(3)) SWIG_fail
;
17518 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
17522 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
17526 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
17527 if (SWIG_arg_fail(6)) SWIG_fail
;
17532 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
17533 if (SWIG_arg_fail(7)) SWIG_fail
;
17538 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
17539 if (SWIG_arg_fail(8)) SWIG_fail
;
17544 arg9
= static_cast<bool >(SWIG_As_bool(obj8
));
17545 if (SWIG_arg_fail(9)) SWIG_fail
;
17550 arg10
= static_cast<bool >(SWIG_As_bool(obj9
));
17551 if (SWIG_arg_fail(10)) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
17568 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
= NULL
;
17570 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17571 wxGridCellCoords result
;
17572 PyObject
* obj0
= 0 ;
17573 char *kwnames
[] = {
17574 (char *) "self", NULL
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
17578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17579 if (SWIG_arg_fail(1)) SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 result
= (arg1
)->GetTopLeftCoords();
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17588 wxGridCellCoords
* resultptr
;
17589 resultptr
= new wxGridCellCoords(static_cast<wxGridCellCoords
& >(result
));
17590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
17598 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
= NULL
;
17600 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17601 wxGridCellCoords result
;
17602 PyObject
* obj0
= 0 ;
17603 char *kwnames
[] = {
17604 (char *) "self", NULL
17607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
17608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17609 if (SWIG_arg_fail(1)) SWIG_fail
;
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 result
= (arg1
)->GetBottomRightCoords();
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17618 wxGridCellCoords
* resultptr
;
17619 resultptr
= new wxGridCellCoords(static_cast<wxGridCellCoords
& >(result
));
17620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
17628 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
= NULL
;
17630 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17632 PyObject
* obj0
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
17638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17639 if (SWIG_arg_fail(1)) SWIG_fail
;
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 result
= (int)(arg1
)->GetTopRow();
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17648 resultobj
= SWIG_From_int(static_cast<int >(result
));
17656 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
= NULL
;
17658 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17660 PyObject
* obj0
= 0 ;
17661 char *kwnames
[] = {
17662 (char *) "self", NULL
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
17666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17667 if (SWIG_arg_fail(1)) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= (int)(arg1
)->GetBottomRow();
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17676 resultobj
= SWIG_From_int(static_cast<int >(result
));
17684 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
= NULL
;
17686 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17688 PyObject
* obj0
= 0 ;
17689 char *kwnames
[] = {
17690 (char *) "self", NULL
17693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
17694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17695 if (SWIG_arg_fail(1)) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 result
= (int)(arg1
)->GetLeftCol();
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= SWIG_From_int(static_cast<int >(result
));
17712 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
= NULL
;
17714 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17716 PyObject
* obj0
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
17722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17723 if (SWIG_arg_fail(1)) SWIG_fail
;
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17726 result
= (int)(arg1
)->GetRightCol();
17728 wxPyEndAllowThreads(__tstate
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= SWIG_From_int(static_cast<int >(result
));
17740 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
= NULL
;
17742 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17744 PyObject
* obj0
= 0 ;
17745 char *kwnames
[] = {
17746 (char *) "self", NULL
17749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
17750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17751 if (SWIG_arg_fail(1)) SWIG_fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 result
= (bool)(arg1
)->Selecting();
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17768 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
= NULL
;
17770 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17772 PyObject
* obj0
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "self", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17779 if (SWIG_arg_fail(1)) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= (bool)(arg1
)->ControlDown();
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17796 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
= NULL
;
17798 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17800 PyObject
* obj0
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "self", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17807 if (SWIG_arg_fail(1)) SWIG_fail
;
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 result
= (bool)(arg1
)->MetaDown();
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17824 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
= NULL
;
17826 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17828 PyObject
* obj0
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "self", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17835 if (SWIG_arg_fail(1)) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (bool)(arg1
)->ShiftDown();
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17852 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17853 PyObject
*resultobj
= NULL
;
17854 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17856 PyObject
* obj0
= 0 ;
17857 char *kwnames
[] = {
17858 (char *) "self", NULL
17861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17863 if (SWIG_arg_fail(1)) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 result
= (bool)(arg1
)->AltDown();
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17880 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*, PyObject
*args
) {
17882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17883 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
17885 return Py_BuildValue((char *)"");
17887 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
= NULL
;
17891 wxObject
*arg3
= (wxObject
*) 0 ;
17894 wxControl
*arg6
= (wxControl
*) 0 ;
17895 wxGridEditorCreatedEvent
*result
;
17896 PyObject
* obj0
= 0 ;
17897 PyObject
* obj1
= 0 ;
17898 PyObject
* obj2
= 0 ;
17899 PyObject
* obj3
= 0 ;
17900 PyObject
* obj4
= 0 ;
17901 PyObject
* obj5
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17908 arg1
= static_cast<int >(SWIG_As_int(obj0
));
17909 if (SWIG_arg_fail(1)) SWIG_fail
;
17912 arg2
= static_cast<wxEventType
>(SWIG_As_int(obj1
));
17913 if (SWIG_arg_fail(2)) SWIG_fail
;
17915 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
17916 if (SWIG_arg_fail(3)) SWIG_fail
;
17918 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17919 if (SWIG_arg_fail(4)) SWIG_fail
;
17922 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17923 if (SWIG_arg_fail(5)) SWIG_fail
;
17925 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
17926 if (SWIG_arg_fail(6)) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
17941 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
= NULL
;
17943 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
17951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17952 if (SWIG_arg_fail(1)) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 result
= (int)(arg1
)->GetRow();
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= SWIG_From_int(static_cast<int >(result
));
17969 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
= NULL
;
17971 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17973 PyObject
* obj0
= 0 ;
17974 char *kwnames
[] = {
17975 (char *) "self", NULL
17978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
17979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17980 if (SWIG_arg_fail(1)) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= (int)(arg1
)->GetCol();
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= SWIG_From_int(static_cast<int >(result
));
17997 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
= NULL
;
17999 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
18001 PyObject
* obj0
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
18007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
18008 if (SWIG_arg_fail(1)) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 result
= (wxControl
*)(arg1
)->GetControl();
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= wxPyMake_wxObject(result
, 0);
18025 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
= NULL
;
18027 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
18029 PyObject
* obj0
= 0 ;
18030 PyObject
* obj1
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self",(char *) "row", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
18036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
18037 if (SWIG_arg_fail(1)) SWIG_fail
;
18039 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18040 if (SWIG_arg_fail(2)) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 (arg1
)->SetRow(arg2
);
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 Py_INCREF(Py_None
); resultobj
= Py_None
;
18056 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
= NULL
;
18058 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self",(char *) "col", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
18067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
18068 if (SWIG_arg_fail(1)) SWIG_fail
;
18070 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18071 if (SWIG_arg_fail(2)) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 (arg1
)->SetCol(arg2
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 Py_INCREF(Py_None
); resultobj
= Py_None
;
18087 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
= NULL
;
18089 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
18090 wxControl
*arg2
= (wxControl
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 PyObject
* obj1
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self",(char *) "ctrl", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
18098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
18099 if (SWIG_arg_fail(1)) SWIG_fail
;
18100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
18101 if (SWIG_arg_fail(2)) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 (arg1
)->SetControl(arg2
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 Py_INCREF(Py_None
); resultobj
= Py_None
;
18116 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*, PyObject
*args
) {
18118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18119 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
18121 return Py_BuildValue((char *)"");
18123 static PyMethodDef SwigMethods
[] = {
18124 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18125 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18126 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18127 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18128 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18129 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18130 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18131 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
18132 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18133 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18134 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18135 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
18136 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18137 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
18138 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18139 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
18140 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18141 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18142 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18143 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18144 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18145 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
18146 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18147 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
18148 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18149 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
18150 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18151 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
18152 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18153 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
18154 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18155 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18156 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18157 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18158 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18159 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18160 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18161 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18162 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18163 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18164 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18165 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18166 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18167 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18168 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18169 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18170 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18171 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18172 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18173 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18174 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18175 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18176 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
18177 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18178 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18179 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18180 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18181 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18182 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18183 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18184 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18185 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18186 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18187 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18188 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
18189 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18190 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18191 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
18192 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18193 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18194 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
18195 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18196 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18197 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
18198 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18199 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18200 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
18201 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18202 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18203 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
18204 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18205 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18206 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
18207 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18208 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18209 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
18210 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18211 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18212 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18213 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18214 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18215 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18216 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18217 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18218 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18219 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18220 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18221 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18222 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18223 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18224 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18225 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18226 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18227 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18228 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18229 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18230 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18231 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18232 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18233 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18234 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18235 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18236 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18237 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18238 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18239 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18240 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18241 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18242 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18243 { (char *)"GridCellAttr_GetKind", (PyCFunction
) _wrap_GridCellAttr_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18244 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18245 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
18246 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18247 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18248 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18249 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18250 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18251 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18252 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18253 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18254 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
18255 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18256 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18257 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18258 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18259 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18260 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18261 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
18262 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18263 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18264 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18265 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18266 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18267 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18268 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18269 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18270 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18271 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18272 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18273 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18274 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18275 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18276 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18277 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18278 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18279 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18280 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18281 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18282 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18283 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18284 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18285 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18286 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18287 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18288 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18289 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18290 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18291 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18292 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18293 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18294 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18295 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18296 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18297 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
18298 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18299 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18300 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18301 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18302 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18303 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18304 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18305 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18306 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18307 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18308 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18309 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18310 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18311 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18312 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18313 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18314 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18315 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18316 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18317 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18318 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18319 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18320 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
18321 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18322 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
18323 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18324 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18325 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18326 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18327 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18328 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18329 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18330 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18331 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18332 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18333 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
18334 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18335 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18336 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18337 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18338 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18339 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18340 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18341 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18342 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18343 { (char *)"GridCellCoords_Get", (PyCFunction
) _wrap_GridCellCoords_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18344 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
18345 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18346 { (char *)"new_PreGrid", (PyCFunction
) _wrap_new_PreGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18347 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18348 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18349 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18350 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18351 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18352 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18353 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18354 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18355 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18356 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18357 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18358 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18359 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18360 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18361 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18362 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18363 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18364 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18365 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18366 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18367 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18368 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18369 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18370 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18371 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18372 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18373 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18374 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18375 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18376 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18377 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18378 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18379 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18380 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18381 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18382 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18383 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18384 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18385 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18386 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18387 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18388 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18389 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18390 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18391 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18392 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18393 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18394 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18395 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18396 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18397 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18398 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18399 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18400 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18401 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18402 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18403 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18404 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18405 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18406 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18407 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18408 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18409 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18410 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18411 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18412 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18413 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18414 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18415 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18416 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18417 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18418 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18419 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18420 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18421 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18422 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18423 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18424 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18425 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18426 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18427 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18428 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18429 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18430 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18431 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18432 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18433 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18434 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18435 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18436 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18437 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18438 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18439 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18440 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18441 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18442 { (char *)"Grid_DisableDragCell", (PyCFunction
) _wrap_Grid_DisableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18443 { (char *)"Grid_CanDragCell", (PyCFunction
) _wrap_Grid_CanDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18444 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18445 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18446 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18447 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18448 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18449 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18450 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18451 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18452 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18453 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18454 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18455 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18456 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18457 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18458 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18459 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18460 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18461 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18462 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18463 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18464 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18465 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18466 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18467 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18468 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18469 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18470 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18471 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18472 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18473 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18474 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18475 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18476 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18477 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18478 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18479 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18480 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18481 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18482 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18483 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18484 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18485 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18486 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18487 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18488 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18489 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18490 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18491 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18492 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18493 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18494 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18495 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18496 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18497 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18498 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18499 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18500 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18501 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18502 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18503 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18504 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18505 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18506 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18507 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18508 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18509 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18510 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18511 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18512 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18513 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18514 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18515 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18516 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18517 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18518 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18519 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18520 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18521 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18522 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18523 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18524 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18525 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18526 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18527 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18528 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18529 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18530 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18531 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18532 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18533 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18534 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18535 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18536 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18537 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18538 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18539 { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18540 { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18541 { (char *)"Grid_GetScrollLineX", (PyCFunction
) _wrap_Grid_GetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18542 { (char *)"Grid_GetScrollLineY", (PyCFunction
) _wrap_Grid_GetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18543 { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18544 { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18545 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18546 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
18547 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18548 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18549 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18550 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18551 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18552 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18553 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18554 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18555 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18556 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
18557 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18558 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18559 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18560 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18561 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18562 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18563 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18564 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
18565 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18566 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18567 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18568 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18569 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18570 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18571 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18572 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18573 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18574 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18575 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18576 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18577 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
18578 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18579 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18580 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18581 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18582 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18583 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18584 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18585 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
18586 { NULL
, NULL
, 0, NULL
}
18590 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18592 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
18593 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
18595 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
18596 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
18598 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
18599 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
18601 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
18602 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
18604 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
18605 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
18607 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
18608 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
18610 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
18611 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
18613 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
18614 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
18616 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
18617 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
18619 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
18620 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
18622 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
18623 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
18625 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
18626 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
18628 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
18629 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
18631 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
18632 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
18634 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
18635 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18637 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
18638 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18640 static void *_p_wxGridTo_p_wxPanel(void *x
) {
18641 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
18643 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
18644 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18646 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
18647 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18649 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
18650 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
18652 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
18653 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18655 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
18656 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
18658 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
18659 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18661 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
18662 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18664 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
18665 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18667 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
18668 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18670 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
18671 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
18673 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
18674 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18676 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
18677 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
18679 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
18680 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18682 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
18683 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18685 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
18686 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18688 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
18689 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
18691 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18692 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18694 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
18695 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18697 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
18698 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18700 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
18701 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18703 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
18704 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18706 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
18707 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18709 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
18710 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18712 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
18713 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18715 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
18716 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18718 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
18719 return (void *)((wxWindow
*) ((wxPanel
*) x
));
18721 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
18722 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
18724 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
18725 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18727 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
18728 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18730 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
18731 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18733 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
18734 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
18736 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
18737 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18739 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
18740 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
18742 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
18743 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
18745 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
18746 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
18748 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
18749 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
18751 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
18752 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
18754 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
18755 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
18757 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
18758 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18760 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18761 return (void *)((wxWindow
*) ((wxControl
*) x
));
18763 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
18764 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18766 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
18767 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18769 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
18770 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18772 static void *_p_wxGridTo_p_wxWindow(void *x
) {
18773 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
18775 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18776 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18778 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
18779 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
18781 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
18782 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18784 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
18785 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18787 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
18788 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18790 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
18791 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
18793 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
18794 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18796 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
18797 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
18799 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
18800 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18802 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
18803 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18805 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
18806 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18808 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
18809 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
18811 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
18812 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18814 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
18815 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
18817 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
18818 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18820 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
18821 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
18823 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
18824 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
18826 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
18827 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
18829 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
18830 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
18832 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
18833 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
18835 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
18836 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18838 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
18839 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
18841 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
18842 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
18844 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
18845 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18847 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
18848 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
18850 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
18851 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18853 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
18854 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18856 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
18857 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18859 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
18860 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
18862 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
18863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18865 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
18866 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18868 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
18869 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
18871 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
18872 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
18874 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
18875 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
18877 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
18878 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
18880 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
18881 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
18883 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
18884 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
18886 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
18887 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18889 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
18890 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
18892 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
18893 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
18895 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
18896 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18898 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
18899 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18901 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
18902 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18904 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
18905 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18907 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
18908 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18910 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
18911 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
18913 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
18914 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
18916 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
18917 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
18919 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
18920 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
18922 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
18923 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18925 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18926 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18928 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18929 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18931 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18932 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18934 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18935 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18937 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18938 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18940 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18941 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18943 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18944 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18946 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18947 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18949 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18950 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18952 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18953 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18955 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18958 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18961 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18964 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18967 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18970 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18973 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18976 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18979 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18980 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18982 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18983 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18985 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18986 return (void *)((wxObject
*) ((wxSizer
*) x
));
18988 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18989 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18991 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18992 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18994 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18997 static void *_p_wxEventTo_p_wxObject(void *x
) {
18998 return (void *)((wxObject
*) ((wxEvent
*) x
));
19000 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
19001 return (void *)((wxObject
*) ((wxFontData
*) x
));
19003 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
19004 return (void *)((wxObject
*) ((wxPrintData
*) x
));
19006 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19007 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19009 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19010 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19012 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19013 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19015 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
19016 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
19018 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
19019 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
19021 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
19022 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19024 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
19025 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
19027 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19028 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19030 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19031 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19033 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19034 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19036 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19037 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19039 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19040 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19042 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19043 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19045 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
19046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19048 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
19049 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
19051 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
19052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
19054 static void *_p_wxControlTo_p_wxObject(void *x
) {
19055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19057 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19058 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19060 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
19061 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19063 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19064 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19066 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
19067 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
19069 static void *_p_wxGridTo_p_wxObject(void *x
) {
19070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
19072 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19073 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19075 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
19076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
19078 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
19079 return (void *)((wxObject
*) ((wxColourData
*) x
));
19081 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19082 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19084 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19087 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
19088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
19090 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
19091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
19093 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
19094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
19096 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
19097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19099 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
19100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19102 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
19103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
19105 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
19106 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19108 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
19109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
19111 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
19112 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
19114 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
19115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
19117 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19118 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19120 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
19121 return (void *)((wxObject
*) ((wxPrinter
*) x
));
19123 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19124 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19126 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
19127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
19129 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19130 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19132 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19133 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19135 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19136 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19138 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19139 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19141 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19142 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19144 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19145 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19147 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19148 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19150 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19151 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19153 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
19154 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
19156 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19157 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19159 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19160 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19162 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19163 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19165 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19166 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19168 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19169 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19171 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19172 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19174 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19175 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19177 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19178 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19180 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19181 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19183 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
19184 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
19186 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19187 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19189 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19190 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19192 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19193 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19195 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19196 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19198 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
19199 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
19201 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
19202 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
19204 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
19205 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19207 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
19208 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19210 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
19211 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
19213 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19214 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19216 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
19217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
19219 static void *_p_wxImageTo_p_wxObject(void *x
) {
19220 return (void *)((wxObject
*) ((wxImage
*) x
));
19222 static void *_p_wxFrameTo_p_wxObject(void *x
) {
19223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
19225 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
19226 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
19228 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19229 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19231 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
19232 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
19234 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
19235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
19237 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
19238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19240 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19241 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19243 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19244 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19246 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19247 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19249 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19250 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19252 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19253 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19255 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19258 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
19259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
19261 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
19262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
19264 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
19265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
19267 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
19268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
19270 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
19271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
19273 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
19274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19276 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
19277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
19279 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
19280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19282 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
19283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
19285 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
19286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19288 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
19289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
19291 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
19292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19294 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
19295 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
19297 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
19298 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
19300 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
19301 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
19303 static void *_p_wxPanelTo_p_wxObject(void *x
) {
19304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
19306 static void *_p_wxDialogTo_p_wxObject(void *x
) {
19307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
19309 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
19310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19312 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
19313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19315 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
19316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19318 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
19319 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
19321 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
19322 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
19324 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19325 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19327 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19330 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19331 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19333 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19334 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19336 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19337 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19339 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19340 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19342 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19343 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19345 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
19346 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
19348 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
19349 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
19351 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19352 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19354 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19355 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19357 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
19358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
19360 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
19361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19363 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19364 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19366 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19367 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19369 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19370 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19372 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19375 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
19376 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
19378 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
19379 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
19381 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19384 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19385 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19387 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
19388 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
19390 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
19391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
19393 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
19394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
19396 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
19397 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
19399 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
19400 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
19402 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
19403 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
19405 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
19406 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
19408 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
19409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19411 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
19412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
19414 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
19415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19417 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
19418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19420 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
19421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
19423 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
19424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
19426 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
19427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
19429 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
19430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
19432 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
19433 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
19435 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
19436 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
19438 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
19439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19441 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
19442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
19444 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
19445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19447 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
19448 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
19450 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
19451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19453 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
19454 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
19456 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
19457 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
19459 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
19460 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
19462 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
19463 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
19465 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
19466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
19468 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
19469 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
19471 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
19472 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
19474 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
19475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19477 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
19478 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
19480 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
19481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
19483 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
19484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
19486 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
19487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
19489 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
19490 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
19492 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
19493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
19495 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
19496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19498 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
19499 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
19501 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
19502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19504 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
19505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19507 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
19508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19510 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
19511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
19513 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
19514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19516 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
19517 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
19519 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
19520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
19522 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
19523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19525 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
19526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19528 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
19529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
19531 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
19532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19534 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
19535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19537 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
19538 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
19540 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
19541 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
19543 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
19544 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
19546 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
19547 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
19549 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
19550 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
19552 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
19553 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
19555 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
19556 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
19558 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
19559 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
19561 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
19562 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
19564 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
19565 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
19567 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
19568 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
19570 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
19571 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
19573 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
19574 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
19576 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19577 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19579 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19580 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19582 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19583 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19585 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19586 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19588 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19589 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19591 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19592 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19594 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19595 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19597 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
19598 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
19600 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
19601 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
19603 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19604 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19606 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
19607 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
19609 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
19610 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
19612 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
19613 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
19615 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19616 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19618 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19619 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19621 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19622 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19624 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
19625 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
19627 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
19628 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
19630 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
19631 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
19632 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
19633 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, 0};
19634 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
19635 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
19636 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
19637 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
19638 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
19639 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
19640 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0};
19641 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
19642 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0};
19643 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
19644 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
19645 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
19646 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
19647 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
19648 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
19649 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0};
19650 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
19651 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, 0};
19652 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
19653 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
19654 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
19655 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
19656 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
19657 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
19658 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
19659 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
19660 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
19661 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
19662 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
19663 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
19664 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
19665 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
19666 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
19667 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
19668 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
19669 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
19670 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
19671 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
19672 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
19673 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
19674 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
19675 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
19676 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
19677 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
19678 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
19679 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
19680 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
19681 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
19682 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
19683 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
19684 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
19685 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0};
19686 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0};
19687 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0};
19688 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
19689 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
19690 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
19691 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0};
19692 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0};
19693 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
19694 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0};
19695 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
19696 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0};
19697 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
19698 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
19699 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0};
19700 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0};
19701 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
19702 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
19703 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0};
19704 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0};
19705 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0};
19706 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0};
19707 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
19708 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
19709 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
19710 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0};
19711 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
19712 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0};
19713 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0};
19714 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
19715 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0};
19716 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0};
19717 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
19718 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0};
19719 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
19720 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0};
19721 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
19722 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0};
19723 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0};
19724 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0};
19725 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0};
19726 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0};
19727 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
19728 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0};
19729 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
19730 static swig_type_info _swigt__p_wxGrid
= {"_p_wxGrid", "wxGrid *", 0, 0, 0};
19731 static swig_type_info _swigt__p_wxGridCellAttr
= {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, 0};
19732 static swig_type_info _swigt__p_wxGridCellAttrProvider
= {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, 0};
19733 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
= {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, 0};
19734 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
= {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, 0};
19735 static swig_type_info _swigt__p_wxGridCellBoolEditor
= {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, 0};
19736 static swig_type_info _swigt__p_wxGridCellBoolRenderer
= {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, 0};
19737 static swig_type_info _swigt__p_wxGridCellChoiceEditor
= {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, 0};
19738 static swig_type_info _swigt__p_wxGridCellCoords
= {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, 0};
19739 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
= {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, 0};
19740 static swig_type_info _swigt__p_wxGridCellEditor
= {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, 0};
19741 static swig_type_info _swigt__p_wxGridCellEnumEditor
= {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, 0};
19742 static swig_type_info _swigt__p_wxGridCellEnumRenderer
= {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, 0};
19743 static swig_type_info _swigt__p_wxGridCellFloatEditor
= {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, 0};
19744 static swig_type_info _swigt__p_wxGridCellFloatRenderer
= {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, 0};
19745 static swig_type_info _swigt__p_wxGridCellNumberEditor
= {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, 0};
19746 static swig_type_info _swigt__p_wxGridCellNumberRenderer
= {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, 0};
19747 static swig_type_info _swigt__p_wxGridCellRenderer
= {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, 0};
19748 static swig_type_info _swigt__p_wxGridCellStringRenderer
= {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, 0};
19749 static swig_type_info _swigt__p_wxGridCellTextEditor
= {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, 0};
19750 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
= {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, 0};
19751 static swig_type_info _swigt__p_wxGridEvent
= {"_p_wxGridEvent", "wxGridEvent *", 0, 0, 0};
19752 static swig_type_info _swigt__p_wxGridRangeSelectEvent
= {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, 0};
19753 static swig_type_info _swigt__p_wxGridSizeEvent
= {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, 0};
19754 static swig_type_info _swigt__p_wxGridStringTable
= {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, 0};
19755 static swig_type_info _swigt__p_wxGridTableBase
= {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, 0};
19756 static swig_type_info _swigt__p_wxGridTableMessage
= {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, 0};
19757 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
19758 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
19759 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
19760 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
19761 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
19762 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
19763 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
19764 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
19765 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
19766 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
19767 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
19768 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0};
19769 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0};
19770 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
19771 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
19772 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
19773 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
19774 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0};
19775 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
19776 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0};
19777 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0};
19778 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
19779 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
19780 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
19781 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
19782 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
19783 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
19784 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
19785 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
19786 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
19787 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
19788 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
19789 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
19790 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
19791 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
19792 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
19793 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
19794 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
19795 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0};
19796 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0};
19797 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0};
19798 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0};
19799 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0};
19800 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
19801 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0};
19802 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0};
19803 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, 0};
19804 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
19805 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
19806 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
= {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, 0};
19807 static swig_type_info _swigt__p_wxPyGridCellEditor
= {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, 0};
19808 static swig_type_info _swigt__p_wxPyGridCellRenderer
= {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, 0};
19809 static swig_type_info _swigt__p_wxPyGridTableBase
= {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, 0};
19810 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
19811 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
19812 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
19813 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
19814 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
19815 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
19816 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
19817 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
19818 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
19820 static swig_type_info
*swig_type_initial
[] = {
19822 &_swigt__p_form_ops_t
,
19825 &_swigt__p_unsigned_char
,
19826 &_swigt__p_unsigned_int
,
19827 &_swigt__p_unsigned_long
,
19828 &_swigt__p_wxANIHandler
,
19829 &_swigt__p_wxAcceleratorTable
,
19830 &_swigt__p_wxActivateEvent
,
19831 &_swigt__p_wxArrayString
,
19832 &_swigt__p_wxBMPHandler
,
19833 &_swigt__p_wxBoxSizer
,
19834 &_swigt__p_wxCURHandler
,
19835 &_swigt__p_wxCalculateLayoutEvent
,
19836 &_swigt__p_wxChildFocusEvent
,
19837 &_swigt__p_wxCloseEvent
,
19838 &_swigt__p_wxColour
,
19839 &_swigt__p_wxColourData
,
19840 &_swigt__p_wxColourDialog
,
19841 &_swigt__p_wxCommandEvent
,
19842 &_swigt__p_wxContextMenuEvent
,
19843 &_swigt__p_wxControl
,
19844 &_swigt__p_wxControlWithItems
,
19846 &_swigt__p_wxDateEvent
,
19847 &_swigt__p_wxDialog
,
19848 &_swigt__p_wxDirDialog
,
19849 &_swigt__p_wxDisplayChangedEvent
,
19850 &_swigt__p_wxDropFilesEvent
,
19851 &_swigt__p_wxDuplexMode
,
19852 &_swigt__p_wxEraseEvent
,
19853 &_swigt__p_wxEvent
,
19854 &_swigt__p_wxEvtHandler
,
19855 &_swigt__p_wxFSFile
,
19856 &_swigt__p_wxFileDialog
,
19857 &_swigt__p_wxFileSystem
,
19858 &_swigt__p_wxFindDialogEvent
,
19859 &_swigt__p_wxFindReplaceData
,
19860 &_swigt__p_wxFindReplaceDialog
,
19861 &_swigt__p_wxFlexGridSizer
,
19862 &_swigt__p_wxFocusEvent
,
19864 &_swigt__p_wxFontData
,
19865 &_swigt__p_wxFontDialog
,
19866 &_swigt__p_wxFrame
,
19867 &_swigt__p_wxGBSizerItem
,
19868 &_swigt__p_wxGIFHandler
,
19870 &_swigt__p_wxGridBagSizer
,
19871 &_swigt__p_wxGridCellAttr
,
19872 &_swigt__p_wxGridCellAttrProvider
,
19873 &_swigt__p_wxGridCellAutoWrapStringEditor
,
19874 &_swigt__p_wxGridCellAutoWrapStringRenderer
,
19875 &_swigt__p_wxGridCellBoolEditor
,
19876 &_swigt__p_wxGridCellBoolRenderer
,
19877 &_swigt__p_wxGridCellChoiceEditor
,
19878 &_swigt__p_wxGridCellCoords
,
19879 &_swigt__p_wxGridCellDateTimeRenderer
,
19880 &_swigt__p_wxGridCellEditor
,
19881 &_swigt__p_wxGridCellEnumEditor
,
19882 &_swigt__p_wxGridCellEnumRenderer
,
19883 &_swigt__p_wxGridCellFloatEditor
,
19884 &_swigt__p_wxGridCellFloatRenderer
,
19885 &_swigt__p_wxGridCellNumberEditor
,
19886 &_swigt__p_wxGridCellNumberRenderer
,
19887 &_swigt__p_wxGridCellRenderer
,
19888 &_swigt__p_wxGridCellStringRenderer
,
19889 &_swigt__p_wxGridCellTextEditor
,
19890 &_swigt__p_wxGridEditorCreatedEvent
,
19891 &_swigt__p_wxGridEvent
,
19892 &_swigt__p_wxGridRangeSelectEvent
,
19893 &_swigt__p_wxGridSizeEvent
,
19894 &_swigt__p_wxGridSizer
,
19895 &_swigt__p_wxGridStringTable
,
19896 &_swigt__p_wxGridTableBase
,
19897 &_swigt__p_wxGridTableMessage
,
19898 &_swigt__p_wxICOHandler
,
19899 &_swigt__p_wxIconizeEvent
,
19900 &_swigt__p_wxIdleEvent
,
19901 &_swigt__p_wxImage
,
19902 &_swigt__p_wxImageHandler
,
19903 &_swigt__p_wxIndividualLayoutConstraint
,
19904 &_swigt__p_wxInitDialogEvent
,
19905 &_swigt__p_wxJPEGHandler
,
19906 &_swigt__p_wxKeyEvent
,
19907 &_swigt__p_wxLayoutAlgorithm
,
19908 &_swigt__p_wxLayoutConstraints
,
19909 &_swigt__p_wxMDIChildFrame
,
19910 &_swigt__p_wxMDIClientWindow
,
19911 &_swigt__p_wxMDIParentFrame
,
19912 &_swigt__p_wxMaximizeEvent
,
19914 &_swigt__p_wxMenuBar
,
19915 &_swigt__p_wxMenuEvent
,
19916 &_swigt__p_wxMenuItem
,
19917 &_swigt__p_wxMessageDialog
,
19918 &_swigt__p_wxMiniFrame
,
19919 &_swigt__p_wxMouseCaptureChangedEvent
,
19920 &_swigt__p_wxMouseEvent
,
19921 &_swigt__p_wxMoveEvent
,
19922 &_swigt__p_wxMultiChoiceDialog
,
19923 &_swigt__p_wxNavigationKeyEvent
,
19924 &_swigt__p_wxNcPaintEvent
,
19925 &_swigt__p_wxNotifyEvent
,
19926 &_swigt__p_wxObject
,
19927 &_swigt__p_wxPCXHandler
,
19928 &_swigt__p_wxPNGHandler
,
19929 &_swigt__p_wxPNMHandler
,
19930 &_swigt__p_wxPageSetupDialog
,
19931 &_swigt__p_wxPageSetupDialogData
,
19932 &_swigt__p_wxPaintEvent
,
19933 &_swigt__p_wxPaletteChangedEvent
,
19934 &_swigt__p_wxPanel
,
19935 &_swigt__p_wxPaperSize
,
19936 &_swigt__p_wxPasswordEntryDialog
,
19937 &_swigt__p_wxPoint
,
19938 &_swigt__p_wxPopupWindow
,
19939 &_swigt__p_wxPreviewCanvas
,
19940 &_swigt__p_wxPreviewControlBar
,
19941 &_swigt__p_wxPreviewFrame
,
19942 &_swigt__p_wxPrintData
,
19943 &_swigt__p_wxPrintDialog
,
19944 &_swigt__p_wxPrintDialogData
,
19945 &_swigt__p_wxPrintPreview
,
19946 &_swigt__p_wxPrinter
,
19947 &_swigt__p_wxProgressDialog
,
19948 &_swigt__p_wxPyApp
,
19949 &_swigt__p_wxPyCommandEvent
,
19950 &_swigt__p_wxPyEvent
,
19951 &_swigt__p_wxPyGridCellAttrProvider
,
19952 &_swigt__p_wxPyGridCellEditor
,
19953 &_swigt__p_wxPyGridCellRenderer
,
19954 &_swigt__p_wxPyGridTableBase
,
19955 &_swigt__p_wxPyHtmlListBox
,
19956 &_swigt__p_wxPyImageHandler
,
19957 &_swigt__p_wxPyPanel
,
19958 &_swigt__p_wxPyPopupTransientWindow
,
19959 &_swigt__p_wxPyPreviewControlBar
,
19960 &_swigt__p_wxPyPreviewFrame
,
19961 &_swigt__p_wxPyPrintPreview
,
19962 &_swigt__p_wxPyPrintout
,
19963 &_swigt__p_wxPyScrolledWindow
,
19964 &_swigt__p_wxPySizer
,
19965 &_swigt__p_wxPyTaskBarIcon
,
19966 &_swigt__p_wxPyVListBox
,
19967 &_swigt__p_wxPyVScrolledWindow
,
19968 &_swigt__p_wxPyValidator
,
19969 &_swigt__p_wxPyWindow
,
19970 &_swigt__p_wxQueryLayoutInfoEvent
,
19971 &_swigt__p_wxQueryNewPaletteEvent
,
19973 &_swigt__p_wxSashEvent
,
19974 &_swigt__p_wxSashLayoutWindow
,
19975 &_swigt__p_wxSashWindow
,
19976 &_swigt__p_wxScrollEvent
,
19977 &_swigt__p_wxScrollWinEvent
,
19978 &_swigt__p_wxScrolledWindow
,
19979 &_swigt__p_wxSetCursorEvent
,
19980 &_swigt__p_wxShowEvent
,
19981 &_swigt__p_wxSingleChoiceDialog
,
19983 &_swigt__p_wxSizeEvent
,
19984 &_swigt__p_wxSizer
,
19985 &_swigt__p_wxSizerItem
,
19986 &_swigt__p_wxSplashScreen
,
19987 &_swigt__p_wxSplashScreenWindow
,
19988 &_swigt__p_wxSplitterEvent
,
19989 &_swigt__p_wxSplitterWindow
,
19990 &_swigt__p_wxStaticBoxSizer
,
19991 &_swigt__p_wxStatusBar
,
19992 &_swigt__p_wxStdDialogButtonSizer
,
19993 &_swigt__p_wxString
,
19994 &_swigt__p_wxSysColourChangedEvent
,
19995 &_swigt__p_wxTIFFHandler
,
19996 &_swigt__p_wxTaskBarIconEvent
,
19997 &_swigt__p_wxTextEntryDialog
,
19998 &_swigt__p_wxTipWindow
,
19999 &_swigt__p_wxTopLevelWindow
,
20000 &_swigt__p_wxUpdateUIEvent
,
20001 &_swigt__p_wxValidator
,
20002 &_swigt__p_wxVisualAttributes
,
20003 &_swigt__p_wxWindow
,
20004 &_swigt__p_wxWindowCreateEvent
,
20005 &_swigt__p_wxWindowDestroyEvent
,
20006 &_swigt__p_wxXPMHandler
,
20007 &_swigt__ptrdiff_t
,
20008 &_swigt__std__ptrdiff_t
,
20009 &_swigt__unsigned_int
,
20012 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
20013 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
20014 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
20015 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
20016 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
20017 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
20018 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
20019 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
20020 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
20021 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
20022 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
20023 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
20024 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
20025 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
20026 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
20027 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
20028 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
20029 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
20030 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
20031 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
20032 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_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_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_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}};
20033 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
20034 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
20035 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
20036 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
20037 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
20038 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
20039 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
20040 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
20041 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
20042 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
20043 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
20044 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
20045 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
20046 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
20047 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
20048 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
20049 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
20050 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
20051 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
20052 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
20053 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
20054 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
20055 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
20056 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
20057 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
20058 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
20059 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
20060 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
20061 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
20062 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
20063 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
20064 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
20065 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_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_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_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_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}};
20066 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
20067 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
20068 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
20069 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
20070 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
20071 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
20072 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
20073 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
20074 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
20075 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
20076 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
20077 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
20078 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
20079 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
20080 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
20081 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
20082 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
20083 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
20084 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
20085 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
20086 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
20087 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
20088 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
20089 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
20090 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
20091 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
20092 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
20093 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
20094 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
20095 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
20096 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
20097 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
20098 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
20099 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
20100 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
20101 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
20102 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
20103 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
20104 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
20105 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
20106 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
20107 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
20108 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
20109 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
20110 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_wxGrid
, _p_wxGridTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_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}};
20111 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
20112 static swig_cast_info _swigc__p_wxGrid
[] = { {&_swigt__p_wxGrid
, 0, 0, 0},{0, 0, 0, 0}};
20113 static swig_cast_info _swigc__p_wxGridCellAttr
[] = { {&_swigt__p_wxGridCellAttr
, 0, 0, 0},{0, 0, 0, 0}};
20114 static swig_cast_info _swigc__p_wxGridCellAttrProvider
[] = { {&_swigt__p_wxGridCellAttrProvider
, 0, 0, 0}, {&_swigt__p_wxPyGridCellAttrProvider
, _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
, 0, 0},{0, 0, 0, 0}};
20115 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor
[] = { {&_swigt__p_wxGridCellAutoWrapStringEditor
, 0, 0, 0},{0, 0, 0, 0}};
20116 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer
[] = { {&_swigt__p_wxGridCellAutoWrapStringRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20117 static swig_cast_info _swigc__p_wxGridCellBoolEditor
[] = { {&_swigt__p_wxGridCellBoolEditor
, 0, 0, 0},{0, 0, 0, 0}};
20118 static swig_cast_info _swigc__p_wxGridCellBoolRenderer
[] = { {&_swigt__p_wxGridCellBoolRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20119 static swig_cast_info _swigc__p_wxGridCellChoiceEditor
[] = { {&_swigt__p_wxGridCellChoiceEditor
, 0, 0, 0}, {&_swigt__p_wxGridCellEnumEditor
, _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
, 0, 0},{0, 0, 0, 0}};
20120 static swig_cast_info _swigc__p_wxGridCellCoords
[] = { {&_swigt__p_wxGridCellCoords
, 0, 0, 0},{0, 0, 0, 0}};
20121 static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer
[] = { {&_swigt__p_wxGridCellDateTimeRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20122 static swig_cast_info _swigc__p_wxGridCellEditor
[] = { {&_swigt__p_wxGridCellEditor
, 0, 0, 0}, {&_swigt__p_wxPyGridCellEditor
, _p_wxPyGridCellEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellTextEditor
, _p_wxGridCellTextEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellNumberEditor
, _p_wxGridCellNumberEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellFloatEditor
, _p_wxGridCellFloatEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellBoolEditor
, _p_wxGridCellBoolEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringEditor
, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellChoiceEditor
, _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellEnumEditor
, _p_wxGridCellEnumEditorTo_p_wxGridCellEditor
, 0, 0},{0, 0, 0, 0}};
20123 static swig_cast_info _swigc__p_wxGridCellEnumEditor
[] = { {&_swigt__p_wxGridCellEnumEditor
, 0, 0, 0},{0, 0, 0, 0}};
20124 static swig_cast_info _swigc__p_wxGridCellEnumRenderer
[] = { {&_swigt__p_wxGridCellEnumRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20125 static swig_cast_info _swigc__p_wxGridCellFloatEditor
[] = { {&_swigt__p_wxGridCellFloatEditor
, 0, 0, 0},{0, 0, 0, 0}};
20126 static swig_cast_info _swigc__p_wxGridCellFloatRenderer
[] = { {&_swigt__p_wxGridCellFloatRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20127 static swig_cast_info _swigc__p_wxGridCellNumberEditor
[] = { {&_swigt__p_wxGridCellNumberEditor
, 0, 0, 0},{0, 0, 0, 0}};
20128 static swig_cast_info _swigc__p_wxGridCellNumberRenderer
[] = { {&_swigt__p_wxGridCellNumberRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20129 static swig_cast_info _swigc__p_wxGridCellRenderer
[] = { {&_swigt__p_wxGridCellRenderer
, 0, 0, 0}, {&_swigt__p_wxPyGridCellRenderer
, _p_wxPyGridCellRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellStringRenderer
, _p_wxGridCellStringRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellNumberRenderer
, _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellFloatRenderer
, _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellDateTimeRenderer
, _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellEnumRenderer
, _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringRenderer
, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellBoolRenderer
, _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer
, 0, 0},{0, 0, 0, 0}};
20130 static swig_cast_info _swigc__p_wxGridCellStringRenderer
[] = { {&_swigt__p_wxGridCellStringRenderer
, 0, 0, 0}, {&_swigt__p_wxGridCellNumberRenderer
, _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer
, 0, 0}, {&_swigt__p_wxGridCellFloatRenderer
, _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer
, 0, 0}, {&_swigt__p_wxGridCellDateTimeRenderer
, _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer
, 0, 0}, {&_swigt__p_wxGridCellEnumRenderer
, _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringRenderer
, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer
, 0, 0},{0, 0, 0, 0}};
20131 static swig_cast_info _swigc__p_wxGridCellTextEditor
[] = { {&_swigt__p_wxGridCellTextEditor
, 0, 0, 0}, {&_swigt__p_wxGridCellNumberEditor
, _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor
, 0, 0}, {&_swigt__p_wxGridCellFloatEditor
, _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringEditor
, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor
, 0, 0},{0, 0, 0, 0}};
20132 static swig_cast_info _swigc__p_wxGridEditorCreatedEvent
[] = { {&_swigt__p_wxGridEditorCreatedEvent
, 0, 0, 0},{0, 0, 0, 0}};
20133 static swig_cast_info _swigc__p_wxGridEvent
[] = { {&_swigt__p_wxGridEvent
, 0, 0, 0},{0, 0, 0, 0}};
20134 static swig_cast_info _swigc__p_wxGridRangeSelectEvent
[] = { {&_swigt__p_wxGridRangeSelectEvent
, 0, 0, 0},{0, 0, 0, 0}};
20135 static swig_cast_info _swigc__p_wxGridSizeEvent
[] = { {&_swigt__p_wxGridSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
20136 static swig_cast_info _swigc__p_wxGridStringTable
[] = { {&_swigt__p_wxGridStringTable
, 0, 0, 0},{0, 0, 0, 0}};
20137 static swig_cast_info _swigc__p_wxGridTableBase
[] = { {&_swigt__p_wxGridStringTable
, _p_wxGridStringTableTo_p_wxGridTableBase
, 0, 0}, {&_swigt__p_wxGridTableBase
, 0, 0, 0}, {&_swigt__p_wxPyGridTableBase
, _p_wxPyGridTableBaseTo_p_wxGridTableBase
, 0, 0},{0, 0, 0, 0}};
20138 static swig_cast_info _swigc__p_wxGridTableMessage
[] = { {&_swigt__p_wxGridTableMessage
, 0, 0, 0},{0, 0, 0, 0}};
20139 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
20140 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
20141 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
20142 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
20143 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
20144 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
20145 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
20146 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
20147 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
20148 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
20149 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
20150 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
20151 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
20152 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
20153 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
20154 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
20155 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
20156 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
20157 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
20158 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
20159 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
20160 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
20161 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
20162 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
20163 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
20164 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
20165 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
20166 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
20167 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
20168 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
20169 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
20170 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
20171 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
20172 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
20173 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
20174 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
20175 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
20176 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
20177 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
20178 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
20179 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
20180 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
20181 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
20182 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
20183 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
20184 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridStringTable
, _p_wxGridStringTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_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_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_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_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_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_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_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_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridTableBase
, _p_wxGridTableBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyGridTableBase
, _p_wxPyGridTableBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
20185 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
20186 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
20187 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
20188 static swig_cast_info _swigc__p_wxPyGridCellAttrProvider
[] = { {&_swigt__p_wxPyGridCellAttrProvider
, 0, 0, 0},{0, 0, 0, 0}};
20189 static swig_cast_info _swigc__p_wxPyGridCellEditor
[] = { {&_swigt__p_wxPyGridCellEditor
, 0, 0, 0},{0, 0, 0, 0}};
20190 static swig_cast_info _swigc__p_wxPyGridCellRenderer
[] = { {&_swigt__p_wxPyGridCellRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20191 static swig_cast_info _swigc__p_wxPyGridTableBase
[] = { {&_swigt__p_wxPyGridTableBase
, 0, 0, 0},{0, 0, 0, 0}};
20192 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
20193 static swig_cast_info _swigc__p_wxScrolledWindow
[] = { {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxScrolledWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0},{0, 0, 0, 0}};
20194 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
20195 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
20196 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
20197 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_wxGrid
, _p_wxGridTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_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_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_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_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
20198 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
20199 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
20200 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
20202 static swig_cast_info
*swig_cast_initial
[] = {
20204 _swigc__p_form_ops_t
,
20207 _swigc__p_unsigned_char
,
20208 _swigc__p_unsigned_int
,
20209 _swigc__p_unsigned_long
,
20210 _swigc__p_wxANIHandler
,
20211 _swigc__p_wxAcceleratorTable
,
20212 _swigc__p_wxActivateEvent
,
20213 _swigc__p_wxArrayString
,
20214 _swigc__p_wxBMPHandler
,
20215 _swigc__p_wxBoxSizer
,
20216 _swigc__p_wxCURHandler
,
20217 _swigc__p_wxCalculateLayoutEvent
,
20218 _swigc__p_wxChildFocusEvent
,
20219 _swigc__p_wxCloseEvent
,
20220 _swigc__p_wxColour
,
20221 _swigc__p_wxColourData
,
20222 _swigc__p_wxColourDialog
,
20223 _swigc__p_wxCommandEvent
,
20224 _swigc__p_wxContextMenuEvent
,
20225 _swigc__p_wxControl
,
20226 _swigc__p_wxControlWithItems
,
20228 _swigc__p_wxDateEvent
,
20229 _swigc__p_wxDialog
,
20230 _swigc__p_wxDirDialog
,
20231 _swigc__p_wxDisplayChangedEvent
,
20232 _swigc__p_wxDropFilesEvent
,
20233 _swigc__p_wxDuplexMode
,
20234 _swigc__p_wxEraseEvent
,
20236 _swigc__p_wxEvtHandler
,
20237 _swigc__p_wxFSFile
,
20238 _swigc__p_wxFileDialog
,
20239 _swigc__p_wxFileSystem
,
20240 _swigc__p_wxFindDialogEvent
,
20241 _swigc__p_wxFindReplaceData
,
20242 _swigc__p_wxFindReplaceDialog
,
20243 _swigc__p_wxFlexGridSizer
,
20244 _swigc__p_wxFocusEvent
,
20246 _swigc__p_wxFontData
,
20247 _swigc__p_wxFontDialog
,
20249 _swigc__p_wxGBSizerItem
,
20250 _swigc__p_wxGIFHandler
,
20252 _swigc__p_wxGridBagSizer
,
20253 _swigc__p_wxGridCellAttr
,
20254 _swigc__p_wxGridCellAttrProvider
,
20255 _swigc__p_wxGridCellAutoWrapStringEditor
,
20256 _swigc__p_wxGridCellAutoWrapStringRenderer
,
20257 _swigc__p_wxGridCellBoolEditor
,
20258 _swigc__p_wxGridCellBoolRenderer
,
20259 _swigc__p_wxGridCellChoiceEditor
,
20260 _swigc__p_wxGridCellCoords
,
20261 _swigc__p_wxGridCellDateTimeRenderer
,
20262 _swigc__p_wxGridCellEditor
,
20263 _swigc__p_wxGridCellEnumEditor
,
20264 _swigc__p_wxGridCellEnumRenderer
,
20265 _swigc__p_wxGridCellFloatEditor
,
20266 _swigc__p_wxGridCellFloatRenderer
,
20267 _swigc__p_wxGridCellNumberEditor
,
20268 _swigc__p_wxGridCellNumberRenderer
,
20269 _swigc__p_wxGridCellRenderer
,
20270 _swigc__p_wxGridCellStringRenderer
,
20271 _swigc__p_wxGridCellTextEditor
,
20272 _swigc__p_wxGridEditorCreatedEvent
,
20273 _swigc__p_wxGridEvent
,
20274 _swigc__p_wxGridRangeSelectEvent
,
20275 _swigc__p_wxGridSizeEvent
,
20276 _swigc__p_wxGridSizer
,
20277 _swigc__p_wxGridStringTable
,
20278 _swigc__p_wxGridTableBase
,
20279 _swigc__p_wxGridTableMessage
,
20280 _swigc__p_wxICOHandler
,
20281 _swigc__p_wxIconizeEvent
,
20282 _swigc__p_wxIdleEvent
,
20284 _swigc__p_wxImageHandler
,
20285 _swigc__p_wxIndividualLayoutConstraint
,
20286 _swigc__p_wxInitDialogEvent
,
20287 _swigc__p_wxJPEGHandler
,
20288 _swigc__p_wxKeyEvent
,
20289 _swigc__p_wxLayoutAlgorithm
,
20290 _swigc__p_wxLayoutConstraints
,
20291 _swigc__p_wxMDIChildFrame
,
20292 _swigc__p_wxMDIClientWindow
,
20293 _swigc__p_wxMDIParentFrame
,
20294 _swigc__p_wxMaximizeEvent
,
20296 _swigc__p_wxMenuBar
,
20297 _swigc__p_wxMenuEvent
,
20298 _swigc__p_wxMenuItem
,
20299 _swigc__p_wxMessageDialog
,
20300 _swigc__p_wxMiniFrame
,
20301 _swigc__p_wxMouseCaptureChangedEvent
,
20302 _swigc__p_wxMouseEvent
,
20303 _swigc__p_wxMoveEvent
,
20304 _swigc__p_wxMultiChoiceDialog
,
20305 _swigc__p_wxNavigationKeyEvent
,
20306 _swigc__p_wxNcPaintEvent
,
20307 _swigc__p_wxNotifyEvent
,
20308 _swigc__p_wxObject
,
20309 _swigc__p_wxPCXHandler
,
20310 _swigc__p_wxPNGHandler
,
20311 _swigc__p_wxPNMHandler
,
20312 _swigc__p_wxPageSetupDialog
,
20313 _swigc__p_wxPageSetupDialogData
,
20314 _swigc__p_wxPaintEvent
,
20315 _swigc__p_wxPaletteChangedEvent
,
20317 _swigc__p_wxPaperSize
,
20318 _swigc__p_wxPasswordEntryDialog
,
20320 _swigc__p_wxPopupWindow
,
20321 _swigc__p_wxPreviewCanvas
,
20322 _swigc__p_wxPreviewControlBar
,
20323 _swigc__p_wxPreviewFrame
,
20324 _swigc__p_wxPrintData
,
20325 _swigc__p_wxPrintDialog
,
20326 _swigc__p_wxPrintDialogData
,
20327 _swigc__p_wxPrintPreview
,
20328 _swigc__p_wxPrinter
,
20329 _swigc__p_wxProgressDialog
,
20331 _swigc__p_wxPyCommandEvent
,
20332 _swigc__p_wxPyEvent
,
20333 _swigc__p_wxPyGridCellAttrProvider
,
20334 _swigc__p_wxPyGridCellEditor
,
20335 _swigc__p_wxPyGridCellRenderer
,
20336 _swigc__p_wxPyGridTableBase
,
20337 _swigc__p_wxPyHtmlListBox
,
20338 _swigc__p_wxPyImageHandler
,
20339 _swigc__p_wxPyPanel
,
20340 _swigc__p_wxPyPopupTransientWindow
,
20341 _swigc__p_wxPyPreviewControlBar
,
20342 _swigc__p_wxPyPreviewFrame
,
20343 _swigc__p_wxPyPrintPreview
,
20344 _swigc__p_wxPyPrintout
,
20345 _swigc__p_wxPyScrolledWindow
,
20346 _swigc__p_wxPySizer
,
20347 _swigc__p_wxPyTaskBarIcon
,
20348 _swigc__p_wxPyVListBox
,
20349 _swigc__p_wxPyVScrolledWindow
,
20350 _swigc__p_wxPyValidator
,
20351 _swigc__p_wxPyWindow
,
20352 _swigc__p_wxQueryLayoutInfoEvent
,
20353 _swigc__p_wxQueryNewPaletteEvent
,
20355 _swigc__p_wxSashEvent
,
20356 _swigc__p_wxSashLayoutWindow
,
20357 _swigc__p_wxSashWindow
,
20358 _swigc__p_wxScrollEvent
,
20359 _swigc__p_wxScrollWinEvent
,
20360 _swigc__p_wxScrolledWindow
,
20361 _swigc__p_wxSetCursorEvent
,
20362 _swigc__p_wxShowEvent
,
20363 _swigc__p_wxSingleChoiceDialog
,
20365 _swigc__p_wxSizeEvent
,
20367 _swigc__p_wxSizerItem
,
20368 _swigc__p_wxSplashScreen
,
20369 _swigc__p_wxSplashScreenWindow
,
20370 _swigc__p_wxSplitterEvent
,
20371 _swigc__p_wxSplitterWindow
,
20372 _swigc__p_wxStaticBoxSizer
,
20373 _swigc__p_wxStatusBar
,
20374 _swigc__p_wxStdDialogButtonSizer
,
20375 _swigc__p_wxString
,
20376 _swigc__p_wxSysColourChangedEvent
,
20377 _swigc__p_wxTIFFHandler
,
20378 _swigc__p_wxTaskBarIconEvent
,
20379 _swigc__p_wxTextEntryDialog
,
20380 _swigc__p_wxTipWindow
,
20381 _swigc__p_wxTopLevelWindow
,
20382 _swigc__p_wxUpdateUIEvent
,
20383 _swigc__p_wxValidator
,
20384 _swigc__p_wxVisualAttributes
,
20385 _swigc__p_wxWindow
,
20386 _swigc__p_wxWindowCreateEvent
,
20387 _swigc__p_wxWindowDestroyEvent
,
20388 _swigc__p_wxXPMHandler
,
20390 _swigc__std__ptrdiff_t
,
20391 _swigc__unsigned_int
,
20395 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20397 static swig_const_info swig_const_table
[] = {
20398 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
20399 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
20400 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
20401 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
20402 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
20403 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
20404 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
20405 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
20406 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
20407 {0, 0, 0, 0.0, 0, 0}};
20412 /*************************************************************************
20413 * Type initialization:
20414 * This problem is tough by the requirement that no dynamic
20415 * memory is used. Also, since swig_type_info structures store pointers to
20416 * swig_cast_info structures and swig_cast_info structures store pointers back
20417 * to swig_type_info structures, we need some lookup code at initialization.
20418 * The idea is that swig generates all the structures that are needed.
20419 * The runtime then collects these partially filled structures.
20420 * The SWIG_InitializeModule function takes these initial arrays out of
20421 * swig_module, and does all the lookup, filling in the swig_module.types
20422 * array with the correct data and linking the correct swig_cast_info
20423 * structures together.
20425 * The generated swig_type_info structures are assigned staticly to an initial
20426 * array. We just loop though that array, and handle each type individually.
20427 * First we lookup if this type has been already loaded, and if so, use the
20428 * loaded structure instead of the generated one. Then we have to fill in the
20429 * cast linked list. The cast data is initially stored in something like a
20430 * two-dimensional array. Each row corresponds to a type (there are the same
20431 * number of rows as there are in the swig_type_initial array). Each entry in
20432 * a column is one of the swig_cast_info structures for that type.
20433 * The cast_initial array is actually an array of arrays, because each row has
20434 * a variable number of columns. So to actually build the cast linked list,
20435 * we find the array of casts associated with the type, and loop through it
20436 * adding the casts to the list. The one last trick we need to do is making
20437 * sure the type pointer in the swig_cast_info struct is correct.
20439 * First off, we lookup the cast->type name to see if it is already loaded.
20440 * There are three cases to handle:
20441 * 1) If the cast->type has already been loaded AND the type we are adding
20442 * casting info to has not been loaded (it is in this module), THEN we
20443 * replace the cast->type pointer with the type pointer that has already
20445 * 2) If BOTH types (the one we are adding casting info to, and the
20446 * cast->type) are loaded, THEN the cast info has already been loaded by
20447 * the previous module so we just ignore it.
20448 * 3) Finally, if cast->type has not already been loaded, then we add that
20449 * swig_cast_info to the linked list (because the cast->type) pointer will
20461 #define SWIGRUNTIME_DEBUG
20465 SWIG_InitializeModule(void *clientdata
) {
20467 swig_module_info
*module_head
;
20468 static int init_run
= 0;
20470 clientdata
= clientdata
;
20472 if (init_run
) return;
20475 /* Initialize the swig_module */
20476 swig_module
.type_initial
= swig_type_initial
;
20477 swig_module
.cast_initial
= swig_cast_initial
;
20479 /* Try and load any already created modules */
20480 module_head
= SWIG_GetModule(clientdata
);
20482 swig_module
.next
= module_head
->next
;
20483 module_head
->next
= &swig_module
;
20485 /* This is the first module loaded */
20486 swig_module
.next
= &swig_module
;
20487 SWIG_SetModule(clientdata
, &swig_module
);
20490 /* Now work on filling in swig_module.types */
20491 #ifdef SWIGRUNTIME_DEBUG
20492 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
20494 for (i
= 0; i
< swig_module
.size
; ++i
) {
20495 swig_type_info
*type
= 0;
20496 swig_type_info
*ret
;
20497 swig_cast_info
*cast
;
20499 #ifdef SWIGRUNTIME_DEBUG
20500 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20503 /* if there is another module already loaded */
20504 if (swig_module
.next
!= &swig_module
) {
20505 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
20508 /* Overwrite clientdata field */
20509 #ifdef SWIGRUNTIME_DEBUG
20510 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
20512 if (swig_module
.type_initial
[i
]->clientdata
) {
20513 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
20514 #ifdef SWIGRUNTIME_DEBUG
20515 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
20519 type
= swig_module
.type_initial
[i
];
20522 /* Insert casting types */
20523 cast
= swig_module
.cast_initial
[i
];
20524 while (cast
->type
) {
20525 /* Don't need to add information already in the list */
20527 #ifdef SWIGRUNTIME_DEBUG
20528 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
20530 if (swig_module
.next
!= &swig_module
) {
20531 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
20532 #ifdef SWIGRUNTIME_DEBUG
20533 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
20537 if (type
== swig_module
.type_initial
[i
]) {
20538 #ifdef SWIGRUNTIME_DEBUG
20539 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
20544 /* Check for casting already in the list */
20545 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
20546 #ifdef SWIGRUNTIME_DEBUG
20547 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
20549 if (!ocast
) ret
= 0;
20554 #ifdef SWIGRUNTIME_DEBUG
20555 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
20558 type
->cast
->prev
= cast
;
20559 cast
->next
= type
->cast
;
20565 /* Set entry in modules->types array equal to the type */
20566 swig_module
.types
[i
] = type
;
20568 swig_module
.types
[i
] = 0;
20570 #ifdef SWIGRUNTIME_DEBUG
20571 printf("**** SWIG_InitializeModule: Cast List ******\n");
20572 for (i
= 0; i
< swig_module
.size
; ++i
) {
20574 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
20575 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20576 while (cast
->type
) {
20577 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
20581 printf("---- Total casts: %d\n",j
);
20583 printf("**** SWIG_InitializeModule: Cast List ******\n");
20587 /* This function will propagate the clientdata field of type to
20588 * any new swig_type_info structures that have been added into the list
20589 * of equivalent types. It is like calling
20590 * SWIG_TypeClientData(type, clientdata) a second time.
20593 SWIG_PropagateClientData(void) {
20595 swig_cast_info
*equiv
;
20596 static int init_run
= 0;
20598 if (init_run
) return;
20601 for (i
= 0; i
< swig_module
.size
; i
++) {
20602 if (swig_module
.types
[i
]->clientdata
) {
20603 equiv
= swig_module
.types
[i
]->cast
;
20605 if (!equiv
->converter
) {
20606 if (equiv
->type
&& !equiv
->type
->clientdata
)
20607 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
20609 equiv
= equiv
->next
;
20629 /* Python-specific SWIG API */
20630 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20631 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20632 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20634 /* -----------------------------------------------------------------------------
20635 * global variable support code.
20636 * ----------------------------------------------------------------------------- */
20638 typedef struct swig_globalvar
{
20639 char *name
; /* Name of global variable */
20640 PyObject
*(*get_attr
)(void); /* Return the current value */
20641 int (*set_attr
)(PyObject
*); /* Set the value */
20642 struct swig_globalvar
*next
;
20645 typedef struct swig_varlinkobject
{
20647 swig_globalvar
*vars
;
20648 } swig_varlinkobject
;
20650 SWIGINTERN PyObject
*
20651 swig_varlink_repr(swig_varlinkobject
*v
) {
20653 return PyString_FromString("<Swig global variables>");
20657 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
20658 swig_globalvar
*var
;
20660 fprintf(fp
,"Swig global variables { ");
20661 for (var
= v
->vars
; var
; var
=var
->next
) {
20662 fprintf(fp
,"%s", var
->name
);
20663 if (var
->next
) fprintf(fp
,", ");
20665 fprintf(fp
," }\n");
20669 SWIGINTERN PyObject
*
20670 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
20671 swig_globalvar
*var
= v
->vars
;
20673 if (strcmp(var
->name
,n
) == 0) {
20674 return (*var
->get_attr
)();
20678 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20683 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
20684 swig_globalvar
*var
= v
->vars
;
20686 if (strcmp(var
->name
,n
) == 0) {
20687 return (*var
->set_attr
)(p
);
20691 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20695 SWIGINTERN PyTypeObject
*
20696 swig_varlink_type(void) {
20697 static char varlink__doc__
[] = "Swig var link object";
20698 static PyTypeObject varlink_type
20699 #if !defined(__cplusplus)
20701 static int type_init
= 0;
20706 PyObject_HEAD_INIT(&PyType_Type
)
20707 0, /* Number of items in variable part (ob_size) */
20708 (char *)"swigvarlink", /* Type name (tp_name) */
20709 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
20710 0, /* Itemsize (tp_itemsize) */
20711 0, /* Deallocator (tp_dealloc) */
20712 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
20713 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
20714 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
20715 0, /* tp_compare */
20716 (reprfunc
) swig_varlink_repr
, /* tp_repr */
20717 0, /* tp_as_number */
20718 0, /* tp_as_sequence */
20719 0, /* tp_as_mapping */
20723 0, /* tp_getattro */
20724 0, /* tp_setattro */
20725 0, /* tp_as_buffer */
20727 varlink__doc__
, /* tp_doc */
20728 #if PY_VERSION_HEX >= 0x02000000
20729 0, /* tp_traverse */
20732 #if PY_VERSION_HEX >= 0x02010000
20733 0, /* tp_richcompare */
20734 0, /* tp_weaklistoffset */
20736 #if PY_VERSION_HEX >= 0x02020000
20737 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20739 #if PY_VERSION_HEX >= 0x02030000
20742 #ifdef COUNT_ALLOCS
20743 0,0,0,0 /* tp_alloc -> tp_next */
20746 #if !defined(__cplusplus)
20747 varlink_type
= tmp
;
20751 return &varlink_type
;
20754 /* Create a variable linking object for use later */
20755 SWIGINTERN PyObject
*
20756 SWIG_Python_newvarlink(void) {
20757 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
20761 return ((PyObject
*) result
);
20765 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
20766 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
20767 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
20769 size_t size
= strlen(name
)+1;
20770 gv
->name
= (char *)malloc(size
);
20772 strncpy(gv
->name
,name
,size
);
20773 gv
->get_attr
= get_attr
;
20774 gv
->set_attr
= set_attr
;
20775 gv
->next
= v
->vars
;
20781 /* -----------------------------------------------------------------------------
20782 * constants/methods manipulation
20783 * ----------------------------------------------------------------------------- */
20785 /* Install Constants */
20787 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
20790 for (i
= 0; constants
[i
].type
; ++i
) {
20791 switch(constants
[i
].type
) {
20793 obj
= PyInt_FromLong(constants
[i
].lvalue
);
20795 case SWIG_PY_FLOAT
:
20796 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
20798 case SWIG_PY_STRING
:
20799 if (constants
[i
].pvalue
) {
20800 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
20802 Py_INCREF(Py_None
);
20806 case SWIG_PY_POINTER
:
20807 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
20809 case SWIG_PY_BINARY
:
20810 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
20817 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
20823 /* -----------------------------------------------------------------------------*/
20824 /* Fix SwigMethods to carry the callback ptrs when needed */
20825 /* -----------------------------------------------------------------------------*/
20828 SWIG_Python_FixMethods(PyMethodDef
*methods
,
20829 swig_const_info
*const_table
,
20830 swig_type_info
**types
,
20831 swig_type_info
**types_initial
) {
20833 for (i
= 0; methods
[i
].ml_name
; ++i
) {
20834 char *c
= methods
[i
].ml_doc
;
20835 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
20837 swig_const_info
*ci
= 0;
20838 char *name
= c
+ 10;
20839 for (j
= 0; const_table
[j
].type
; ++j
) {
20840 if (strncmp(const_table
[j
].name
, name
,
20841 strlen(const_table
[j
].name
)) == 0) {
20842 ci
= &(const_table
[j
]);
20847 size_t shift
= (ci
->ptype
) - types
;
20848 swig_type_info
*ty
= types_initial
[shift
];
20849 size_t ldoc
= (c
- methods
[i
].ml_doc
);
20850 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
20851 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
20854 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
20856 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
20858 strncpy(buff
, "swig_ptr: ", 10);
20860 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
20861 methods
[i
].ml_doc
= ndoc
;
20869 /* -----------------------------------------------------------------------------*
20870 * Initialize type list
20871 * -----------------------------------------------------------------------------*/
20877 /* -----------------------------------------------------------------------------*
20878 * Partial Init method
20879 * -----------------------------------------------------------------------------*/
20884 SWIGEXPORT
void SWIG_init(void) {
20885 static PyObject
*SWIG_globals
= 0;
20887 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
20889 /* Fix SwigMethods to carry the callback ptrs when needed */
20890 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
20892 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20893 d
= PyModule_GetDict(m
);
20895 SWIG_InitializeModule(0);
20896 SWIG_InstallConstants(d
,swig_const_table
);
20898 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
20899 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
20900 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
20901 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
20902 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
20903 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
20904 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
20905 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
20906 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
20907 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20908 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
20909 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
20911 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_NUMBER_ROWS
)));
20914 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_NUMBER_COLS
)));
20917 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_ROW_HEIGHT
)));
20920 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_COL_WIDTH
)));
20923 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_COL_LABEL_HEIGHT
)));
20926 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_ROW_LABEL_WIDTH
)));
20929 PyDict_SetItemString(d
,"GRID_LABEL_EDGE_ZONE", SWIG_From_int(static_cast<int >(wxGRID_LABEL_EDGE_ZONE
)));
20932 PyDict_SetItemString(d
,"GRID_MIN_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxGRID_MIN_ROW_HEIGHT
)));
20935 PyDict_SetItemString(d
,"GRID_MIN_COL_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_MIN_COL_WIDTH
)));
20938 PyDict_SetItemString(d
,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_SCROLLBAR_WIDTH
)));
20941 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_From_int(static_cast<int >(wxGridCellAttr::Any
)));
20944 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_From_int(static_cast<int >(wxGridCellAttr::Default
)));
20947 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_From_int(static_cast<int >(wxGridCellAttr::Cell
)));
20950 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_From_int(static_cast<int >(wxGridCellAttr::Row
)));
20953 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_From_int(static_cast<int >(wxGridCellAttr::Col
)));
20956 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_From_int(static_cast<int >(wxGridCellAttr::Merged
)));
20959 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int(static_cast<int >(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)));
20962 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int(static_cast<int >(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)));
20965 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)));
20968 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)));
20971 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_ROWS_DELETED
)));
20974 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED
)));
20977 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED
)));
20980 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_COLS_DELETED
)));
20983 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_From_int(static_cast<int >(wxGrid::wxGridSelectCells
)));
20986 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_From_int(static_cast<int >(wxGrid::wxGridSelectRows
)));
20989 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_From_int(static_cast<int >(wxGrid::wxGridSelectColumns
)));
20991 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
20992 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
20993 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
20994 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
20995 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
20996 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
20997 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
20998 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
20999 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
21000 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
21001 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
21002 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
21003 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
21004 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
21005 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
21006 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
21007 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));