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 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[0]
1343 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[1]
1344 #define SWIGTYPE_p_wxGridCellRenderer swig_types[2]
1345 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[3]
1346 #define SWIGTYPE_p_wxGridCellAttr swig_types[4]
1347 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[5]
1348 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[6]
1349 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[7]
1350 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[8]
1351 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[9]
1352 #define SWIGTYPE_p_wxColour swig_types[10]
1353 #define SWIGTYPE_p_wxDC swig_types[11]
1354 #define SWIGTYPE_p_form_ops_t swig_types[12]
1355 #define SWIGTYPE_p_wxDuplexMode swig_types[13]
1356 #define SWIGTYPE_p_wxGridTableMessage swig_types[14]
1357 #define SWIGTYPE_p_wxGrid swig_types[15]
1358 #define SWIGTYPE_p_wxVisualAttributes swig_types[16]
1359 #define SWIGTYPE_p_char swig_types[17]
1360 #define SWIGTYPE_p_wxPanel swig_types[18]
1361 #define SWIGTYPE_p_wxNotifyEvent swig_types[19]
1362 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[20]
1363 #define SWIGTYPE_p_wxSize swig_types[21]
1364 #define SWIGTYPE_p_wxGridCellCoords swig_types[22]
1365 #define SWIGTYPE_p_wxScrolledWindow swig_types[23]
1366 #define SWIGTYPE_p_wxWindow swig_types[24]
1367 #define SWIGTYPE_p_wxFont swig_types[25]
1368 #define SWIGTYPE_p_wxControl swig_types[26]
1369 #define SWIGTYPE_p_wxEvent swig_types[27]
1370 #define SWIGTYPE_p_wxObject swig_types[28]
1371 #define SWIGTYPE_p_wxGridSizeEvent swig_types[29]
1372 #define SWIGTYPE_p_wxRect swig_types[30]
1373 #define SWIGTYPE_p_long swig_types[31]
1374 #define SWIGTYPE_p_wxPaperSize swig_types[32]
1375 #define SWIGTYPE_p_unsigned_int swig_types[33]
1376 #define SWIGTYPE_unsigned_int swig_types[34]
1377 #define SWIGTYPE_p_wxString swig_types[35]
1378 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
1379 #define SWIGTYPE_p_wxPoint swig_types[37]
1380 #define SWIGTYPE_p_wxGridEvent swig_types[38]
1381 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[39]
1382 #define SWIGTYPE_p_wxGridTableBase swig_types[40]
1383 #define SWIGTYPE_p_wxGridCellEditor swig_types[41]
1384 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[42]
1385 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[43]
1386 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[44]
1387 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[45]
1388 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[46]
1389 #define SWIGTYPE_p_wxPyGridTableBase swig_types[47]
1390 #define SWIGTYPE_p_wxGridStringTable swig_types[48]
1391 #define SWIGTYPE_p_unsigned_char swig_types[49]
1392 #define SWIGTYPE_std__ptrdiff_t swig_types[50]
1393 #define SWIGTYPE_ptrdiff_t swig_types[51]
1394 #define SWIGTYPE_p_wxArrayString swig_types[52]
1395 #define SWIGTYPE_p_wxCommandEvent swig_types[53]
1396 #define SWIGTYPE_p_int swig_types[54]
1397 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[55]
1398 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[56]
1399 #define SWIGTYPE_p_wxKeyEvent swig_types[57]
1400 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[58]
1401 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[59]
1402 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[60]
1403 #define SWIGTYPE_p_unsigned_long swig_types[61]
1404 static swig_type_info
*swig_types
[63];
1406 /* -------- TYPES TABLE (END) -------- */
1409 /*-----------------------------------------------
1410 @(target):= _grid.so
1411 ------------------------------------------------*/
1412 #define SWIG_init init_grid
1414 #define SWIG_name "_grid"
1416 #include "wx/wxPython/wxPython.h"
1417 #include "wx/wxPython/pyclasses.h"
1418 #include "wx/wxPython/printfw.h"
1420 #include <wx/grid.h>
1421 #include <wx/generic/gridctrl.h>
1424 static const wxString
wxPyEmptyString(wxEmptyString
);
1425 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1426 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
1429 #define wxPyMake_TEMPLATE(TYPE) \
1430 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
1431 PyObject* target = NULL; \
1433 /* Check if there is already a pointer to a Python object in the \
1434 OOR data that we can use. */ \
1435 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
1437 target = data->m_obj; \
1439 Py_INCREF(target); \
1441 /* Otherwise make a new wrapper for it the old fashioned way and \
1442 give it the OOR treatment */ \
1444 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
1446 source->SetClientObject(new wxPyOORClientData(target)); \
1448 } else { /* source was NULL so return None. */ \
1449 Py_INCREF(Py_None); target = Py_None; \
1455 wxPyMake_TEMPLATE(wxGridCellRenderer)
1456 wxPyMake_TEMPLATE(wxGridCellEditor
)
1457 wxPyMake_TEMPLATE(wxGridCellAttr
)
1458 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
1459 wxPyMake_TEMPLATE(wxGridTableBase
)
1463 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
1464 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
1465 wxGridCellAttr* rval = NULL; \
1467 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1468 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1470 wxGridCellAttr* ptr; \
1471 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
1473 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
1478 wxPyEndBlockThreads(blocked); \
1480 rval = PCLASS::CBNAME(a, b, c); \
1483 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
1484 return PCLASS::CBNAME(a, b, c); \
1489 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
1490 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
1491 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1493 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1494 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
1495 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
1498 wxPyEndBlockThreads(blocked); \
1500 PCLASS::CBNAME(attr, a, b); \
1502 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
1503 PCLASS::CBNAME(attr, a, b); \
1508 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
1509 void CBNAME(wxGridCellAttr *attr, int val) { \
1510 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1512 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1513 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
1514 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
1517 wxPyEndBlockThreads(blocked); \
1519 PCLASS::CBNAME(attr, val); \
1521 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
1522 PCLASS::CBNAME(attr, val); \
1527 #define PYCALLBACK_INT__pure(CBNAME) \
1529 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1531 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
1532 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1533 wxPyEndBlockThreads(blocked); \
1539 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
1540 bool CBNAME(int a, int b) { \
1541 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1543 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
1544 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
1545 wxPyEndBlockThreads(blocked); \
1550 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
1551 wxString CBNAME(int a, int b) { \
1552 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1554 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
1556 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1558 rval = Py2wxString(ro); \
1562 wxPyEndBlockThreads(blocked); \
1567 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
1568 void CBNAME(int a, int b, const wxString& c) { \
1569 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1570 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
1571 PyObject* s = wx2PyString(c); \
1572 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
1575 wxPyEndBlockThreads(blocked); \
1579 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
1580 wxString CBNAME(int a, int b) { \
1582 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1584 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1586 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1588 rval = Py2wxString(ro); \
1592 wxPyEndBlockThreads(blocked); \
1594 rval = PCLASS::CBNAME(a, b); \
1597 wxString base_##CBNAME(int a, int b) { \
1598 return PCLASS::CBNAME(a, b); \
1602 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
1603 bool CBNAME(int a, int b, const wxString& c) { \
1606 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1607 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1608 PyObject* s = wx2PyString(c); \
1609 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
1612 wxPyEndBlockThreads(blocked); \
1614 rval = PCLASS::CBNAME(a,b,c); \
1617 bool base_##CBNAME(int a, int b, const wxString& c) { \
1618 return PCLASS::CBNAME(a,b,c); \
1624 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
1625 long CBNAME(int a, int b) { \
1628 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1629 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1630 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1631 wxPyEndBlockThreads(blocked); \
1633 rval = PCLASS::CBNAME(a,b); \
1636 long base_##CBNAME(int a, int b) { \
1637 return PCLASS::CBNAME(a,b); \
1642 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
1643 bool CBNAME(int a, int b) { \
1646 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1647 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1648 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1649 wxPyEndBlockThreads(blocked); \
1651 rval = PCLASS::CBNAME(a,b); \
1654 bool base_##CBNAME(int a, int b) { \
1655 return PCLASS::CBNAME(a,b); \
1660 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
1661 double CBNAME(int a, int b) { \
1663 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1665 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1667 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1669 PyObject* str = PyObject_Str(ro); \
1670 rval = PyFloat_AsDouble(str); \
1671 Py_DECREF(ro); Py_DECREF(str); \
1674 wxPyEndBlockThreads(blocked); \
1676 rval = PCLASS::CBNAME(a, b); \
1679 double base_##CBNAME(int a, int b) { \
1680 return PCLASS::CBNAME(a, b); \
1685 #define PYCALLBACK__(PCLASS, CBNAME) \
1688 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1689 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1690 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1691 wxPyEndBlockThreads(blocked); \
1695 void base_##CBNAME() { \
1702 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
1703 bool CBNAME(size_t a, size_t b) { \
1706 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1707 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1708 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1709 wxPyEndBlockThreads(blocked); \
1711 rval = PCLASS::CBNAME(a,b); \
1714 bool base_##CBNAME(size_t a, size_t b) { \
1715 return PCLASS::CBNAME(a,b); \
1720 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
1721 bool CBNAME(size_t a) { \
1724 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1725 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1726 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
1727 wxPyEndBlockThreads(blocked); \
1729 rval = PCLASS::CBNAME(a); \
1732 bool base_##CBNAME(size_t a) { \
1733 return PCLASS::CBNAME(a); \
1737 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
1738 wxString CBNAME(int a) { \
1740 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1742 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1744 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
1746 rval = Py2wxString(ro); \
1750 wxPyEndBlockThreads(blocked); \
1752 rval = PCLASS::CBNAME(a); \
1755 wxString base_##CBNAME(int a) { \
1756 return PCLASS::CBNAME(a); \
1760 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
1761 void CBNAME(int a, const wxString& c) { \
1763 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1764 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1765 PyObject* s = wx2PyString(c); \
1766 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
1769 wxPyEndBlockThreads(blocked); \
1771 PCLASS::CBNAME(a,c); \
1773 void base_##CBNAME(int a, const wxString& c) { \
1774 PCLASS::CBNAME(a,c); \
1780 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
1784 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1785 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1786 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1787 wxPyEndBlockThreads(blocked); \
1789 rval = PCLASS::CBNAME(); \
1792 bool base_##CBNAME() { \
1793 return PCLASS::CBNAME(); \
1798 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
1799 void CBNAME(size_t a, int b) { \
1801 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1802 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1803 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1804 wxPyEndBlockThreads(blocked); \
1806 PCLASS::CBNAME(a,b); \
1808 void base_##CBNAME(size_t a, int b) { \
1809 PCLASS::CBNAME(a,b); \
1815 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
1816 void CBNAME(int a, int b, long c) { \
1818 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1819 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1820 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
1821 wxPyEndBlockThreads(blocked); \
1823 PCLASS::CBNAME(a,b,c); \
1825 void base_##CBNAME(int a, int b, long c) { \
1826 PCLASS::CBNAME(a,b,c); \
1832 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
1833 void CBNAME(int a, int b, double c) { \
1835 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1836 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1837 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
1838 wxPyEndBlockThreads(blocked); \
1840 PCLASS::CBNAME(a,b,c); \
1842 void base_##CBNAME(int a, int b, double c) { \
1843 PCLASS::CBNAME(a,b,c); \
1848 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
1849 void CBNAME(int a, int b, bool c) { \
1851 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1852 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1853 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
1854 wxPyEndBlockThreads(blocked); \
1856 PCLASS::CBNAME(a,b,c); \
1858 void base_##CBNAME(int a, int b, bool c) { \
1859 PCLASS::CBNAME(a,b,c); \
1867 SWIGINTERN PyObject
*
1868 SWIG_FromCharPtr(const char* cptr
)
1871 size_t size
= strlen(cptr
);
1872 if (size
> INT_MAX
) {
1873 return SWIG_NewPointerObj((char*)(cptr
),
1874 SWIG_TypeQuery("char *"), 0);
1877 return PyString_FromStringAndSize(cptr
, size
);
1879 return PyString_FromString(cptr
);
1888 #define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
1889 #define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
1890 #define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
1891 #define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
1892 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
1893 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
1894 #define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
1895 #define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
1896 #define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
1897 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
1900 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1901 #define SWIG_From_int PyInt_FromLong
1904 static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
1905 if (!self
->GetClientObject())
1906 self
->SetClientObject(new wxPyOORClientData(_self
));
1913 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1916 if (value
< min_value
) {
1918 PyErr_Format(PyExc_OverflowError
,
1919 "value %ld is less than '%s' minimum %ld",
1920 value
, errmsg
, min_value
);
1923 } else if (value
> max_value
) {
1925 PyErr_Format(PyExc_OverflowError
,
1926 "value %ld is greater than '%s' maximum %ld",
1927 value
, errmsg
, max_value
);
1936 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1938 if (PyNumber_Check(obj
)) {
1939 if (val
) *val
= PyInt_AsLong(obj
);
1943 SWIG_type_error("number", obj
);
1949 #if INT_MAX != LONG_MAX
1951 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1953 const char* errmsg
= val
? "int" : (char*)0;
1955 if (SWIG_AsVal_long(obj
, &v
)) {
1956 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1957 if (val
) *val
= (int)(v
);
1966 SWIG_type_error(errmsg
, obj
);
1972 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1974 return SWIG_AsVal_long(obj
,(long*)val
);
1980 SWIG_As_int(PyObject
* obj
)
1983 if (!SWIG_AsVal_int(obj
, &v
)) {
1985 this is needed to make valgrind/purify happier.
1987 memset((void*)&v
, 0, sizeof(int));
1994 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1996 if (obj
== Py_True
) {
1997 if (val
) *val
= true;
2000 if (obj
== Py_False
) {
2001 if (val
) *val
= false;
2005 if (SWIG_AsVal_int(obj
, &res
)) {
2006 if (val
) *val
= res
? true : false;
2012 SWIG_type_error("bool", obj
);
2018 SWIGINTERNSHORT
bool
2019 SWIG_As_bool(PyObject
* obj
)
2022 if (!SWIG_AsVal_bool(obj
, &v
)) {
2024 this is needed to make valgrind/purify happier.
2026 memset((void*)&v
, 0, sizeof(bool));
2033 SWIG_Check_int(PyObject
* obj
)
2035 return SWIG_AsVal_int(obj
, (int*)0);
2040 SWIG_Check_bool(PyObject
* obj
)
2042 return SWIG_AsVal_bool(obj
, (bool*)0);
2046 class wxPyGridCellRenderer
: public wxGridCellRenderer
2049 wxPyGridCellRenderer() : wxGridCellRenderer() {};
2051 // Implement Python callback aware virtual methods
2052 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
2053 wxDC
& dc
, const wxRect
& rect
,
2054 int row
, int col
, bool isSelected
) {
2055 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2056 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
2057 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
2058 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
2059 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
2060 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
2062 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
2063 row
, col
, isSelected
));
2069 wxPyEndBlockThreads(blocked
);
2072 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
2075 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2076 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
2079 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
2080 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
2081 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
2083 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
2091 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
2092 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
2095 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
2096 PyObject
* o1
= PySequence_GetItem(ro
, 0);
2097 PyObject
* o2
= PySequence_GetItem(ro
, 1);
2098 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
2099 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
2101 PyErr_SetString(PyExc_TypeError
, errmsg
);
2106 PyErr_SetString(PyExc_TypeError
, errmsg
);
2111 wxPyEndBlockThreads(blocked
);
2116 wxGridCellRenderer
*Clone() const {
2117 wxGridCellRenderer
* rval
= NULL
;
2118 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2119 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
2121 wxGridCellRenderer
* ptr
;
2122 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2124 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
2129 wxPyEndBlockThreads(blocked
);
2133 DEC_PYCALLBACK__STRING(SetParameters
);
2138 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
2141 static void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
2142 if (!self
->GetClientObject())
2143 self
->SetClientObject(new wxPyOORClientData(_self
));
2146 class wxPyGridCellEditor
: public wxGridCellEditor
2149 wxPyGridCellEditor() : wxGridCellEditor() {}
2151 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
2152 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2153 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
2154 PyObject
* po
= wxPyMake_wxObject(parent
,false);
2155 PyObject
* eo
= wxPyMake_wxObject(evtHandler
,false);
2157 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
2161 wxPyEndBlockThreads(blocked
);
2165 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
2166 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2167 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
2168 PyObject
* go
= wxPyMake_wxObject(grid
,false);
2169 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
2172 wxPyEndBlockThreads(blocked
);
2176 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
2178 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2179 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
2180 PyObject
* go
= wxPyMake_wxObject(grid
,false);
2181 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
2184 wxPyEndBlockThreads(blocked
);
2189 wxGridCellEditor
* Clone() const {
2190 wxGridCellEditor
* rval
= NULL
;
2191 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2192 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
2194 wxGridCellEditor
* ptr
;
2195 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2197 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
2202 wxPyEndBlockThreads(blocked
);
2207 void Show(bool show
, wxGridCellAttr
*attr
) {
2209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2210 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
2211 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
2212 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
2215 wxPyEndBlockThreads(blocked
);
2217 wxGridCellEditor::Show(show
, attr
);
2219 void base_Show(bool show
, wxGridCellAttr
*attr
) {
2220 wxGridCellEditor::Show(show
, attr
);
2224 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
2226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2227 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
2228 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
2229 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
2231 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
2236 wxPyEndBlockThreads(blocked
);
2238 wxGridCellEditor::PaintBackground(rectCell
, attr
);
2240 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
2241 wxGridCellEditor::PaintBackground(rectCell
, attr
);
2245 DEC_PYCALLBACK___pure(Reset
);
2246 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
2247 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
2248 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
2249 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
2250 DEC_PYCALLBACK__(StartingClick
);
2251 DEC_PYCALLBACK__(Destroy
);
2252 DEC_PYCALLBACK__STRING(SetParameters
);
2253 DEC_PYCALLBACK_STRING__constpure(GetValue
);
2259 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
2260 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
2261 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
2262 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
2263 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
2264 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
2265 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
2266 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
2267 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
2270 static void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
2271 if (!self
->GetClientObject())
2272 self
->SetClientObject(new wxPyOORClientData(_self
));
2275 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
2281 } else if (target
== Py_None
) {
2285 if (!PyTuple_Check(target
)) {
2287 target
= PyTuple_New(1);
2288 PyTuple_SetItem(target
, 0, o2
);
2290 o3
= PyTuple_New(1);
2291 PyTuple_SetItem(o3
, 0, o
);
2294 target
= PySequence_Concat(o2
, o3
);
2302 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
2303 if (!self
->GetClientObject())
2304 self
->SetClientObject(new wxPyOORClientData(_self
));
2308 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2311 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2312 SWIG_type_error("unsigned number", obj
);
2315 *val
= (unsigned long)v
;
2320 SWIGINTERNSHORT
unsigned long
2321 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2324 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2326 this is needed to make valgrind/purify happier.
2328 memset((void*)&v
, 0, sizeof(unsigned long));
2335 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2337 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2341 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
2344 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
2346 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
2347 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
2348 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
2349 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
2354 static void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
2355 if (!self
->GetClientObject())
2356 self
->SetClientObject(new wxPyOORClientData(_self
));
2359 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2360 #define SWIG_From_long PyInt_FromLong
2364 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2365 #define SWIG_From_double PyFloat_FromDouble
2369 SWIGINTERNSHORT
long
2370 SWIG_As_long(PyObject
* obj
)
2373 if (!SWIG_AsVal_long(obj
, &v
)) {
2375 this is needed to make valgrind/purify happier.
2377 memset((void*)&v
, 0, sizeof(long));
2384 SWIG_Check_long(PyObject
* obj
)
2386 return SWIG_AsVal_long(obj
, (long*)0);
2391 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2393 if (PyNumber_Check(obj
)) {
2394 if (val
) *val
= PyFloat_AsDouble(obj
);
2398 SWIG_type_error("number", obj
);
2404 SWIGINTERNSHORT
double
2405 SWIG_As_double(PyObject
* obj
)
2408 if (!SWIG_AsVal_double(obj
, &v
)) {
2410 this is needed to make valgrind/purify happier.
2412 memset((void*)&v
, 0, sizeof(double));
2419 SWIG_Check_double(PyObject
* obj
)
2421 return SWIG_AsVal_double(obj
, (double*)0);
2425 class wxPyGridTableBase
: public wxGridTableBase
2428 wxPyGridTableBase() : wxGridTableBase() {}
2430 PYCALLBACK_INT__pure(GetNumberRows
);
2431 PYCALLBACK_INT__pure(GetNumberCols
);
2432 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
2433 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
2434 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
2435 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
2436 PYCALLBACK__(wxGridTableBase
, Clear
);
2437 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
2438 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
2439 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
2440 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
2441 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
2442 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
2443 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
2444 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
2445 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
2446 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
2447 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
2448 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
2449 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
2450 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
2451 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
2454 wxString
GetValue(int row
, int col
) {
2455 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2457 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2459 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
2461 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
2463 ro
= PyObject_Str(ro
);
2466 rval
= Py2wxString(ro
);
2470 wxPyEndBlockThreads(blocked
);
2474 void SetValue(int row
, int col
, const wxString
& val
) {
2475 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2476 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2477 PyObject
* s
= wx2PyString(val
);
2478 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
2481 wxPyEndBlockThreads(blocked
);
2485 // Map the Get/Set methods for the standard non-string types to
2486 // the GetValue and SetValue python methods.
2487 long GetValueAsLong( int row
, int col
) {
2489 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2490 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2493 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
2494 if (ro
&& PyNumber_Check(ro
)) {
2495 num
= PyNumber_Int(ro
);
2497 rval
= PyInt_AsLong(num
);
2503 wxPyEndBlockThreads(blocked
);
2507 double GetValueAsDouble( int row
, int col
) {
2509 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2510 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2513 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
2514 if (ro
&& PyNumber_Check(ro
)) {
2515 num
= PyNumber_Float(ro
);
2517 rval
= PyFloat_AsDouble(num
);
2523 wxPyEndBlockThreads(blocked
);
2527 bool GetValueAsBool( int row
, int col
) {
2528 return (bool)GetValueAsLong(row
, col
);
2531 void SetValueAsLong( int row
, int col
, long value
) {
2532 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2533 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2534 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
2536 wxPyEndBlockThreads(blocked
);
2539 void SetValueAsDouble( int row
, int col
, double value
) {
2540 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2541 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2542 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
2544 wxPyEndBlockThreads(blocked
);
2547 void SetValueAsBool( int row
, int col
, bool value
) {
2548 SetValueAsLong( row
, col
, (long)value
);
2555 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
2557 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
2559 if (source
== Py_None
) {
2560 **obj
= wxGridCellCoords(-1,-1);
2564 // If source is an object instance then it may already be the right type
2565 if (wxPySwigInstance_Check(source
)) {
2566 wxGridCellCoords
* ptr
;
2567 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
2572 // otherwise a 2-tuple of integers is expected
2573 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
2574 PyObject
* o1
= PySequence_GetItem(source
, 0);
2575 PyObject
* o2
= PySequence_GetItem(source
, 1);
2576 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
2581 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
2588 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
2593 bool wxGridCellCoords_typecheck(PyObject
* source
) {
2596 if (wxPySwigInstance_Check(source
) &&
2597 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
2601 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
2608 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
2610 PyObject
* list
= PyList_New(0);
2612 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
2613 wxGridCellCoords
& coord
= source
.Item(idx
);
2614 PyObject
* tup
= PyTuple_New(2);
2615 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
2616 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
2617 PyList_Append(list
, tup
);
2623 static PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
2624 PyObject
* tup
= PyTuple_New(2);
2625 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2626 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2630 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
2633 static wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
2634 wxGridCellCoords rv
;
2635 self
->XYToCell(x
, y
, rv
);
2641 static int _wrap_GridNoCellCoords_set(PyObject
*) {
2642 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
2647 static PyObject
*_wrap_GridNoCellCoords_get(void) {
2650 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0);
2655 static int _wrap_GridNoCellRect_set(PyObject
*) {
2656 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
2661 static PyObject
*_wrap_GridNoCellRect_get(void) {
2664 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0);
2669 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
*resultobj
;
2671 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2672 PyObject
*arg2
= (PyObject
*) 0 ;
2673 PyObject
* obj0
= 0 ;
2674 PyObject
* obj1
= 0 ;
2676 (char *) "self",(char *) "_self", NULL
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2681 if (SWIG_arg_fail(1)) SWIG_fail
;
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2690 Py_INCREF(Py_None
); resultobj
= Py_None
;
2697 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2699 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2700 wxString
*arg2
= 0 ;
2701 bool temp2
= false ;
2702 PyObject
* obj0
= 0 ;
2703 PyObject
* obj1
= 0 ;
2705 (char *) "self",(char *) "params", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2710 if (SWIG_arg_fail(1)) SWIG_fail
;
2712 arg2
= wxString_in_helper(obj1
);
2713 if (arg2
== NULL
) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 (arg1
)->SetParameters((wxString
const &)*arg2
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 Py_INCREF(Py_None
); resultobj
= Py_None
;
2738 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2740 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2741 PyObject
* obj0
= 0 ;
2743 (char *) "self", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
2747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2748 if (SWIG_arg_fail(1)) SWIG_fail
;
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2756 Py_INCREF(Py_None
); resultobj
= Py_None
;
2763 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
*resultobj
;
2765 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2766 PyObject
* obj0
= 0 ;
2768 (char *) "self", NULL
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
2772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2773 if (SWIG_arg_fail(1)) SWIG_fail
;
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2781 Py_INCREF(Py_None
); resultobj
= Py_None
;
2788 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
*resultobj
;
2790 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2792 wxGridCellAttr
*arg3
= 0 ;
2799 PyObject
* obj0
= 0 ;
2800 PyObject
* obj1
= 0 ;
2801 PyObject
* obj2
= 0 ;
2802 PyObject
* obj3
= 0 ;
2803 PyObject
* obj4
= 0 ;
2804 PyObject
* obj5
= 0 ;
2805 PyObject
* obj6
= 0 ;
2806 PyObject
* obj7
= 0 ;
2808 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2813 if (SWIG_arg_fail(1)) SWIG_fail
;
2815 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
2816 if (SWIG_arg_fail(2)) SWIG_fail
;
2818 SWIG_null_ref("wxGrid");
2820 if (SWIG_arg_fail(2)) SWIG_fail
;
2823 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
2824 if (SWIG_arg_fail(3)) SWIG_fail
;
2826 SWIG_null_ref("wxGridCellAttr");
2828 if (SWIG_arg_fail(3)) SWIG_fail
;
2831 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
2832 if (SWIG_arg_fail(4)) SWIG_fail
;
2834 SWIG_null_ref("wxDC");
2836 if (SWIG_arg_fail(4)) SWIG_fail
;
2840 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
2843 arg6
= (int)(SWIG_As_int(obj5
));
2844 if (SWIG_arg_fail(6)) SWIG_fail
;
2847 arg7
= (int)(SWIG_As_int(obj6
));
2848 if (SWIG_arg_fail(7)) SWIG_fail
;
2851 arg8
= (bool)(SWIG_As_bool(obj7
));
2852 if (SWIG_arg_fail(8)) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2861 Py_INCREF(Py_None
); resultobj
= Py_None
;
2868 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
*resultobj
;
2870 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2872 wxGridCellAttr
*arg3
= 0 ;
2877 PyObject
* obj0
= 0 ;
2878 PyObject
* obj1
= 0 ;
2879 PyObject
* obj2
= 0 ;
2880 PyObject
* obj3
= 0 ;
2881 PyObject
* obj4
= 0 ;
2882 PyObject
* obj5
= 0 ;
2884 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2889 if (SWIG_arg_fail(1)) SWIG_fail
;
2891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
2892 if (SWIG_arg_fail(2)) SWIG_fail
;
2894 SWIG_null_ref("wxGrid");
2896 if (SWIG_arg_fail(2)) SWIG_fail
;
2899 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
2900 if (SWIG_arg_fail(3)) SWIG_fail
;
2902 SWIG_null_ref("wxGridCellAttr");
2904 if (SWIG_arg_fail(3)) SWIG_fail
;
2907 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
2908 if (SWIG_arg_fail(4)) SWIG_fail
;
2910 SWIG_null_ref("wxDC");
2912 if (SWIG_arg_fail(4)) SWIG_fail
;
2915 arg5
= (int)(SWIG_As_int(obj4
));
2916 if (SWIG_arg_fail(5)) SWIG_fail
;
2919 arg6
= (int)(SWIG_As_int(obj5
));
2920 if (SWIG_arg_fail(6)) SWIG_fail
;
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) SWIG_fail
;
2931 resultptr
= new wxSize((wxSize
&)(result
));
2932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2940 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2943 wxGridCellRenderer
*result
;
2944 PyObject
* obj0
= 0 ;
2946 (char *) "self", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
2950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2951 if (SWIG_arg_fail(1)) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2960 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
2968 static PyObject
* GridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
2970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2971 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
2973 return Py_BuildValue((char *)"");
2975 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxPyGridCellRenderer
*result
;
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1);
2997 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
3000 PyObject
*arg2
= (PyObject
*) 0 ;
3001 PyObject
*arg3
= (PyObject
*) 0 ;
3002 PyObject
* obj0
= 0 ;
3003 PyObject
* obj1
= 0 ;
3004 PyObject
* obj2
= 0 ;
3006 (char *) "self",(char *) "self",(char *) "_class", NULL
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3011 if (SWIG_arg_fail(1)) SWIG_fail
;
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3021 Py_INCREF(Py_None
); resultobj
= Py_None
;
3028 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3030 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
3031 wxString
*arg2
= 0 ;
3032 bool temp2
= false ;
3033 PyObject
* obj0
= 0 ;
3034 PyObject
* obj1
= 0 ;
3036 (char *) "self",(char *) "params", NULL
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3041 if (SWIG_arg_fail(1)) SWIG_fail
;
3043 arg2
= wxString_in_helper(obj1
);
3044 if (arg2
== NULL
) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 Py_INCREF(Py_None
); resultobj
= Py_None
;
3069 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
3071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3072 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
3074 return Py_BuildValue((char *)"");
3076 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
*resultobj
;
3078 wxGridCellStringRenderer
*result
;
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1);
3098 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
3100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3101 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
3103 return Py_BuildValue((char *)"");
3105 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
*resultobj
;
3107 wxGridCellNumberRenderer
*result
;
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
3127 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*, PyObject
*args
) {
3129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3130 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
3132 return Py_BuildValue((char *)"");
3134 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 int arg1
= (int) -1 ;
3137 int arg2
= (int) -1 ;
3138 wxGridCellFloatRenderer
*result
;
3139 PyObject
* obj0
= 0 ;
3140 PyObject
* obj1
= 0 ;
3142 (char *) "width",(char *) "precision", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3148 arg1
= (int)(SWIG_As_int(obj0
));
3149 if (SWIG_arg_fail(1)) SWIG_fail
;
3154 arg2
= (int)(SWIG_As_int(obj1
));
3155 if (SWIG_arg_fail(2)) SWIG_fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
3172 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3174 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3176 PyObject
* obj0
= 0 ;
3178 (char *) "self", NULL
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
3182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3183 if (SWIG_arg_fail(1)) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3192 resultobj
= SWIG_From_int((int)(result
));
3200 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3204 PyObject
* obj0
= 0 ;
3205 PyObject
* obj1
= 0 ;
3207 (char *) "self",(char *) "width", NULL
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3212 if (SWIG_arg_fail(1)) SWIG_fail
;
3214 arg2
= (int)(SWIG_As_int(obj1
));
3215 if (SWIG_arg_fail(2)) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 (arg1
)->SetWidth(arg2
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3224 Py_INCREF(Py_None
); resultobj
= Py_None
;
3231 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3235 PyObject
* obj0
= 0 ;
3237 (char *) "self", NULL
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
3241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3242 if (SWIG_arg_fail(1)) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3251 resultobj
= SWIG_From_int((int)(result
));
3259 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3263 PyObject
* obj0
= 0 ;
3264 PyObject
* obj1
= 0 ;
3266 (char *) "self",(char *) "precision", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
3270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3271 if (SWIG_arg_fail(1)) SWIG_fail
;
3273 arg2
= (int)(SWIG_As_int(obj1
));
3274 if (SWIG_arg_fail(2)) SWIG_fail
;
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 (arg1
)->SetPrecision(arg2
);
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) SWIG_fail
;
3283 Py_INCREF(Py_None
); resultobj
= Py_None
;
3290 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*, PyObject
*args
) {
3292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3293 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
3295 return Py_BuildValue((char *)"");
3297 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
*resultobj
;
3299 wxGridCellBoolRenderer
*result
;
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
3319 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*, PyObject
*args
) {
3321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3322 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
3324 return Py_BuildValue((char *)"");
3326 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
*resultobj
;
3328 wxString arg1
= (wxString
) wxPyDefaultDateTimeFormat
;
3329 wxString arg2
= (wxString
) wxPyDefaultDateTimeFormat
;
3330 wxGridCellDateTimeRenderer
*result
;
3331 PyObject
* obj0
= 0 ;
3332 PyObject
* obj1
= 0 ;
3334 (char *) "outformat",(char *) "informat", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3340 wxString
* sptr
= wxString_in_helper(obj0
);
3341 if (sptr
== NULL
) SWIG_fail
;
3348 wxString
* sptr
= wxString_in_helper(obj1
);
3349 if (sptr
== NULL
) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
3368 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*, PyObject
*args
) {
3370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3371 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
3373 return Py_BuildValue((char *)"");
3375 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
;
3377 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3378 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3379 wxGridCellEnumRenderer
*result
;
3380 bool temp1
= false ;
3381 PyObject
* obj0
= 0 ;
3383 (char *) "choices", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
3389 arg1
= wxString_in_helper(obj0
);
3390 if (arg1
== NULL
) SWIG_fail
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
3416 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*, PyObject
*args
) {
3418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3419 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
3421 return Py_BuildValue((char *)"");
3423 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxGridCellAutoWrapStringRenderer
*result
;
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
3445 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
3447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3448 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
3450 return Py_BuildValue((char *)"");
3452 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
;
3454 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3455 PyObject
*arg2
= (PyObject
*) 0 ;
3456 PyObject
* obj0
= 0 ;
3457 PyObject
* obj1
= 0 ;
3459 (char *) "self",(char *) "_self", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3464 if (SWIG_arg_fail(1)) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 wxGridCellEditor__setOORInfo(arg1
,arg2
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 Py_INCREF(Py_None
); resultobj
= Py_None
;
3480 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3484 PyObject
* obj0
= 0 ;
3486 (char *) "self", NULL
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
3490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3491 if (SWIG_arg_fail(1)) SWIG_fail
;
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 result
= (bool)(arg1
)->IsCreated();
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3508 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
*resultobj
;
3510 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3512 PyObject
* obj0
= 0 ;
3514 (char *) "self", NULL
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
3518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3519 if (SWIG_arg_fail(1)) SWIG_fail
;
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 result
= (wxControl
*)(arg1
)->GetControl();
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3528 resultobj
= wxPyMake_wxObject(result
, 0);
3536 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
*resultobj
;
3538 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3539 wxControl
*arg2
= (wxControl
*) 0 ;
3540 PyObject
* obj0
= 0 ;
3541 PyObject
* obj1
= 0 ;
3543 (char *) "self",(char *) "control", NULL
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
3547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3548 if (SWIG_arg_fail(1)) SWIG_fail
;
3549 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
3550 if (SWIG_arg_fail(2)) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 (arg1
)->SetControl(arg2
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3558 Py_INCREF(Py_None
); resultobj
= Py_None
;
3565 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
*resultobj
;
3567 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3568 wxGridCellAttr
*result
;
3569 PyObject
* obj0
= 0 ;
3571 (char *) "self", NULL
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
3575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3576 if (SWIG_arg_fail(1)) SWIG_fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3585 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
3593 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3595 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3596 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3597 PyObject
* obj0
= 0 ;
3598 PyObject
* obj1
= 0 ;
3600 (char *) "self",(char *) "attr", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
3604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3605 if (SWIG_arg_fail(1)) SWIG_fail
;
3606 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3607 if (SWIG_arg_fail(2)) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 (arg1
)->SetCellAttr(arg2
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 Py_INCREF(Py_None
); resultobj
= Py_None
;
3622 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
*resultobj
;
3624 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3625 wxString
*arg2
= 0 ;
3626 bool temp2
= false ;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3630 (char *) "self",(char *) "params", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3635 if (SWIG_arg_fail(1)) SWIG_fail
;
3637 arg2
= wxString_in_helper(obj1
);
3638 if (arg2
== NULL
) SWIG_fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 (arg1
)->SetParameters((wxString
const &)*arg2
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 Py_INCREF(Py_None
); resultobj
= Py_None
;
3663 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3668 (char *) "self", NULL
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
3672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3673 if (SWIG_arg_fail(1)) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3691 PyObject
* obj0
= 0 ;
3693 (char *) "self", NULL
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
3697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3698 if (SWIG_arg_fail(1)) SWIG_fail
;
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 Py_INCREF(Py_None
); resultobj
= Py_None
;
3713 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3715 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3716 wxWindow
*arg2
= (wxWindow
*) 0 ;
3718 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
3719 PyObject
* obj0
= 0 ;
3720 PyObject
* obj1
= 0 ;
3721 PyObject
* obj2
= 0 ;
3722 PyObject
* obj3
= 0 ;
3724 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3729 if (SWIG_arg_fail(1)) SWIG_fail
;
3730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3731 if (SWIG_arg_fail(2)) SWIG_fail
;
3733 arg3
= (int)(SWIG_As_int(obj2
));
3734 if (SWIG_arg_fail(3)) SWIG_fail
;
3736 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3737 if (SWIG_arg_fail(4)) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 (arg1
)->Create(arg2
,arg3
,arg4
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 Py_INCREF(Py_None
); resultobj
= Py_None
;
3752 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3757 wxGrid
*arg4
= (wxGrid
*) 0 ;
3758 PyObject
* obj0
= 0 ;
3759 PyObject
* obj1
= 0 ;
3760 PyObject
* obj2
= 0 ;
3761 PyObject
* obj3
= 0 ;
3763 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3768 if (SWIG_arg_fail(1)) SWIG_fail
;
3770 arg2
= (int)(SWIG_As_int(obj1
));
3771 if (SWIG_arg_fail(2)) SWIG_fail
;
3774 arg3
= (int)(SWIG_As_int(obj2
));
3775 if (SWIG_arg_fail(3)) SWIG_fail
;
3777 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3778 if (SWIG_arg_fail(4)) SWIG_fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 Py_INCREF(Py_None
); resultobj
= Py_None
;
3793 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3795 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3798 wxGrid
*arg4
= (wxGrid
*) 0 ;
3800 PyObject
* obj0
= 0 ;
3801 PyObject
* obj1
= 0 ;
3802 PyObject
* obj2
= 0 ;
3803 PyObject
* obj3
= 0 ;
3805 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3810 if (SWIG_arg_fail(1)) SWIG_fail
;
3812 arg2
= (int)(SWIG_As_int(obj1
));
3813 if (SWIG_arg_fail(2)) SWIG_fail
;
3816 arg3
= (int)(SWIG_As_int(obj2
));
3817 if (SWIG_arg_fail(3)) SWIG_fail
;
3819 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3820 if (SWIG_arg_fail(4)) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3837 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3840 PyObject
* obj0
= 0 ;
3842 (char *) "self", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
3846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3847 if (SWIG_arg_fail(1)) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 Py_INCREF(Py_None
); resultobj
= Py_None
;
3862 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
;
3864 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3865 wxGridCellEditor
*result
;
3866 PyObject
* obj0
= 0 ;
3868 (char *) "self", NULL
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
3872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3873 if (SWIG_arg_fail(1)) SWIG_fail
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
3890 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3892 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3895 PyObject
* obj0
= 0 ;
3896 PyObject
* obj1
= 0 ;
3898 (char *) "self",(char *) "rect", NULL
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3903 if (SWIG_arg_fail(1)) SWIG_fail
;
3906 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 (arg1
)->SetSize((wxRect
const &)*arg2
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 Py_INCREF(Py_None
); resultobj
= Py_None
;
3922 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3924 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3926 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
3927 PyObject
* obj0
= 0 ;
3928 PyObject
* obj1
= 0 ;
3929 PyObject
* obj2
= 0 ;
3931 (char *) "self",(char *) "show",(char *) "attr", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3936 if (SWIG_arg_fail(1)) SWIG_fail
;
3938 arg2
= (bool)(SWIG_As_bool(obj1
));
3939 if (SWIG_arg_fail(2)) SWIG_fail
;
3942 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3943 if (SWIG_arg_fail(3)) SWIG_fail
;
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 (arg1
)->Show(arg2
,arg3
);
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 Py_INCREF(Py_None
); resultobj
= Py_None
;
3959 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
*resultobj
;
3961 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3963 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
3965 PyObject
* obj0
= 0 ;
3966 PyObject
* obj1
= 0 ;
3967 PyObject
* obj2
= 0 ;
3969 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3974 if (SWIG_arg_fail(1)) SWIG_fail
;
3977 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3979 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3980 if (SWIG_arg_fail(3)) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 Py_INCREF(Py_None
); resultobj
= Py_None
;
3995 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3998 wxKeyEvent
*arg2
= 0 ;
4000 PyObject
* obj0
= 0 ;
4001 PyObject
* obj1
= 0 ;
4003 (char *) "self",(char *) "event", NULL
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4008 if (SWIG_arg_fail(1)) SWIG_fail
;
4010 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4011 if (SWIG_arg_fail(2)) SWIG_fail
;
4013 SWIG_null_ref("wxKeyEvent");
4015 if (SWIG_arg_fail(2)) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4033 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4035 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4036 wxKeyEvent
*arg2
= 0 ;
4037 PyObject
* obj0
= 0 ;
4038 PyObject
* obj1
= 0 ;
4040 (char *) "self",(char *) "event", NULL
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4045 if (SWIG_arg_fail(1)) SWIG_fail
;
4047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4048 if (SWIG_arg_fail(2)) SWIG_fail
;
4050 SWIG_null_ref("wxKeyEvent");
4052 if (SWIG_arg_fail(2)) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 (arg1
)->StartingKey(*arg2
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 Py_INCREF(Py_None
); resultobj
= Py_None
;
4068 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
;
4070 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4071 PyObject
* obj0
= 0 ;
4073 (char *) "self", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
4077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4078 if (SWIG_arg_fail(1)) SWIG_fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 (arg1
)->StartingClick();
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 Py_INCREF(Py_None
); resultobj
= Py_None
;
4093 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4096 wxKeyEvent
*arg2
= 0 ;
4097 PyObject
* obj0
= 0 ;
4098 PyObject
* obj1
= 0 ;
4100 (char *) "self",(char *) "event", NULL
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
4104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4105 if (SWIG_arg_fail(1)) SWIG_fail
;
4107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4108 if (SWIG_arg_fail(2)) SWIG_fail
;
4110 SWIG_null_ref("wxKeyEvent");
4112 if (SWIG_arg_fail(2)) SWIG_fail
;
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 (arg1
)->HandleReturn(*arg2
);
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 Py_INCREF(Py_None
); resultobj
= Py_None
;
4128 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
;
4130 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4131 PyObject
* obj0
= 0 ;
4133 (char *) "self", NULL
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
4137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4138 if (SWIG_arg_fail(1)) SWIG_fail
;
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 Py_INCREF(Py_None
); resultobj
= Py_None
;
4153 static PyObject
* GridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
4155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4156 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
4158 return Py_BuildValue((char *)"");
4160 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxPyGridCellEditor
*result
;
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1);
4182 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4185 PyObject
*arg2
= (PyObject
*) 0 ;
4186 PyObject
*arg3
= (PyObject
*) 0 ;
4187 PyObject
* obj0
= 0 ;
4188 PyObject
* obj1
= 0 ;
4189 PyObject
* obj2
= 0 ;
4191 (char *) "self",(char *) "self",(char *) "_class", NULL
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4196 if (SWIG_arg_fail(1)) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4206 Py_INCREF(Py_None
); resultobj
= Py_None
;
4213 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4219 PyObject
* obj1
= 0 ;
4221 (char *) "self",(char *) "rect", NULL
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4226 if (SWIG_arg_fail(1)) SWIG_fail
;
4229 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 Py_INCREF(Py_None
); resultobj
= Py_None
;
4245 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4247 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4249 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
4250 PyObject
* obj0
= 0 ;
4251 PyObject
* obj1
= 0 ;
4252 PyObject
* obj2
= 0 ;
4254 (char *) "self",(char *) "show",(char *) "attr", NULL
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4259 if (SWIG_arg_fail(1)) SWIG_fail
;
4261 arg2
= (bool)(SWIG_As_bool(obj1
));
4262 if (SWIG_arg_fail(2)) SWIG_fail
;
4265 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4266 if (SWIG_arg_fail(3)) SWIG_fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 (arg1
)->base_Show(arg2
,arg3
);
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4275 Py_INCREF(Py_None
); resultobj
= Py_None
;
4282 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
;
4284 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4286 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4289 PyObject
* obj1
= 0 ;
4290 PyObject
* obj2
= 0 ;
4292 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4297 if (SWIG_arg_fail(1)) SWIG_fail
;
4300 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4302 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4303 if (SWIG_arg_fail(3)) SWIG_fail
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 Py_INCREF(Py_None
); resultobj
= Py_None
;
4318 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
;
4320 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4321 wxKeyEvent
*arg2
= 0 ;
4323 PyObject
* obj0
= 0 ;
4324 PyObject
* obj1
= 0 ;
4326 (char *) "self",(char *) "event", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4331 if (SWIG_arg_fail(1)) SWIG_fail
;
4333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4334 if (SWIG_arg_fail(2)) SWIG_fail
;
4336 SWIG_null_ref("wxKeyEvent");
4338 if (SWIG_arg_fail(2)) SWIG_fail
;
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4356 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
;
4358 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4359 wxKeyEvent
*arg2
= 0 ;
4360 PyObject
* obj0
= 0 ;
4361 PyObject
* obj1
= 0 ;
4363 (char *) "self",(char *) "event", NULL
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4368 if (SWIG_arg_fail(1)) SWIG_fail
;
4370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4371 if (SWIG_arg_fail(2)) SWIG_fail
;
4373 SWIG_null_ref("wxKeyEvent");
4375 if (SWIG_arg_fail(2)) SWIG_fail
;
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 (arg1
)->base_StartingKey(*arg2
);
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 Py_INCREF(Py_None
); resultobj
= Py_None
;
4391 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
;
4393 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4394 PyObject
* obj0
= 0 ;
4396 (char *) "self", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
4400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4401 if (SWIG_arg_fail(1)) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 (arg1
)->base_StartingClick();
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 Py_INCREF(Py_None
); resultobj
= Py_None
;
4416 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4418 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4419 wxKeyEvent
*arg2
= 0 ;
4420 PyObject
* obj0
= 0 ;
4421 PyObject
* obj1
= 0 ;
4423 (char *) "self",(char *) "event", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
4427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4428 if (SWIG_arg_fail(1)) SWIG_fail
;
4430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4431 if (SWIG_arg_fail(2)) SWIG_fail
;
4433 SWIG_null_ref("wxKeyEvent");
4435 if (SWIG_arg_fail(2)) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 (arg1
)->base_HandleReturn(*arg2
);
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4444 Py_INCREF(Py_None
); resultobj
= Py_None
;
4451 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4454 PyObject
* obj0
= 0 ;
4456 (char *) "self", NULL
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
4460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4461 if (SWIG_arg_fail(1)) SWIG_fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 (arg1
)->base_Destroy();
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 Py_INCREF(Py_None
); resultobj
= Py_None
;
4476 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4479 wxString
*arg2
= 0 ;
4480 bool temp2
= false ;
4481 PyObject
* obj0
= 0 ;
4482 PyObject
* obj1
= 0 ;
4484 (char *) "self",(char *) "params", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
4488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4489 if (SWIG_arg_fail(1)) SWIG_fail
;
4491 arg2
= wxString_in_helper(obj1
);
4492 if (arg2
== NULL
) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 Py_INCREF(Py_None
); resultobj
= Py_None
;
4517 static PyObject
* PyGridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
4519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4520 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
4522 return Py_BuildValue((char *)"");
4524 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
;
4526 wxGridCellTextEditor
*result
;
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1);
4546 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
*resultobj
;
4548 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
4550 PyObject
* obj0
= 0 ;
4552 (char *) "self", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_EXCEPTION
| 0);
4557 if (SWIG_arg_fail(1)) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 result
= (arg1
)->GetValue();
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4578 static PyObject
* GridCellTextEditor_swigregister(PyObject
*, PyObject
*args
) {
4580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4581 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
4583 return Py_BuildValue((char *)"");
4585 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 int arg1
= (int) -1 ;
4588 int arg2
= (int) -1 ;
4589 wxGridCellNumberEditor
*result
;
4590 PyObject
* obj0
= 0 ;
4591 PyObject
* obj1
= 0 ;
4593 (char *) "min",(char *) "max", NULL
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4599 arg1
= (int)(SWIG_As_int(obj0
));
4600 if (SWIG_arg_fail(1)) SWIG_fail
;
4605 arg2
= (int)(SWIG_As_int(obj1
));
4606 if (SWIG_arg_fail(2)) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1);
4623 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
;
4625 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4629 (char *) "self", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_POINTER_EXCEPTION
| 0);
4634 if (SWIG_arg_fail(1)) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 result
= (arg1
)->GetValue();
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4646 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4655 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*, PyObject
*args
) {
4657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4658 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
4660 return Py_BuildValue((char *)"");
4662 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 int arg1
= (int) -1 ;
4665 int arg2
= (int) -1 ;
4666 wxGridCellFloatEditor
*result
;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4670 (char *) "width",(char *) "precision", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4676 arg1
= (int)(SWIG_As_int(obj0
));
4677 if (SWIG_arg_fail(1)) SWIG_fail
;
4682 arg2
= (int)(SWIG_As_int(obj1
));
4683 if (SWIG_arg_fail(2)) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1);
4700 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
*resultobj
;
4702 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
4704 PyObject
* obj0
= 0 ;
4706 (char *) "self", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_EXCEPTION
| 0);
4711 if (SWIG_arg_fail(1)) SWIG_fail
;
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 result
= (arg1
)->GetValue();
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4732 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*, PyObject
*args
) {
4734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4735 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
4737 return Py_BuildValue((char *)"");
4739 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4741 wxGridCellBoolEditor
*result
;
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1);
4761 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
;
4763 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
4765 PyObject
* obj0
= 0 ;
4767 (char *) "self", NULL
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_EXCEPTION
| 0);
4772 if (SWIG_arg_fail(1)) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (arg1
)->GetValue();
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4793 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*, PyObject
*args
) {
4795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4796 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
4798 return Py_BuildValue((char *)"");
4800 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 int arg1
= (int) 0 ;
4803 wxString
*arg2
= (wxString
*) NULL
;
4804 bool arg3
= (bool) false ;
4805 wxGridCellChoiceEditor
*result
;
4806 PyObject
* obj0
= 0 ;
4807 PyObject
* obj1
= 0 ;
4809 (char *) "choices",(char *) "allowOthers", NULL
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4815 arg1
= PyList_Size(obj0
);
4816 arg2
= wxString_LIST_helper(obj0
);
4817 if (arg2
== NULL
) SWIG_fail
;
4822 arg3
= (bool)(SWIG_As_bool(obj1
));
4823 if (SWIG_arg_fail(3)) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
4835 if (arg2
) delete [] arg2
;
4840 if (arg2
) delete [] arg2
;
4846 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
;
4848 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
4850 PyObject
* obj0
= 0 ;
4852 (char *) "self", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_EXCEPTION
| 0);
4857 if (SWIG_arg_fail(1)) SWIG_fail
;
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 result
= (arg1
)->GetValue();
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4878 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*, PyObject
*args
) {
4880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4881 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
4883 return Py_BuildValue((char *)"");
4885 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4888 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4889 wxGridCellEnumEditor
*result
;
4890 bool temp1
= false ;
4891 PyObject
* obj0
= 0 ;
4893 (char *) "choices", NULL
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
4899 arg1
= wxString_in_helper(obj0
);
4900 if (arg1
== NULL
) SWIG_fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1);
4926 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
4930 PyObject
* obj0
= 0 ;
4932 (char *) "self", NULL
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_EXCEPTION
| 0);
4937 if (SWIG_arg_fail(1)) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 result
= (arg1
)->GetValue();
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4958 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*, PyObject
*args
) {
4960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4961 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
4963 return Py_BuildValue((char *)"");
4965 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxGridCellAutoWrapStringEditor
*result
;
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
4987 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
4991 PyObject
* obj0
= 0 ;
4993 (char *) "self", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_EXCEPTION
| 0);
4998 if (SWIG_arg_fail(1)) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 result
= (arg1
)->GetValue();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5019 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*, PyObject
*args
) {
5021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5022 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
5024 return Py_BuildValue((char *)"");
5026 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
;
5028 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5029 PyObject
*arg2
= (PyObject
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5033 (char *) "self",(char *) "_self", NULL
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5038 if (SWIG_arg_fail(1)) SWIG_fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 wxGridCellAttr__setOORInfo(arg1
,arg2
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 Py_INCREF(Py_None
); resultobj
= Py_None
;
5054 static PyObject
*_wrap_new_GridCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
;
5056 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
5057 wxGridCellAttr
*result
;
5058 PyObject
* obj0
= 0 ;
5060 (char *) "attrDefault", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
5065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5066 if (SWIG_arg_fail(1)) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5076 resultobj
= wxPyMake_wxGridCellAttr(result
, 1);
5084 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5087 wxGridCellAttr
*result
;
5088 PyObject
* obj0
= 0 ;
5090 (char *) "self", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
5094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5095 if (SWIG_arg_fail(1)) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
5112 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5114 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5115 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5119 (char *) "self",(char *) "mergefrom", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
5123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5124 if (SWIG_arg_fail(1)) SWIG_fail
;
5125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5126 if (SWIG_arg_fail(2)) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 (arg1
)->MergeWith(arg2
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 Py_INCREF(Py_None
); resultobj
= Py_None
;
5141 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5144 PyObject
* obj0
= 0 ;
5146 (char *) "self", NULL
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
5150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5151 if (SWIG_arg_fail(1)) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 Py_INCREF(Py_None
); resultobj
= Py_None
;
5166 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
*resultobj
;
5168 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5169 PyObject
* obj0
= 0 ;
5171 (char *) "self", NULL
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
5175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5176 if (SWIG_arg_fail(1)) SWIG_fail
;
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 Py_INCREF(Py_None
); resultobj
= Py_None
;
5191 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5194 wxColour
*arg2
= 0 ;
5196 PyObject
* obj0
= 0 ;
5197 PyObject
* obj1
= 0 ;
5199 (char *) "self",(char *) "colText", NULL
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5204 if (SWIG_arg_fail(1)) SWIG_fail
;
5207 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 Py_INCREF(Py_None
); resultobj
= Py_None
;
5223 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
;
5225 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5226 wxColour
*arg2
= 0 ;
5228 PyObject
* obj0
= 0 ;
5229 PyObject
* obj1
= 0 ;
5231 (char *) "self",(char *) "colBack", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5236 if (SWIG_arg_fail(1)) SWIG_fail
;
5239 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 Py_INCREF(Py_None
); resultobj
= Py_None
;
5255 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5259 PyObject
* obj0
= 0 ;
5260 PyObject
* obj1
= 0 ;
5262 (char *) "self",(char *) "font", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5267 if (SWIG_arg_fail(1)) SWIG_fail
;
5269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
5270 if (SWIG_arg_fail(2)) SWIG_fail
;
5272 SWIG_null_ref("wxFont");
5274 if (SWIG_arg_fail(2)) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 (arg1
)->SetFont((wxFont
const &)*arg2
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 Py_INCREF(Py_None
); resultobj
= Py_None
;
5290 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5295 PyObject
* obj0
= 0 ;
5296 PyObject
* obj1
= 0 ;
5297 PyObject
* obj2
= 0 ;
5299 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5304 if (SWIG_arg_fail(1)) SWIG_fail
;
5306 arg2
= (int)(SWIG_As_int(obj1
));
5307 if (SWIG_arg_fail(2)) SWIG_fail
;
5310 arg3
= (int)(SWIG_As_int(obj2
));
5311 if (SWIG_arg_fail(3)) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 (arg1
)->SetAlignment(arg2
,arg3
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 Py_INCREF(Py_None
); resultobj
= Py_None
;
5327 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5329 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5332 PyObject
* obj0
= 0 ;
5333 PyObject
* obj1
= 0 ;
5334 PyObject
* obj2
= 0 ;
5336 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5341 if (SWIG_arg_fail(1)) SWIG_fail
;
5343 arg2
= (int)(SWIG_As_int(obj1
));
5344 if (SWIG_arg_fail(2)) SWIG_fail
;
5347 arg3
= (int)(SWIG_As_int(obj2
));
5348 if (SWIG_arg_fail(3)) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 (arg1
)->SetSize(arg2
,arg3
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 Py_INCREF(Py_None
); resultobj
= Py_None
;
5364 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5367 bool arg2
= (bool) true ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5371 (char *) "self",(char *) "allow", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
5375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5376 if (SWIG_arg_fail(1)) SWIG_fail
;
5379 arg2
= (bool)(SWIG_As_bool(obj1
));
5380 if (SWIG_arg_fail(2)) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 (arg1
)->SetOverflow(arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5390 Py_INCREF(Py_None
); resultobj
= Py_None
;
5397 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5400 bool arg2
= (bool) true ;
5401 PyObject
* obj0
= 0 ;
5402 PyObject
* obj1
= 0 ;
5404 (char *) "self",(char *) "isReadOnly", NULL
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
5408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5409 if (SWIG_arg_fail(1)) SWIG_fail
;
5412 arg2
= (bool)(SWIG_As_bool(obj1
));
5413 if (SWIG_arg_fail(2)) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 (arg1
)->SetReadOnly(arg2
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 Py_INCREF(Py_None
); resultobj
= Py_None
;
5430 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5433 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5437 (char *) "self",(char *) "renderer", NULL
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
5441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5442 if (SWIG_arg_fail(1)) SWIG_fail
;
5443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
5444 if (SWIG_arg_fail(2)) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 (arg1
)->SetRenderer(arg2
);
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5452 Py_INCREF(Py_None
); resultobj
= Py_None
;
5459 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
;
5461 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5462 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
5463 PyObject
* obj0
= 0 ;
5464 PyObject
* obj1
= 0 ;
5466 (char *) "self",(char *) "editor", NULL
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
5470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5471 if (SWIG_arg_fail(1)) SWIG_fail
;
5472 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
5473 if (SWIG_arg_fail(2)) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 (arg1
)->SetEditor(arg2
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 Py_INCREF(Py_None
); resultobj
= Py_None
;
5488 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5491 wxGridCellAttr::wxAttrKind arg2
;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5495 (char *) "self",(char *) "kind", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
5499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5500 if (SWIG_arg_fail(1)) SWIG_fail
;
5502 arg2
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj1
));
5503 if (SWIG_arg_fail(2)) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "self", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5530 if (SWIG_arg_fail(1)) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5547 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5553 (char *) "self", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5558 if (SWIG_arg_fail(1)) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5575 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5579 PyObject
* obj0
= 0 ;
5581 (char *) "self", NULL
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
5585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5586 if (SWIG_arg_fail(1)) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5603 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5605 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5607 PyObject
* obj0
= 0 ;
5609 (char *) "self", NULL
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
5613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5614 if (SWIG_arg_fail(1)) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5631 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5635 PyObject
* obj0
= 0 ;
5637 (char *) "self", NULL
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
5641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5642 if (SWIG_arg_fail(1)) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5659 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5663 PyObject
* obj0
= 0 ;
5665 (char *) "self", NULL
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
5669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5670 if (SWIG_arg_fail(1)) SWIG_fail
;
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5687 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5691 PyObject
* obj0
= 0 ;
5693 (char *) "self", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
5697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5698 if (SWIG_arg_fail(1)) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5715 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5719 PyObject
* obj0
= 0 ;
5721 (char *) "self", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
5725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5726 if (SWIG_arg_fail(1)) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5743 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5745 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5747 PyObject
* obj0
= 0 ;
5749 (char *) "self", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
5753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5754 if (SWIG_arg_fail(1)) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5763 wxColour
* resultptr
;
5764 resultptr
= new wxColour((wxColour
&)(result
));
5765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5773 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5777 PyObject
* obj0
= 0 ;
5779 (char *) "self", NULL
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5784 if (SWIG_arg_fail(1)) SWIG_fail
;
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5793 wxColour
* resultptr
;
5794 resultptr
= new wxColour((wxColour
&)(result
));
5795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5803 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
;
5805 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5807 PyObject
* obj0
= 0 ;
5809 (char *) "self", NULL
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
5813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5814 if (SWIG_arg_fail(1)) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5824 resultptr
= new wxFont((wxFont
&)(result
));
5825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
5833 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5836 int *arg2
= (int *) 0 ;
5837 int *arg3
= (int *) 0 ;
5842 PyObject
* obj0
= 0 ;
5844 (char *) "self", NULL
5847 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5848 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
5850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5851 if (SWIG_arg_fail(1)) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 Py_INCREF(Py_None
); resultobj
= Py_None
;
5860 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5861 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5862 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5863 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5870 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
;
5872 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5873 int *arg2
= (int *) 0 ;
5874 int *arg3
= (int *) 0 ;
5879 PyObject
* obj0
= 0 ;
5881 (char *) "self", NULL
5884 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5885 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
5887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5888 if (SWIG_arg_fail(1)) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5896 Py_INCREF(Py_None
); resultobj
= Py_None
;
5897 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5898 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5899 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5900 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5907 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
;
5909 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5911 PyObject
* obj0
= 0 ;
5913 (char *) "self", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
5917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5918 if (SWIG_arg_fail(1)) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5935 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5938 wxGrid
*arg2
= (wxGrid
*) 0 ;
5941 wxGridCellRenderer
*result
;
5942 PyObject
* obj0
= 0 ;
5943 PyObject
* obj1
= 0 ;
5944 PyObject
* obj2
= 0 ;
5945 PyObject
* obj3
= 0 ;
5947 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5952 if (SWIG_arg_fail(1)) SWIG_fail
;
5953 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
5954 if (SWIG_arg_fail(2)) SWIG_fail
;
5956 arg3
= (int)(SWIG_As_int(obj2
));
5957 if (SWIG_arg_fail(3)) SWIG_fail
;
5960 arg4
= (int)(SWIG_As_int(obj3
));
5961 if (SWIG_arg_fail(4)) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5971 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
5979 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
*resultobj
;
5981 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5982 wxGrid
*arg2
= (wxGrid
*) 0 ;
5985 wxGridCellEditor
*result
;
5986 PyObject
* obj0
= 0 ;
5987 PyObject
* obj1
= 0 ;
5988 PyObject
* obj2
= 0 ;
5989 PyObject
* obj3
= 0 ;
5991 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5996 if (SWIG_arg_fail(1)) SWIG_fail
;
5997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
5998 if (SWIG_arg_fail(2)) SWIG_fail
;
6000 arg3
= (int)(SWIG_As_int(obj2
));
6001 if (SWIG_arg_fail(3)) SWIG_fail
;
6004 arg4
= (int)(SWIG_As_int(obj3
));
6005 if (SWIG_arg_fail(4)) SWIG_fail
;
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
6023 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6027 PyObject
* obj0
= 0 ;
6029 (char *) "self", NULL
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
6033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6034 if (SWIG_arg_fail(1)) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6051 static PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
;
6053 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6054 wxGridCellAttr::wxAttrKind result
;
6055 PyObject
* obj0
= 0 ;
6057 (char *) "self", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetKind",kwnames
,&obj0
)) goto fail
;
6061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6062 if (SWIG_arg_fail(1)) SWIG_fail
;
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 result
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind();
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= SWIG_From_int((result
));
6077 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
*resultobj
;
6079 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6080 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6081 PyObject
* obj0
= 0 ;
6082 PyObject
* obj1
= 0 ;
6084 (char *) "self",(char *) "defAttr", NULL
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
6088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6089 if (SWIG_arg_fail(1)) SWIG_fail
;
6090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6091 if (SWIG_arg_fail(2)) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 (arg1
)->SetDefAttr(arg2
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 Py_INCREF(Py_None
); resultobj
= Py_None
;
6106 static PyObject
* GridCellAttr_swigregister(PyObject
*, PyObject
*args
) {
6108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6109 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
6111 return Py_BuildValue((char *)"");
6113 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6115 wxGridCellAttrProvider
*result
;
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, 1);
6137 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6139 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6140 PyObject
*arg2
= (PyObject
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6142 PyObject
* obj1
= 0 ;
6144 (char *) "self",(char *) "_self", NULL
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
6148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6149 if (SWIG_arg_fail(1)) SWIG_fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 Py_INCREF(Py_None
); resultobj
= Py_None
;
6165 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
;
6167 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6170 wxGridCellAttr::wxAttrKind arg4
;
6171 wxGridCellAttr
*result
;
6172 PyObject
* obj0
= 0 ;
6173 PyObject
* obj1
= 0 ;
6174 PyObject
* obj2
= 0 ;
6175 PyObject
* obj3
= 0 ;
6177 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6182 if (SWIG_arg_fail(1)) SWIG_fail
;
6184 arg2
= (int)(SWIG_As_int(obj1
));
6185 if (SWIG_arg_fail(2)) SWIG_fail
;
6188 arg3
= (int)(SWIG_As_int(obj2
));
6189 if (SWIG_arg_fail(3)) SWIG_fail
;
6192 arg4
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj3
));
6193 if (SWIG_arg_fail(4)) SWIG_fail
;
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
6211 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6214 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6217 PyObject
* obj0
= 0 ;
6218 PyObject
* obj1
= 0 ;
6219 PyObject
* obj2
= 0 ;
6220 PyObject
* obj3
= 0 ;
6222 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6227 if (SWIG_arg_fail(1)) SWIG_fail
;
6228 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6229 if (SWIG_arg_fail(2)) SWIG_fail
;
6231 arg3
= (int)(SWIG_As_int(obj2
));
6232 if (SWIG_arg_fail(3)) SWIG_fail
;
6235 arg4
= (int)(SWIG_As_int(obj3
));
6236 if (SWIG_arg_fail(4)) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 Py_INCREF(Py_None
); resultobj
= Py_None
;
6252 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6255 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6259 PyObject
* obj2
= 0 ;
6261 (char *) "self",(char *) "attr",(char *) "row", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6266 if (SWIG_arg_fail(1)) SWIG_fail
;
6267 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6268 if (SWIG_arg_fail(2)) SWIG_fail
;
6270 arg3
= (int)(SWIG_As_int(obj2
));
6271 if (SWIG_arg_fail(3)) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 (arg1
)->SetRowAttr(arg2
,arg3
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 Py_INCREF(Py_None
); resultobj
= Py_None
;
6287 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6290 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6292 PyObject
* obj0
= 0 ;
6293 PyObject
* obj1
= 0 ;
6294 PyObject
* obj2
= 0 ;
6296 (char *) "self",(char *) "attr",(char *) "col", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6301 if (SWIG_arg_fail(1)) SWIG_fail
;
6302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6303 if (SWIG_arg_fail(2)) SWIG_fail
;
6305 arg3
= (int)(SWIG_As_int(obj2
));
6306 if (SWIG_arg_fail(3)) SWIG_fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 (arg1
)->SetColAttr(arg2
,arg3
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 Py_INCREF(Py_None
); resultobj
= Py_None
;
6322 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6327 PyObject
* obj0
= 0 ;
6328 PyObject
* obj1
= 0 ;
6329 PyObject
* obj2
= 0 ;
6331 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6336 if (SWIG_arg_fail(1)) SWIG_fail
;
6338 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
6339 if (SWIG_arg_fail(2)) SWIG_fail
;
6342 arg3
= (int)(SWIG_As_int(obj2
));
6343 if (SWIG_arg_fail(3)) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 (arg1
)->UpdateAttrRows(arg2
,arg3
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 Py_INCREF(Py_None
); resultobj
= Py_None
;
6359 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6364 PyObject
* obj0
= 0 ;
6365 PyObject
* obj1
= 0 ;
6366 PyObject
* obj2
= 0 ;
6368 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6373 if (SWIG_arg_fail(1)) SWIG_fail
;
6375 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
6376 if (SWIG_arg_fail(2)) SWIG_fail
;
6379 arg3
= (int)(SWIG_As_int(obj2
));
6380 if (SWIG_arg_fail(3)) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 (arg1
)->UpdateAttrCols(arg2
,arg3
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 Py_INCREF(Py_None
); resultobj
= Py_None
;
6396 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
6398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6399 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
6401 return Py_BuildValue((char *)"");
6403 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxPyGridCellAttrProvider
*result
;
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
6425 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6428 PyObject
*arg2
= (PyObject
*) 0 ;
6429 PyObject
*arg3
= (PyObject
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6431 PyObject
* obj1
= 0 ;
6432 PyObject
* obj2
= 0 ;
6434 (char *) "self",(char *) "self",(char *) "_class", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6439 if (SWIG_arg_fail(1)) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 Py_INCREF(Py_None
); resultobj
= Py_None
;
6456 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6461 wxGridCellAttr::wxAttrKind arg4
;
6462 wxGridCellAttr
*result
;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 PyObject
* obj2
= 0 ;
6466 PyObject
* obj3
= 0 ;
6468 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6473 if (SWIG_arg_fail(1)) SWIG_fail
;
6475 arg2
= (int)(SWIG_As_int(obj1
));
6476 if (SWIG_arg_fail(2)) SWIG_fail
;
6479 arg3
= (int)(SWIG_As_int(obj2
));
6480 if (SWIG_arg_fail(3)) SWIG_fail
;
6483 arg4
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj3
));
6484 if (SWIG_arg_fail(4)) SWIG_fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
6502 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6505 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6508 PyObject
* obj0
= 0 ;
6509 PyObject
* obj1
= 0 ;
6510 PyObject
* obj2
= 0 ;
6511 PyObject
* obj3
= 0 ;
6513 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6518 if (SWIG_arg_fail(1)) SWIG_fail
;
6519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6520 if (SWIG_arg_fail(2)) SWIG_fail
;
6522 arg3
= (int)(SWIG_As_int(obj2
));
6523 if (SWIG_arg_fail(3)) SWIG_fail
;
6526 arg4
= (int)(SWIG_As_int(obj3
));
6527 if (SWIG_arg_fail(4)) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6536 Py_INCREF(Py_None
); resultobj
= Py_None
;
6543 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
;
6545 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6546 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6548 PyObject
* obj0
= 0 ;
6549 PyObject
* obj1
= 0 ;
6550 PyObject
* obj2
= 0 ;
6552 (char *) "self",(char *) "attr",(char *) "row", NULL
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6557 if (SWIG_arg_fail(1)) SWIG_fail
;
6558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6559 if (SWIG_arg_fail(2)) SWIG_fail
;
6561 arg3
= (int)(SWIG_As_int(obj2
));
6562 if (SWIG_arg_fail(3)) SWIG_fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 (arg1
)->base_SetRowAttr(arg2
,arg3
);
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 Py_INCREF(Py_None
); resultobj
= Py_None
;
6578 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6581 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6583 PyObject
* obj0
= 0 ;
6584 PyObject
* obj1
= 0 ;
6585 PyObject
* obj2
= 0 ;
6587 (char *) "self",(char *) "attr",(char *) "col", NULL
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6592 if (SWIG_arg_fail(1)) SWIG_fail
;
6593 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6594 if (SWIG_arg_fail(2)) SWIG_fail
;
6596 arg3
= (int)(SWIG_As_int(obj2
));
6597 if (SWIG_arg_fail(3)) SWIG_fail
;
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 (arg1
)->base_SetColAttr(arg2
,arg3
);
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6606 Py_INCREF(Py_None
); resultobj
= Py_None
;
6613 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
6615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6616 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
6618 return Py_BuildValue((char *)"");
6620 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6623 PyObject
*arg2
= (PyObject
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6625 PyObject
* obj1
= 0 ;
6627 (char *) "self",(char *) "_self", NULL
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
6631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6632 if (SWIG_arg_fail(1)) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 wxGridTableBase__setOORInfo(arg1
,arg2
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 Py_INCREF(Py_None
); resultobj
= Py_None
;
6648 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
;
6650 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6651 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6653 PyObject
* obj1
= 0 ;
6655 (char *) "self",(char *) "attrProvider", NULL
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6660 if (SWIG_arg_fail(1)) SWIG_fail
;
6661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6662 if (SWIG_arg_fail(2)) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 (arg1
)->SetAttrProvider(arg2
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 Py_INCREF(Py_None
); resultobj
= Py_None
;
6677 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6680 wxGridCellAttrProvider
*result
;
6681 PyObject
* obj0
= 0 ;
6683 (char *) "self", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
6687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6688 if (SWIG_arg_fail(1)) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, 0);
6705 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6708 wxGrid
*arg2
= (wxGrid
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6710 PyObject
* obj1
= 0 ;
6712 (char *) "self",(char *) "grid", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
6716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6717 if (SWIG_arg_fail(1)) SWIG_fail
;
6718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
6719 if (SWIG_arg_fail(2)) SWIG_fail
;
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 (arg1
)->SetView(arg2
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6727 Py_INCREF(Py_None
); resultobj
= Py_None
;
6734 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6738 PyObject
* obj0
= 0 ;
6740 (char *) "self", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
6744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6745 if (SWIG_arg_fail(1)) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= wxPyMake_wxObject(result
, 0);
6762 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6766 PyObject
* obj0
= 0 ;
6768 (char *) "self", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
6772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6773 if (SWIG_arg_fail(1)) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 result
= (int)(arg1
)->GetNumberRows();
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= SWIG_From_int((int)(result
));
6790 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6792 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6794 PyObject
* obj0
= 0 ;
6796 (char *) "self", NULL
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
6800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6801 if (SWIG_arg_fail(1)) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 result
= (int)(arg1
)->GetNumberCols();
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= SWIG_From_int((int)(result
));
6818 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6824 PyObject
* obj0
= 0 ;
6825 PyObject
* obj1
= 0 ;
6826 PyObject
* obj2
= 0 ;
6828 (char *) "self",(char *) "row",(char *) "col", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6833 if (SWIG_arg_fail(1)) SWIG_fail
;
6835 arg2
= (int)(SWIG_As_int(obj1
));
6836 if (SWIG_arg_fail(2)) SWIG_fail
;
6839 arg3
= (int)(SWIG_As_int(obj2
));
6840 if (SWIG_arg_fail(3)) SWIG_fail
;
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6858 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6866 PyObject
* obj2
= 0 ;
6868 (char *) "self",(char *) "row",(char *) "col", NULL
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6873 if (SWIG_arg_fail(1)) SWIG_fail
;
6875 arg2
= (int)(SWIG_As_int(obj1
));
6876 if (SWIG_arg_fail(2)) SWIG_fail
;
6879 arg3
= (int)(SWIG_As_int(obj2
));
6880 if (SWIG_arg_fail(3)) SWIG_fail
;
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 result
= (arg1
)->GetValue(arg2
,arg3
);
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6902 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6907 wxString
*arg4
= 0 ;
6908 bool temp4
= false ;
6909 PyObject
* obj0
= 0 ;
6910 PyObject
* obj1
= 0 ;
6911 PyObject
* obj2
= 0 ;
6912 PyObject
* obj3
= 0 ;
6914 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6919 if (SWIG_arg_fail(1)) SWIG_fail
;
6921 arg2
= (int)(SWIG_As_int(obj1
));
6922 if (SWIG_arg_fail(2)) SWIG_fail
;
6925 arg3
= (int)(SWIG_As_int(obj2
));
6926 if (SWIG_arg_fail(3)) SWIG_fail
;
6929 arg4
= wxString_in_helper(obj3
);
6930 if (arg4
== NULL
) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 Py_INCREF(Py_None
); resultobj
= Py_None
;
6955 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6963 PyObject
* obj2
= 0 ;
6965 (char *) "self",(char *) "row",(char *) "col", NULL
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6970 if (SWIG_arg_fail(1)) SWIG_fail
;
6972 arg2
= (int)(SWIG_As_int(obj1
));
6973 if (SWIG_arg_fail(2)) SWIG_fail
;
6976 arg3
= (int)(SWIG_As_int(obj2
));
6977 if (SWIG_arg_fail(3)) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (arg1
)->GetTypeName(arg2
,arg3
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6999 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
;
7001 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7004 wxString
*arg4
= 0 ;
7006 bool temp4
= false ;
7007 PyObject
* obj0
= 0 ;
7008 PyObject
* obj1
= 0 ;
7009 PyObject
* obj2
= 0 ;
7010 PyObject
* obj3
= 0 ;
7012 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7017 if (SWIG_arg_fail(1)) SWIG_fail
;
7019 arg2
= (int)(SWIG_As_int(obj1
));
7020 if (SWIG_arg_fail(2)) SWIG_fail
;
7023 arg3
= (int)(SWIG_As_int(obj2
));
7024 if (SWIG_arg_fail(3)) SWIG_fail
;
7027 arg4
= wxString_in_helper(obj3
);
7028 if (arg4
== NULL
) SWIG_fail
;
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7055 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
;
7057 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7060 wxString
*arg4
= 0 ;
7062 bool temp4
= false ;
7063 PyObject
* obj0
= 0 ;
7064 PyObject
* obj1
= 0 ;
7065 PyObject
* obj2
= 0 ;
7066 PyObject
* obj3
= 0 ;
7068 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7073 if (SWIG_arg_fail(1)) SWIG_fail
;
7075 arg2
= (int)(SWIG_As_int(obj1
));
7076 if (SWIG_arg_fail(2)) SWIG_fail
;
7079 arg3
= (int)(SWIG_As_int(obj2
));
7080 if (SWIG_arg_fail(3)) SWIG_fail
;
7083 arg4
= wxString_in_helper(obj3
);
7084 if (arg4
== NULL
) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7111 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7119 PyObject
* obj2
= 0 ;
7121 (char *) "self",(char *) "row",(char *) "col", NULL
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7126 if (SWIG_arg_fail(1)) SWIG_fail
;
7128 arg2
= (int)(SWIG_As_int(obj1
));
7129 if (SWIG_arg_fail(2)) SWIG_fail
;
7132 arg3
= (int)(SWIG_As_int(obj2
));
7133 if (SWIG_arg_fail(3)) SWIG_fail
;
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7143 resultobj
= SWIG_From_long((long)(result
));
7151 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7153 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7159 PyObject
* obj2
= 0 ;
7161 (char *) "self",(char *) "row",(char *) "col", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7166 if (SWIG_arg_fail(1)) SWIG_fail
;
7168 arg2
= (int)(SWIG_As_int(obj1
));
7169 if (SWIG_arg_fail(2)) SWIG_fail
;
7172 arg3
= (int)(SWIG_As_int(obj2
));
7173 if (SWIG_arg_fail(3)) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= SWIG_From_double((double)(result
));
7191 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7199 PyObject
* obj2
= 0 ;
7201 (char *) "self",(char *) "row",(char *) "col", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7206 if (SWIG_arg_fail(1)) SWIG_fail
;
7208 arg2
= (int)(SWIG_As_int(obj1
));
7209 if (SWIG_arg_fail(2)) SWIG_fail
;
7212 arg3
= (int)(SWIG_As_int(obj2
));
7213 if (SWIG_arg_fail(3)) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7231 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7233 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7238 PyObject
* obj1
= 0 ;
7239 PyObject
* obj2
= 0 ;
7240 PyObject
* obj3
= 0 ;
7242 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7247 if (SWIG_arg_fail(1)) SWIG_fail
;
7249 arg2
= (int)(SWIG_As_int(obj1
));
7250 if (SWIG_arg_fail(2)) SWIG_fail
;
7253 arg3
= (int)(SWIG_As_int(obj2
));
7254 if (SWIG_arg_fail(3)) SWIG_fail
;
7257 arg4
= (long)(SWIG_As_long(obj3
));
7258 if (SWIG_arg_fail(4)) SWIG_fail
;
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 Py_INCREF(Py_None
); resultobj
= Py_None
;
7274 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
;
7276 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7282 PyObject
* obj2
= 0 ;
7283 PyObject
* obj3
= 0 ;
7285 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7290 if (SWIG_arg_fail(1)) SWIG_fail
;
7292 arg2
= (int)(SWIG_As_int(obj1
));
7293 if (SWIG_arg_fail(2)) SWIG_fail
;
7296 arg3
= (int)(SWIG_As_int(obj2
));
7297 if (SWIG_arg_fail(3)) SWIG_fail
;
7300 arg4
= (double)(SWIG_As_double(obj3
));
7301 if (SWIG_arg_fail(4)) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 Py_INCREF(Py_None
); resultobj
= Py_None
;
7317 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7323 PyObject
* obj0
= 0 ;
7324 PyObject
* obj1
= 0 ;
7325 PyObject
* obj2
= 0 ;
7326 PyObject
* obj3
= 0 ;
7328 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7333 if (SWIG_arg_fail(1)) SWIG_fail
;
7335 arg2
= (int)(SWIG_As_int(obj1
));
7336 if (SWIG_arg_fail(2)) SWIG_fail
;
7339 arg3
= (int)(SWIG_As_int(obj2
));
7340 if (SWIG_arg_fail(3)) SWIG_fail
;
7343 arg4
= (bool)(SWIG_As_bool(obj3
));
7344 if (SWIG_arg_fail(4)) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 Py_INCREF(Py_None
); resultobj
= Py_None
;
7360 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7363 PyObject
* obj0
= 0 ;
7365 (char *) "self", NULL
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
7369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7370 if (SWIG_arg_fail(1)) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 Py_INCREF(Py_None
); resultobj
= Py_None
;
7385 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7388 size_t arg2
= (size_t) 0 ;
7389 size_t arg3
= (size_t) 1 ;
7391 PyObject
* obj0
= 0 ;
7392 PyObject
* obj1
= 0 ;
7393 PyObject
* obj2
= 0 ;
7395 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7400 if (SWIG_arg_fail(1)) SWIG_fail
;
7403 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7404 if (SWIG_arg_fail(2)) SWIG_fail
;
7409 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
7410 if (SWIG_arg_fail(3)) SWIG_fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7429 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7432 size_t arg2
= (size_t) 1 ;
7434 PyObject
* obj0
= 0 ;
7435 PyObject
* obj1
= 0 ;
7437 (char *) "self",(char *) "numRows", NULL
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
7441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7442 if (SWIG_arg_fail(1)) SWIG_fail
;
7445 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7446 if (SWIG_arg_fail(2)) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 result
= (bool)(arg1
)->AppendRows(arg2
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7465 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
;
7467 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7468 size_t arg2
= (size_t) 0 ;
7469 size_t arg3
= (size_t) 1 ;
7471 PyObject
* obj0
= 0 ;
7472 PyObject
* obj1
= 0 ;
7473 PyObject
* obj2
= 0 ;
7475 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7480 if (SWIG_arg_fail(1)) SWIG_fail
;
7483 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7484 if (SWIG_arg_fail(2)) SWIG_fail
;
7489 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
7490 if (SWIG_arg_fail(3)) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7509 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
;
7511 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7512 size_t arg2
= (size_t) 0 ;
7513 size_t arg3
= (size_t) 1 ;
7515 PyObject
* obj0
= 0 ;
7516 PyObject
* obj1
= 0 ;
7517 PyObject
* obj2
= 0 ;
7519 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7524 if (SWIG_arg_fail(1)) SWIG_fail
;
7527 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7528 if (SWIG_arg_fail(2)) SWIG_fail
;
7533 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
7534 if (SWIG_arg_fail(3)) SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7553 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7555 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7556 size_t arg2
= (size_t) 1 ;
7558 PyObject
* obj0
= 0 ;
7559 PyObject
* obj1
= 0 ;
7561 (char *) "self",(char *) "numCols", NULL
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
7565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7566 if (SWIG_arg_fail(1)) SWIG_fail
;
7569 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7570 if (SWIG_arg_fail(2)) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (bool)(arg1
)->AppendCols(arg2
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7589 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7592 size_t arg2
= (size_t) 0 ;
7593 size_t arg3
= (size_t) 1 ;
7595 PyObject
* obj0
= 0 ;
7596 PyObject
* obj1
= 0 ;
7597 PyObject
* obj2
= 0 ;
7599 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7604 if (SWIG_arg_fail(1)) SWIG_fail
;
7607 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7608 if (SWIG_arg_fail(2)) SWIG_fail
;
7613 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
7614 if (SWIG_arg_fail(3)) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7633 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7635 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7641 (char *) "self",(char *) "row", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7646 if (SWIG_arg_fail(1)) SWIG_fail
;
7648 arg2
= (int)(SWIG_As_int(obj1
));
7649 if (SWIG_arg_fail(2)) SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= (arg1
)->GetRowLabelValue(arg2
);
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7671 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
;
7673 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7676 PyObject
* obj0
= 0 ;
7677 PyObject
* obj1
= 0 ;
7679 (char *) "self",(char *) "col", NULL
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7684 if (SWIG_arg_fail(1)) SWIG_fail
;
7686 arg2
= (int)(SWIG_As_int(obj1
));
7687 if (SWIG_arg_fail(2)) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= (arg1
)->GetColLabelValue(arg2
);
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7709 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7713 wxString
*arg3
= 0 ;
7714 bool temp3
= false ;
7715 PyObject
* obj0
= 0 ;
7716 PyObject
* obj1
= 0 ;
7717 PyObject
* obj2
= 0 ;
7719 (char *) "self",(char *) "row",(char *) "value", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7724 if (SWIG_arg_fail(1)) SWIG_fail
;
7726 arg2
= (int)(SWIG_As_int(obj1
));
7727 if (SWIG_arg_fail(2)) SWIG_fail
;
7730 arg3
= wxString_in_helper(obj2
);
7731 if (arg3
== NULL
) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 Py_INCREF(Py_None
); resultobj
= Py_None
;
7756 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7760 wxString
*arg3
= 0 ;
7761 bool temp3
= false ;
7762 PyObject
* obj0
= 0 ;
7763 PyObject
* obj1
= 0 ;
7764 PyObject
* obj2
= 0 ;
7766 (char *) "self",(char *) "col",(char *) "value", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7771 if (SWIG_arg_fail(1)) SWIG_fail
;
7773 arg2
= (int)(SWIG_As_int(obj1
));
7774 if (SWIG_arg_fail(2)) SWIG_fail
;
7777 arg3
= wxString_in_helper(obj2
);
7778 if (arg3
== NULL
) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 Py_INCREF(Py_None
); resultobj
= Py_None
;
7803 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7807 PyObject
* obj0
= 0 ;
7809 (char *) "self", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7814 if (SWIG_arg_fail(1)) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 result
= (bool)(arg1
)->CanHaveAttributes();
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7831 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7836 wxGridCellAttr::wxAttrKind arg4
;
7837 wxGridCellAttr
*result
;
7838 PyObject
* obj0
= 0 ;
7839 PyObject
* obj1
= 0 ;
7840 PyObject
* obj2
= 0 ;
7841 PyObject
* obj3
= 0 ;
7843 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail
;
7850 arg2
= (int)(SWIG_As_int(obj1
));
7851 if (SWIG_arg_fail(2)) SWIG_fail
;
7854 arg3
= (int)(SWIG_As_int(obj2
));
7855 if (SWIG_arg_fail(3)) SWIG_fail
;
7858 arg4
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj3
));
7859 if (SWIG_arg_fail(4)) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
7877 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7880 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7883 PyObject
* obj0
= 0 ;
7884 PyObject
* obj1
= 0 ;
7885 PyObject
* obj2
= 0 ;
7886 PyObject
* obj3
= 0 ;
7888 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7893 if (SWIG_arg_fail(1)) SWIG_fail
;
7894 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
7895 if (SWIG_arg_fail(2)) SWIG_fail
;
7897 arg3
= (int)(SWIG_As_int(obj2
));
7898 if (SWIG_arg_fail(3)) SWIG_fail
;
7901 arg4
= (int)(SWIG_As_int(obj3
));
7902 if (SWIG_arg_fail(4)) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 Py_INCREF(Py_None
); resultobj
= Py_None
;
7918 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7921 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7923 PyObject
* obj0
= 0 ;
7924 PyObject
* obj1
= 0 ;
7925 PyObject
* obj2
= 0 ;
7927 (char *) "self",(char *) "attr",(char *) "row", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7932 if (SWIG_arg_fail(1)) SWIG_fail
;
7933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
7934 if (SWIG_arg_fail(2)) SWIG_fail
;
7936 arg3
= (int)(SWIG_As_int(obj2
));
7937 if (SWIG_arg_fail(3)) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 (arg1
)->SetRowAttr(arg2
,arg3
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 Py_INCREF(Py_None
); resultobj
= Py_None
;
7953 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7955 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7956 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7959 PyObject
* obj1
= 0 ;
7960 PyObject
* obj2
= 0 ;
7962 (char *) "self",(char *) "attr",(char *) "col", NULL
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7967 if (SWIG_arg_fail(1)) SWIG_fail
;
7968 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
7969 if (SWIG_arg_fail(2)) SWIG_fail
;
7971 arg3
= (int)(SWIG_As_int(obj2
));
7972 if (SWIG_arg_fail(3)) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 (arg1
)->SetColAttr(arg2
,arg3
);
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7981 Py_INCREF(Py_None
); resultobj
= Py_None
;
7988 static PyObject
* GridTableBase_swigregister(PyObject
*, PyObject
*args
) {
7990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7991 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
7993 return Py_BuildValue((char *)"");
7995 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxPyGridTableBase
*result
;
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
8017 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8020 PyObject
*arg2
= (PyObject
*) 0 ;
8021 PyObject
*arg3
= (PyObject
*) 0 ;
8022 PyObject
* obj0
= 0 ;
8023 PyObject
* obj1
= 0 ;
8024 PyObject
* obj2
= 0 ;
8026 (char *) "self",(char *) "self",(char *) "_class", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8031 if (SWIG_arg_fail(1)) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 Py_INCREF(Py_None
); resultobj
= Py_None
;
8048 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
;
8050 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8053 (char *) "self", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
8057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8058 if (SWIG_arg_fail(1)) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 wxPyGridTableBase_Destroy(arg1
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 Py_INCREF(Py_None
); resultobj
= Py_None
;
8073 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
;
8075 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8079 PyObject
* obj0
= 0 ;
8080 PyObject
* obj1
= 0 ;
8081 PyObject
* obj2
= 0 ;
8083 (char *) "self",(char *) "row",(char *) "col", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8088 if (SWIG_arg_fail(1)) SWIG_fail
;
8090 arg2
= (int)(SWIG_As_int(obj1
));
8091 if (SWIG_arg_fail(2)) SWIG_fail
;
8094 arg3
= (int)(SWIG_As_int(obj2
));
8095 if (SWIG_arg_fail(3)) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8117 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8122 wxString
*arg4
= 0 ;
8124 bool temp4
= false ;
8125 PyObject
* obj0
= 0 ;
8126 PyObject
* obj1
= 0 ;
8127 PyObject
* obj2
= 0 ;
8128 PyObject
* obj3
= 0 ;
8130 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8135 if (SWIG_arg_fail(1)) SWIG_fail
;
8137 arg2
= (int)(SWIG_As_int(obj1
));
8138 if (SWIG_arg_fail(2)) SWIG_fail
;
8141 arg3
= (int)(SWIG_As_int(obj2
));
8142 if (SWIG_arg_fail(3)) SWIG_fail
;
8145 arg4
= wxString_in_helper(obj3
);
8146 if (arg4
== NULL
) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8173 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
;
8175 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8178 wxString
*arg4
= 0 ;
8180 bool temp4
= false ;
8181 PyObject
* obj0
= 0 ;
8182 PyObject
* obj1
= 0 ;
8183 PyObject
* obj2
= 0 ;
8184 PyObject
* obj3
= 0 ;
8186 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8191 if (SWIG_arg_fail(1)) SWIG_fail
;
8193 arg2
= (int)(SWIG_As_int(obj1
));
8194 if (SWIG_arg_fail(2)) SWIG_fail
;
8197 arg3
= (int)(SWIG_As_int(obj2
));
8198 if (SWIG_arg_fail(3)) SWIG_fail
;
8201 arg4
= wxString_in_helper(obj3
);
8202 if (arg4
== NULL
) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8229 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8232 PyObject
* obj0
= 0 ;
8234 (char *) "self", NULL
8237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
8238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8239 if (SWIG_arg_fail(1)) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 (arg1
)->base_Clear();
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 Py_INCREF(Py_None
); resultobj
= Py_None
;
8254 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8257 size_t arg2
= (size_t) 0 ;
8258 size_t arg3
= (size_t) 1 ;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8262 PyObject
* obj2
= 0 ;
8264 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8269 if (SWIG_arg_fail(1)) SWIG_fail
;
8272 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8273 if (SWIG_arg_fail(2)) SWIG_fail
;
8278 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
8279 if (SWIG_arg_fail(3)) SWIG_fail
;
8283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8284 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8298 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8301 size_t arg2
= (size_t) 1 ;
8303 PyObject
* obj0
= 0 ;
8304 PyObject
* obj1
= 0 ;
8306 (char *) "self",(char *) "numRows", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
8310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8311 if (SWIG_arg_fail(1)) SWIG_fail
;
8314 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8315 if (SWIG_arg_fail(2)) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 result
= (bool)(arg1
)->base_AppendRows(arg2
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8334 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
*resultobj
;
8336 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8337 size_t arg2
= (size_t) 0 ;
8338 size_t arg3
= (size_t) 1 ;
8340 PyObject
* obj0
= 0 ;
8341 PyObject
* obj1
= 0 ;
8342 PyObject
* obj2
= 0 ;
8344 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8349 if (SWIG_arg_fail(1)) SWIG_fail
;
8352 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8353 if (SWIG_arg_fail(2)) SWIG_fail
;
8358 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
8359 if (SWIG_arg_fail(3)) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8378 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8381 size_t arg2
= (size_t) 0 ;
8382 size_t arg3
= (size_t) 1 ;
8384 PyObject
* obj0
= 0 ;
8385 PyObject
* obj1
= 0 ;
8386 PyObject
* obj2
= 0 ;
8388 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8393 if (SWIG_arg_fail(1)) SWIG_fail
;
8396 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8397 if (SWIG_arg_fail(2)) SWIG_fail
;
8402 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
8403 if (SWIG_arg_fail(3)) SWIG_fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8422 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
;
8424 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8425 size_t arg2
= (size_t) 1 ;
8427 PyObject
* obj0
= 0 ;
8428 PyObject
* obj1
= 0 ;
8430 (char *) "self",(char *) "numCols", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
8434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8435 if (SWIG_arg_fail(1)) SWIG_fail
;
8438 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8439 if (SWIG_arg_fail(2)) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (bool)(arg1
)->base_AppendCols(arg2
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8458 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8461 size_t arg2
= (size_t) 0 ;
8462 size_t arg3
= (size_t) 1 ;
8464 PyObject
* obj0
= 0 ;
8465 PyObject
* obj1
= 0 ;
8466 PyObject
* obj2
= 0 ;
8468 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8473 if (SWIG_arg_fail(1)) SWIG_fail
;
8476 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8477 if (SWIG_arg_fail(2)) SWIG_fail
;
8482 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
8483 if (SWIG_arg_fail(3)) SWIG_fail
;
8487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8488 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
8490 wxPyEndAllowThreads(__tstate
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8502 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
;
8504 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8507 PyObject
* obj0
= 0 ;
8508 PyObject
* obj1
= 0 ;
8510 (char *) "self",(char *) "row", NULL
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8515 if (SWIG_arg_fail(1)) SWIG_fail
;
8517 arg2
= (int)(SWIG_As_int(obj1
));
8518 if (SWIG_arg_fail(2)) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 result
= (arg1
)->base_GetRowLabelValue(arg2
);
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8540 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8548 (char *) "self",(char *) "col", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8553 if (SWIG_arg_fail(1)) SWIG_fail
;
8555 arg2
= (int)(SWIG_As_int(obj1
));
8556 if (SWIG_arg_fail(2)) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (arg1
)->base_GetColLabelValue(arg2
);
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8578 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8582 wxString
*arg3
= 0 ;
8583 bool temp3
= false ;
8584 PyObject
* obj0
= 0 ;
8585 PyObject
* obj1
= 0 ;
8586 PyObject
* obj2
= 0 ;
8588 (char *) "self",(char *) "row",(char *) "value", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8593 if (SWIG_arg_fail(1)) SWIG_fail
;
8595 arg2
= (int)(SWIG_As_int(obj1
));
8596 if (SWIG_arg_fail(2)) SWIG_fail
;
8599 arg3
= wxString_in_helper(obj2
);
8600 if (arg3
== NULL
) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 Py_INCREF(Py_None
); resultobj
= Py_None
;
8625 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8629 wxString
*arg3
= 0 ;
8630 bool temp3
= false ;
8631 PyObject
* obj0
= 0 ;
8632 PyObject
* obj1
= 0 ;
8633 PyObject
* obj2
= 0 ;
8635 (char *) "self",(char *) "col",(char *) "value", NULL
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8640 if (SWIG_arg_fail(1)) SWIG_fail
;
8642 arg2
= (int)(SWIG_As_int(obj1
));
8643 if (SWIG_arg_fail(2)) SWIG_fail
;
8646 arg3
= wxString_in_helper(obj2
);
8647 if (arg3
== NULL
) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 Py_INCREF(Py_None
); resultobj
= Py_None
;
8672 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
;
8674 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8676 PyObject
* obj0
= 0 ;
8678 (char *) "self", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
8682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8683 if (SWIG_arg_fail(1)) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 result
= (bool)(arg1
)->base_CanHaveAttributes();
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8700 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8705 wxGridCellAttr::wxAttrKind arg4
;
8706 wxGridCellAttr
*result
;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8709 PyObject
* obj2
= 0 ;
8710 PyObject
* obj3
= 0 ;
8712 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8717 if (SWIG_arg_fail(1)) SWIG_fail
;
8719 arg2
= (int)(SWIG_As_int(obj1
));
8720 if (SWIG_arg_fail(2)) SWIG_fail
;
8723 arg3
= (int)(SWIG_As_int(obj2
));
8724 if (SWIG_arg_fail(3)) SWIG_fail
;
8727 arg4
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj3
));
8728 if (SWIG_arg_fail(4)) SWIG_fail
;
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
8746 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8749 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8752 PyObject
* obj0
= 0 ;
8753 PyObject
* obj1
= 0 ;
8754 PyObject
* obj2
= 0 ;
8755 PyObject
* obj3
= 0 ;
8757 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8762 if (SWIG_arg_fail(1)) SWIG_fail
;
8763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8764 if (SWIG_arg_fail(2)) SWIG_fail
;
8766 arg3
= (int)(SWIG_As_int(obj2
));
8767 if (SWIG_arg_fail(3)) SWIG_fail
;
8770 arg4
= (int)(SWIG_As_int(obj3
));
8771 if (SWIG_arg_fail(4)) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 Py_INCREF(Py_None
); resultobj
= Py_None
;
8787 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8790 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 PyObject
* obj2
= 0 ;
8796 (char *) "self",(char *) "attr",(char *) "row", NULL
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8801 if (SWIG_arg_fail(1)) SWIG_fail
;
8802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8803 if (SWIG_arg_fail(2)) SWIG_fail
;
8805 arg3
= (int)(SWIG_As_int(obj2
));
8806 if (SWIG_arg_fail(3)) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 (arg1
)->base_SetRowAttr(arg2
,arg3
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 Py_INCREF(Py_None
); resultobj
= Py_None
;
8822 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8825 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8827 PyObject
* obj0
= 0 ;
8828 PyObject
* obj1
= 0 ;
8829 PyObject
* obj2
= 0 ;
8831 (char *) "self",(char *) "attr",(char *) "col", NULL
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8836 if (SWIG_arg_fail(1)) SWIG_fail
;
8837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8838 if (SWIG_arg_fail(2)) SWIG_fail
;
8840 arg3
= (int)(SWIG_As_int(obj2
));
8841 if (SWIG_arg_fail(3)) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 (arg1
)->base_SetColAttr(arg2
,arg3
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 Py_INCREF(Py_None
); resultobj
= Py_None
;
8857 static PyObject
* PyGridTableBase_swigregister(PyObject
*, PyObject
*args
) {
8859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8860 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
8862 return Py_BuildValue((char *)"");
8864 static PyObject
*_wrap_new_GridStringTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 int arg1
= (int) 0 ;
8867 int arg2
= (int) 0 ;
8868 wxGridStringTable
*result
;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8872 (char *) "numRows",(char *) "numCols", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
8878 arg1
= (int)(SWIG_As_int(obj0
));
8879 if (SWIG_arg_fail(1)) SWIG_fail
;
8884 arg2
= (int)(SWIG_As_int(obj1
));
8885 if (SWIG_arg_fail(2)) SWIG_fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
8902 static PyObject
* GridStringTable_swigregister(PyObject
*, PyObject
*args
) {
8904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8905 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
8907 return Py_BuildValue((char *)"");
8909 static PyObject
*_wrap_new_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8913 int arg3
= (int) -1 ;
8914 int arg4
= (int) -1 ;
8915 wxGridTableMessage
*result
;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8918 PyObject
* obj2
= 0 ;
8919 PyObject
* obj3
= 0 ;
8921 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8926 if (SWIG_arg_fail(1)) SWIG_fail
;
8928 arg2
= (int)(SWIG_As_int(obj1
));
8929 if (SWIG_arg_fail(2)) SWIG_fail
;
8933 arg3
= (int)(SWIG_As_int(obj2
));
8934 if (SWIG_arg_fail(3)) SWIG_fail
;
8939 arg4
= (int)(SWIG_As_int(obj3
));
8940 if (SWIG_arg_fail(4)) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
8957 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
8960 PyObject
* obj0
= 0 ;
8962 (char *) "self", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
8966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
8967 if (SWIG_arg_fail(1)) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 Py_INCREF(Py_None
); resultobj
= Py_None
;
8982 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
8985 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8987 PyObject
* obj1
= 0 ;
8989 (char *) "self",(char *) "table", NULL
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
8993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail
;
8995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8996 if (SWIG_arg_fail(2)) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 (arg1
)->SetTableObject(arg2
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 Py_INCREF(Py_None
); resultobj
= Py_None
;
9011 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
;
9013 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9014 wxGridTableBase
*result
;
9015 PyObject
* obj0
= 0 ;
9017 (char *) "self", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
9021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9022 if (SWIG_arg_fail(1)) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9031 resultobj
= wxPyMake_wxGridTableBase(result
, 0);
9039 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9046 (char *) "self",(char *) "id", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
9050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9051 if (SWIG_arg_fail(1)) SWIG_fail
;
9053 arg2
= (int)(SWIG_As_int(obj1
));
9054 if (SWIG_arg_fail(2)) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 (arg1
)->SetId(arg2
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 Py_INCREF(Py_None
); resultobj
= Py_None
;
9070 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9076 (char *) "self", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
9080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9081 if (SWIG_arg_fail(1)) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= (int)(arg1
)->GetId();
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= SWIG_From_int((int)(result
));
9098 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9105 (char *) "self",(char *) "comInt1", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9110 if (SWIG_arg_fail(1)) SWIG_fail
;
9112 arg2
= (int)(SWIG_As_int(obj1
));
9113 if (SWIG_arg_fail(2)) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 (arg1
)->SetCommandInt(arg2
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 Py_INCREF(Py_None
); resultobj
= Py_None
;
9129 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
;
9131 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9133 PyObject
* obj0
= 0 ;
9135 (char *) "self", NULL
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
9139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9140 if (SWIG_arg_fail(1)) SWIG_fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 result
= (int)(arg1
)->GetCommandInt();
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9149 resultobj
= SWIG_From_int((int)(result
));
9157 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9161 PyObject
* obj0
= 0 ;
9162 PyObject
* obj1
= 0 ;
9164 (char *) "self",(char *) "comInt2", NULL
9167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
9168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9169 if (SWIG_arg_fail(1)) SWIG_fail
;
9171 arg2
= (int)(SWIG_As_int(obj1
));
9172 if (SWIG_arg_fail(2)) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 (arg1
)->SetCommandInt2(arg2
);
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 Py_INCREF(Py_None
); resultobj
= Py_None
;
9188 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9192 PyObject
* obj0
= 0 ;
9194 (char *) "self", NULL
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
9198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9199 if (SWIG_arg_fail(1)) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 result
= (int)(arg1
)->GetCommandInt2();
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_From_int((int)(result
));
9216 static PyObject
* GridTableMessage_swigregister(PyObject
*, PyObject
*args
) {
9218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9219 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
9221 return Py_BuildValue((char *)"");
9223 static PyObject
*_wrap_new_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
*resultobj
;
9225 int arg1
= (int) -1 ;
9226 int arg2
= (int) -1 ;
9227 wxGridCellCoords
*result
;
9228 PyObject
* obj0
= 0 ;
9229 PyObject
* obj1
= 0 ;
9231 (char *) "r",(char *) "c", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
9237 arg1
= (int)(SWIG_As_int(obj0
));
9238 if (SWIG_arg_fail(1)) SWIG_fail
;
9243 arg2
= (int)(SWIG_As_int(obj1
));
9244 if (SWIG_arg_fail(2)) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
9261 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
;
9263 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9264 PyObject
* obj0
= 0 ;
9266 (char *) "self", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
9270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9271 if (SWIG_arg_fail(1)) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 Py_INCREF(Py_None
); resultobj
= Py_None
;
9286 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "self", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
9296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9297 if (SWIG_arg_fail(1)) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= SWIG_From_int((int)(result
));
9314 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9318 PyObject
* obj0
= 0 ;
9319 PyObject
* obj1
= 0 ;
9321 (char *) "self",(char *) "n", NULL
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9326 if (SWIG_arg_fail(1)) SWIG_fail
;
9328 arg2
= (int)(SWIG_As_int(obj1
));
9329 if (SWIG_arg_fail(2)) SWIG_fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 (arg1
)->SetRow(arg2
);
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9338 Py_INCREF(Py_None
); resultobj
= Py_None
;
9345 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9347 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9349 PyObject
* obj0
= 0 ;
9351 (char *) "self", NULL
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
9355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9356 if (SWIG_arg_fail(1)) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_From_int((int)(result
));
9373 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9377 PyObject
* obj0
= 0 ;
9378 PyObject
* obj1
= 0 ;
9380 (char *) "self",(char *) "n", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9385 if (SWIG_arg_fail(1)) SWIG_fail
;
9387 arg2
= (int)(SWIG_As_int(obj1
));
9388 if (SWIG_arg_fail(2)) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 (arg1
)->SetCol(arg2
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 Py_INCREF(Py_None
); resultobj
= Py_None
;
9404 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9409 PyObject
* obj0
= 0 ;
9410 PyObject
* obj1
= 0 ;
9411 PyObject
* obj2
= 0 ;
9413 (char *) "self",(char *) "row",(char *) "col", NULL
9416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9418 if (SWIG_arg_fail(1)) SWIG_fail
;
9420 arg2
= (int)(SWIG_As_int(obj1
));
9421 if (SWIG_arg_fail(2)) SWIG_fail
;
9424 arg3
= (int)(SWIG_As_int(obj2
));
9425 if (SWIG_arg_fail(3)) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 (arg1
)->Set(arg2
,arg3
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 Py_INCREF(Py_None
); resultobj
= Py_None
;
9441 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9444 wxGridCellCoords
*arg2
= 0 ;
9446 wxGridCellCoords temp2
;
9447 PyObject
* obj0
= 0 ;
9448 PyObject
* obj1
= 0 ;
9450 (char *) "self",(char *) "other", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9455 if (SWIG_arg_fail(1)) SWIG_fail
;
9458 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9476 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
;
9478 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9479 wxGridCellCoords
*arg2
= 0 ;
9481 wxGridCellCoords temp2
;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9485 (char *) "self",(char *) "other", NULL
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9490 if (SWIG_arg_fail(1)) SWIG_fail
;
9493 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9511 static PyObject
*_wrap_GridCellCoords_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9515 PyObject
* obj0
= 0 ;
9517 (char *) "self", NULL
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_Get",kwnames
,&obj0
)) goto fail
;
9521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9522 if (SWIG_arg_fail(1)) SWIG_fail
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9537 static PyObject
* GridCellCoords_swigregister(PyObject
*, PyObject
*args
) {
9539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9540 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
9542 return Py_BuildValue((char *)"");
9544 static PyObject
*_wrap_new_Grid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxWindow
*arg1
= (wxWindow
*) 0 ;
9547 int arg2
= (int) -1 ;
9548 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9549 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9550 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9551 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9552 long arg5
= (long) wxWANTS_CHARS
;
9553 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9554 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9558 bool temp6
= false ;
9559 PyObject
* obj0
= 0 ;
9560 PyObject
* obj1
= 0 ;
9561 PyObject
* obj2
= 0 ;
9562 PyObject
* obj3
= 0 ;
9563 PyObject
* obj4
= 0 ;
9564 PyObject
* obj5
= 0 ;
9566 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9571 if (SWIG_arg_fail(1)) SWIG_fail
;
9574 arg2
= (int)(SWIG_As_int(obj1
));
9575 if (SWIG_arg_fail(2)) SWIG_fail
;
9581 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9587 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9592 arg5
= (long)(SWIG_As_long(obj4
));
9593 if (SWIG_arg_fail(5)) SWIG_fail
;
9598 arg6
= wxString_in_helper(obj5
);
9599 if (arg6
== NULL
) SWIG_fail
;
9604 if (!wxPyCheckForApp()) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
9626 static PyObject
*_wrap_new_PreGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGrid",kwnames
)) goto fail
;
9635 if (!wxPyCheckForApp()) SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 result
= (wxGrid
*)new wxGrid();
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
9649 static PyObject
*_wrap_Grid_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
;
9651 wxGrid
*arg1
= (wxGrid
*) 0 ;
9652 wxWindow
*arg2
= (wxWindow
*) 0 ;
9653 int arg3
= (int) -1 ;
9654 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9655 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9656 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9657 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9658 long arg6
= (long) wxWANTS_CHARS
;
9659 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9660 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9664 bool temp7
= false ;
9665 PyObject
* obj0
= 0 ;
9666 PyObject
* obj1
= 0 ;
9667 PyObject
* obj2
= 0 ;
9668 PyObject
* obj3
= 0 ;
9669 PyObject
* obj4
= 0 ;
9670 PyObject
* obj5
= 0 ;
9671 PyObject
* obj6
= 0 ;
9673 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9678 if (SWIG_arg_fail(1)) SWIG_fail
;
9679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9680 if (SWIG_arg_fail(2)) SWIG_fail
;
9683 arg3
= (int)(SWIG_As_int(obj2
));
9684 if (SWIG_arg_fail(3)) SWIG_fail
;
9690 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9696 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9701 arg6
= (long)(SWIG_As_long(obj5
));
9702 if (SWIG_arg_fail(6)) SWIG_fail
;
9707 arg7
= wxString_in_helper(obj6
);
9708 if (arg7
== NULL
) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9736 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxGrid
*arg1
= (wxGrid
*) 0 ;
9741 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
9743 PyObject
* obj0
= 0 ;
9744 PyObject
* obj1
= 0 ;
9745 PyObject
* obj2
= 0 ;
9746 PyObject
* obj3
= 0 ;
9748 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9753 if (SWIG_arg_fail(1)) SWIG_fail
;
9755 arg2
= (int)(SWIG_As_int(obj1
));
9756 if (SWIG_arg_fail(2)) SWIG_fail
;
9759 arg3
= (int)(SWIG_As_int(obj2
));
9760 if (SWIG_arg_fail(3)) SWIG_fail
;
9764 arg4
= (WXGRIDSELECTIONMODES
)(SWIG_As_int(obj3
));
9765 if (SWIG_arg_fail(4)) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9784 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9785 PyObject
*resultobj
;
9786 wxGrid
*arg1
= (wxGrid
*) 0 ;
9787 WXGRIDSELECTIONMODES arg2
;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9791 (char *) "self",(char *) "selmode", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
9795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9796 if (SWIG_arg_fail(1)) SWIG_fail
;
9798 arg2
= (WXGRIDSELECTIONMODES
)(SWIG_As_int(obj1
));
9799 if (SWIG_arg_fail(2)) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 (arg1
)->SetSelectionMode(arg2
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 Py_INCREF(Py_None
); resultobj
= Py_None
;
9815 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxGrid
*arg1
= (wxGrid
*) 0 ;
9818 WXGRIDSELECTIONMODES result
;
9819 PyObject
* obj0
= 0 ;
9821 (char *) "self", NULL
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
9825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9826 if (SWIG_arg_fail(1)) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_From_int((int)(result
));
9843 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxGrid
*arg1
= (wxGrid
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9849 (char *) "self", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
9853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9854 if (SWIG_arg_fail(1)) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= (int)(arg1
)->GetNumberRows();
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9863 resultobj
= SWIG_From_int((int)(result
));
9871 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxGrid
*arg1
= (wxGrid
*) 0 ;
9875 PyObject
* obj0
= 0 ;
9877 (char *) "self", NULL
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
9881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9882 if (SWIG_arg_fail(1)) SWIG_fail
;
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (int)(arg1
)->GetNumberCols();
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= SWIG_From_int((int)(result
));
9899 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxGrid
*arg1
= (wxGrid
*) 0 ;
9902 wxGridTableMessage
*arg2
= 0 ;
9904 PyObject
* obj0
= 0 ;
9905 PyObject
* obj1
= 0 ;
9907 (char *) "self","arg2", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9912 if (SWIG_arg_fail(1)) SWIG_fail
;
9914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9915 if (SWIG_arg_fail(2)) SWIG_fail
;
9917 SWIG_null_ref("wxGridTableMessage");
9919 if (SWIG_arg_fail(2)) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9937 static PyObject
*_wrap_Grid_GetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxGrid
*arg1
= (wxGrid
*) 0 ;
9940 wxGridTableBase
*result
;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
9947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9948 if (SWIG_arg_fail(1)) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= wxPyMake_wxGridTableBase(result
, 0);
9965 static PyObject
*_wrap_Grid_SetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
*resultobj
;
9967 wxGrid
*arg1
= (wxGrid
*) 0 ;
9968 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
9969 bool arg3
= (bool) false ;
9970 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
9972 PyObject
* obj0
= 0 ;
9973 PyObject
* obj1
= 0 ;
9974 PyObject
* obj2
= 0 ;
9975 PyObject
* obj3
= 0 ;
9977 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9982 if (SWIG_arg_fail(1)) SWIG_fail
;
9983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
9984 if (SWIG_arg_fail(2)) SWIG_fail
;
9987 arg3
= (bool)(SWIG_As_bool(obj2
));
9988 if (SWIG_arg_fail(3)) SWIG_fail
;
9993 arg4
= (WXGRIDSELECTIONMODES
)(SWIG_As_int(obj3
));
9994 if (SWIG_arg_fail(4)) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10013 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxGrid
*arg1
= (wxGrid
*) 0 ;
10016 PyObject
* obj0
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "self", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
10022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10023 if (SWIG_arg_fail(1)) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 (arg1
)->ClearGrid();
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 Py_INCREF(Py_None
); resultobj
= Py_None
;
10038 static PyObject
*_wrap_Grid_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxGrid
*arg1
= (wxGrid
*) 0 ;
10041 int arg2
= (int) 0 ;
10042 int arg3
= (int) 1 ;
10043 bool arg4
= (bool) true ;
10045 PyObject
* obj0
= 0 ;
10046 PyObject
* obj1
= 0 ;
10047 PyObject
* obj2
= 0 ;
10048 PyObject
* obj3
= 0 ;
10049 char *kwnames
[] = {
10050 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10055 if (SWIG_arg_fail(1)) SWIG_fail
;
10058 arg2
= (int)(SWIG_As_int(obj1
));
10059 if (SWIG_arg_fail(2)) SWIG_fail
;
10064 arg3
= (int)(SWIG_As_int(obj2
));
10065 if (SWIG_arg_fail(3)) SWIG_fail
;
10070 arg4
= (bool)(SWIG_As_bool(obj3
));
10071 if (SWIG_arg_fail(4)) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10090 static PyObject
*_wrap_Grid_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxGrid
*arg1
= (wxGrid
*) 0 ;
10093 int arg2
= (int) 1 ;
10094 bool arg3
= (bool) true ;
10096 PyObject
* obj0
= 0 ;
10097 PyObject
* obj1
= 0 ;
10098 PyObject
* obj2
= 0 ;
10099 char *kwnames
[] = {
10100 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10105 if (SWIG_arg_fail(1)) SWIG_fail
;
10108 arg2
= (int)(SWIG_As_int(obj1
));
10109 if (SWIG_arg_fail(2)) SWIG_fail
;
10114 arg3
= (bool)(SWIG_As_bool(obj2
));
10115 if (SWIG_arg_fail(3)) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10134 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxGrid
*arg1
= (wxGrid
*) 0 ;
10137 int arg2
= (int) 0 ;
10138 int arg3
= (int) 1 ;
10139 bool arg4
= (bool) true ;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 PyObject
* obj2
= 0 ;
10144 PyObject
* obj3
= 0 ;
10145 char *kwnames
[] = {
10146 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10151 if (SWIG_arg_fail(1)) SWIG_fail
;
10154 arg2
= (int)(SWIG_As_int(obj1
));
10155 if (SWIG_arg_fail(2)) SWIG_fail
;
10160 arg3
= (int)(SWIG_As_int(obj2
));
10161 if (SWIG_arg_fail(3)) SWIG_fail
;
10166 arg4
= (bool)(SWIG_As_bool(obj3
));
10167 if (SWIG_arg_fail(4)) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10186 static PyObject
*_wrap_Grid_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 wxGrid
*arg1
= (wxGrid
*) 0 ;
10189 int arg2
= (int) 0 ;
10190 int arg3
= (int) 1 ;
10191 bool arg4
= (bool) true ;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 PyObject
* obj2
= 0 ;
10196 PyObject
* obj3
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10203 if (SWIG_arg_fail(1)) SWIG_fail
;
10206 arg2
= (int)(SWIG_As_int(obj1
));
10207 if (SWIG_arg_fail(2)) SWIG_fail
;
10212 arg3
= (int)(SWIG_As_int(obj2
));
10213 if (SWIG_arg_fail(3)) SWIG_fail
;
10218 arg4
= (bool)(SWIG_As_bool(obj3
));
10219 if (SWIG_arg_fail(4)) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10238 static PyObject
*_wrap_Grid_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxGrid
*arg1
= (wxGrid
*) 0 ;
10241 int arg2
= (int) 1 ;
10242 bool arg3
= (bool) true ;
10244 PyObject
* obj0
= 0 ;
10245 PyObject
* obj1
= 0 ;
10246 PyObject
* obj2
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10253 if (SWIG_arg_fail(1)) SWIG_fail
;
10256 arg2
= (int)(SWIG_As_int(obj1
));
10257 if (SWIG_arg_fail(2)) SWIG_fail
;
10262 arg3
= (bool)(SWIG_As_bool(obj2
));
10263 if (SWIG_arg_fail(3)) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10282 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxGrid
*arg1
= (wxGrid
*) 0 ;
10285 int arg2
= (int) 0 ;
10286 int arg3
= (int) 1 ;
10287 bool arg4
= (bool) true ;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 PyObject
* obj2
= 0 ;
10292 PyObject
* obj3
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10299 if (SWIG_arg_fail(1)) SWIG_fail
;
10302 arg2
= (int)(SWIG_As_int(obj1
));
10303 if (SWIG_arg_fail(2)) SWIG_fail
;
10308 arg3
= (int)(SWIG_As_int(obj2
));
10309 if (SWIG_arg_fail(3)) SWIG_fail
;
10314 arg4
= (bool)(SWIG_As_bool(obj3
));
10315 if (SWIG_arg_fail(4)) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10334 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxGrid
*arg1
= (wxGrid
*) 0 ;
10338 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
10339 PyObject
* obj0
= 0 ;
10340 PyObject
* obj1
= 0 ;
10341 PyObject
* obj2
= 0 ;
10342 char *kwnames
[] = {
10343 (char *) "self",(char *) "dc",(char *) "attr", NULL
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10348 if (SWIG_arg_fail(1)) SWIG_fail
;
10350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10351 if (SWIG_arg_fail(2)) SWIG_fail
;
10352 if (arg2
== NULL
) {
10353 SWIG_null_ref("wxDC");
10355 if (SWIG_arg_fail(2)) SWIG_fail
;
10357 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
10358 if (SWIG_arg_fail(3)) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 Py_INCREF(Py_None
); resultobj
= Py_None
;
10373 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxGrid
*arg1
= (wxGrid
*) 0 ;
10377 wxString
*arg3
= 0 ;
10379 int arg5
= (int) wxLEFT
;
10380 int arg6
= (int) wxTOP
;
10381 int arg7
= (int) wxHORIZONTAL
;
10382 bool temp3
= false ;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 PyObject
* obj2
= 0 ;
10387 PyObject
* obj3
= 0 ;
10388 PyObject
* obj4
= 0 ;
10389 PyObject
* obj5
= 0 ;
10390 PyObject
* obj6
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10397 if (SWIG_arg_fail(1)) SWIG_fail
;
10399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10400 if (SWIG_arg_fail(2)) SWIG_fail
;
10401 if (arg2
== NULL
) {
10402 SWIG_null_ref("wxDC");
10404 if (SWIG_arg_fail(2)) SWIG_fail
;
10407 arg3
= wxString_in_helper(obj2
);
10408 if (arg3
== NULL
) SWIG_fail
;
10413 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
10417 arg5
= (int)(SWIG_As_int(obj4
));
10418 if (SWIG_arg_fail(5)) SWIG_fail
;
10423 arg6
= (int)(SWIG_As_int(obj5
));
10424 if (SWIG_arg_fail(6)) SWIG_fail
;
10429 arg7
= (int)(SWIG_As_int(obj6
));
10430 if (SWIG_arg_fail(7)) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 Py_INCREF(Py_None
); resultobj
= Py_None
;
10455 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
;
10457 wxGrid
*arg1
= (wxGrid
*) 0 ;
10459 wxArrayString
*arg3
= 0 ;
10460 long *arg4
= (long *) 0 ;
10461 long *arg5
= (long *) 0 ;
10462 bool temp3
= false ;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 PyObject
* obj2
= 0 ;
10470 char *kwnames
[] = {
10471 (char *) "self",(char *) "dc",(char *) "lines", NULL
10474 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10475 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10478 if (SWIG_arg_fail(1)) SWIG_fail
;
10480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10481 if (SWIG_arg_fail(2)) SWIG_fail
;
10482 if (arg2
== NULL
) {
10483 SWIG_null_ref("wxDC");
10485 if (SWIG_arg_fail(2)) SWIG_fail
;
10488 if (! PySequence_Check(obj2
)) {
10489 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10492 arg3
= new wxArrayString
;
10494 int i
, len
=PySequence_Length(obj2
);
10495 for (i
=0; i
<len
; i
++) {
10496 PyObject
* item
= PySequence_GetItem(obj2
, i
);
10497 wxString
* s
= wxString_in_helper(item
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 Py_INCREF(Py_None
); resultobj
= Py_None
;
10512 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10513 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10514 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
10515 SWIG_From_long((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, 0)));
10517 if (temp3
) delete arg3
;
10522 if (temp3
) delete arg3
;
10528 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10530 wxGrid
*arg1
= (wxGrid
*) 0 ;
10531 PyObject
* obj0
= 0 ;
10532 char *kwnames
[] = {
10533 (char *) "self", NULL
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
10537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10538 if (SWIG_arg_fail(1)) SWIG_fail
;
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 (arg1
)->BeginBatch();
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10546 Py_INCREF(Py_None
); resultobj
= Py_None
;
10553 static PyObject
*_wrap_Grid_EndBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
*resultobj
;
10555 wxGrid
*arg1
= (wxGrid
*) 0 ;
10556 PyObject
* obj0
= 0 ;
10557 char *kwnames
[] = {
10558 (char *) "self", NULL
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
10562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10563 if (SWIG_arg_fail(1)) SWIG_fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 (arg1
)->EndBatch();
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 Py_INCREF(Py_None
); resultobj
= Py_None
;
10578 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 wxGrid
*arg1
= (wxGrid
*) 0 ;
10582 PyObject
* obj0
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
10588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10589 if (SWIG_arg_fail(1)) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (int)(arg1
)->GetBatchCount();
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= SWIG_From_int((int)(result
));
10606 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxGrid
*arg1
= (wxGrid
*) 0 ;
10609 PyObject
* obj0
= 0 ;
10610 char *kwnames
[] = {
10611 (char *) "self", NULL
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
10615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10616 if (SWIG_arg_fail(1)) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 (arg1
)->ForceRefresh();
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 Py_INCREF(Py_None
); resultobj
= Py_None
;
10631 static PyObject
*_wrap_Grid_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
;
10633 wxGrid
*arg1
= (wxGrid
*) 0 ;
10635 PyObject
* obj0
= 0 ;
10636 char *kwnames
[] = {
10637 (char *) "self", NULL
10640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
10641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10642 if (SWIG_arg_fail(1)) SWIG_fail
;
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 result
= (bool)(arg1
)->IsEditable();
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10659 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxGrid
*arg1
= (wxGrid
*) 0 ;
10663 PyObject
* obj0
= 0 ;
10664 PyObject
* obj1
= 0 ;
10665 char *kwnames
[] = {
10666 (char *) "self",(char *) "edit", NULL
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
10670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10671 if (SWIG_arg_fail(1)) SWIG_fail
;
10673 arg2
= (bool)(SWIG_As_bool(obj1
));
10674 if (SWIG_arg_fail(2)) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 (arg1
)->EnableEditing(arg2
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 Py_INCREF(Py_None
); resultobj
= Py_None
;
10690 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10692 wxGrid
*arg1
= (wxGrid
*) 0 ;
10693 bool arg2
= (bool) true ;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 char *kwnames
[] = {
10697 (char *) "self",(char *) "enable", NULL
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
10701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10702 if (SWIG_arg_fail(1)) SWIG_fail
;
10705 arg2
= (bool)(SWIG_As_bool(obj1
));
10706 if (SWIG_arg_fail(2)) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 (arg1
)->EnableCellEditControl(arg2
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 Py_INCREF(Py_None
); resultobj
= Py_None
;
10723 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
;
10725 wxGrid
*arg1
= (wxGrid
*) 0 ;
10726 PyObject
* obj0
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
10732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10733 if (SWIG_arg_fail(1)) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 (arg1
)->DisableCellEditControl();
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 Py_INCREF(Py_None
); resultobj
= Py_None
;
10748 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxGrid
*arg1
= (wxGrid
*) 0 ;
10752 PyObject
* obj0
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
10758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10759 if (SWIG_arg_fail(1)) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10776 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxGrid
*arg1
= (wxGrid
*) 0 ;
10780 PyObject
* obj0
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
10786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10787 if (SWIG_arg_fail(1)) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10804 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxGrid
*arg1
= (wxGrid
*) 0 ;
10808 PyObject
* obj0
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "self", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
10814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10815 if (SWIG_arg_fail(1)) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10832 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10833 PyObject
*resultobj
;
10834 wxGrid
*arg1
= (wxGrid
*) 0 ;
10836 PyObject
* obj0
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "self", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
10842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10843 if (SWIG_arg_fail(1)) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10860 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
;
10862 wxGrid
*arg1
= (wxGrid
*) 0 ;
10863 PyObject
* obj0
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
10869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10870 if (SWIG_arg_fail(1)) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 (arg1
)->ShowCellEditControl();
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10878 Py_INCREF(Py_None
); resultobj
= Py_None
;
10885 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxGrid
*arg1
= (wxGrid
*) 0 ;
10888 PyObject
* obj0
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "self", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
10894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10895 if (SWIG_arg_fail(1)) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 (arg1
)->HideCellEditControl();
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 Py_INCREF(Py_None
); resultobj
= Py_None
;
10910 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
;
10912 wxGrid
*arg1
= (wxGrid
*) 0 ;
10913 PyObject
* obj0
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
10919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10920 if (SWIG_arg_fail(1)) SWIG_fail
;
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 (arg1
)->SaveEditControlValue();
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10928 Py_INCREF(Py_None
); resultobj
= Py_None
;
10935 static PyObject
*_wrap_Grid_XYToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxGrid
*arg1
= (wxGrid
*) 0 ;
10940 wxGridCellCoords result
;
10941 PyObject
* obj0
= 0 ;
10942 PyObject
* obj1
= 0 ;
10943 PyObject
* obj2
= 0 ;
10944 char *kwnames
[] = {
10945 (char *) "self",(char *) "x",(char *) "y", NULL
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10950 if (SWIG_arg_fail(1)) SWIG_fail
;
10952 arg2
= (int)(SWIG_As_int(obj1
));
10953 if (SWIG_arg_fail(2)) SWIG_fail
;
10956 arg3
= (int)(SWIG_As_int(obj2
));
10957 if (SWIG_arg_fail(3)) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10967 wxGridCellCoords
* resultptr
;
10968 resultptr
= new wxGridCellCoords((wxGridCellCoords
&)(result
));
10969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
10977 static PyObject
*_wrap_Grid_YToRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
;
10979 wxGrid
*arg1
= (wxGrid
*) 0 ;
10982 PyObject
* obj0
= 0 ;
10983 PyObject
* obj1
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "self",(char *) "y", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
10989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10990 if (SWIG_arg_fail(1)) SWIG_fail
;
10992 arg2
= (int)(SWIG_As_int(obj1
));
10993 if (SWIG_arg_fail(2)) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (int)(arg1
)->YToRow(arg2
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_From_int((int)(result
));
11011 static PyObject
*_wrap_Grid_XToCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
;
11013 wxGrid
*arg1
= (wxGrid
*) 0 ;
11016 PyObject
* obj0
= 0 ;
11017 PyObject
* obj1
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self",(char *) "x", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
11023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11024 if (SWIG_arg_fail(1)) SWIG_fail
;
11026 arg2
= (int)(SWIG_As_int(obj1
));
11027 if (SWIG_arg_fail(2)) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (int)(arg1
)->XToCol(arg2
);
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11037 resultobj
= SWIG_From_int((int)(result
));
11045 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxGrid
*arg1
= (wxGrid
*) 0 ;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 char *kwnames
[] = {
11053 (char *) "self",(char *) "y", NULL
11056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
11057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11058 if (SWIG_arg_fail(1)) SWIG_fail
;
11060 arg2
= (int)(SWIG_As_int(obj1
));
11061 if (SWIG_arg_fail(2)) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11071 resultobj
= SWIG_From_int((int)(result
));
11079 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
;
11081 wxGrid
*arg1
= (wxGrid
*) 0 ;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 char *kwnames
[] = {
11087 (char *) "self",(char *) "x", NULL
11090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
11095 if (SWIG_arg_fail(2)) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= SWIG_From_int((int)(result
));
11113 static PyObject
*_wrap_Grid_CellToRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxGrid
*arg1
= (wxGrid
*) 0 ;
11119 PyObject
* obj0
= 0 ;
11120 PyObject
* obj1
= 0 ;
11121 PyObject
* obj2
= 0 ;
11122 char *kwnames
[] = {
11123 (char *) "self",(char *) "row",(char *) "col", NULL
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11128 if (SWIG_arg_fail(1)) SWIG_fail
;
11130 arg2
= (int)(SWIG_As_int(obj1
));
11131 if (SWIG_arg_fail(2)) SWIG_fail
;
11134 arg3
= (int)(SWIG_As_int(obj2
));
11135 if (SWIG_arg_fail(3)) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 result
= (arg1
)->CellToRect(arg2
,arg3
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11145 wxRect
* resultptr
;
11146 resultptr
= new wxRect((wxRect
&)(result
));
11147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
11155 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
;
11157 wxGrid
*arg1
= (wxGrid
*) 0 ;
11159 PyObject
* obj0
= 0 ;
11160 char *kwnames
[] = {
11161 (char *) "self", NULL
11164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
11165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11166 if (SWIG_arg_fail(1)) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 result
= (int)(arg1
)->GetGridCursorRow();
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= SWIG_From_int((int)(result
));
11183 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
;
11185 wxGrid
*arg1
= (wxGrid
*) 0 ;
11187 PyObject
* obj0
= 0 ;
11188 char *kwnames
[] = {
11189 (char *) "self", NULL
11192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
11193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11194 if (SWIG_arg_fail(1)) SWIG_fail
;
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 result
= (int)(arg1
)->GetGridCursorCol();
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11203 resultobj
= SWIG_From_int((int)(result
));
11211 static PyObject
*_wrap_Grid_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
;
11213 wxGrid
*arg1
= (wxGrid
*) 0 ;
11216 bool arg4
= (bool) true ;
11218 PyObject
* obj0
= 0 ;
11219 PyObject
* obj1
= 0 ;
11220 PyObject
* obj2
= 0 ;
11221 PyObject
* obj3
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11228 if (SWIG_arg_fail(1)) SWIG_fail
;
11230 arg2
= (int)(SWIG_As_int(obj1
));
11231 if (SWIG_arg_fail(2)) SWIG_fail
;
11234 arg3
= (int)(SWIG_As_int(obj2
));
11235 if (SWIG_arg_fail(3)) SWIG_fail
;
11239 arg4
= (bool)(SWIG_As_bool(obj3
));
11240 if (SWIG_arg_fail(4)) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11259 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
;
11261 wxGrid
*arg1
= (wxGrid
*) 0 ;
11264 PyObject
* obj0
= 0 ;
11265 PyObject
* obj1
= 0 ;
11266 PyObject
* obj2
= 0 ;
11267 char *kwnames
[] = {
11268 (char *) "self",(char *) "row",(char *) "col", NULL
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11273 if (SWIG_arg_fail(1)) SWIG_fail
;
11275 arg2
= (int)(SWIG_As_int(obj1
));
11276 if (SWIG_arg_fail(2)) SWIG_fail
;
11279 arg3
= (int)(SWIG_As_int(obj2
));
11280 if (SWIG_arg_fail(3)) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 (arg1
)->MakeCellVisible(arg2
,arg3
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 Py_INCREF(Py_None
); resultobj
= Py_None
;
11296 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
;
11298 wxGrid
*arg1
= (wxGrid
*) 0 ;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 PyObject
* obj2
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self",(char *) "row",(char *) "col", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11310 if (SWIG_arg_fail(1)) SWIG_fail
;
11312 arg2
= (int)(SWIG_As_int(obj1
));
11313 if (SWIG_arg_fail(2)) SWIG_fail
;
11316 arg3
= (int)(SWIG_As_int(obj2
));
11317 if (SWIG_arg_fail(3)) SWIG_fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 (arg1
)->SetGridCursor(arg2
,arg3
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 Py_INCREF(Py_None
); resultobj
= Py_None
;
11333 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxGrid
*arg1
= (wxGrid
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 PyObject
* obj1
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self",(char *) "expandSelection", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11346 if (SWIG_arg_fail(1)) SWIG_fail
;
11348 arg2
= (bool)(SWIG_As_bool(obj1
));
11349 if (SWIG_arg_fail(2)) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11367 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxGrid
*arg1
= (wxGrid
*) 0 ;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11374 char *kwnames
[] = {
11375 (char *) "self",(char *) "expandSelection", NULL
11378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11380 if (SWIG_arg_fail(1)) SWIG_fail
;
11382 arg2
= (bool)(SWIG_As_bool(obj1
));
11383 if (SWIG_arg_fail(2)) SWIG_fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11401 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
*resultobj
;
11403 wxGrid
*arg1
= (wxGrid
*) 0 ;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self",(char *) "expandSelection", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
11413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11414 if (SWIG_arg_fail(1)) SWIG_fail
;
11416 arg2
= (bool)(SWIG_As_bool(obj1
));
11417 if (SWIG_arg_fail(2)) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11435 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
;
11437 wxGrid
*arg1
= (wxGrid
*) 0 ;
11440 PyObject
* obj0
= 0 ;
11441 PyObject
* obj1
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "self",(char *) "expandSelection", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
11447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11448 if (SWIG_arg_fail(1)) SWIG_fail
;
11450 arg2
= (bool)(SWIG_As_bool(obj1
));
11451 if (SWIG_arg_fail(2)) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11469 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxGrid
*arg1
= (wxGrid
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
11479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11480 if (SWIG_arg_fail(1)) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (bool)(arg1
)->MovePageDown();
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11497 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
;
11499 wxGrid
*arg1
= (wxGrid
*) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 char *kwnames
[] = {
11503 (char *) "self", NULL
11506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
11507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11508 if (SWIG_arg_fail(1)) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 result
= (bool)(arg1
)->MovePageUp();
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11525 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 wxGrid
*arg1
= (wxGrid
*) 0 ;
11530 PyObject
* obj0
= 0 ;
11531 PyObject
* obj1
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self",(char *) "expandSelection", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11538 if (SWIG_arg_fail(1)) SWIG_fail
;
11540 arg2
= (bool)(SWIG_As_bool(obj1
));
11541 if (SWIG_arg_fail(2)) SWIG_fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11559 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxGrid
*arg1
= (wxGrid
*) 0 ;
11564 PyObject
* obj0
= 0 ;
11565 PyObject
* obj1
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self",(char *) "expandSelection", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11572 if (SWIG_arg_fail(1)) SWIG_fail
;
11574 arg2
= (bool)(SWIG_As_bool(obj1
));
11575 if (SWIG_arg_fail(2)) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11593 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxGrid
*arg1
= (wxGrid
*) 0 ;
11598 PyObject
* obj0
= 0 ;
11599 PyObject
* obj1
= 0 ;
11600 char *kwnames
[] = {
11601 (char *) "self",(char *) "expandSelection", NULL
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11606 if (SWIG_arg_fail(1)) SWIG_fail
;
11608 arg2
= (bool)(SWIG_As_bool(obj1
));
11609 if (SWIG_arg_fail(2)) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11627 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
;
11629 wxGrid
*arg1
= (wxGrid
*) 0 ;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self",(char *) "expandSelection", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11640 if (SWIG_arg_fail(1)) SWIG_fail
;
11642 arg2
= (bool)(SWIG_As_bool(obj1
));
11643 if (SWIG_arg_fail(2)) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11661 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
;
11663 wxGrid
*arg1
= (wxGrid
*) 0 ;
11665 PyObject
* obj0
= 0 ;
11666 char *kwnames
[] = {
11667 (char *) "self", NULL
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
11671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11672 if (SWIG_arg_fail(1)) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (int)(arg1
)->GetDefaultRowLabelSize();
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= SWIG_From_int((int)(result
));
11689 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxGrid
*arg1
= (wxGrid
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
11699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11700 if (SWIG_arg_fail(1)) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 result
= (int)(arg1
)->GetRowLabelSize();
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= SWIG_From_int((int)(result
));
11717 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxGrid
*arg1
= (wxGrid
*) 0 ;
11721 PyObject
* obj0
= 0 ;
11722 char *kwnames
[] = {
11723 (char *) "self", NULL
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
11727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11728 if (SWIG_arg_fail(1)) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (int)(arg1
)->GetDefaultColLabelSize();
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= SWIG_From_int((int)(result
));
11745 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxGrid
*arg1
= (wxGrid
*) 0 ;
11749 PyObject
* obj0
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "self", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
11755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11756 if (SWIG_arg_fail(1)) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (int)(arg1
)->GetColLabelSize();
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 resultobj
= SWIG_From_int((int)(result
));
11773 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxGrid
*arg1
= (wxGrid
*) 0 ;
11777 PyObject
* obj0
= 0 ;
11778 char *kwnames
[] = {
11779 (char *) "self", NULL
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
11783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11784 if (SWIG_arg_fail(1)) SWIG_fail
;
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (arg1
)->GetLabelBackgroundColour();
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11793 wxColour
* resultptr
;
11794 resultptr
= new wxColour((wxColour
&)(result
));
11795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11803 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
;
11805 wxGrid
*arg1
= (wxGrid
*) 0 ;
11807 PyObject
* obj0
= 0 ;
11808 char *kwnames
[] = {
11809 (char *) "self", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
11813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11814 if (SWIG_arg_fail(1)) SWIG_fail
;
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 result
= (arg1
)->GetLabelTextColour();
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11823 wxColour
* resultptr
;
11824 resultptr
= new wxColour((wxColour
&)(result
));
11825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11833 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
;
11835 wxGrid
*arg1
= (wxGrid
*) 0 ;
11837 PyObject
* obj0
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "self", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
11843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11844 if (SWIG_arg_fail(1)) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= (arg1
)->GetLabelFont();
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11853 wxFont
* resultptr
;
11854 resultptr
= new wxFont((wxFont
&)(result
));
11855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11863 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxGrid
*arg1
= (wxGrid
*) 0 ;
11866 int *arg2
= (int *) 0 ;
11867 int *arg3
= (int *) 0 ;
11872 PyObject
* obj0
= 0 ;
11873 char *kwnames
[] = {
11874 (char *) "self", NULL
11877 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11878 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
11880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11881 if (SWIG_arg_fail(1)) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 Py_INCREF(Py_None
); resultobj
= Py_None
;
11890 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11891 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
11892 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11893 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
11900 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxGrid
*arg1
= (wxGrid
*) 0 ;
11903 int *arg2
= (int *) 0 ;
11904 int *arg3
= (int *) 0 ;
11909 PyObject
* obj0
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self", NULL
11914 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11915 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
11917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11918 if (SWIG_arg_fail(1)) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 Py_INCREF(Py_None
); resultobj
= Py_None
;
11927 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11928 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
11929 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11930 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
11937 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxGrid
*arg1
= (wxGrid
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
11947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11948 if (SWIG_arg_fail(1)) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (int)(arg1
)->GetColLabelTextOrientation();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= SWIG_From_int((int)(result
));
11965 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxGrid
*arg1
= (wxGrid
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self",(char *) "row", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
11981 if (SWIG_arg_fail(2)) SWIG_fail
;
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= (arg1
)->GetRowLabelValue(arg2
);
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12003 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
;
12005 wxGrid
*arg1
= (wxGrid
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self",(char *) "col", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12016 if (SWIG_arg_fail(1)) SWIG_fail
;
12018 arg2
= (int)(SWIG_As_int(obj1
));
12019 if (SWIG_arg_fail(2)) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (arg1
)->GetColLabelValue(arg2
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12041 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
;
12043 wxGrid
*arg1
= (wxGrid
*) 0 ;
12045 PyObject
* obj0
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
12051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12052 if (SWIG_arg_fail(1)) SWIG_fail
;
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 result
= (arg1
)->GetGridLineColour();
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12061 wxColour
* resultptr
;
12062 resultptr
= new wxColour((wxColour
&)(result
));
12063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12071 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12072 PyObject
*resultobj
;
12073 wxGrid
*arg1
= (wxGrid
*) 0 ;
12075 PyObject
* obj0
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
12081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail
;
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 result
= (arg1
)->GetCellHighlightColour();
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12091 wxColour
* resultptr
;
12092 resultptr
= new wxColour((wxColour
&)(result
));
12093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12101 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxGrid
*arg1
= (wxGrid
*) 0 ;
12105 PyObject
* obj0
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
12111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12112 if (SWIG_arg_fail(1)) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (int)(arg1
)->GetCellHighlightPenWidth();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= SWIG_From_int((int)(result
));
12129 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
;
12131 wxGrid
*arg1
= (wxGrid
*) 0 ;
12133 PyObject
* obj0
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",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 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_From_int((int)(result
));
12157 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
;
12159 wxGrid
*arg1
= (wxGrid
*) 0 ;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self",(char *) "width", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12169 if (SWIG_arg_fail(1)) SWIG_fail
;
12171 arg2
= (int)(SWIG_As_int(obj1
));
12172 if (SWIG_arg_fail(2)) SWIG_fail
;
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12176 (arg1
)->SetRowLabelSize(arg2
);
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12181 Py_INCREF(Py_None
); resultobj
= Py_None
;
12188 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12189 PyObject
*resultobj
;
12190 wxGrid
*arg1
= (wxGrid
*) 0 ;
12192 PyObject
* obj0
= 0 ;
12193 PyObject
* obj1
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self",(char *) "height", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",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
= (int)(SWIG_As_int(obj1
));
12203 if (SWIG_arg_fail(2)) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 (arg1
)->SetColLabelSize(arg2
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 Py_INCREF(Py_None
); resultobj
= Py_None
;
12219 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxGrid
*arg1
= (wxGrid
*) 0 ;
12222 wxColour
*arg2
= 0 ;
12224 PyObject
* obj0
= 0 ;
12225 PyObject
* obj1
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self","arg2", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12232 if (SWIG_arg_fail(1)) SWIG_fail
;
12235 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 Py_INCREF(Py_None
); resultobj
= Py_None
;
12251 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxGrid
*arg1
= (wxGrid
*) 0 ;
12254 wxColour
*arg2
= 0 ;
12256 PyObject
* obj0
= 0 ;
12257 PyObject
* obj1
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "self","arg2", NULL
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12264 if (SWIG_arg_fail(1)) SWIG_fail
;
12267 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12276 Py_INCREF(Py_None
); resultobj
= Py_None
;
12283 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxGrid
*arg1
= (wxGrid
*) 0 ;
12287 PyObject
* obj0
= 0 ;
12288 PyObject
* obj1
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self","arg2", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12295 if (SWIG_arg_fail(1)) SWIG_fail
;
12297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
12298 if (SWIG_arg_fail(2)) SWIG_fail
;
12299 if (arg2
== NULL
) {
12300 SWIG_null_ref("wxFont");
12302 if (SWIG_arg_fail(2)) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 Py_INCREF(Py_None
); resultobj
= Py_None
;
12318 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxGrid
*arg1
= (wxGrid
*) 0 ;
12323 PyObject
* obj0
= 0 ;
12324 PyObject
* obj1
= 0 ;
12325 PyObject
* obj2
= 0 ;
12326 char *kwnames
[] = {
12327 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12332 if (SWIG_arg_fail(1)) SWIG_fail
;
12334 arg2
= (int)(SWIG_As_int(obj1
));
12335 if (SWIG_arg_fail(2)) SWIG_fail
;
12338 arg3
= (int)(SWIG_As_int(obj2
));
12339 if (SWIG_arg_fail(3)) SWIG_fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 Py_INCREF(Py_None
); resultobj
= Py_None
;
12355 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
;
12357 wxGrid
*arg1
= (wxGrid
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 PyObject
* obj1
= 0 ;
12362 PyObject
* obj2
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12369 if (SWIG_arg_fail(1)) SWIG_fail
;
12371 arg2
= (int)(SWIG_As_int(obj1
));
12372 if (SWIG_arg_fail(2)) SWIG_fail
;
12375 arg3
= (int)(SWIG_As_int(obj2
));
12376 if (SWIG_arg_fail(3)) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 Py_INCREF(Py_None
); resultobj
= Py_None
;
12392 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxGrid
*arg1
= (wxGrid
*) 0 ;
12396 PyObject
* obj0
= 0 ;
12397 PyObject
* obj1
= 0 ;
12398 char *kwnames
[] = {
12399 (char *) "self",(char *) "textOrientation", NULL
12402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
12403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12404 if (SWIG_arg_fail(1)) SWIG_fail
;
12406 arg2
= (int)(SWIG_As_int(obj1
));
12407 if (SWIG_arg_fail(2)) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 (arg1
)->SetColLabelTextOrientation(arg2
);
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 Py_INCREF(Py_None
); resultobj
= Py_None
;
12423 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxGrid
*arg1
= (wxGrid
*) 0 ;
12427 wxString
*arg3
= 0 ;
12428 bool temp3
= false ;
12429 PyObject
* obj0
= 0 ;
12430 PyObject
* obj1
= 0 ;
12431 PyObject
* obj2
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self",(char *) "row","arg3", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12438 if (SWIG_arg_fail(1)) SWIG_fail
;
12440 arg2
= (int)(SWIG_As_int(obj1
));
12441 if (SWIG_arg_fail(2)) SWIG_fail
;
12444 arg3
= wxString_in_helper(obj2
);
12445 if (arg3
== NULL
) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 Py_INCREF(Py_None
); resultobj
= Py_None
;
12470 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxGrid
*arg1
= (wxGrid
*) 0 ;
12474 wxString
*arg3
= 0 ;
12475 bool temp3
= false ;
12476 PyObject
* obj0
= 0 ;
12477 PyObject
* obj1
= 0 ;
12478 PyObject
* obj2
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self",(char *) "col","arg3", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12485 if (SWIG_arg_fail(1)) SWIG_fail
;
12487 arg2
= (int)(SWIG_As_int(obj1
));
12488 if (SWIG_arg_fail(2)) SWIG_fail
;
12491 arg3
= wxString_in_helper(obj2
);
12492 if (arg3
== NULL
) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 Py_INCREF(Py_None
); resultobj
= Py_None
;
12517 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxGrid
*arg1
= (wxGrid
*) 0 ;
12520 wxColour
*arg2
= 0 ;
12522 PyObject
* obj0
= 0 ;
12523 PyObject
* obj1
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "self","arg2", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12530 if (SWIG_arg_fail(1)) SWIG_fail
;
12533 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 Py_INCREF(Py_None
); resultobj
= Py_None
;
12549 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
;
12551 wxGrid
*arg1
= (wxGrid
*) 0 ;
12552 wxColour
*arg2
= 0 ;
12554 PyObject
* obj0
= 0 ;
12555 PyObject
* obj1
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self","arg2", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12562 if (SWIG_arg_fail(1)) SWIG_fail
;
12565 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 Py_INCREF(Py_None
); resultobj
= Py_None
;
12581 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
;
12583 wxGrid
*arg1
= (wxGrid
*) 0 ;
12585 PyObject
* obj0
= 0 ;
12586 PyObject
* obj1
= 0 ;
12587 char *kwnames
[] = {
12588 (char *) "self",(char *) "width", NULL
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12593 if (SWIG_arg_fail(1)) SWIG_fail
;
12595 arg2
= (int)(SWIG_As_int(obj1
));
12596 if (SWIG_arg_fail(2)) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 (arg1
)->SetCellHighlightPenWidth(arg2
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 Py_INCREF(Py_None
); resultobj
= Py_None
;
12612 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxGrid
*arg1
= (wxGrid
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self",(char *) "width", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail
;
12626 arg2
= (int)(SWIG_As_int(obj1
));
12627 if (SWIG_arg_fail(2)) SWIG_fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 (arg1
)->SetCellHighlightROPenWidth(arg2
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 Py_INCREF(Py_None
); resultobj
= Py_None
;
12643 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
;
12645 wxGrid
*arg1
= (wxGrid
*) 0 ;
12646 bool arg2
= (bool) true ;
12647 PyObject
* obj0
= 0 ;
12648 PyObject
* obj1
= 0 ;
12649 char *kwnames
[] = {
12650 (char *) "self",(char *) "enable", NULL
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12655 if (SWIG_arg_fail(1)) SWIG_fail
;
12658 arg2
= (bool)(SWIG_As_bool(obj1
));
12659 if (SWIG_arg_fail(2)) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 (arg1
)->EnableDragRowSize(arg2
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 Py_INCREF(Py_None
); resultobj
= Py_None
;
12676 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxGrid
*arg1
= (wxGrid
*) 0 ;
12679 PyObject
* obj0
= 0 ;
12680 char *kwnames
[] = {
12681 (char *) "self", NULL
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
12685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12686 if (SWIG_arg_fail(1)) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 (arg1
)->DisableDragRowSize();
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 Py_INCREF(Py_None
); resultobj
= Py_None
;
12701 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
;
12703 wxGrid
*arg1
= (wxGrid
*) 0 ;
12705 PyObject
* obj0
= 0 ;
12706 char *kwnames
[] = {
12707 (char *) "self", NULL
12710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
12711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12712 if (SWIG_arg_fail(1)) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 result
= (bool)(arg1
)->CanDragRowSize();
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12729 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxGrid
*arg1
= (wxGrid
*) 0 ;
12732 bool arg2
= (bool) true ;
12733 PyObject
* obj0
= 0 ;
12734 PyObject
* obj1
= 0 ;
12735 char *kwnames
[] = {
12736 (char *) "self",(char *) "enable", NULL
12739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12741 if (SWIG_arg_fail(1)) SWIG_fail
;
12744 arg2
= (bool)(SWIG_As_bool(obj1
));
12745 if (SWIG_arg_fail(2)) SWIG_fail
;
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 (arg1
)->EnableDragColSize(arg2
);
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12755 Py_INCREF(Py_None
); resultobj
= Py_None
;
12762 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
;
12764 wxGrid
*arg1
= (wxGrid
*) 0 ;
12765 PyObject
* obj0
= 0 ;
12766 char *kwnames
[] = {
12767 (char *) "self", NULL
12770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
12771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12772 if (SWIG_arg_fail(1)) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 (arg1
)->DisableDragColSize();
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 Py_INCREF(Py_None
); resultobj
= Py_None
;
12787 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxGrid
*arg1
= (wxGrid
*) 0 ;
12791 PyObject
* obj0
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
12797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12798 if (SWIG_arg_fail(1)) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (bool)(arg1
)->CanDragColSize();
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12815 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxGrid
*arg1
= (wxGrid
*) 0 ;
12818 bool arg2
= (bool) true ;
12819 PyObject
* obj0
= 0 ;
12820 PyObject
* obj1
= 0 ;
12821 char *kwnames
[] = {
12822 (char *) "self",(char *) "enable", NULL
12825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12827 if (SWIG_arg_fail(1)) SWIG_fail
;
12830 arg2
= (bool)(SWIG_As_bool(obj1
));
12831 if (SWIG_arg_fail(2)) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 (arg1
)->EnableDragGridSize(arg2
);
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 Py_INCREF(Py_None
); resultobj
= Py_None
;
12848 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
;
12850 wxGrid
*arg1
= (wxGrid
*) 0 ;
12851 PyObject
* obj0
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "self", NULL
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
12857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12858 if (SWIG_arg_fail(1)) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 (arg1
)->DisableDragGridSize();
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 Py_INCREF(Py_None
); resultobj
= Py_None
;
12873 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
;
12875 wxGrid
*arg1
= (wxGrid
*) 0 ;
12877 PyObject
* obj0
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
12883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12884 if (SWIG_arg_fail(1)) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= (bool)(arg1
)->CanDragGridSize();
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12901 static PyObject
*_wrap_Grid_EnableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxGrid
*arg1
= (wxGrid
*) 0 ;
12904 bool arg2
= (bool) true ;
12905 PyObject
* obj0
= 0 ;
12906 PyObject
* obj1
= 0 ;
12907 char *kwnames
[] = {
12908 (char *) "self",(char *) "enable", NULL
12911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) goto fail
;
12912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12913 if (SWIG_arg_fail(1)) SWIG_fail
;
12916 arg2
= (bool)(SWIG_As_bool(obj1
));
12917 if (SWIG_arg_fail(2)) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 (arg1
)->EnableDragCell(arg2
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 Py_INCREF(Py_None
); resultobj
= Py_None
;
12934 static PyObject
*_wrap_Grid_DisableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
;
12936 wxGrid
*arg1
= (wxGrid
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragCell",kwnames
,&obj0
)) goto fail
;
12943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12944 if (SWIG_arg_fail(1)) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 (arg1
)->DisableDragCell();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 Py_INCREF(Py_None
); resultobj
= Py_None
;
12959 static PyObject
*_wrap_Grid_CanDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxGrid
*arg1
= (wxGrid
*) 0 ;
12963 PyObject
* obj0
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragCell",kwnames
,&obj0
)) goto fail
;
12969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12970 if (SWIG_arg_fail(1)) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (bool)(arg1
)->CanDragCell();
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12987 static PyObject
*_wrap_Grid_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxGrid
*arg1
= (wxGrid
*) 0 ;
12992 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
12993 PyObject
* obj0
= 0 ;
12994 PyObject
* obj1
= 0 ;
12995 PyObject
* obj2
= 0 ;
12996 PyObject
* obj3
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13003 if (SWIG_arg_fail(1)) SWIG_fail
;
13005 arg2
= (int)(SWIG_As_int(obj1
));
13006 if (SWIG_arg_fail(2)) SWIG_fail
;
13009 arg3
= (int)(SWIG_As_int(obj2
));
13010 if (SWIG_arg_fail(3)) SWIG_fail
;
13012 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13013 if (SWIG_arg_fail(4)) SWIG_fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 Py_INCREF(Py_None
); resultobj
= Py_None
;
13028 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
;
13030 wxGrid
*arg1
= (wxGrid
*) 0 ;
13032 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 PyObject
* obj2
= 0 ;
13036 char *kwnames
[] = {
13037 (char *) "self",(char *) "row",(char *) "attr", NULL
13040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13042 if (SWIG_arg_fail(1)) SWIG_fail
;
13044 arg2
= (int)(SWIG_As_int(obj1
));
13045 if (SWIG_arg_fail(2)) SWIG_fail
;
13047 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13048 if (SWIG_arg_fail(3)) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 (arg1
)->SetRowAttr(arg2
,arg3
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 Py_INCREF(Py_None
); resultobj
= Py_None
;
13063 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
;
13065 wxGrid
*arg1
= (wxGrid
*) 0 ;
13067 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
13068 PyObject
* obj0
= 0 ;
13069 PyObject
* obj1
= 0 ;
13070 PyObject
* obj2
= 0 ;
13071 char *kwnames
[] = {
13072 (char *) "self",(char *) "col",(char *) "attr", NULL
13075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13077 if (SWIG_arg_fail(1)) SWIG_fail
;
13079 arg2
= (int)(SWIG_As_int(obj1
));
13080 if (SWIG_arg_fail(2)) SWIG_fail
;
13082 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13083 if (SWIG_arg_fail(3)) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 (arg1
)->SetColAttr(arg2
,arg3
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 Py_INCREF(Py_None
); resultobj
= Py_None
;
13098 static PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxGrid
*arg1
= (wxGrid
*) 0 ;
13103 wxGridCellAttr
*result
;
13104 PyObject
* obj0
= 0 ;
13105 PyObject
* obj1
= 0 ;
13106 PyObject
* obj2
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self",(char *) "row",(char *) "col", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13113 if (SWIG_arg_fail(1)) SWIG_fail
;
13115 arg2
= (int)(SWIG_As_int(obj1
));
13116 if (SWIG_arg_fail(2)) SWIG_fail
;
13119 arg3
= (int)(SWIG_As_int(obj2
));
13120 if (SWIG_arg_fail(3)) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
13138 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
;
13140 wxGrid
*arg1
= (wxGrid
*) 0 ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self",(char *) "col", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
13149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13150 if (SWIG_arg_fail(1)) SWIG_fail
;
13152 arg2
= (int)(SWIG_As_int(obj1
));
13153 if (SWIG_arg_fail(2)) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 (arg1
)->SetColFormatBool(arg2
);
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13162 Py_INCREF(Py_None
); resultobj
= Py_None
;
13169 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
;
13171 wxGrid
*arg1
= (wxGrid
*) 0 ;
13173 PyObject
* obj0
= 0 ;
13174 PyObject
* obj1
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self",(char *) "col", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
13180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13181 if (SWIG_arg_fail(1)) SWIG_fail
;
13183 arg2
= (int)(SWIG_As_int(obj1
));
13184 if (SWIG_arg_fail(2)) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 (arg1
)->SetColFormatNumber(arg2
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 Py_INCREF(Py_None
); resultobj
= Py_None
;
13200 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxGrid
*arg1
= (wxGrid
*) 0 ;
13204 int arg3
= (int) -1 ;
13205 int arg4
= (int) -1 ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 PyObject
* obj2
= 0 ;
13209 PyObject
* obj3
= 0 ;
13210 char *kwnames
[] = {
13211 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
13214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13216 if (SWIG_arg_fail(1)) SWIG_fail
;
13218 arg2
= (int)(SWIG_As_int(obj1
));
13219 if (SWIG_arg_fail(2)) SWIG_fail
;
13223 arg3
= (int)(SWIG_As_int(obj2
));
13224 if (SWIG_arg_fail(3)) SWIG_fail
;
13229 arg4
= (int)(SWIG_As_int(obj3
));
13230 if (SWIG_arg_fail(4)) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 Py_INCREF(Py_None
); resultobj
= Py_None
;
13247 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxGrid
*arg1
= (wxGrid
*) 0 ;
13251 wxString
*arg3
= 0 ;
13252 bool temp3
= false ;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 PyObject
* obj2
= 0 ;
13256 char *kwnames
[] = {
13257 (char *) "self",(char *) "col",(char *) "typeName", NULL
13260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13262 if (SWIG_arg_fail(1)) SWIG_fail
;
13264 arg2
= (int)(SWIG_As_int(obj1
));
13265 if (SWIG_arg_fail(2)) SWIG_fail
;
13268 arg3
= wxString_in_helper(obj2
);
13269 if (arg3
== NULL
) SWIG_fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 Py_INCREF(Py_None
); resultobj
= Py_None
;
13294 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxGrid
*arg1
= (wxGrid
*) 0 ;
13297 bool arg2
= (bool) true ;
13298 PyObject
* obj0
= 0 ;
13299 PyObject
* obj1
= 0 ;
13300 char *kwnames
[] = {
13301 (char *) "self",(char *) "enable", NULL
13304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
13305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13306 if (SWIG_arg_fail(1)) SWIG_fail
;
13309 arg2
= (bool)(SWIG_As_bool(obj1
));
13310 if (SWIG_arg_fail(2)) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 (arg1
)->EnableGridLines(arg2
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 Py_INCREF(Py_None
); resultobj
= Py_None
;
13327 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxGrid
*arg1
= (wxGrid
*) 0 ;
13331 PyObject
* obj0
= 0 ;
13332 char *kwnames
[] = {
13333 (char *) "self", NULL
13336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
13337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13338 if (SWIG_arg_fail(1)) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 result
= (bool)(arg1
)->GridLinesEnabled();
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13355 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxGrid
*arg1
= (wxGrid
*) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
13365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (int)(arg1
)->GetDefaultRowSize();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= SWIG_From_int((int)(result
));
13383 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
;
13385 wxGrid
*arg1
= (wxGrid
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 PyObject
* obj1
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self",(char *) "row", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13396 if (SWIG_arg_fail(1)) SWIG_fail
;
13398 arg2
= (int)(SWIG_As_int(obj1
));
13399 if (SWIG_arg_fail(2)) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 result
= (int)(arg1
)->GetRowSize(arg2
);
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13409 resultobj
= SWIG_From_int((int)(result
));
13417 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
;
13419 wxGrid
*arg1
= (wxGrid
*) 0 ;
13421 PyObject
* obj0
= 0 ;
13422 char *kwnames
[] = {
13423 (char *) "self", NULL
13426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
13427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13428 if (SWIG_arg_fail(1)) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= (int)(arg1
)->GetDefaultColSize();
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_From_int((int)(result
));
13445 static PyObject
*_wrap_Grid_GetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxGrid
*arg1
= (wxGrid
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self",(char *) "col", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13458 if (SWIG_arg_fail(1)) SWIG_fail
;
13460 arg2
= (int)(SWIG_As_int(obj1
));
13461 if (SWIG_arg_fail(2)) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (int)(arg1
)->GetColSize(arg2
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13471 resultobj
= SWIG_From_int((int)(result
));
13479 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
*resultobj
;
13481 wxGrid
*arg1
= (wxGrid
*) 0 ;
13483 PyObject
* obj0
= 0 ;
13484 char *kwnames
[] = {
13485 (char *) "self", NULL
13488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
13489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13490 if (SWIG_arg_fail(1)) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= (arg1
)->GetDefaultCellBackgroundColour();
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13499 wxColour
* resultptr
;
13500 resultptr
= new wxColour((wxColour
&)(result
));
13501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13509 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
;
13511 wxGrid
*arg1
= (wxGrid
*) 0 ;
13515 PyObject
* obj0
= 0 ;
13516 PyObject
* obj1
= 0 ;
13517 PyObject
* obj2
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self",(char *) "row",(char *) "col", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13524 if (SWIG_arg_fail(1)) SWIG_fail
;
13526 arg2
= (int)(SWIG_As_int(obj1
));
13527 if (SWIG_arg_fail(2)) SWIG_fail
;
13530 arg3
= (int)(SWIG_As_int(obj2
));
13531 if (SWIG_arg_fail(3)) SWIG_fail
;
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13541 wxColour
* resultptr
;
13542 resultptr
= new wxColour((wxColour
&)(result
));
13543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13551 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxGrid
*arg1
= (wxGrid
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "self", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
13561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13562 if (SWIG_arg_fail(1)) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (arg1
)->GetDefaultCellTextColour();
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13571 wxColour
* resultptr
;
13572 resultptr
= new wxColour((wxColour
&)(result
));
13573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13581 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxGrid
*arg1
= (wxGrid
*) 0 ;
13587 PyObject
* obj0
= 0 ;
13588 PyObject
* obj1
= 0 ;
13589 PyObject
* obj2
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "self",(char *) "row",(char *) "col", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13596 if (SWIG_arg_fail(1)) SWIG_fail
;
13598 arg2
= (int)(SWIG_As_int(obj1
));
13599 if (SWIG_arg_fail(2)) SWIG_fail
;
13602 arg3
= (int)(SWIG_As_int(obj2
));
13603 if (SWIG_arg_fail(3)) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13613 wxColour
* resultptr
;
13614 resultptr
= new wxColour((wxColour
&)(result
));
13615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13623 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxGrid
*arg1
= (wxGrid
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
13633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13634 if (SWIG_arg_fail(1)) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (arg1
)->GetDefaultCellFont();
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 wxFont
* resultptr
;
13644 resultptr
= new wxFont((wxFont
&)(result
));
13645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13653 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxGrid
*arg1
= (wxGrid
*) 0 ;
13659 PyObject
* obj0
= 0 ;
13660 PyObject
* obj1
= 0 ;
13661 PyObject
* obj2
= 0 ;
13662 char *kwnames
[] = {
13663 (char *) "self",(char *) "row",(char *) "col", NULL
13666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13668 if (SWIG_arg_fail(1)) SWIG_fail
;
13670 arg2
= (int)(SWIG_As_int(obj1
));
13671 if (SWIG_arg_fail(2)) SWIG_fail
;
13674 arg3
= (int)(SWIG_As_int(obj2
));
13675 if (SWIG_arg_fail(3)) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 result
= (arg1
)->GetCellFont(arg2
,arg3
);
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13685 wxFont
* resultptr
;
13686 resultptr
= new wxFont((wxFont
&)(result
));
13687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13695 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxGrid
*arg1
= (wxGrid
*) 0 ;
13698 int *arg2
= (int *) 0 ;
13699 int *arg3
= (int *) 0 ;
13704 PyObject
* obj0
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self", NULL
13709 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13710 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
13712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13713 if (SWIG_arg_fail(1)) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13721 Py_INCREF(Py_None
); resultobj
= Py_None
;
13722 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13723 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13724 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13725 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13732 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxGrid
*arg1
= (wxGrid
*) 0 ;
13737 int *arg4
= (int *) 0 ;
13738 int *arg5
= (int *) 0 ;
13743 PyObject
* obj0
= 0 ;
13744 PyObject
* obj1
= 0 ;
13745 PyObject
* obj2
= 0 ;
13746 char *kwnames
[] = {
13747 (char *) "self",(char *) "row",(char *) "col", NULL
13750 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13751 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13754 if (SWIG_arg_fail(1)) SWIG_fail
;
13756 arg2
= (int)(SWIG_As_int(obj1
));
13757 if (SWIG_arg_fail(2)) SWIG_fail
;
13760 arg3
= (int)(SWIG_As_int(obj2
));
13761 if (SWIG_arg_fail(3)) SWIG_fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 Py_INCREF(Py_None
); resultobj
= Py_None
;
13771 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13772 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13773 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13774 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13781 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxGrid
*arg1
= (wxGrid
*) 0 ;
13785 PyObject
* obj0
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "self", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
13791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13792 if (SWIG_arg_fail(1)) SWIG_fail
;
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 result
= (bool)(arg1
)->GetDefaultCellOverflow();
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13809 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13810 PyObject
*resultobj
;
13811 wxGrid
*arg1
= (wxGrid
*) 0 ;
13815 PyObject
* obj0
= 0 ;
13816 PyObject
* obj1
= 0 ;
13817 PyObject
* obj2
= 0 ;
13818 char *kwnames
[] = {
13819 (char *) "self",(char *) "row",(char *) "col", NULL
13822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13824 if (SWIG_arg_fail(1)) SWIG_fail
;
13826 arg2
= (int)(SWIG_As_int(obj1
));
13827 if (SWIG_arg_fail(2)) SWIG_fail
;
13830 arg3
= (int)(SWIG_As_int(obj2
));
13831 if (SWIG_arg_fail(3)) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13849 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxGrid
*arg1
= (wxGrid
*) 0 ;
13854 int *arg4
= (int *) 0 ;
13855 int *arg5
= (int *) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 PyObject
* obj1
= 0 ;
13862 PyObject
* obj2
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self",(char *) "row",(char *) "col", NULL
13867 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13868 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13871 if (SWIG_arg_fail(1)) SWIG_fail
;
13873 arg2
= (int)(SWIG_As_int(obj1
));
13874 if (SWIG_arg_fail(2)) SWIG_fail
;
13877 arg3
= (int)(SWIG_As_int(obj2
));
13878 if (SWIG_arg_fail(3)) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13887 Py_INCREF(Py_None
); resultobj
= Py_None
;
13888 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13889 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13890 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13891 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13898 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxGrid
*arg1
= (wxGrid
*) 0 ;
13902 bool arg3
= (bool) false ;
13903 PyObject
* obj0
= 0 ;
13904 PyObject
* obj1
= 0 ;
13905 PyObject
* obj2
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13912 if (SWIG_arg_fail(1)) SWIG_fail
;
13914 arg2
= (int)(SWIG_As_int(obj1
));
13915 if (SWIG_arg_fail(2)) SWIG_fail
;
13919 arg3
= (bool)(SWIG_As_bool(obj2
));
13920 if (SWIG_arg_fail(3)) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 Py_INCREF(Py_None
); resultobj
= Py_None
;
13937 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxGrid
*arg1
= (wxGrid
*) 0 ;
13942 PyObject
* obj0
= 0 ;
13943 PyObject
* obj1
= 0 ;
13944 PyObject
* obj2
= 0 ;
13945 char *kwnames
[] = {
13946 (char *) "self",(char *) "row",(char *) "height", NULL
13949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13951 if (SWIG_arg_fail(1)) SWIG_fail
;
13953 arg2
= (int)(SWIG_As_int(obj1
));
13954 if (SWIG_arg_fail(2)) SWIG_fail
;
13957 arg3
= (int)(SWIG_As_int(obj2
));
13958 if (SWIG_arg_fail(3)) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 (arg1
)->SetRowSize(arg2
,arg3
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 Py_INCREF(Py_None
); resultobj
= Py_None
;
13974 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxGrid
*arg1
= (wxGrid
*) 0 ;
13978 bool arg3
= (bool) false ;
13979 PyObject
* obj0
= 0 ;
13980 PyObject
* obj1
= 0 ;
13981 PyObject
* obj2
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13988 if (SWIG_arg_fail(1)) SWIG_fail
;
13990 arg2
= (int)(SWIG_As_int(obj1
));
13991 if (SWIG_arg_fail(2)) SWIG_fail
;
13995 arg3
= (bool)(SWIG_As_bool(obj2
));
13996 if (SWIG_arg_fail(3)) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 (arg1
)->SetDefaultColSize(arg2
,arg3
);
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14006 Py_INCREF(Py_None
); resultobj
= Py_None
;
14013 static PyObject
*_wrap_Grid_SetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
;
14015 wxGrid
*arg1
= (wxGrid
*) 0 ;
14018 PyObject
* obj0
= 0 ;
14019 PyObject
* obj1
= 0 ;
14020 PyObject
* obj2
= 0 ;
14021 char *kwnames
[] = {
14022 (char *) "self",(char *) "col",(char *) "width", NULL
14025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14027 if (SWIG_arg_fail(1)) SWIG_fail
;
14029 arg2
= (int)(SWIG_As_int(obj1
));
14030 if (SWIG_arg_fail(2)) SWIG_fail
;
14033 arg3
= (int)(SWIG_As_int(obj2
));
14034 if (SWIG_arg_fail(3)) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 (arg1
)->SetColSize(arg2
,arg3
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 Py_INCREF(Py_None
); resultobj
= Py_None
;
14050 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14051 PyObject
*resultobj
;
14052 wxGrid
*arg1
= (wxGrid
*) 0 ;
14054 bool arg3
= (bool) true ;
14055 PyObject
* obj0
= 0 ;
14056 PyObject
* obj1
= 0 ;
14057 PyObject
* obj2
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14064 if (SWIG_arg_fail(1)) SWIG_fail
;
14066 arg2
= (int)(SWIG_As_int(obj1
));
14067 if (SWIG_arg_fail(2)) SWIG_fail
;
14071 arg3
= (bool)(SWIG_As_bool(obj2
));
14072 if (SWIG_arg_fail(3)) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 (arg1
)->AutoSizeColumn(arg2
,arg3
);
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 Py_INCREF(Py_None
); resultobj
= Py_None
;
14089 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxGrid
*arg1
= (wxGrid
*) 0 ;
14093 bool arg3
= (bool) true ;
14094 PyObject
* obj0
= 0 ;
14095 PyObject
* obj1
= 0 ;
14096 PyObject
* obj2
= 0 ;
14097 char *kwnames
[] = {
14098 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
14101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14103 if (SWIG_arg_fail(1)) SWIG_fail
;
14105 arg2
= (int)(SWIG_As_int(obj1
));
14106 if (SWIG_arg_fail(2)) SWIG_fail
;
14110 arg3
= (bool)(SWIG_As_bool(obj2
));
14111 if (SWIG_arg_fail(3)) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 (arg1
)->AutoSizeRow(arg2
,arg3
);
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 Py_INCREF(Py_None
); resultobj
= Py_None
;
14128 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
;
14130 wxGrid
*arg1
= (wxGrid
*) 0 ;
14131 bool arg2
= (bool) true ;
14132 PyObject
* obj0
= 0 ;
14133 PyObject
* obj1
= 0 ;
14134 char *kwnames
[] = {
14135 (char *) "self",(char *) "setAsMin", NULL
14138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
14139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14140 if (SWIG_arg_fail(1)) SWIG_fail
;
14143 arg2
= (bool)(SWIG_As_bool(obj1
));
14144 if (SWIG_arg_fail(2)) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 (arg1
)->AutoSizeColumns(arg2
);
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 Py_INCREF(Py_None
); resultobj
= Py_None
;
14161 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
;
14163 wxGrid
*arg1
= (wxGrid
*) 0 ;
14164 bool arg2
= (bool) true ;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self",(char *) "setAsMin", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
14172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14173 if (SWIG_arg_fail(1)) SWIG_fail
;
14176 arg2
= (bool)(SWIG_As_bool(obj1
));
14177 if (SWIG_arg_fail(2)) SWIG_fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 (arg1
)->AutoSizeRows(arg2
);
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 Py_INCREF(Py_None
); resultobj
= Py_None
;
14194 static PyObject
*_wrap_Grid_AutoSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxGrid
*arg1
= (wxGrid
*) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
14203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14204 if (SWIG_arg_fail(1)) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 (arg1
)->AutoSize();
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 Py_INCREF(Py_None
); resultobj
= Py_None
;
14219 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxGrid
*arg1
= (wxGrid
*) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 PyObject
* obj1
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self",(char *) "row", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14231 if (SWIG_arg_fail(1)) SWIG_fail
;
14233 arg2
= (int)(SWIG_As_int(obj1
));
14234 if (SWIG_arg_fail(2)) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 (arg1
)->AutoSizeRowLabelSize(arg2
);
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 Py_INCREF(Py_None
); resultobj
= Py_None
;
14250 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxGrid
*arg1
= (wxGrid
*) 0 ;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 char *kwnames
[] = {
14257 (char *) "self",(char *) "col", NULL
14260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14262 if (SWIG_arg_fail(1)) SWIG_fail
;
14264 arg2
= (int)(SWIG_As_int(obj1
));
14265 if (SWIG_arg_fail(2)) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 (arg1
)->AutoSizeColLabelSize(arg2
);
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 Py_INCREF(Py_None
); resultobj
= Py_None
;
14281 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
;
14283 wxGrid
*arg1
= (wxGrid
*) 0 ;
14286 PyObject
* obj0
= 0 ;
14287 PyObject
* obj1
= 0 ;
14288 PyObject
* obj2
= 0 ;
14289 char *kwnames
[] = {
14290 (char *) "self",(char *) "col",(char *) "width", NULL
14293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14295 if (SWIG_arg_fail(1)) SWIG_fail
;
14297 arg2
= (int)(SWIG_As_int(obj1
));
14298 if (SWIG_arg_fail(2)) SWIG_fail
;
14301 arg3
= (int)(SWIG_As_int(obj2
));
14302 if (SWIG_arg_fail(3)) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 Py_INCREF(Py_None
); resultobj
= Py_None
;
14318 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
;
14320 wxGrid
*arg1
= (wxGrid
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 PyObject
* obj1
= 0 ;
14325 PyObject
* obj2
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self",(char *) "row",(char *) "width", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14332 if (SWIG_arg_fail(1)) SWIG_fail
;
14334 arg2
= (int)(SWIG_As_int(obj1
));
14335 if (SWIG_arg_fail(2)) SWIG_fail
;
14338 arg3
= (int)(SWIG_As_int(obj2
));
14339 if (SWIG_arg_fail(3)) SWIG_fail
;
14342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14343 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
14345 wxPyEndAllowThreads(__tstate
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14348 Py_INCREF(Py_None
); resultobj
= Py_None
;
14355 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
;
14357 wxGrid
*arg1
= (wxGrid
*) 0 ;
14359 PyObject
* obj0
= 0 ;
14360 PyObject
* obj1
= 0 ;
14361 char *kwnames
[] = {
14362 (char *) "self",(char *) "width", NULL
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
14366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14367 if (SWIG_arg_fail(1)) SWIG_fail
;
14369 arg2
= (int)(SWIG_As_int(obj1
));
14370 if (SWIG_arg_fail(2)) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 Py_INCREF(Py_None
); resultobj
= Py_None
;
14386 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxGrid
*arg1
= (wxGrid
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 PyObject
* obj1
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "self",(char *) "width", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
14397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14398 if (SWIG_arg_fail(1)) SWIG_fail
;
14400 arg2
= (int)(SWIG_As_int(obj1
));
14401 if (SWIG_arg_fail(2)) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 Py_INCREF(Py_None
); resultobj
= Py_None
;
14417 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxGrid
*arg1
= (wxGrid
*) 0 ;
14421 PyObject
* obj0
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "self", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
14427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14428 if (SWIG_arg_fail(1)) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_From_int((int)(result
));
14445 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
;
14447 wxGrid
*arg1
= (wxGrid
*) 0 ;
14449 PyObject
* obj0
= 0 ;
14450 char *kwnames
[] = {
14451 (char *) "self", NULL
14454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
14455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14456 if (SWIG_arg_fail(1)) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= SWIG_From_int((int)(result
));
14473 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxGrid
*arg1
= (wxGrid
*) 0 ;
14476 wxColour
*arg2
= 0 ;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self","arg2", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14486 if (SWIG_arg_fail(1)) SWIG_fail
;
14489 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14498 Py_INCREF(Py_None
); resultobj
= Py_None
;
14505 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14506 PyObject
*resultobj
;
14507 wxGrid
*arg1
= (wxGrid
*) 0 ;
14510 wxColour
*arg4
= 0 ;
14512 PyObject
* obj0
= 0 ;
14513 PyObject
* obj1
= 0 ;
14514 PyObject
* obj2
= 0 ;
14515 PyObject
* obj3
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14522 if (SWIG_arg_fail(1)) SWIG_fail
;
14524 arg2
= (int)(SWIG_As_int(obj1
));
14525 if (SWIG_arg_fail(2)) SWIG_fail
;
14528 arg3
= (int)(SWIG_As_int(obj2
));
14529 if (SWIG_arg_fail(3)) SWIG_fail
;
14533 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14537 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 Py_INCREF(Py_None
); resultobj
= Py_None
;
14549 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
;
14551 wxGrid
*arg1
= (wxGrid
*) 0 ;
14552 wxColour
*arg2
= 0 ;
14554 PyObject
* obj0
= 0 ;
14555 PyObject
* obj1
= 0 ;
14556 char *kwnames
[] = {
14557 (char *) "self","arg2", NULL
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14562 if (SWIG_arg_fail(1)) SWIG_fail
;
14565 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 Py_INCREF(Py_None
); resultobj
= Py_None
;
14581 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxGrid
*arg1
= (wxGrid
*) 0 ;
14586 wxColour
*arg4
= 0 ;
14588 PyObject
* obj0
= 0 ;
14589 PyObject
* obj1
= 0 ;
14590 PyObject
* obj2
= 0 ;
14591 PyObject
* obj3
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14598 if (SWIG_arg_fail(1)) SWIG_fail
;
14600 arg2
= (int)(SWIG_As_int(obj1
));
14601 if (SWIG_arg_fail(2)) SWIG_fail
;
14604 arg3
= (int)(SWIG_As_int(obj2
));
14605 if (SWIG_arg_fail(3)) SWIG_fail
;
14609 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 Py_INCREF(Py_None
); resultobj
= Py_None
;
14625 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxGrid
*arg1
= (wxGrid
*) 0 ;
14629 PyObject
* obj0
= 0 ;
14630 PyObject
* obj1
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "self","arg2", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14637 if (SWIG_arg_fail(1)) SWIG_fail
;
14639 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14640 if (SWIG_arg_fail(2)) SWIG_fail
;
14641 if (arg2
== NULL
) {
14642 SWIG_null_ref("wxFont");
14644 if (SWIG_arg_fail(2)) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 Py_INCREF(Py_None
); resultobj
= Py_None
;
14660 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxGrid
*arg1
= (wxGrid
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 PyObject
* obj1
= 0 ;
14668 PyObject
* obj2
= 0 ;
14669 PyObject
* obj3
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14676 if (SWIG_arg_fail(1)) SWIG_fail
;
14678 arg2
= (int)(SWIG_As_int(obj1
));
14679 if (SWIG_arg_fail(2)) SWIG_fail
;
14682 arg3
= (int)(SWIG_As_int(obj2
));
14683 if (SWIG_arg_fail(3)) SWIG_fail
;
14686 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14687 if (SWIG_arg_fail(4)) SWIG_fail
;
14688 if (arg4
== NULL
) {
14689 SWIG_null_ref("wxFont");
14691 if (SWIG_arg_fail(4)) SWIG_fail
;
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 Py_INCREF(Py_None
); resultobj
= Py_None
;
14707 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
;
14709 wxGrid
*arg1
= (wxGrid
*) 0 ;
14712 PyObject
* obj0
= 0 ;
14713 PyObject
* obj1
= 0 ;
14714 PyObject
* obj2
= 0 ;
14715 char *kwnames
[] = {
14716 (char *) "self",(char *) "horiz",(char *) "vert", NULL
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14721 if (SWIG_arg_fail(1)) SWIG_fail
;
14723 arg2
= (int)(SWIG_As_int(obj1
));
14724 if (SWIG_arg_fail(2)) SWIG_fail
;
14727 arg3
= (int)(SWIG_As_int(obj2
));
14728 if (SWIG_arg_fail(3)) SWIG_fail
;
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
14734 wxPyEndAllowThreads(__tstate
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14737 Py_INCREF(Py_None
); resultobj
= Py_None
;
14744 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
;
14746 wxGrid
*arg1
= (wxGrid
*) 0 ;
14751 PyObject
* obj0
= 0 ;
14752 PyObject
* obj1
= 0 ;
14753 PyObject
* obj2
= 0 ;
14754 PyObject
* obj3
= 0 ;
14755 PyObject
* obj4
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14762 if (SWIG_arg_fail(1)) SWIG_fail
;
14764 arg2
= (int)(SWIG_As_int(obj1
));
14765 if (SWIG_arg_fail(2)) SWIG_fail
;
14768 arg3
= (int)(SWIG_As_int(obj2
));
14769 if (SWIG_arg_fail(3)) SWIG_fail
;
14772 arg4
= (int)(SWIG_As_int(obj3
));
14773 if (SWIG_arg_fail(4)) SWIG_fail
;
14776 arg5
= (int)(SWIG_As_int(obj4
));
14777 if (SWIG_arg_fail(5)) SWIG_fail
;
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 Py_INCREF(Py_None
); resultobj
= Py_None
;
14793 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxGrid
*arg1
= (wxGrid
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self",(char *) "allow", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
14804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14805 if (SWIG_arg_fail(1)) SWIG_fail
;
14807 arg2
= (bool)(SWIG_As_bool(obj1
));
14808 if (SWIG_arg_fail(2)) SWIG_fail
;
14811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 (arg1
)->SetDefaultCellOverflow(arg2
);
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14817 Py_INCREF(Py_None
); resultobj
= Py_None
;
14824 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
;
14826 wxGrid
*arg1
= (wxGrid
*) 0 ;
14830 PyObject
* obj0
= 0 ;
14831 PyObject
* obj1
= 0 ;
14832 PyObject
* obj2
= 0 ;
14833 PyObject
* obj3
= 0 ;
14834 char *kwnames
[] = {
14835 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
14838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14840 if (SWIG_arg_fail(1)) SWIG_fail
;
14842 arg2
= (int)(SWIG_As_int(obj1
));
14843 if (SWIG_arg_fail(2)) SWIG_fail
;
14846 arg3
= (int)(SWIG_As_int(obj2
));
14847 if (SWIG_arg_fail(3)) SWIG_fail
;
14850 arg4
= (bool)(SWIG_As_bool(obj3
));
14851 if (SWIG_arg_fail(4)) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 Py_INCREF(Py_None
); resultobj
= Py_None
;
14867 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxGrid
*arg1
= (wxGrid
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 PyObject
* obj2
= 0 ;
14877 PyObject
* obj3
= 0 ;
14878 PyObject
* obj4
= 0 ;
14879 char *kwnames
[] = {
14880 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
14883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14885 if (SWIG_arg_fail(1)) SWIG_fail
;
14887 arg2
= (int)(SWIG_As_int(obj1
));
14888 if (SWIG_arg_fail(2)) SWIG_fail
;
14891 arg3
= (int)(SWIG_As_int(obj2
));
14892 if (SWIG_arg_fail(3)) SWIG_fail
;
14895 arg4
= (int)(SWIG_As_int(obj3
));
14896 if (SWIG_arg_fail(4)) SWIG_fail
;
14899 arg5
= (int)(SWIG_As_int(obj4
));
14900 if (SWIG_arg_fail(5)) SWIG_fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14909 Py_INCREF(Py_None
); resultobj
= Py_None
;
14916 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
;
14918 wxGrid
*arg1
= (wxGrid
*) 0 ;
14919 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self",(char *) "renderer", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
14927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14928 if (SWIG_arg_fail(1)) SWIG_fail
;
14929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
14930 if (SWIG_arg_fail(2)) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 (arg1
)->SetDefaultRenderer(arg2
);
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14938 Py_INCREF(Py_None
); resultobj
= Py_None
;
14945 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxGrid
*arg1
= (wxGrid
*) 0 ;
14950 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 PyObject
* obj1
= 0 ;
14953 PyObject
* obj2
= 0 ;
14954 PyObject
* obj3
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14961 if (SWIG_arg_fail(1)) SWIG_fail
;
14963 arg2
= (int)(SWIG_As_int(obj1
));
14964 if (SWIG_arg_fail(2)) SWIG_fail
;
14967 arg3
= (int)(SWIG_As_int(obj2
));
14968 if (SWIG_arg_fail(3)) SWIG_fail
;
14970 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
14971 if (SWIG_arg_fail(4)) SWIG_fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 Py_INCREF(Py_None
); resultobj
= Py_None
;
14986 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxGrid
*arg1
= (wxGrid
*) 0 ;
14989 wxGridCellRenderer
*result
;
14990 PyObject
* obj0
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
14996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14997 if (SWIG_arg_fail(1)) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
15014 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
;
15016 wxGrid
*arg1
= (wxGrid
*) 0 ;
15019 wxGridCellRenderer
*result
;
15020 PyObject
* obj0
= 0 ;
15021 PyObject
* obj1
= 0 ;
15022 PyObject
* obj2
= 0 ;
15023 char *kwnames
[] = {
15024 (char *) "self",(char *) "row",(char *) "col", NULL
15027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15029 if (SWIG_arg_fail(1)) SWIG_fail
;
15031 arg2
= (int)(SWIG_As_int(obj1
));
15032 if (SWIG_arg_fail(2)) SWIG_fail
;
15035 arg3
= (int)(SWIG_As_int(obj2
));
15036 if (SWIG_arg_fail(3)) SWIG_fail
;
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15046 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
15054 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxGrid
*arg1
= (wxGrid
*) 0 ;
15057 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 PyObject
* obj1
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "self",(char *) "editor", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
15065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15066 if (SWIG_arg_fail(1)) SWIG_fail
;
15067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
15068 if (SWIG_arg_fail(2)) SWIG_fail
;
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 (arg1
)->SetDefaultEditor(arg2
);
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15076 Py_INCREF(Py_None
); resultobj
= Py_None
;
15083 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 wxGrid
*arg1
= (wxGrid
*) 0 ;
15088 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 PyObject
* obj1
= 0 ;
15091 PyObject
* obj2
= 0 ;
15092 PyObject
* obj3
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15099 if (SWIG_arg_fail(1)) SWIG_fail
;
15101 arg2
= (int)(SWIG_As_int(obj1
));
15102 if (SWIG_arg_fail(2)) SWIG_fail
;
15105 arg3
= (int)(SWIG_As_int(obj2
));
15106 if (SWIG_arg_fail(3)) SWIG_fail
;
15108 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
15109 if (SWIG_arg_fail(4)) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 Py_INCREF(Py_None
); resultobj
= Py_None
;
15124 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxGrid
*arg1
= (wxGrid
*) 0 ;
15127 wxGridCellEditor
*result
;
15128 PyObject
* obj0
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "self", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
15134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15135 if (SWIG_arg_fail(1)) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
15152 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxGrid
*arg1
= (wxGrid
*) 0 ;
15157 wxGridCellEditor
*result
;
15158 PyObject
* obj0
= 0 ;
15159 PyObject
* obj1
= 0 ;
15160 PyObject
* obj2
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self",(char *) "row",(char *) "col", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15167 if (SWIG_arg_fail(1)) SWIG_fail
;
15169 arg2
= (int)(SWIG_As_int(obj1
));
15170 if (SWIG_arg_fail(2)) SWIG_fail
;
15173 arg3
= (int)(SWIG_As_int(obj2
));
15174 if (SWIG_arg_fail(3)) SWIG_fail
;
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
15180 wxPyEndAllowThreads(__tstate
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
15192 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxGrid
*arg1
= (wxGrid
*) 0 ;
15198 PyObject
* obj0
= 0 ;
15199 PyObject
* obj1
= 0 ;
15200 PyObject
* obj2
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self",(char *) "row",(char *) "col", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15207 if (SWIG_arg_fail(1)) SWIG_fail
;
15209 arg2
= (int)(SWIG_As_int(obj1
));
15210 if (SWIG_arg_fail(2)) SWIG_fail
;
15213 arg3
= (int)(SWIG_As_int(obj2
));
15214 if (SWIG_arg_fail(3)) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= (arg1
)->GetCellValue(arg2
,arg3
);
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15236 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxGrid
*arg1
= (wxGrid
*) 0 ;
15241 wxString
*arg4
= 0 ;
15242 bool temp4
= false ;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 PyObject
* obj2
= 0 ;
15246 PyObject
* obj3
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15253 if (SWIG_arg_fail(1)) SWIG_fail
;
15255 arg2
= (int)(SWIG_As_int(obj1
));
15256 if (SWIG_arg_fail(2)) SWIG_fail
;
15259 arg3
= (int)(SWIG_As_int(obj2
));
15260 if (SWIG_arg_fail(3)) SWIG_fail
;
15263 arg4
= wxString_in_helper(obj3
);
15264 if (arg4
== NULL
) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 Py_INCREF(Py_None
); resultobj
= Py_None
;
15289 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxGrid
*arg1
= (wxGrid
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 PyObject
* obj1
= 0 ;
15297 PyObject
* obj2
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self",(char *) "row",(char *) "col", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15304 if (SWIG_arg_fail(1)) SWIG_fail
;
15306 arg2
= (int)(SWIG_As_int(obj1
));
15307 if (SWIG_arg_fail(2)) SWIG_fail
;
15310 arg3
= (int)(SWIG_As_int(obj2
));
15311 if (SWIG_arg_fail(3)) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15329 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxGrid
*arg1
= (wxGrid
*) 0 ;
15334 bool arg4
= (bool) true ;
15335 PyObject
* obj0
= 0 ;
15336 PyObject
* obj1
= 0 ;
15337 PyObject
* obj2
= 0 ;
15338 PyObject
* obj3
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15345 if (SWIG_arg_fail(1)) SWIG_fail
;
15347 arg2
= (int)(SWIG_As_int(obj1
));
15348 if (SWIG_arg_fail(2)) SWIG_fail
;
15351 arg3
= (int)(SWIG_As_int(obj2
));
15352 if (SWIG_arg_fail(3)) SWIG_fail
;
15356 arg4
= (bool)(SWIG_As_bool(obj3
));
15357 if (SWIG_arg_fail(4)) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 Py_INCREF(Py_None
); resultobj
= Py_None
;
15374 static PyObject
*_wrap_Grid_SelectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxGrid
*arg1
= (wxGrid
*) 0 ;
15378 bool arg3
= (bool) false ;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 PyObject
* obj2
= 0 ;
15382 char *kwnames
[] = {
15383 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15388 if (SWIG_arg_fail(1)) SWIG_fail
;
15390 arg2
= (int)(SWIG_As_int(obj1
));
15391 if (SWIG_arg_fail(2)) SWIG_fail
;
15395 arg3
= (bool)(SWIG_As_bool(obj2
));
15396 if (SWIG_arg_fail(3)) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 (arg1
)->SelectRow(arg2
,arg3
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 Py_INCREF(Py_None
); resultobj
= Py_None
;
15413 static PyObject
*_wrap_Grid_SelectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxGrid
*arg1
= (wxGrid
*) 0 ;
15417 bool arg3
= (bool) false ;
15418 PyObject
* obj0
= 0 ;
15419 PyObject
* obj1
= 0 ;
15420 PyObject
* obj2
= 0 ;
15421 char *kwnames
[] = {
15422 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
15425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15427 if (SWIG_arg_fail(1)) SWIG_fail
;
15429 arg2
= (int)(SWIG_As_int(obj1
));
15430 if (SWIG_arg_fail(2)) SWIG_fail
;
15434 arg3
= (bool)(SWIG_As_bool(obj2
));
15435 if (SWIG_arg_fail(3)) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 (arg1
)->SelectCol(arg2
,arg3
);
15442 wxPyEndAllowThreads(__tstate
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15445 Py_INCREF(Py_None
); resultobj
= Py_None
;
15452 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxGrid
*arg1
= (wxGrid
*) 0 ;
15459 bool arg6
= (bool) false ;
15460 PyObject
* obj0
= 0 ;
15461 PyObject
* obj1
= 0 ;
15462 PyObject
* obj2
= 0 ;
15463 PyObject
* obj3
= 0 ;
15464 PyObject
* obj4
= 0 ;
15465 PyObject
* obj5
= 0 ;
15466 char *kwnames
[] = {
15467 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
15470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15472 if (SWIG_arg_fail(1)) SWIG_fail
;
15474 arg2
= (int)(SWIG_As_int(obj1
));
15475 if (SWIG_arg_fail(2)) SWIG_fail
;
15478 arg3
= (int)(SWIG_As_int(obj2
));
15479 if (SWIG_arg_fail(3)) SWIG_fail
;
15482 arg4
= (int)(SWIG_As_int(obj3
));
15483 if (SWIG_arg_fail(4)) SWIG_fail
;
15486 arg5
= (int)(SWIG_As_int(obj4
));
15487 if (SWIG_arg_fail(5)) SWIG_fail
;
15491 arg6
= (bool)(SWIG_As_bool(obj5
));
15492 if (SWIG_arg_fail(6)) SWIG_fail
;
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15502 Py_INCREF(Py_None
); resultobj
= Py_None
;
15509 static PyObject
*_wrap_Grid_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15510 PyObject
*resultobj
;
15511 wxGrid
*arg1
= (wxGrid
*) 0 ;
15512 PyObject
* obj0
= 0 ;
15513 char *kwnames
[] = {
15514 (char *) "self", NULL
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
15518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15519 if (SWIG_arg_fail(1)) SWIG_fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 (arg1
)->SelectAll();
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 Py_INCREF(Py_None
); resultobj
= Py_None
;
15534 static PyObject
*_wrap_Grid_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxGrid
*arg1
= (wxGrid
*) 0 ;
15538 PyObject
* obj0
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
15544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15545 if (SWIG_arg_fail(1)) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (bool)(arg1
)->IsSelection();
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15562 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxGrid
*arg1
= (wxGrid
*) 0 ;
15565 PyObject
* obj0
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "self", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
15571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15572 if (SWIG_arg_fail(1)) SWIG_fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 (arg1
)->ClearSelection();
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 Py_INCREF(Py_None
); resultobj
= Py_None
;
15587 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
;
15589 wxGrid
*arg1
= (wxGrid
*) 0 ;
15593 PyObject
* obj0
= 0 ;
15594 PyObject
* obj1
= 0 ;
15595 PyObject
* obj2
= 0 ;
15596 char *kwnames
[] = {
15597 (char *) "self",(char *) "row",(char *) "col", NULL
15600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15602 if (SWIG_arg_fail(1)) SWIG_fail
;
15604 arg2
= (int)(SWIG_As_int(obj1
));
15605 if (SWIG_arg_fail(2)) SWIG_fail
;
15608 arg3
= (int)(SWIG_As_int(obj2
));
15609 if (SWIG_arg_fail(3)) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15627 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxGrid
*arg1
= (wxGrid
*) 0 ;
15630 wxGridCellCoordsArray result
;
15631 PyObject
* obj0
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "self", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
15637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15638 if (SWIG_arg_fail(1)) SWIG_fail
;
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= wxGridCellCoordsArray_helper(result
);
15655 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxGrid
*arg1
= (wxGrid
*) 0 ;
15658 wxGridCellCoordsArray result
;
15659 PyObject
* obj0
= 0 ;
15660 char *kwnames
[] = {
15661 (char *) "self", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
15665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15666 if (SWIG_arg_fail(1)) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15675 resultobj
= wxGridCellCoordsArray_helper(result
);
15683 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
;
15685 wxGrid
*arg1
= (wxGrid
*) 0 ;
15686 wxGridCellCoordsArray result
;
15687 PyObject
* obj0
= 0 ;
15688 char *kwnames
[] = {
15689 (char *) "self", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= wxGridCellCoordsArray_helper(result
);
15711 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
;
15713 wxGrid
*arg1
= (wxGrid
*) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
15721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15722 if (SWIG_arg_fail(1)) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15731 resultobj
= PyList_New(0);
15733 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15734 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15735 PyList_Append(resultobj
, val
);
15745 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxGrid
*arg1
= (wxGrid
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
15755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15756 if (SWIG_arg_fail(1)) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= PyList_New(0);
15767 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15768 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15769 PyList_Append(resultobj
, val
);
15779 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15780 PyObject
*resultobj
;
15781 wxGrid
*arg1
= (wxGrid
*) 0 ;
15783 PyObject
* obj0
= 0 ;
15784 PyObject
* obj1
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "self",(char *) "row", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15791 if (SWIG_arg_fail(1)) SWIG_fail
;
15793 arg2
= (int)(SWIG_As_int(obj1
));
15794 if (SWIG_arg_fail(2)) SWIG_fail
;
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 (arg1
)->DeselectRow(arg2
);
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15803 Py_INCREF(Py_None
); resultobj
= Py_None
;
15810 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
;
15812 wxGrid
*arg1
= (wxGrid
*) 0 ;
15814 PyObject
* obj0
= 0 ;
15815 PyObject
* obj1
= 0 ;
15816 char *kwnames
[] = {
15817 (char *) "self",(char *) "col", NULL
15820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15822 if (SWIG_arg_fail(1)) SWIG_fail
;
15824 arg2
= (int)(SWIG_As_int(obj1
));
15825 if (SWIG_arg_fail(2)) SWIG_fail
;
15828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15829 (arg1
)->DeselectCol(arg2
);
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15834 Py_INCREF(Py_None
); resultobj
= Py_None
;
15841 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxGrid
*arg1
= (wxGrid
*) 0 ;
15846 PyObject
* obj0
= 0 ;
15847 PyObject
* obj1
= 0 ;
15848 PyObject
* obj2
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self",(char *) "row",(char *) "col", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15855 if (SWIG_arg_fail(1)) SWIG_fail
;
15857 arg2
= (int)(SWIG_As_int(obj1
));
15858 if (SWIG_arg_fail(2)) SWIG_fail
;
15861 arg3
= (int)(SWIG_As_int(obj2
));
15862 if (SWIG_arg_fail(3)) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 (arg1
)->DeselectCell(arg2
,arg3
);
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15871 Py_INCREF(Py_None
); resultobj
= Py_None
;
15878 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
;
15880 wxGrid
*arg1
= (wxGrid
*) 0 ;
15881 wxGridCellCoords
*arg2
= 0 ;
15882 wxGridCellCoords
*arg3
= 0 ;
15884 wxGridCellCoords temp2
;
15885 wxGridCellCoords temp3
;
15886 PyObject
* obj0
= 0 ;
15887 PyObject
* obj1
= 0 ;
15888 PyObject
* obj2
= 0 ;
15889 char *kwnames
[] = {
15890 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
15893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15895 if (SWIG_arg_fail(1)) SWIG_fail
;
15898 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
15902 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15912 wxRect
* resultptr
;
15913 resultptr
= new wxRect((wxRect
&)(result
));
15914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15922 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15923 PyObject
*resultobj
;
15924 wxGrid
*arg1
= (wxGrid
*) 0 ;
15926 PyObject
* obj0
= 0 ;
15927 char *kwnames
[] = {
15928 (char *) "self", NULL
15931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
15932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15933 if (SWIG_arg_fail(1)) SWIG_fail
;
15935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15936 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
15938 wxPyEndAllowThreads(__tstate
);
15939 if (PyErr_Occurred()) SWIG_fail
;
15942 wxColour
* resultptr
;
15943 resultptr
= new wxColour((wxColour
&)(result
));
15944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15952 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxGrid
*arg1
= (wxGrid
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 char *kwnames
[] = {
15958 (char *) "self", NULL
15961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
15962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15963 if (SWIG_arg_fail(1)) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15972 wxColour
* resultptr
;
15973 resultptr
= new wxColour((wxColour
&)(result
));
15974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15982 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxGrid
*arg1
= (wxGrid
*) 0 ;
15985 wxColour
*arg2
= 0 ;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "self",(char *) "c", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15995 if (SWIG_arg_fail(1)) SWIG_fail
;
15998 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 Py_INCREF(Py_None
); resultobj
= Py_None
;
16014 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
;
16016 wxGrid
*arg1
= (wxGrid
*) 0 ;
16017 wxColour
*arg2
= 0 ;
16019 PyObject
* obj0
= 0 ;
16020 PyObject
* obj1
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self",(char *) "c", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16027 if (SWIG_arg_fail(1)) SWIG_fail
;
16030 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16039 Py_INCREF(Py_None
); resultobj
= Py_None
;
16046 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxGrid
*arg1
= (wxGrid
*) 0 ;
16049 wxString
*arg2
= 0 ;
16050 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
16051 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
16052 bool temp2
= false ;
16053 PyObject
* obj0
= 0 ;
16054 PyObject
* obj1
= 0 ;
16055 PyObject
* obj2
= 0 ;
16056 PyObject
* obj3
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16063 if (SWIG_arg_fail(1)) SWIG_fail
;
16065 arg2
= wxString_in_helper(obj1
);
16066 if (arg2
== NULL
) SWIG_fail
;
16069 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
16070 if (SWIG_arg_fail(3)) SWIG_fail
;
16071 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
16072 if (SWIG_arg_fail(4)) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 Py_INCREF(Py_None
); resultobj
= Py_None
;
16095 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
;
16097 wxGrid
*arg1
= (wxGrid
*) 0 ;
16100 wxGridCellEditor
*result
;
16101 PyObject
* obj0
= 0 ;
16102 PyObject
* obj1
= 0 ;
16103 PyObject
* obj2
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self",(char *) "row",(char *) "col", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16110 if (SWIG_arg_fail(1)) SWIG_fail
;
16112 arg2
= (int)(SWIG_As_int(obj1
));
16113 if (SWIG_arg_fail(2)) SWIG_fail
;
16116 arg3
= (int)(SWIG_As_int(obj2
));
16117 if (SWIG_arg_fail(3)) SWIG_fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
16135 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
;
16137 wxGrid
*arg1
= (wxGrid
*) 0 ;
16140 wxGridCellRenderer
*result
;
16141 PyObject
* obj0
= 0 ;
16142 PyObject
* obj1
= 0 ;
16143 PyObject
* obj2
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "self",(char *) "row",(char *) "col", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16150 if (SWIG_arg_fail(1)) SWIG_fail
;
16152 arg2
= (int)(SWIG_As_int(obj1
));
16153 if (SWIG_arg_fail(2)) SWIG_fail
;
16156 arg3
= (int)(SWIG_As_int(obj2
));
16157 if (SWIG_arg_fail(3)) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
16175 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxGrid
*arg1
= (wxGrid
*) 0 ;
16178 wxString
*arg2
= 0 ;
16179 wxGridCellEditor
*result
;
16180 bool temp2
= false ;
16181 PyObject
* obj0
= 0 ;
16182 PyObject
* obj1
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self",(char *) "typeName", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
16188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16189 if (SWIG_arg_fail(1)) SWIG_fail
;
16191 arg2
= wxString_in_helper(obj1
);
16192 if (arg2
== NULL
) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
16219 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxGrid
*arg1
= (wxGrid
*) 0 ;
16222 wxString
*arg2
= 0 ;
16223 wxGridCellRenderer
*result
;
16224 bool temp2
= false ;
16225 PyObject
* obj0
= 0 ;
16226 PyObject
* obj1
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self",(char *) "typeName", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
16232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16233 if (SWIG_arg_fail(1)) SWIG_fail
;
16235 arg2
= wxString_in_helper(obj1
);
16236 if (arg2
== NULL
) SWIG_fail
;
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16247 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
16263 static PyObject
*_wrap_Grid_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxGrid
*arg1
= (wxGrid
*) 0 ;
16268 PyObject
* obj0
= 0 ;
16269 PyObject
* obj1
= 0 ;
16270 PyObject
* obj2
= 0 ;
16271 char *kwnames
[] = {
16272 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
16275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16277 if (SWIG_arg_fail(1)) SWIG_fail
;
16279 arg2
= (int)(SWIG_As_int(obj1
));
16280 if (SWIG_arg_fail(2)) SWIG_fail
;
16283 arg3
= (int)(SWIG_As_int(obj2
));
16284 if (SWIG_arg_fail(3)) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 (arg1
)->SetMargins(arg2
,arg3
);
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 Py_INCREF(Py_None
); resultobj
= Py_None
;
16300 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxGrid
*arg1
= (wxGrid
*) 0 ;
16304 PyObject
* obj0
= 0 ;
16305 char *kwnames
[] = {
16306 (char *) "self", NULL
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
16310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16311 if (SWIG_arg_fail(1)) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 result
= (wxWindow
*)(arg1
)->GetGridWindow();
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= wxPyMake_wxObject(result
, 0);
16328 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxGrid
*arg1
= (wxGrid
*) 0 ;
16332 PyObject
* obj0
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
16338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16339 if (SWIG_arg_fail(1)) SWIG_fail
;
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
16344 wxPyEndAllowThreads(__tstate
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16348 resultobj
= wxPyMake_wxObject(result
, 0);
16356 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxGrid
*arg1
= (wxGrid
*) 0 ;
16360 PyObject
* obj0
= 0 ;
16361 char *kwnames
[] = {
16362 (char *) "self", NULL
16365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
16366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16367 if (SWIG_arg_fail(1)) SWIG_fail
;
16369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= wxPyMake_wxObject(result
, 0);
16384 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16386 wxGrid
*arg1
= (wxGrid
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 char *kwnames
[] = {
16390 (char *) "self", NULL
16393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
16394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16395 if (SWIG_arg_fail(1)) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= wxPyMake_wxObject(result
, 0);
16412 static PyObject
*_wrap_Grid_SetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxGrid
*arg1
= (wxGrid
*) 0 ;
16416 PyObject
* obj0
= 0 ;
16417 PyObject
* obj1
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self",(char *) "x", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) goto fail
;
16423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16424 if (SWIG_arg_fail(1)) SWIG_fail
;
16426 arg2
= (int)(SWIG_As_int(obj1
));
16427 if (SWIG_arg_fail(2)) SWIG_fail
;
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 (arg1
)->SetScrollLineX(arg2
);
16433 wxPyEndAllowThreads(__tstate
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16436 Py_INCREF(Py_None
); resultobj
= Py_None
;
16443 static PyObject
*_wrap_Grid_SetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxGrid
*arg1
= (wxGrid
*) 0 ;
16447 PyObject
* obj0
= 0 ;
16448 PyObject
* obj1
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "self",(char *) "y", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",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
= (int)(SWIG_As_int(obj1
));
16458 if (SWIG_arg_fail(2)) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 (arg1
)->SetScrollLineY(arg2
);
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16467 Py_INCREF(Py_None
); resultobj
= Py_None
;
16474 static PyObject
*_wrap_Grid_GetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxGrid
*arg1
= (wxGrid
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 char *kwnames
[] = {
16480 (char *) "self", NULL
16483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineX",kwnames
,&obj0
)) goto fail
;
16484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16485 if (SWIG_arg_fail(1)) SWIG_fail
;
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineX();
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16494 resultobj
= SWIG_From_int((int)(result
));
16502 static PyObject
*_wrap_Grid_GetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16503 PyObject
*resultobj
;
16504 wxGrid
*arg1
= (wxGrid
*) 0 ;
16506 PyObject
* obj0
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineY",kwnames
,&obj0
)) goto fail
;
16512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16513 if (SWIG_arg_fail(1)) SWIG_fail
;
16515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16516 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineY();
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16522 resultobj
= SWIG_From_int((int)(result
));
16530 static PyObject
*_wrap_Grid_GetScrollX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
;
16532 wxGrid
*arg1
= (wxGrid
*) 0 ;
16535 PyObject
* obj0
= 0 ;
16536 PyObject
* obj1
= 0 ;
16537 char *kwnames
[] = {
16538 (char *) "self",(char *) "x", NULL
16541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) goto fail
;
16542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16543 if (SWIG_arg_fail(1)) SWIG_fail
;
16545 arg2
= (int)(SWIG_As_int(obj1
));
16546 if (SWIG_arg_fail(2)) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (int)((wxGrid
const *)arg1
)->GetScrollX(arg2
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= SWIG_From_int((int)(result
));
16564 static PyObject
*_wrap_Grid_GetScrollY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxGrid
*arg1
= (wxGrid
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 PyObject
* obj1
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self",(char *) "y", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) goto fail
;
16576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16577 if (SWIG_arg_fail(1)) SWIG_fail
;
16579 arg2
= (int)(SWIG_As_int(obj1
));
16580 if (SWIG_arg_fail(2)) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 result
= (int)((wxGrid
const *)arg1
)->GetScrollY(arg2
);
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16590 resultobj
= SWIG_From_int((int)(result
));
16598 static PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16599 PyObject
*resultobj
;
16600 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16601 wxVisualAttributes result
;
16602 PyObject
* obj0
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "variant", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16610 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16611 if (SWIG_arg_fail(1)) SWIG_fail
;
16615 if (!wxPyCheckForApp()) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= wxGrid::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16623 wxVisualAttributes
* resultptr
;
16624 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16633 static PyObject
* Grid_swigregister(PyObject
*, PyObject
*args
) {
16635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16636 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
16638 return Py_BuildValue((char *)"");
16640 static PyObject
*_wrap_new_GridEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16644 wxGrid
*arg3
= (wxGrid
*) 0 ;
16645 int arg4
= (int) -1 ;
16646 int arg5
= (int) -1 ;
16647 int arg6
= (int) -1 ;
16648 int arg7
= (int) -1 ;
16649 bool arg8
= (bool) true ;
16650 bool arg9
= (bool) false ;
16651 bool arg10
= (bool) false ;
16652 bool arg11
= (bool) false ;
16653 bool arg12
= (bool) false ;
16654 wxGridEvent
*result
;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 PyObject
* obj2
= 0 ;
16658 PyObject
* obj3
= 0 ;
16659 PyObject
* obj4
= 0 ;
16660 PyObject
* obj5
= 0 ;
16661 PyObject
* obj6
= 0 ;
16662 PyObject
* obj7
= 0 ;
16663 PyObject
* obj8
= 0 ;
16664 PyObject
* obj9
= 0 ;
16665 PyObject
* obj10
= 0 ;
16666 PyObject
* obj11
= 0 ;
16667 char *kwnames
[] = {
16668 (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
16671 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
;
16673 arg1
= (int)(SWIG_As_int(obj0
));
16674 if (SWIG_arg_fail(1)) SWIG_fail
;
16677 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
16678 if (SWIG_arg_fail(2)) SWIG_fail
;
16680 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16681 if (SWIG_arg_fail(3)) SWIG_fail
;
16684 arg4
= (int)(SWIG_As_int(obj3
));
16685 if (SWIG_arg_fail(4)) SWIG_fail
;
16690 arg5
= (int)(SWIG_As_int(obj4
));
16691 if (SWIG_arg_fail(5)) SWIG_fail
;
16696 arg6
= (int)(SWIG_As_int(obj5
));
16697 if (SWIG_arg_fail(6)) SWIG_fail
;
16702 arg7
= (int)(SWIG_As_int(obj6
));
16703 if (SWIG_arg_fail(7)) SWIG_fail
;
16708 arg8
= (bool)(SWIG_As_bool(obj7
));
16709 if (SWIG_arg_fail(8)) SWIG_fail
;
16714 arg9
= (bool)(SWIG_As_bool(obj8
));
16715 if (SWIG_arg_fail(9)) SWIG_fail
;
16720 arg10
= (bool)(SWIG_As_bool(obj9
));
16721 if (SWIG_arg_fail(10)) SWIG_fail
;
16726 arg11
= (bool)(SWIG_As_bool(obj10
));
16727 if (SWIG_arg_fail(11)) SWIG_fail
;
16732 arg12
= (bool)(SWIG_As_bool(obj11
));
16733 if (SWIG_arg_fail(12)) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
16750 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
16760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16761 if (SWIG_arg_fail(1)) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 result
= (int)(arg1
)->GetRow();
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16770 resultobj
= SWIG_From_int((int)(result
));
16778 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
16788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16789 if (SWIG_arg_fail(1)) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (int)(arg1
)->GetCol();
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= SWIG_From_int((int)(result
));
16806 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16817 if (SWIG_arg_fail(1)) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= (arg1
)->GetPosition();
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16826 wxPoint
* resultptr
;
16827 resultptr
= new wxPoint((wxPoint
&)(result
));
16828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16836 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
16846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16847 if (SWIG_arg_fail(1)) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (bool)(arg1
)->Selecting();
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16864 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16868 PyObject
* obj0
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16875 if (SWIG_arg_fail(1)) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (bool)(arg1
)->ControlDown();
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16892 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16894 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16896 PyObject
* obj0
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "self", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16903 if (SWIG_arg_fail(1)) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= (bool)(arg1
)->MetaDown();
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16920 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
;
16922 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16924 PyObject
* obj0
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16931 if (SWIG_arg_fail(1)) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (bool)(arg1
)->ShiftDown();
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16948 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16952 PyObject
* obj0
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16959 if (SWIG_arg_fail(1)) SWIG_fail
;
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 result
= (bool)(arg1
)->AltDown();
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16976 static PyObject
* GridEvent_swigregister(PyObject
*, PyObject
*args
) {
16978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16979 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
16981 return Py_BuildValue((char *)"");
16983 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
;
16987 wxGrid
*arg3
= (wxGrid
*) 0 ;
16988 int arg4
= (int) -1 ;
16989 int arg5
= (int) -1 ;
16990 int arg6
= (int) -1 ;
16991 bool arg7
= (bool) false ;
16992 bool arg8
= (bool) false ;
16993 bool arg9
= (bool) false ;
16994 bool arg10
= (bool) false ;
16995 wxGridSizeEvent
*result
;
16996 PyObject
* obj0
= 0 ;
16997 PyObject
* obj1
= 0 ;
16998 PyObject
* obj2
= 0 ;
16999 PyObject
* obj3
= 0 ;
17000 PyObject
* obj4
= 0 ;
17001 PyObject
* obj5
= 0 ;
17002 PyObject
* obj6
= 0 ;
17003 PyObject
* obj7
= 0 ;
17004 PyObject
* obj8
= 0 ;
17005 PyObject
* obj9
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17012 arg1
= (int)(SWIG_As_int(obj0
));
17013 if (SWIG_arg_fail(1)) SWIG_fail
;
17016 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
17017 if (SWIG_arg_fail(2)) SWIG_fail
;
17019 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
17020 if (SWIG_arg_fail(3)) SWIG_fail
;
17023 arg4
= (int)(SWIG_As_int(obj3
));
17024 if (SWIG_arg_fail(4)) SWIG_fail
;
17029 arg5
= (int)(SWIG_As_int(obj4
));
17030 if (SWIG_arg_fail(5)) SWIG_fail
;
17035 arg6
= (int)(SWIG_As_int(obj5
));
17036 if (SWIG_arg_fail(6)) SWIG_fail
;
17041 arg7
= (bool)(SWIG_As_bool(obj6
));
17042 if (SWIG_arg_fail(7)) SWIG_fail
;
17047 arg8
= (bool)(SWIG_As_bool(obj7
));
17048 if (SWIG_arg_fail(8)) SWIG_fail
;
17053 arg9
= (bool)(SWIG_As_bool(obj8
));
17054 if (SWIG_arg_fail(9)) SWIG_fail
;
17059 arg10
= (bool)(SWIG_As_bool(obj9
));
17060 if (SWIG_arg_fail(10)) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
17077 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
;
17079 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17081 PyObject
* obj0
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
17087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17088 if (SWIG_arg_fail(1)) SWIG_fail
;
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= (int)(arg1
)->GetRowOrCol();
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= SWIG_From_int((int)(result
));
17105 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
;
17107 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17109 PyObject
* obj0
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "self", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17116 if (SWIG_arg_fail(1)) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 result
= (arg1
)->GetPosition();
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17125 wxPoint
* resultptr
;
17126 resultptr
= new wxPoint((wxPoint
&)(result
));
17127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17135 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17137 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17139 PyObject
* obj0
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17146 if (SWIG_arg_fail(1)) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (bool)(arg1
)->ControlDown();
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17163 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
;
17165 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17167 PyObject
* obj0
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17174 if (SWIG_arg_fail(1)) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= (bool)(arg1
)->MetaDown();
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17191 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
;
17193 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17195 PyObject
* obj0
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17202 if (SWIG_arg_fail(1)) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 result
= (bool)(arg1
)->ShiftDown();
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17219 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17221 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17223 PyObject
* obj0
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17230 if (SWIG_arg_fail(1)) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (bool)(arg1
)->AltDown();
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17247 static PyObject
* GridSizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17250 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
17252 return Py_BuildValue((char *)"");
17254 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17258 wxGrid
*arg3
= (wxGrid
*) 0 ;
17259 wxGridCellCoords
*arg4
= 0 ;
17260 wxGridCellCoords
*arg5
= 0 ;
17261 bool arg6
= (bool) true ;
17262 bool arg7
= (bool) false ;
17263 bool arg8
= (bool) false ;
17264 bool arg9
= (bool) false ;
17265 bool arg10
= (bool) false ;
17266 wxGridRangeSelectEvent
*result
;
17267 wxGridCellCoords temp4
;
17268 wxGridCellCoords temp5
;
17269 PyObject
* obj0
= 0 ;
17270 PyObject
* obj1
= 0 ;
17271 PyObject
* obj2
= 0 ;
17272 PyObject
* obj3
= 0 ;
17273 PyObject
* obj4
= 0 ;
17274 PyObject
* obj5
= 0 ;
17275 PyObject
* obj6
= 0 ;
17276 PyObject
* obj7
= 0 ;
17277 PyObject
* obj8
= 0 ;
17278 PyObject
* obj9
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17285 arg1
= (int)(SWIG_As_int(obj0
));
17286 if (SWIG_arg_fail(1)) SWIG_fail
;
17289 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
17290 if (SWIG_arg_fail(2)) SWIG_fail
;
17292 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
17293 if (SWIG_arg_fail(3)) SWIG_fail
;
17296 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
17300 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
17304 arg6
= (bool)(SWIG_As_bool(obj5
));
17305 if (SWIG_arg_fail(6)) SWIG_fail
;
17310 arg7
= (bool)(SWIG_As_bool(obj6
));
17311 if (SWIG_arg_fail(7)) SWIG_fail
;
17316 arg8
= (bool)(SWIG_As_bool(obj7
));
17317 if (SWIG_arg_fail(8)) SWIG_fail
;
17322 arg9
= (bool)(SWIG_As_bool(obj8
));
17323 if (SWIG_arg_fail(9)) SWIG_fail
;
17328 arg10
= (bool)(SWIG_As_bool(obj9
));
17329 if (SWIG_arg_fail(10)) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
17346 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17349 wxGridCellCoords result
;
17350 PyObject
* obj0
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "self", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
17356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17357 if (SWIG_arg_fail(1)) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= (arg1
)->GetTopLeftCoords();
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17366 wxGridCellCoords
* resultptr
;
17367 resultptr
= new wxGridCellCoords((wxGridCellCoords
&)(result
));
17368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
17376 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17378 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17379 wxGridCellCoords result
;
17380 PyObject
* obj0
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "self", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
17386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17387 if (SWIG_arg_fail(1)) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= (arg1
)->GetBottomRightCoords();
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17396 wxGridCellCoords
* resultptr
;
17397 resultptr
= new wxGridCellCoords((wxGridCellCoords
&)(result
));
17398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
17406 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17410 PyObject
* obj0
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
17416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17417 if (SWIG_arg_fail(1)) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 result
= (int)(arg1
)->GetTopRow();
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= SWIG_From_int((int)(result
));
17434 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17438 PyObject
* obj0
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "self", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
17444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17445 if (SWIG_arg_fail(1)) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (int)(arg1
)->GetBottomRow();
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= SWIG_From_int((int)(result
));
17462 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
;
17464 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17466 PyObject
* obj0
= 0 ;
17467 char *kwnames
[] = {
17468 (char *) "self", NULL
17471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
17472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17473 if (SWIG_arg_fail(1)) SWIG_fail
;
17475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17476 result
= (int)(arg1
)->GetLeftCol();
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= SWIG_From_int((int)(result
));
17490 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
;
17492 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17494 PyObject
* obj0
= 0 ;
17495 char *kwnames
[] = {
17496 (char *) "self", NULL
17499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
17500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17501 if (SWIG_arg_fail(1)) SWIG_fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 result
= (int)(arg1
)->GetRightCol();
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= SWIG_From_int((int)(result
));
17518 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17519 PyObject
*resultobj
;
17520 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17522 PyObject
* obj0
= 0 ;
17523 char *kwnames
[] = {
17524 (char *) "self", NULL
17527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
17528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17529 if (SWIG_arg_fail(1)) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 result
= (bool)(arg1
)->Selecting();
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17546 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17547 PyObject
*resultobj
;
17548 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17550 PyObject
* obj0
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17557 if (SWIG_arg_fail(1)) SWIG_fail
;
17559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 result
= (bool)(arg1
)->ControlDown();
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17574 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
;
17576 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17578 PyObject
* obj0
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self", NULL
17583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17585 if (SWIG_arg_fail(1)) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= (bool)(arg1
)->MetaDown();
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17602 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
;
17604 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17606 PyObject
* obj0
= 0 ;
17607 char *kwnames
[] = {
17608 (char *) "self", NULL
17611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17613 if (SWIG_arg_fail(1)) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17616 result
= (bool)(arg1
)->ShiftDown();
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17630 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17632 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17634 PyObject
* obj0
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "self", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17641 if (SWIG_arg_fail(1)) SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 result
= (bool)(arg1
)->AltDown();
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17658 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*, PyObject
*args
) {
17660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17661 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
17663 return Py_BuildValue((char *)"");
17665 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17669 wxObject
*arg3
= (wxObject
*) 0 ;
17672 wxControl
*arg6
= (wxControl
*) 0 ;
17673 wxGridEditorCreatedEvent
*result
;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 PyObject
* obj2
= 0 ;
17677 PyObject
* obj3
= 0 ;
17678 PyObject
* obj4
= 0 ;
17679 PyObject
* obj5
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17686 arg1
= (int)(SWIG_As_int(obj0
));
17687 if (SWIG_arg_fail(1)) SWIG_fail
;
17690 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
17691 if (SWIG_arg_fail(2)) SWIG_fail
;
17693 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
17694 if (SWIG_arg_fail(3)) SWIG_fail
;
17696 arg4
= (int)(SWIG_As_int(obj3
));
17697 if (SWIG_arg_fail(4)) SWIG_fail
;
17700 arg5
= (int)(SWIG_As_int(obj4
));
17701 if (SWIG_arg_fail(5)) SWIG_fail
;
17703 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
17704 if (SWIG_arg_fail(6)) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
17719 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
;
17721 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17723 PyObject
* obj0
= 0 ;
17724 char *kwnames
[] = {
17725 (char *) "self", NULL
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
17729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17730 if (SWIG_arg_fail(1)) SWIG_fail
;
17732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 result
= (int)(arg1
)->GetRow();
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= SWIG_From_int((int)(result
));
17747 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17748 PyObject
*resultobj
;
17749 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17751 PyObject
* obj0
= 0 ;
17752 char *kwnames
[] = {
17753 (char *) "self", NULL
17756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
17757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17758 if (SWIG_arg_fail(1)) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 result
= (int)(arg1
)->GetCol();
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= SWIG_From_int((int)(result
));
17775 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17776 PyObject
*resultobj
;
17777 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17779 PyObject
* obj0
= 0 ;
17780 char *kwnames
[] = {
17781 (char *) "self", NULL
17784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
17785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17786 if (SWIG_arg_fail(1)) SWIG_fail
;
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 result
= (wxControl
*)(arg1
)->GetControl();
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17795 resultobj
= wxPyMake_wxObject(result
, 0);
17803 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17807 PyObject
* obj0
= 0 ;
17808 PyObject
* obj1
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self",(char *) "row", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
17814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17815 if (SWIG_arg_fail(1)) SWIG_fail
;
17817 arg2
= (int)(SWIG_As_int(obj1
));
17818 if (SWIG_arg_fail(2)) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 (arg1
)->SetRow(arg2
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 Py_INCREF(Py_None
); resultobj
= Py_None
;
17834 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17838 PyObject
* obj0
= 0 ;
17839 PyObject
* obj1
= 0 ;
17840 char *kwnames
[] = {
17841 (char *) "self",(char *) "col", NULL
17844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
17845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17846 if (SWIG_arg_fail(1)) SWIG_fail
;
17848 arg2
= (int)(SWIG_As_int(obj1
));
17849 if (SWIG_arg_fail(2)) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 (arg1
)->SetCol(arg2
);
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17858 Py_INCREF(Py_None
); resultobj
= Py_None
;
17865 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17868 wxControl
*arg2
= (wxControl
*) 0 ;
17869 PyObject
* obj0
= 0 ;
17870 PyObject
* obj1
= 0 ;
17871 char *kwnames
[] = {
17872 (char *) "self",(char *) "ctrl", NULL
17875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17877 if (SWIG_arg_fail(1)) SWIG_fail
;
17878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
17879 if (SWIG_arg_fail(2)) SWIG_fail
;
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 (arg1
)->SetControl(arg2
);
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 Py_INCREF(Py_None
); resultobj
= Py_None
;
17894 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*, PyObject
*args
) {
17896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17897 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
17899 return Py_BuildValue((char *)"");
17901 static PyMethodDef SwigMethods
[] = {
17902 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17903 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17904 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17905 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17906 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17907 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17908 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17909 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
17910 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17911 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17912 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17913 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
17914 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17915 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
17916 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17917 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
17918 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17919 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17920 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17921 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17922 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17923 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
17924 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17925 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
17926 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17927 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
17928 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17929 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
17930 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17931 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
17932 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17933 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17934 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17935 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17936 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17937 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17938 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17939 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17940 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17941 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17942 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17943 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17944 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17945 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17946 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17947 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17948 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17949 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17950 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17951 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17952 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17953 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17954 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
17955 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17956 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17957 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17958 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17959 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17960 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17961 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17962 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17963 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17964 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17965 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17966 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
17967 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17968 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17969 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
17970 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17971 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17972 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
17973 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17974 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17975 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
17976 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17977 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17978 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
17979 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17980 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17981 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
17982 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17983 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17984 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
17985 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17986 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17987 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
17988 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17989 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17990 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17991 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17992 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17993 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17994 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17995 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17996 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17997 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17998 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17999 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18000 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18001 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18002 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18003 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18004 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18005 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18006 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18007 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18008 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18009 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18010 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18011 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18012 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18013 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18014 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18015 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18016 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18017 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18018 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18019 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18020 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18021 { (char *)"GridCellAttr_GetKind", (PyCFunction
) _wrap_GridCellAttr_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18022 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18023 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
18024 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18025 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18026 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18027 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18028 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18029 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18030 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18031 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18032 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
18033 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18034 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18035 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18036 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18037 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18038 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18039 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
18040 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18041 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18042 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18043 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18044 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18045 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18046 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18047 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18048 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18049 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18050 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18051 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18052 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18053 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18054 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18055 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18056 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18057 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18058 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18059 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18060 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18061 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18062 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18063 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18064 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18065 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18066 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18067 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18068 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18069 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18070 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18071 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18072 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18073 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18074 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18075 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
18076 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18077 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18078 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18079 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18080 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18081 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18082 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18083 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18084 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18085 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18086 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18087 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18088 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18089 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18090 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18091 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18092 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18093 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18094 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18095 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18096 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18097 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18098 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
18099 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18100 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
18101 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18102 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18103 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18104 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18105 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18106 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18107 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18108 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18109 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18110 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18111 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
18112 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18113 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18114 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18115 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18116 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18117 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18118 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18119 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18120 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18121 { (char *)"GridCellCoords_Get", (PyCFunction
) _wrap_GridCellCoords_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18122 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
18123 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18124 { (char *)"new_PreGrid", (PyCFunction
) _wrap_new_PreGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18125 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18126 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18127 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18128 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18129 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18130 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18131 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18132 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18133 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18134 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18135 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18136 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18137 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18138 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18139 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18140 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18141 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18142 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18143 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18144 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18145 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18146 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18147 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18148 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18149 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18150 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18151 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18152 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18153 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18154 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18155 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18156 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18157 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18158 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18159 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18160 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18161 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18162 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18163 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18164 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18165 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18166 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18167 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18168 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18169 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18170 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18171 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18172 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18173 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18174 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18175 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18176 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18177 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18178 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18179 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18180 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18181 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18182 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18183 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18184 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18185 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18186 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18187 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18188 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18189 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18190 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18191 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18192 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18193 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18194 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18195 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18196 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18197 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18198 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18199 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18200 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18201 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18202 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18203 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18204 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18205 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18206 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18207 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18208 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18209 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18210 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18211 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18212 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18213 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18214 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18215 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18216 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18217 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18218 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18219 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18220 { (char *)"Grid_DisableDragCell", (PyCFunction
) _wrap_Grid_DisableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18221 { (char *)"Grid_CanDragCell", (PyCFunction
) _wrap_Grid_CanDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18222 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18223 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18224 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18225 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18226 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18227 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18228 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18229 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18230 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18231 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18232 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18233 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18234 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18235 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18236 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18237 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18238 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18239 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18240 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18241 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18242 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18243 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18244 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18245 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18246 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18247 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18248 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18249 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18250 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18251 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18252 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18253 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18254 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18255 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18256 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18257 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18258 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18259 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18260 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18261 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18262 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18263 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18264 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18265 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18266 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18267 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18268 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18269 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18270 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18271 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18272 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18273 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18274 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18275 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18276 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18277 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18278 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18279 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18280 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18281 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18282 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18283 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18284 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18285 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18286 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18287 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18288 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18289 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18290 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18291 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18292 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18293 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18294 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18295 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18296 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18297 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18298 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18299 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18300 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18301 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18302 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18303 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18304 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18305 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18306 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18307 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18308 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18309 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18310 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18311 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18312 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18313 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18314 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18315 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18316 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18317 { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18318 { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18319 { (char *)"Grid_GetScrollLineX", (PyCFunction
) _wrap_Grid_GetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18320 { (char *)"Grid_GetScrollLineY", (PyCFunction
) _wrap_Grid_GetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18321 { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18322 { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18323 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18324 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
18325 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18326 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18327 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18328 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18329 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18330 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18331 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18332 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18333 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18334 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
18335 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18336 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18337 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18338 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18339 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18340 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18341 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18342 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
18343 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18344 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18345 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18346 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18347 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18348 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18349 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18350 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18351 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18352 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18353 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18354 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18355 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
18356 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18357 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18358 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18359 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18360 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18361 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18362 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18363 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
18364 { NULL
, NULL
, 0, NULL
}
18368 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18370 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
18371 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
18373 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
18374 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
18376 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
18377 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
18379 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
18380 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
18382 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
18383 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
18385 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
18386 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
18388 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
18389 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
18391 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
18392 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
18394 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
18395 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
18397 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
18398 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
18400 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
18401 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
18403 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
18404 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
18406 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
18407 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
18409 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
18410 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
18412 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
18413 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18415 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
18416 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18418 static void *_p_wxGridTo_p_wxPanel(void *x
) {
18419 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
18421 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
18422 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18424 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
18425 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18427 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
18428 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
18430 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
18431 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18433 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
18434 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
18436 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
18437 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18439 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
18440 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18442 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
18443 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18445 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
18446 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18448 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
18449 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
18451 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
18452 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18454 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
18455 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
18457 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
18458 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18460 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
18461 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18463 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
18464 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18466 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
18467 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
18469 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18470 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18472 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
18473 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18475 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
18476 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18478 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
18479 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18481 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
18482 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18484 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
18485 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18487 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
18488 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18490 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
18491 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18493 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
18494 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18496 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
18497 return (void *)((wxWindow
*) ((wxPanel
*) x
));
18499 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
18500 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
18502 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
18503 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18505 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
18506 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
18508 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
18509 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18511 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
18512 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
18514 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
18515 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18517 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
18518 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
18520 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
18521 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
18523 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
18524 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
18526 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
18527 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
18529 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
18530 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
18532 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
18533 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
18535 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
18536 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18538 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18539 return (void *)((wxWindow
*) ((wxControl
*) x
));
18541 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
18542 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18544 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
18545 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18547 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
18548 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18550 static void *_p_wxGridTo_p_wxWindow(void *x
) {
18551 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
18553 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18554 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18556 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
18557 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
18559 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
18560 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18562 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
18563 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18565 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
18566 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18568 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
18569 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
18571 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
18572 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18574 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
18575 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
18577 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
18578 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18580 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
18581 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18583 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
18584 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18586 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
18587 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
18589 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
18590 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18592 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
18593 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
18595 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
18596 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18598 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
18599 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
18601 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
18602 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
18604 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
18605 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
18607 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
18608 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
18610 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
18611 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
18613 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
18614 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18616 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
18617 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
18619 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
18620 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
18622 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
18623 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18625 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
18626 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
18628 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
18629 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18631 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
18632 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18634 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
18635 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18637 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
18638 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
18640 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
18641 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18643 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
18644 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18646 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
18647 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
18649 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
18650 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
18652 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
18653 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
18655 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
18656 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
18658 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
18659 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
18661 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
18662 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
18664 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
18665 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18667 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
18668 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
18670 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
18671 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
18673 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
18674 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18676 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
18677 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18679 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
18680 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18682 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
18683 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18685 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
18686 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18688 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
18689 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
18691 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
18692 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
18694 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
18695 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
18697 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
18698 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
18700 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
18701 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18703 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18704 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18706 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18707 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18709 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18710 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18712 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18713 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18715 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18716 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18718 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18719 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18721 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18722 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18724 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18725 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18727 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18728 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18730 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18731 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18733 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18734 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18736 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18737 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18739 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18742 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18745 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18746 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18748 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18749 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18751 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18754 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18755 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18757 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18758 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18760 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18761 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18763 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18764 return (void *)((wxObject
*) ((wxSizer
*) x
));
18766 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18767 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18769 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18770 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18772 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18775 static void *_p_wxEventTo_p_wxObject(void *x
) {
18776 return (void *)((wxObject
*) ((wxEvent
*) x
));
18778 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
18779 return (void *)((wxObject
*) ((wxFontData
*) x
));
18781 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
18782 return (void *)((wxObject
*) ((wxPrintData
*) x
));
18784 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18785 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18787 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18788 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18790 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18791 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18793 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
18794 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
18796 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
18797 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18799 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
18800 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18802 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
18803 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
18805 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18806 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18808 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18809 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18811 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18812 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18814 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18815 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18817 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18818 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18820 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18821 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18823 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
18824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18826 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
18827 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
18829 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
18830 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
18832 static void *_p_wxControlTo_p_wxObject(void *x
) {
18833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18835 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18836 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18838 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
18839 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18841 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18842 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18844 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
18845 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
18847 static void *_p_wxGridTo_p_wxObject(void *x
) {
18848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
18850 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18851 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18853 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
18854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18856 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
18857 return (void *)((wxObject
*) ((wxColourData
*) x
));
18859 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18860 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18862 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18863 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18865 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
18866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
18868 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
18869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18871 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
18872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18874 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
18875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18877 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
18878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18880 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
18881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18883 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
18884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18886 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
18887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18889 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
18890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18892 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
18893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18895 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18896 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18898 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
18899 return (void *)((wxObject
*) ((wxPrinter
*) x
));
18901 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18902 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18904 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
18905 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
18907 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18908 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18910 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18911 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18913 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18914 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18916 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18917 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18919 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18920 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18922 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18923 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18925 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18926 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18928 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18929 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18931 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
18932 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18934 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18935 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18937 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18938 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18940 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18941 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18943 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18944 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18946 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18947 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18949 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18950 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18952 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18953 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18955 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18958 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18961 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
18964 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18967 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18970 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18973 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18976 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18979 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
18980 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18982 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
18983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18985 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
18986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18988 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
18989 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
18991 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18992 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18994 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
18995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18997 static void *_p_wxImageTo_p_wxObject(void *x
) {
18998 return (void *)((wxObject
*) ((wxImage
*) x
));
19000 static void *_p_wxFrameTo_p_wxObject(void *x
) {
19001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
19003 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
19004 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
19006 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19007 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19009 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
19010 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
19012 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
19013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
19015 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
19016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19018 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19019 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19021 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19022 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19024 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19025 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19027 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19028 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19030 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19031 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19033 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19036 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
19037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
19039 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
19040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
19042 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
19043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
19045 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
19046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
19048 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
19049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
19051 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
19052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19054 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
19055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
19057 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
19058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19060 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
19061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
19063 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
19064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19066 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
19067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
19069 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
19070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19072 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
19073 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
19075 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
19076 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
19078 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
19079 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
19081 static void *_p_wxPanelTo_p_wxObject(void *x
) {
19082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
19084 static void *_p_wxDialogTo_p_wxObject(void *x
) {
19085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
19087 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
19088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19090 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
19091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19093 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
19094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19096 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
19097 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
19099 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
19100 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
19102 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19103 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19105 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19106 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19108 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19109 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19111 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19112 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19114 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19115 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19117 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19118 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19120 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19121 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19123 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
19124 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
19126 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
19127 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
19129 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19130 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19132 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19133 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19135 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
19136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
19138 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
19139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19141 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19142 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19144 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19145 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19147 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19148 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19150 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19153 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
19154 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
19156 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
19157 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
19159 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19160 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19162 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19163 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19165 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
19166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
19168 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
19169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
19171 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
19172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
19174 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
19175 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
19177 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
19178 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
19180 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
19181 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
19183 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
19184 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
19186 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
19187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19189 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
19190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
19192 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
19193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19195 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
19196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19198 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
19199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
19201 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
19202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
19204 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
19205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
19207 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
19208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
19210 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
19211 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
19213 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
19214 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
19216 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
19217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19219 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
19220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
19222 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
19223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19225 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
19226 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
19228 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
19229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19231 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
19232 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
19234 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
19235 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
19237 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
19238 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
19240 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
19241 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
19243 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
19244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
19246 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
19247 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
19249 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
19250 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
19252 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
19253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19255 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
19256 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
19258 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
19259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
19261 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
19262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
19264 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
19265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
19267 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
19268 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
19270 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
19271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
19273 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
19274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19276 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
19277 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
19279 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
19280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19282 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
19283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19285 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
19286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19288 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
19289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
19291 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
19292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19294 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
19295 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
19297 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
19298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
19300 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
19301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19303 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
19304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19306 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
19307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
19309 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
19310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19312 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
19313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19315 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
19316 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
19318 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
19319 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
19321 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
19322 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
19324 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
19325 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
19327 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
19328 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
19330 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
19331 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
19333 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
19334 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
19336 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
19337 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
19339 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
19340 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
19342 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
19343 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
19345 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
19346 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
19348 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
19349 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
19351 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
19352 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
19354 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19355 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19357 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19358 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19360 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19361 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19363 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19364 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19366 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19367 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19369 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19370 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19372 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19373 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19375 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
19376 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
19378 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
19379 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
19381 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19382 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19384 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
19385 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
19387 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
19388 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
19390 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
19391 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
19393 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19394 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19396 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19397 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19399 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19400 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19402 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
19403 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
19405 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
19406 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
19408 static swig_type_info _swigt__p_wxGridCellNumberRenderer
[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19409 static swig_type_info _swigt__p_wxPyGridCellRenderer
[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19410 static swig_type_info _swigt__p_wxGridCellRenderer
[] = {{"_p_wxGridCellRenderer", 0, "wxGridCellRenderer *", 0, 0, 0, 0},{"_p_wxGridCellRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", _p_wxPyGridCellRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", _p_wxGridCellStringRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19411 static swig_type_info _swigt__p_wxGridCellStringRenderer
[] = {{"_p_wxGridCellStringRenderer", 0, "wxGridCellStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19412 static swig_type_info _swigt__p_wxGridCellAttr
[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0, 0, 0, 0},{"_p_wxGridCellAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19413 static swig_type_info _swigt__p_wxGridCellFloatRenderer
[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19414 static swig_type_info _swigt__p_wxGridCellBoolRenderer
[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19415 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19416 static swig_type_info _swigt__p_wxGridCellEnumRenderer
[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19417 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19418 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19419 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19420 static swig_type_info _swigt__p_form_ops_t
[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19421 static swig_type_info _swigt__p_wxDuplexMode
[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19422 static swig_type_info _swigt__p_wxGridTableMessage
[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0, 0, 0, 0},{"_p_wxGridTableMessage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19423 static swig_type_info _swigt__p_wxGrid
[] = {{"_p_wxGrid", 0, "wxGrid *", 0, 0, 0, 0},{"_p_wxGrid", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19424 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19425 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19426 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19427 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19428 static swig_type_info _swigt__p_wxGridRangeSelectEvent
[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19429 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19430 static swig_type_info _swigt__p_wxGridCellCoords
[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0, 0, 0, 0},{"_p_wxGridCellCoords", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19431 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19432 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19433 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19434 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19435 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19436 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19437 static swig_type_info _swigt__p_wxGridSizeEvent
[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19438 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19439 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19440 static swig_type_info _swigt__p_wxPaperSize
[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19441 static swig_type_info _swigt__p_unsigned_int
[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19442 static swig_type_info _swigt__unsigned_int
[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19443 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19444 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19445 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19446 static swig_type_info _swigt__p_wxGridEvent
[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0, 0, 0, 0},{"_p_wxGridEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19447 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19448 static swig_type_info _swigt__p_wxGridTableBase
[] = {{"_p_wxGridTableBase", 0, "wxGridTableBase *", 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxGridTableBase
, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxGridTableBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19449 static swig_type_info _swigt__p_wxGridCellEditor
[] = {{"_p_wxGridCellEditor", 0, "wxGridCellEditor *", 0, 0, 0, 0},{"_p_wxGridCellEditor", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellEditor", _p_wxPyGridCellEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellTextEditor", _p_wxGridCellTextEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", _p_wxGridCellBoolEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19450 static swig_type_info _swigt__p_wxGridCellTextEditor
[] = {{"_p_wxGridCellTextEditor", 0, "wxGridCellTextEditor *", 0, 0, 0, 0},{"_p_wxGridCellTextEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19451 static swig_type_info _swigt__p_wxPyGridCellEditor
[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0, 0, 0, 0},{"_p_wxPyGridCellEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19452 static swig_type_info _swigt__p_wxGridCellNumberEditor
[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19453 static swig_type_info _swigt__p_wxGridCellFloatEditor
[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19454 static swig_type_info _swigt__p_wxGridCellBoolEditor
[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19455 static swig_type_info _swigt__p_wxPyGridTableBase
[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0, 0, 0, 0},{"_p_wxPyGridTableBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19456 static swig_type_info _swigt__p_wxGridStringTable
[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0, 0, 0, 0},{"_p_wxGridStringTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19457 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19458 static swig_type_info _swigt__std__ptrdiff_t
[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19459 static swig_type_info _swigt__ptrdiff_t
[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19460 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19461 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19462 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19463 static swig_type_info _swigt__p_wxGridCellAttrProvider
[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19464 static swig_type_info _swigt__p_wxGridCellChoiceEditor
[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19465 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19466 static swig_type_info _swigt__p_wxGridCellEnumEditor
[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19467 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19468 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19469 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19471 static swig_type_info
*swig_types_initial
[] = {
19472 _swigt__p_wxGridCellNumberRenderer
,
19473 _swigt__p_wxPyGridCellRenderer
,
19474 _swigt__p_wxGridCellRenderer
,
19475 _swigt__p_wxGridCellStringRenderer
,
19476 _swigt__p_wxGridCellAttr
,
19477 _swigt__p_wxGridCellFloatRenderer
,
19478 _swigt__p_wxGridCellBoolRenderer
,
19479 _swigt__p_wxGridCellDateTimeRenderer
,
19480 _swigt__p_wxGridCellEnumRenderer
,
19481 _swigt__p_wxGridCellAutoWrapStringRenderer
,
19482 _swigt__p_wxColour
,
19484 _swigt__p_form_ops_t
,
19485 _swigt__p_wxDuplexMode
,
19486 _swigt__p_wxGridTableMessage
,
19488 _swigt__p_wxVisualAttributes
,
19491 _swigt__p_wxNotifyEvent
,
19492 _swigt__p_wxGridRangeSelectEvent
,
19494 _swigt__p_wxGridCellCoords
,
19495 _swigt__p_wxScrolledWindow
,
19496 _swigt__p_wxWindow
,
19498 _swigt__p_wxControl
,
19500 _swigt__p_wxObject
,
19501 _swigt__p_wxGridSizeEvent
,
19504 _swigt__p_wxPaperSize
,
19505 _swigt__p_unsigned_int
,
19506 _swigt__unsigned_int
,
19507 _swigt__p_wxString
,
19508 _swigt__p_wxEvtHandler
,
19510 _swigt__p_wxGridEvent
,
19511 _swigt__p_wxGridEditorCreatedEvent
,
19512 _swigt__p_wxGridTableBase
,
19513 _swigt__p_wxGridCellEditor
,
19514 _swigt__p_wxGridCellTextEditor
,
19515 _swigt__p_wxPyGridCellEditor
,
19516 _swigt__p_wxGridCellNumberEditor
,
19517 _swigt__p_wxGridCellFloatEditor
,
19518 _swigt__p_wxGridCellBoolEditor
,
19519 _swigt__p_wxPyGridTableBase
,
19520 _swigt__p_wxGridStringTable
,
19521 _swigt__p_unsigned_char
,
19522 _swigt__std__ptrdiff_t
,
19524 _swigt__p_wxArrayString
,
19525 _swigt__p_wxCommandEvent
,
19527 _swigt__p_wxGridCellAttrProvider
,
19528 _swigt__p_wxGridCellChoiceEditor
,
19529 _swigt__p_wxKeyEvent
,
19530 _swigt__p_wxGridCellEnumEditor
,
19531 _swigt__p_wxGridCellAutoWrapStringEditor
,
19532 _swigt__p_wxPyGridCellAttrProvider
,
19533 _swigt__p_unsigned_long
,
19538 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19540 static swig_const_info swig_const_table
[] = {
19541 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
19542 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
19543 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
19544 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
19545 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
19546 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
19547 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
19548 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
19549 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
19550 {0, 0, 0, 0.0, 0, 0}};
19561 /* Python-specific SWIG API */
19562 #define SWIG_newvarlink() SWIG_Python_newvarlink()
19563 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
19564 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
19566 /* -----------------------------------------------------------------------------
19567 * global variable support code.
19568 * ----------------------------------------------------------------------------- */
19570 typedef struct swig_globalvar
{
19571 char *name
; /* Name of global variable */
19572 PyObject
*(*get_attr
)(); /* Return the current value */
19573 int (*set_attr
)(PyObject
*); /* Set the value */
19574 struct swig_globalvar
*next
;
19577 typedef struct swig_varlinkobject
{
19579 swig_globalvar
*vars
;
19580 } swig_varlinkobject
;
19583 swig_varlink_repr(swig_varlinkobject
*v
) {
19585 return PyString_FromString("<Swig global variables>");
19589 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
19590 swig_globalvar
*var
;
19592 fprintf(fp
,"Swig global variables { ");
19593 for (var
= v
->vars
; var
; var
=var
->next
) {
19594 fprintf(fp
,"%s", var
->name
);
19595 if (var
->next
) fprintf(fp
,", ");
19597 fprintf(fp
," }\n");
19602 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
19603 swig_globalvar
*var
= v
->vars
;
19605 if (strcmp(var
->name
,n
) == 0) {
19606 return (*var
->get_attr
)();
19610 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
19615 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
19616 swig_globalvar
*var
= v
->vars
;
19618 if (strcmp(var
->name
,n
) == 0) {
19619 return (*var
->set_attr
)(p
);
19623 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
19627 static PyTypeObject varlinktype
= {
19628 PyObject_HEAD_INIT(0)
19629 0, /* Number of items in variable part (ob_size) */
19630 (char *)"swigvarlink", /* Type name (tp_name) */
19631 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
19632 0, /* Itemsize (tp_itemsize) */
19633 0, /* Deallocator (tp_dealloc) */
19634 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
19635 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
19636 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
19637 0, /* tp_compare */
19638 (reprfunc
) swig_varlink_repr
, /* tp_repr */
19639 0, /* tp_as_number */
19640 0, /* tp_as_sequence */
19641 0, /* tp_as_mapping */
19645 0, /* tp_getattro */
19646 0, /* tp_setattro */
19647 0, /* tp_as_buffer */
19650 #if PY_VERSION_HEX >= 0x02000000
19651 0, /* tp_traverse */
19654 #if PY_VERSION_HEX >= 0x02010000
19655 0, /* tp_richcompare */
19656 0, /* tp_weaklistoffset */
19658 #if PY_VERSION_HEX >= 0x02020000
19659 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
19661 #if PY_VERSION_HEX >= 0x02030000
19664 #ifdef COUNT_ALLOCS
19665 0,0,0,0 /* tp_alloc -> tp_next */
19669 /* Create a variable linking object for use later */
19671 SWIG_Python_newvarlink(void) {
19672 swig_varlinkobject
*result
= 0;
19673 result
= PyMem_NEW(swig_varlinkobject
,1);
19674 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
19675 result
->ob_type
= &varlinktype
;
19677 result
->ob_refcnt
= 0;
19678 Py_XINCREF((PyObject
*) result
);
19679 return ((PyObject
*) result
);
19683 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
19684 swig_varlinkobject
*v
;
19685 swig_globalvar
*gv
;
19686 v
= (swig_varlinkobject
*) p
;
19687 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
19688 gv
->name
= (char *) malloc(strlen(name
)+1);
19689 strcpy(gv
->name
,name
);
19690 gv
->get_attr
= get_attr
;
19691 gv
->set_attr
= set_attr
;
19692 gv
->next
= v
->vars
;
19696 /* -----------------------------------------------------------------------------
19697 * constants/methods manipulation
19698 * ----------------------------------------------------------------------------- */
19700 /* Install Constants */
19702 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
19705 for (i
= 0; constants
[i
].type
; i
++) {
19706 switch(constants
[i
].type
) {
19708 obj
= PyInt_FromLong(constants
[i
].lvalue
);
19710 case SWIG_PY_FLOAT
:
19711 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
19713 case SWIG_PY_STRING
:
19714 if (constants
[i
].pvalue
) {
19715 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
19717 Py_INCREF(Py_None
);
19721 case SWIG_PY_POINTER
:
19722 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
19724 case SWIG_PY_BINARY
:
19725 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
19732 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
19738 /* -----------------------------------------------------------------------------*/
19739 /* Fix SwigMethods to carry the callback ptrs when needed */
19740 /* -----------------------------------------------------------------------------*/
19743 SWIG_Python_FixMethods(PyMethodDef
*methods
,
19744 swig_const_info
*const_table
,
19745 swig_type_info
**types
,
19746 swig_type_info
**types_initial
) {
19748 for (i
= 0; methods
[i
].ml_name
; ++i
) {
19749 char *c
= methods
[i
].ml_doc
;
19750 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
19752 swig_const_info
*ci
= 0;
19753 char *name
= c
+ 10;
19754 for (j
= 0; const_table
[j
].type
; j
++) {
19755 if (strncmp(const_table
[j
].name
, name
,
19756 strlen(const_table
[j
].name
)) == 0) {
19757 ci
= &(const_table
[j
]);
19762 size_t shift
= (ci
->ptype
) - types
;
19763 swig_type_info
*ty
= types_initial
[shift
];
19764 size_t ldoc
= (c
- methods
[i
].ml_doc
);
19765 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
19766 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
19768 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
19769 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
19771 strncpy(buff
, "swig_ptr: ", 10);
19773 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
19774 methods
[i
].ml_doc
= ndoc
;
19780 /* -----------------------------------------------------------------------------*
19781 * Initialize type list
19782 * -----------------------------------------------------------------------------*/
19784 #if PY_MAJOR_VERSION < 2
19785 /* PyModule_AddObject function was introduced in Python 2.0. The following function
19786 is copied out of Python/modsupport.c in python version 2.3.4 */
19788 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
19791 if (!PyModule_Check(m
)) {
19792 PyErr_SetString(PyExc_TypeError
,
19793 "PyModule_AddObject() needs module as first arg");
19797 PyErr_SetString(PyExc_TypeError
,
19798 "PyModule_AddObject() needs non-NULL value");
19802 dict
= PyModule_GetDict(m
);
19803 if (dict
== NULL
) {
19804 /* Internal error -- modules must have a dict! */
19805 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
19806 PyModule_GetName(m
));
19809 if (PyDict_SetItemString(dict
, name
, o
))
19816 static swig_type_info
**
19817 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
19818 static PyMethodDef swig_empty_runtime_method_table
[] = {
19820 NULL
, NULL
, 0, NULL
19824 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
19825 swig_empty_runtime_method_table
);
19826 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
19827 if (pointer
&& module) {
19828 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
19830 return type_list_handle
;
19833 static swig_type_info
**
19834 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
19835 swig_type_info
**type_pointer
;
19837 /* first check if module already created */
19838 type_pointer
= SWIG_Python_GetTypeListHandle();
19839 if (type_pointer
) {
19840 return type_pointer
;
19842 /* create a new module and variable */
19843 return SWIG_Python_SetTypeListHandle(type_list_handle
);
19851 /* -----------------------------------------------------------------------------*
19852 * Partial Init method
19853 * -----------------------------------------------------------------------------*/
19855 #ifdef SWIG_LINK_RUNTIME
19859 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
19865 SWIGEXPORT(void) SWIG_init(void) {
19866 static PyObject
*SWIG_globals
= 0;
19867 static int typeinit
= 0;
19870 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19872 /* Fix SwigMethods to carry the callback ptrs when needed */
19873 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
19875 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19876 d
= PyModule_GetDict(m
);
19879 #ifdef SWIG_LINK_RUNTIME
19880 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
19882 # ifndef SWIG_STATIC_RUNTIME
19883 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
19886 for (i
= 0; swig_types_initial
[i
]; i
++) {
19887 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19891 SWIG_InstallConstants(d
,swig_const_table
);
19893 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
19894 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
19895 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
19896 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
19897 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
19898 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
19899 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
19900 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
19901 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
19902 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19903 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
19904 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
19906 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int((int)(wxGRID_DEFAULT_NUMBER_ROWS
)));
19909 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int((int)(wxGRID_DEFAULT_NUMBER_COLS
)));
19912 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int((int)(wxGRID_DEFAULT_ROW_HEIGHT
)));
19915 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_COL_WIDTH
)));
19918 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int((int)(wxGRID_DEFAULT_COL_LABEL_HEIGHT
)));
19921 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_ROW_LABEL_WIDTH
)));
19924 PyDict_SetItemString(d
,"GRID_LABEL_EDGE_ZONE", SWIG_From_int((int)(wxGRID_LABEL_EDGE_ZONE
)));
19927 PyDict_SetItemString(d
,"GRID_MIN_ROW_HEIGHT", SWIG_From_int((int)(wxGRID_MIN_ROW_HEIGHT
)));
19930 PyDict_SetItemString(d
,"GRID_MIN_COL_WIDTH", SWIG_From_int((int)(wxGRID_MIN_COL_WIDTH
)));
19933 PyDict_SetItemString(d
,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_SCROLLBAR_WIDTH
)));
19936 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_From_int((int)(wxGridCellAttr::Any
)));
19939 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_From_int((int)(wxGridCellAttr::Default
)));
19942 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_From_int((int)(wxGridCellAttr::Cell
)));
19945 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_From_int((int)(wxGridCellAttr::Row
)));
19948 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_From_int((int)(wxGridCellAttr::Col
)));
19951 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_From_int((int)(wxGridCellAttr::Merged
)));
19954 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int((int)(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)));
19957 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int((int)(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)));
19960 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)));
19963 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)));
19966 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_DELETED
)));
19969 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_INSERTED
)));
19972 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_APPENDED
)));
19975 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_DELETED
)));
19978 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_From_int((int)(wxGrid::wxGridSelectCells
)));
19981 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_From_int((int)(wxGrid::wxGridSelectRows
)));
19984 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_From_int((int)(wxGrid::wxGridSelectColumns
)));
19986 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
19987 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
19988 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
19989 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
19990 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
19991 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
19992 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
19993 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
19994 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
19995 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
19996 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
19997 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
19998 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
19999 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
20000 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
20001 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
20002 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));