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",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[0]
1342 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[1]
1343 #define SWIGTYPE_p_wxGridCellRenderer swig_types[2]
1344 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[3]
1345 #define SWIGTYPE_p_wxGridCellAttr swig_types[4]
1346 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[5]
1347 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[6]
1348 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[7]
1349 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[8]
1350 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[9]
1351 #define SWIGTYPE_p_wxColour swig_types[10]
1352 #define SWIGTYPE_p_wxDC swig_types[11]
1353 #define SWIGTYPE_p_form_ops_t swig_types[12]
1354 #define SWIGTYPE_p_wxDuplexMode swig_types[13]
1355 #define SWIGTYPE_p_wxGridTableMessage swig_types[14]
1356 #define SWIGTYPE_p_wxGrid swig_types[15]
1357 #define SWIGTYPE_p_wxVisualAttributes swig_types[16]
1358 #define SWIGTYPE_p_char swig_types[17]
1359 #define SWIGTYPE_p_wxPanel swig_types[18]
1360 #define SWIGTYPE_p_wxNotifyEvent swig_types[19]
1361 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[20]
1362 #define SWIGTYPE_p_wxSize swig_types[21]
1363 #define SWIGTYPE_p_wxGridCellCoords swig_types[22]
1364 #define SWIGTYPE_p_wxScrolledWindow swig_types[23]
1365 #define SWIGTYPE_p_wxWindow swig_types[24]
1366 #define SWIGTYPE_p_wxFont swig_types[25]
1367 #define SWIGTYPE_p_wxControl swig_types[26]
1368 #define SWIGTYPE_p_wxEvent swig_types[27]
1369 #define SWIGTYPE_p_wxObject swig_types[28]
1370 #define SWIGTYPE_p_wxGridSizeEvent swig_types[29]
1371 #define SWIGTYPE_p_wxRect swig_types[30]
1372 #define SWIGTYPE_p_long swig_types[31]
1373 #define SWIGTYPE_p_wxPaperSize swig_types[32]
1374 #define SWIGTYPE_p_unsigned_int swig_types[33]
1375 #define SWIGTYPE_unsigned_int swig_types[34]
1376 #define SWIGTYPE_p_wxString swig_types[35]
1377 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
1378 #define SWIGTYPE_p_wxPoint swig_types[37]
1379 #define SWIGTYPE_p_wxGridEvent swig_types[38]
1380 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[39]
1381 #define SWIGTYPE_p_wxGridTableBase swig_types[40]
1382 #define SWIGTYPE_p_wxGridCellEditor swig_types[41]
1383 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[42]
1384 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[43]
1385 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[44]
1386 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[45]
1387 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[46]
1388 #define SWIGTYPE_p_wxPyGridTableBase swig_types[47]
1389 #define SWIGTYPE_p_wxGridStringTable swig_types[48]
1390 #define SWIGTYPE_p_unsigned_char swig_types[49]
1391 #define SWIGTYPE_std__ptrdiff_t swig_types[50]
1392 #define SWIGTYPE_ptrdiff_t swig_types[51]
1393 #define SWIGTYPE_p_wxArrayString swig_types[52]
1394 #define SWIGTYPE_p_wxCommandEvent swig_types[53]
1395 #define SWIGTYPE_p_int swig_types[54]
1396 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[55]
1397 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[56]
1398 #define SWIGTYPE_p_wxKeyEvent swig_types[57]
1399 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[58]
1400 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[59]
1401 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[60]
1402 #define SWIGTYPE_p_unsigned_long swig_types[61]
1403 static swig_type_info
*swig_types
[63];
1405 /* -------- TYPES TABLE (END) -------- */
1408 /*-----------------------------------------------
1409 @(target):= _grid.so
1410 ------------------------------------------------*/
1411 #define SWIG_init init_grid
1413 #define SWIG_name "_grid"
1415 #include "wx/wxPython/wxPython.h"
1416 #include "wx/wxPython/pyclasses.h"
1417 #include "wx/wxPython/printfw.h"
1419 #include <wx/grid.h>
1420 #include <wx/generic/gridctrl.h>
1423 static const wxString
wxPyEmptyString(wxEmptyString
);
1424 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1425 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
1428 #define wxPyMake_TEMPLATE(TYPE) \
1429 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
1430 PyObject* target = NULL; \
1432 /* Check if there is already a pointer to a Python object in the \
1433 OOR data that we can use. */ \
1434 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
1436 target = data->m_obj; \
1438 Py_INCREF(target); \
1440 /* Otherwise make a new wrapper for it the old fashioned way and \
1441 give it the OOR treatment */ \
1443 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
1445 source->SetClientObject(new wxPyOORClientData(target)); \
1447 } else { /* source was NULL so return None. */ \
1448 Py_INCREF(Py_None); target = Py_None; \
1454 wxPyMake_TEMPLATE(wxGridCellRenderer)
1455 wxPyMake_TEMPLATE(wxGridCellEditor
)
1456 wxPyMake_TEMPLATE(wxGridCellAttr
)
1457 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
1458 wxPyMake_TEMPLATE(wxGridTableBase
)
1462 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
1463 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
1464 wxGridCellAttr* rval = NULL; \
1466 bool blocked = wxPyBeginBlockThreads(); \
1467 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1469 wxGridCellAttr* ptr; \
1470 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
1472 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
1477 wxPyEndBlockThreads(blocked); \
1479 rval = PCLASS::CBNAME(a, b, c); \
1482 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
1483 return PCLASS::CBNAME(a, b, c); \
1488 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
1489 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
1490 bool blocked = wxPyBeginBlockThreads(); \
1492 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1493 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
1494 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
1497 wxPyEndBlockThreads(blocked); \
1499 PCLASS::CBNAME(attr, a, b); \
1501 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
1502 PCLASS::CBNAME(attr, a, b); \
1507 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
1508 void CBNAME(wxGridCellAttr *attr, int val) { \
1509 bool blocked = wxPyBeginBlockThreads(); \
1511 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1512 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
1513 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
1516 wxPyEndBlockThreads(blocked); \
1518 PCLASS::CBNAME(attr, val); \
1520 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
1521 PCLASS::CBNAME(attr, val); \
1526 #define PYCALLBACK_INT__pure(CBNAME) \
1528 bool blocked = wxPyBeginBlockThreads(); \
1530 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
1531 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1532 wxPyEndBlockThreads(blocked); \
1538 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
1539 bool CBNAME(int a, int b) { \
1540 bool blocked = wxPyBeginBlockThreads(); \
1542 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
1543 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
1544 wxPyEndBlockThreads(blocked); \
1549 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
1550 wxString CBNAME(int a, int b) { \
1551 bool blocked = wxPyBeginBlockThreads(); \
1553 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
1555 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1557 rval = Py2wxString(ro); \
1561 wxPyEndBlockThreads(blocked); \
1566 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
1567 void CBNAME(int a, int b, const wxString& c) { \
1568 bool blocked = wxPyBeginBlockThreads(); \
1569 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
1570 PyObject* s = wx2PyString(c); \
1571 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
1574 wxPyEndBlockThreads(blocked); \
1578 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
1579 wxString CBNAME(int a, int b) { \
1581 bool blocked = wxPyBeginBlockThreads(); \
1583 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1585 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1587 rval = Py2wxString(ro); \
1591 wxPyEndBlockThreads(blocked); \
1593 rval = PCLASS::CBNAME(a, b); \
1596 wxString base_##CBNAME(int a, int b) { \
1597 return PCLASS::CBNAME(a, b); \
1601 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
1602 bool CBNAME(int a, int b, const wxString& c) { \
1605 bool blocked = wxPyBeginBlockThreads(); \
1606 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1607 PyObject* s = wx2PyString(c); \
1608 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
1611 wxPyEndBlockThreads(blocked); \
1613 rval = PCLASS::CBNAME(a,b,c); \
1616 bool base_##CBNAME(int a, int b, const wxString& c) { \
1617 return PCLASS::CBNAME(a,b,c); \
1623 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
1624 long CBNAME(int a, int b) { \
1627 bool blocked = wxPyBeginBlockThreads(); \
1628 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1629 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1630 wxPyEndBlockThreads(blocked); \
1632 rval = PCLASS::CBNAME(a,b); \
1635 long base_##CBNAME(int a, int b) { \
1636 return PCLASS::CBNAME(a,b); \
1641 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
1642 bool CBNAME(int a, int b) { \
1645 bool blocked = wxPyBeginBlockThreads(); \
1646 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1647 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1648 wxPyEndBlockThreads(blocked); \
1650 rval = PCLASS::CBNAME(a,b); \
1653 bool base_##CBNAME(int a, int b) { \
1654 return PCLASS::CBNAME(a,b); \
1659 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
1660 double CBNAME(int a, int b) { \
1662 bool blocked = wxPyBeginBlockThreads(); \
1664 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1666 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1668 PyObject* str = PyObject_Str(ro); \
1669 rval = PyFloat_AsDouble(str); \
1670 Py_DECREF(ro); Py_DECREF(str); \
1673 wxPyEndBlockThreads(blocked); \
1675 rval = PCLASS::CBNAME(a, b); \
1678 double base_##CBNAME(int a, int b) { \
1679 return PCLASS::CBNAME(a, b); \
1684 #define PYCALLBACK__(PCLASS, CBNAME) \
1687 bool blocked = wxPyBeginBlockThreads(); \
1688 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1689 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1690 wxPyEndBlockThreads(blocked); \
1694 void base_##CBNAME() { \
1701 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
1702 bool CBNAME(size_t a, size_t b) { \
1705 bool blocked = wxPyBeginBlockThreads(); \
1706 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1707 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1708 wxPyEndBlockThreads(blocked); \
1710 rval = PCLASS::CBNAME(a,b); \
1713 bool base_##CBNAME(size_t a, size_t b) { \
1714 return PCLASS::CBNAME(a,b); \
1719 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
1720 bool CBNAME(size_t a) { \
1723 bool blocked = wxPyBeginBlockThreads(); \
1724 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1725 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
1726 wxPyEndBlockThreads(blocked); \
1728 rval = PCLASS::CBNAME(a); \
1731 bool base_##CBNAME(size_t a) { \
1732 return PCLASS::CBNAME(a); \
1736 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
1737 wxString CBNAME(int a) { \
1739 bool blocked = wxPyBeginBlockThreads(); \
1741 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1743 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
1745 rval = Py2wxString(ro); \
1749 wxPyEndBlockThreads(blocked); \
1751 rval = PCLASS::CBNAME(a); \
1754 wxString base_##CBNAME(int a) { \
1755 return PCLASS::CBNAME(a); \
1759 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
1760 void CBNAME(int a, const wxString& c) { \
1762 bool blocked = wxPyBeginBlockThreads(); \
1763 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1764 PyObject* s = wx2PyString(c); \
1765 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
1768 wxPyEndBlockThreads(blocked); \
1770 PCLASS::CBNAME(a,c); \
1772 void base_##CBNAME(int a, const wxString& c) { \
1773 PCLASS::CBNAME(a,c); \
1779 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
1783 bool blocked = wxPyBeginBlockThreads(); \
1784 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1785 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1786 wxPyEndBlockThreads(blocked); \
1788 rval = PCLASS::CBNAME(); \
1791 bool base_##CBNAME() { \
1792 return PCLASS::CBNAME(); \
1797 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
1798 void CBNAME(size_t a, int b) { \
1800 bool blocked = wxPyBeginBlockThreads(); \
1801 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1802 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1803 wxPyEndBlockThreads(blocked); \
1805 PCLASS::CBNAME(a,b); \
1807 void base_##CBNAME(size_t a, int b) { \
1808 PCLASS::CBNAME(a,b); \
1814 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
1815 void CBNAME(int a, int b, long c) { \
1817 bool blocked = wxPyBeginBlockThreads(); \
1818 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1819 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
1820 wxPyEndBlockThreads(blocked); \
1822 PCLASS::CBNAME(a,b,c); \
1824 void base_##CBNAME(int a, int b, long c) { \
1825 PCLASS::CBNAME(a,b,c); \
1831 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
1832 void CBNAME(int a, int b, double c) { \
1834 bool blocked = wxPyBeginBlockThreads(); \
1835 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1836 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
1837 wxPyEndBlockThreads(blocked); \
1839 PCLASS::CBNAME(a,b,c); \
1841 void base_##CBNAME(int a, int b, double c) { \
1842 PCLASS::CBNAME(a,b,c); \
1847 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
1848 void CBNAME(int a, int b, bool c) { \
1850 bool blocked = wxPyBeginBlockThreads(); \
1851 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1852 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
1853 wxPyEndBlockThreads(blocked); \
1855 PCLASS::CBNAME(a,b,c); \
1857 void base_##CBNAME(int a, int b, bool c) { \
1858 PCLASS::CBNAME(a,b,c); \
1866 SWIGINTERN PyObject
*
1867 SWIG_FromCharPtr(const char* cptr
)
1870 size_t size
= strlen(cptr
);
1871 if (size
> INT_MAX
) {
1872 return SWIG_NewPointerObj((char*)(cptr
),
1873 SWIG_TypeQuery("char *"), 0);
1876 return PyString_FromStringAndSize(cptr
, size
);
1878 return PyString_FromString(cptr
);
1887 #define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
1888 #define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
1889 #define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
1890 #define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
1891 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
1892 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
1893 #define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
1894 #define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
1895 #define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
1896 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
1899 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1900 #define SWIG_From_int PyInt_FromLong
1903 static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
1904 if (!self
->GetClientObject())
1905 self
->SetClientObject(new wxPyOORClientData(_self
));
1912 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1915 if (value
< min_value
) {
1917 PyErr_Format(PyExc_OverflowError
,
1918 "value %ld is less than '%s' minimum %ld",
1919 value
, errmsg
, min_value
);
1922 } else if (value
> max_value
) {
1924 PyErr_Format(PyExc_OverflowError
,
1925 "value %ld is greater than '%s' maximum %ld",
1926 value
, errmsg
, max_value
);
1935 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1937 if (PyNumber_Check(obj
)) {
1938 if (val
) *val
= PyInt_AsLong(obj
);
1942 SWIG_type_error("number", obj
);
1948 #if INT_MAX != LONG_MAX
1950 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1952 const char* errmsg
= val
? "int" : (char*)0;
1954 if (SWIG_AsVal_long(obj
, &v
)) {
1955 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1956 if (val
) *val
= (int)(v
);
1965 SWIG_type_error(errmsg
, obj
);
1971 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1973 return SWIG_AsVal_long(obj
,(long*)val
);
1979 SWIG_As_int(PyObject
* obj
)
1982 if (!SWIG_AsVal_int(obj
, &v
)) {
1984 this is needed to make valgrind/purify happier.
1986 memset((void*)&v
, 0, sizeof(int));
1993 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1995 if (obj
== Py_True
) {
1996 if (val
) *val
= true;
1999 if (obj
== Py_False
) {
2000 if (val
) *val
= false;
2004 if (SWIG_AsVal_int(obj
, &res
)) {
2005 if (val
) *val
= res
? true : false;
2011 SWIG_type_error("bool", obj
);
2017 SWIGINTERNSHORT
bool
2018 SWIG_As_bool(PyObject
* obj
)
2021 if (!SWIG_AsVal_bool(obj
, &v
)) {
2023 this is needed to make valgrind/purify happier.
2025 memset((void*)&v
, 0, sizeof(bool));
2032 SWIG_Check_int(PyObject
* obj
)
2034 return SWIG_AsVal_int(obj
, (int*)0);
2039 SWIG_Check_bool(PyObject
* obj
)
2041 return SWIG_AsVal_bool(obj
, (bool*)0);
2045 class wxPyGridCellRenderer
: public wxGridCellRenderer
2048 wxPyGridCellRenderer() : wxGridCellRenderer() {};
2050 // Implement Python callback aware virtual methods
2051 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
2052 wxDC
& dc
, const wxRect
& rect
,
2053 int row
, int col
, bool isSelected
) {
2054 bool blocked
= wxPyBeginBlockThreads();
2055 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
2056 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
2057 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
2058 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
2059 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
2061 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
2062 row
, col
, isSelected
));
2068 wxPyEndBlockThreads(blocked
);
2071 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
2074 bool blocked
= wxPyBeginBlockThreads();
2075 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
2078 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
2079 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
2080 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
2082 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
2090 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
2091 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
2094 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
2095 PyObject
* o1
= PySequence_GetItem(ro
, 0);
2096 PyObject
* o2
= PySequence_GetItem(ro
, 1);
2097 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
2098 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
2100 PyErr_SetString(PyExc_TypeError
, errmsg
);
2105 PyErr_SetString(PyExc_TypeError
, errmsg
);
2110 wxPyEndBlockThreads(blocked
);
2115 wxGridCellRenderer
*Clone() const {
2116 wxGridCellRenderer
* rval
= NULL
;
2117 bool blocked
= wxPyBeginBlockThreads();
2118 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
2120 wxGridCellRenderer
* ptr
;
2121 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2123 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
2128 wxPyEndBlockThreads(blocked
);
2132 DEC_PYCALLBACK__STRING(SetParameters
);
2137 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
2140 static void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
2141 if (!self
->GetClientObject())
2142 self
->SetClientObject(new wxPyOORClientData(_self
));
2145 class wxPyGridCellEditor
: public wxGridCellEditor
2148 wxPyGridCellEditor() : wxGridCellEditor() {}
2150 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
2151 bool blocked
= wxPyBeginBlockThreads();
2152 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
2153 PyObject
* po
= wxPyMake_wxObject(parent
,false);
2154 PyObject
* eo
= wxPyMake_wxObject(evtHandler
,false);
2156 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
2160 wxPyEndBlockThreads(blocked
);
2164 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
2165 bool blocked
= wxPyBeginBlockThreads();
2166 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
2167 PyObject
* go
= wxPyMake_wxObject(grid
,false);
2168 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
2171 wxPyEndBlockThreads(blocked
);
2175 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
2177 bool blocked
= wxPyBeginBlockThreads();
2178 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
2179 PyObject
* go
= wxPyMake_wxObject(grid
,false);
2180 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
2183 wxPyEndBlockThreads(blocked
);
2188 wxGridCellEditor
* Clone() const {
2189 wxGridCellEditor
* rval
= NULL
;
2190 bool blocked
= wxPyBeginBlockThreads();
2191 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
2193 wxGridCellEditor
* ptr
;
2194 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2196 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
2201 wxPyEndBlockThreads(blocked
);
2206 void Show(bool show
, wxGridCellAttr
*attr
) {
2208 bool blocked
= wxPyBeginBlockThreads();
2209 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
2210 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
2211 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
2214 wxPyEndBlockThreads(blocked
);
2216 wxGridCellEditor::Show(show
, attr
);
2218 void base_Show(bool show
, wxGridCellAttr
*attr
) {
2219 wxGridCellEditor::Show(show
, attr
);
2223 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
2225 bool blocked
= wxPyBeginBlockThreads();
2226 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
2227 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
2228 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
2230 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
2235 wxPyEndBlockThreads(blocked
);
2237 wxGridCellEditor::PaintBackground(rectCell
, attr
);
2239 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
2240 wxGridCellEditor::PaintBackground(rectCell
, attr
);
2244 DEC_PYCALLBACK___pure(Reset
);
2245 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
2246 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
2247 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
2248 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
2249 DEC_PYCALLBACK__(StartingClick
);
2250 DEC_PYCALLBACK__(Destroy
);
2251 DEC_PYCALLBACK__STRING(SetParameters
);
2252 DEC_PYCALLBACK_STRING__constpure(GetValue
);
2258 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
2259 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
2260 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
2261 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
2262 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
2263 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
2264 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
2265 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
2266 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
2269 static void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
2270 if (!self
->GetClientObject())
2271 self
->SetClientObject(new wxPyOORClientData(_self
));
2274 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
2280 } else if (target
== Py_None
) {
2284 if (!PyTuple_Check(target
)) {
2286 target
= PyTuple_New(1);
2287 PyTuple_SetItem(target
, 0, o2
);
2289 o3
= PyTuple_New(1);
2290 PyTuple_SetItem(o3
, 0, o
);
2293 target
= PySequence_Concat(o2
, o3
);
2301 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
2302 if (!self
->GetClientObject())
2303 self
->SetClientObject(new wxPyOORClientData(_self
));
2307 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2310 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2311 SWIG_type_error("unsigned number", obj
);
2314 *val
= (unsigned long)v
;
2319 SWIGINTERNSHORT
unsigned long
2320 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2323 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2325 this is needed to make valgrind/purify happier.
2327 memset((void*)&v
, 0, sizeof(unsigned long));
2334 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2336 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2340 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
2343 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
2345 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
2346 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
2347 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
2348 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
2353 static void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
2354 if (!self
->GetClientObject())
2355 self
->SetClientObject(new wxPyOORClientData(_self
));
2358 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2359 #define SWIG_From_long PyInt_FromLong
2363 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2364 #define SWIG_From_double PyFloat_FromDouble
2368 SWIGINTERNSHORT
long
2369 SWIG_As_long(PyObject
* obj
)
2372 if (!SWIG_AsVal_long(obj
, &v
)) {
2374 this is needed to make valgrind/purify happier.
2376 memset((void*)&v
, 0, sizeof(long));
2383 SWIG_Check_long(PyObject
* obj
)
2385 return SWIG_AsVal_long(obj
, (long*)0);
2390 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2392 if (PyNumber_Check(obj
)) {
2393 if (val
) *val
= PyFloat_AsDouble(obj
);
2397 SWIG_type_error("number", obj
);
2403 SWIGINTERNSHORT
double
2404 SWIG_As_double(PyObject
* obj
)
2407 if (!SWIG_AsVal_double(obj
, &v
)) {
2409 this is needed to make valgrind/purify happier.
2411 memset((void*)&v
, 0, sizeof(double));
2418 SWIG_Check_double(PyObject
* obj
)
2420 return SWIG_AsVal_double(obj
, (double*)0);
2424 class wxPyGridTableBase
: public wxGridTableBase
2427 wxPyGridTableBase() : wxGridTableBase() {}
2429 PYCALLBACK_INT__pure(GetNumberRows
);
2430 PYCALLBACK_INT__pure(GetNumberCols
);
2431 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
2432 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
2433 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
2434 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
2435 PYCALLBACK__(wxGridTableBase
, Clear
);
2436 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
2437 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
2438 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
2439 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
2440 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
2441 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
2442 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
2443 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
2444 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
2445 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
2446 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
2447 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
2448 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
2449 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
2450 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
2453 wxString
GetValue(int row
, int col
) {
2454 bool blocked
= wxPyBeginBlockThreads();
2456 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2458 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
2460 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
2462 ro
= PyObject_Str(ro
);
2465 rval
= Py2wxString(ro
);
2469 wxPyEndBlockThreads(blocked
);
2473 void SetValue(int row
, int col
, const wxString
& val
) {
2474 bool blocked
= wxPyBeginBlockThreads();
2475 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2476 PyObject
* s
= wx2PyString(val
);
2477 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
2480 wxPyEndBlockThreads(blocked
);
2484 // Map the Get/Set methods for the standard non-string types to
2485 // the GetValue and SetValue python methods.
2486 long GetValueAsLong( int row
, int col
) {
2488 bool blocked
= wxPyBeginBlockThreads();
2489 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2492 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
2493 if (ro
&& PyNumber_Check(ro
)) {
2494 num
= PyNumber_Int(ro
);
2496 rval
= PyInt_AsLong(num
);
2502 wxPyEndBlockThreads(blocked
);
2506 double GetValueAsDouble( int row
, int col
) {
2508 bool blocked
= wxPyBeginBlockThreads();
2509 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2512 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
2513 if (ro
&& PyNumber_Check(ro
)) {
2514 num
= PyNumber_Float(ro
);
2516 rval
= PyFloat_AsDouble(num
);
2522 wxPyEndBlockThreads(blocked
);
2526 bool GetValueAsBool( int row
, int col
) {
2527 return (bool)GetValueAsLong(row
, col
);
2530 void SetValueAsLong( int row
, int col
, long value
) {
2531 bool blocked
= wxPyBeginBlockThreads();
2532 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2533 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
2535 wxPyEndBlockThreads(blocked
);
2538 void SetValueAsDouble( int row
, int col
, double value
) {
2539 bool blocked
= wxPyBeginBlockThreads();
2540 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2541 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
2543 wxPyEndBlockThreads(blocked
);
2546 void SetValueAsBool( int row
, int col
, bool value
) {
2547 SetValueAsLong( row
, col
, (long)value
);
2554 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
2556 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
2558 if (source
== Py_None
) {
2559 **obj
= wxGridCellCoords(-1,-1);
2563 // If source is an object instance then it may already be the right type
2564 if (wxPySwigInstance_Check(source
)) {
2565 wxGridCellCoords
* ptr
;
2566 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
2571 // otherwise a 2-tuple of integers is expected
2572 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
2573 PyObject
* o1
= PySequence_GetItem(source
, 0);
2574 PyObject
* o2
= PySequence_GetItem(source
, 1);
2575 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
2580 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
2587 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
2592 bool wxGridCellCoords_typecheck(PyObject
* source
) {
2595 if (wxPySwigInstance_Check(source
) &&
2596 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
2600 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
2607 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
2609 PyObject
* list
= PyList_New(0);
2611 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
2612 wxGridCellCoords
& coord
= source
.Item(idx
);
2613 PyObject
* tup
= PyTuple_New(2);
2614 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
2615 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
2616 PyList_Append(list
, tup
);
2622 static PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
2623 PyObject
* tup
= PyTuple_New(2);
2624 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2625 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2629 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
2632 static wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
2633 wxGridCellCoords rv
;
2634 self
->XYToCell(x
, y
, rv
);
2640 static int _wrap_GridNoCellCoords_set(PyObject
*) {
2641 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
2646 static PyObject
*_wrap_GridNoCellCoords_get(void) {
2649 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0);
2654 static int _wrap_GridNoCellRect_set(PyObject
*) {
2655 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
2660 static PyObject
*_wrap_GridNoCellRect_get(void) {
2663 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0);
2668 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2671 PyObject
*arg2
= (PyObject
*) 0 ;
2672 PyObject
* obj0
= 0 ;
2673 PyObject
* obj1
= 0 ;
2675 (char *) "self",(char *) "_self", NULL
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2680 if (SWIG_arg_fail(1)) SWIG_fail
;
2683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2684 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
2686 wxPyEndAllowThreads(__tstate
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2689 Py_INCREF(Py_None
); resultobj
= Py_None
;
2696 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2699 wxString
*arg2
= 0 ;
2700 bool temp2
= false ;
2701 PyObject
* obj0
= 0 ;
2702 PyObject
* obj1
= 0 ;
2704 (char *) "self",(char *) "params", NULL
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2709 if (SWIG_arg_fail(1)) SWIG_fail
;
2711 arg2
= wxString_in_helper(obj1
);
2712 if (arg2
== NULL
) SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 (arg1
)->SetParameters((wxString
const &)*arg2
);
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2722 Py_INCREF(Py_None
); resultobj
= Py_None
;
2737 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
*resultobj
;
2739 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2740 PyObject
* obj0
= 0 ;
2742 (char *) "self", NULL
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
2746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2747 if (SWIG_arg_fail(1)) SWIG_fail
;
2749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2755 Py_INCREF(Py_None
); resultobj
= Py_None
;
2762 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
*resultobj
;
2764 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2765 PyObject
* obj0
= 0 ;
2767 (char *) "self", NULL
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
2771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2772 if (SWIG_arg_fail(1)) SWIG_fail
;
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2780 Py_INCREF(Py_None
); resultobj
= Py_None
;
2787 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
*resultobj
;
2789 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2791 wxGridCellAttr
*arg3
= 0 ;
2798 PyObject
* obj0
= 0 ;
2799 PyObject
* obj1
= 0 ;
2800 PyObject
* obj2
= 0 ;
2801 PyObject
* obj3
= 0 ;
2802 PyObject
* obj4
= 0 ;
2803 PyObject
* obj5
= 0 ;
2804 PyObject
* obj6
= 0 ;
2805 PyObject
* obj7
= 0 ;
2807 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2812 if (SWIG_arg_fail(1)) SWIG_fail
;
2814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
2815 if (SWIG_arg_fail(2)) SWIG_fail
;
2817 SWIG_null_ref("wxGrid");
2819 if (SWIG_arg_fail(2)) SWIG_fail
;
2822 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
2823 if (SWIG_arg_fail(3)) SWIG_fail
;
2825 SWIG_null_ref("wxGridCellAttr");
2827 if (SWIG_arg_fail(3)) SWIG_fail
;
2830 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
2831 if (SWIG_arg_fail(4)) SWIG_fail
;
2833 SWIG_null_ref("wxDC");
2835 if (SWIG_arg_fail(4)) SWIG_fail
;
2839 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
2842 arg6
= (int)(SWIG_As_int(obj5
));
2843 if (SWIG_arg_fail(6)) SWIG_fail
;
2846 arg7
= (int)(SWIG_As_int(obj6
));
2847 if (SWIG_arg_fail(7)) SWIG_fail
;
2850 arg8
= (bool)(SWIG_As_bool(obj7
));
2851 if (SWIG_arg_fail(8)) SWIG_fail
;
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2860 Py_INCREF(Py_None
); resultobj
= Py_None
;
2867 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
*resultobj
;
2869 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2871 wxGridCellAttr
*arg3
= 0 ;
2876 PyObject
* obj0
= 0 ;
2877 PyObject
* obj1
= 0 ;
2878 PyObject
* obj2
= 0 ;
2879 PyObject
* obj3
= 0 ;
2880 PyObject
* obj4
= 0 ;
2881 PyObject
* obj5
= 0 ;
2883 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2888 if (SWIG_arg_fail(1)) SWIG_fail
;
2890 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
2891 if (SWIG_arg_fail(2)) SWIG_fail
;
2893 SWIG_null_ref("wxGrid");
2895 if (SWIG_arg_fail(2)) SWIG_fail
;
2898 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
2899 if (SWIG_arg_fail(3)) SWIG_fail
;
2901 SWIG_null_ref("wxGridCellAttr");
2903 if (SWIG_arg_fail(3)) SWIG_fail
;
2906 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
2907 if (SWIG_arg_fail(4)) SWIG_fail
;
2909 SWIG_null_ref("wxDC");
2911 if (SWIG_arg_fail(4)) SWIG_fail
;
2914 arg5
= (int)(SWIG_As_int(obj4
));
2915 if (SWIG_arg_fail(5)) SWIG_fail
;
2918 arg6
= (int)(SWIG_As_int(obj5
));
2919 if (SWIG_arg_fail(6)) SWIG_fail
;
2922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2923 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
2925 wxPyEndAllowThreads(__tstate
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2930 resultptr
= new wxSize((wxSize
&)(result
));
2931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2939 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2942 wxGridCellRenderer
*result
;
2943 PyObject
* obj0
= 0 ;
2945 (char *) "self", NULL
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
2949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2950 if (SWIG_arg_fail(1)) SWIG_fail
;
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2959 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
2967 static PyObject
* GridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
2969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2970 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
2972 return Py_BuildValue((char *)"");
2974 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxPyGridCellRenderer
*result
;
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
2983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
2986 wxPyEndAllowThreads(__tstate
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1);
2996 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
*resultobj
;
2998 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
2999 PyObject
*arg2
= (PyObject
*) 0 ;
3000 PyObject
*arg3
= (PyObject
*) 0 ;
3001 PyObject
* obj0
= 0 ;
3002 PyObject
* obj1
= 0 ;
3003 PyObject
* obj2
= 0 ;
3005 (char *) "self",(char *) "self",(char *) "_class", NULL
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3010 if (SWIG_arg_fail(1)) SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3020 Py_INCREF(Py_None
); resultobj
= Py_None
;
3027 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3029 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
3030 wxString
*arg2
= 0 ;
3031 bool temp2
= false ;
3032 PyObject
* obj0
= 0 ;
3033 PyObject
* obj1
= 0 ;
3035 (char *) "self",(char *) "params", NULL
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3040 if (SWIG_arg_fail(1)) SWIG_fail
;
3042 arg2
= wxString_in_helper(obj1
);
3043 if (arg2
== NULL
) SWIG_fail
;
3047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3048 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3050 wxPyEndAllowThreads(__tstate
);
3051 if (PyErr_Occurred()) SWIG_fail
;
3053 Py_INCREF(Py_None
); resultobj
= Py_None
;
3068 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
3070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3071 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
3073 return Py_BuildValue((char *)"");
3075 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
;
3077 wxGridCellStringRenderer
*result
;
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) SWIG_fail
;
3090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1);
3097 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
3099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3100 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
3102 return Py_BuildValue((char *)"");
3104 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxGridCellNumberRenderer
*result
;
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
3126 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*, PyObject
*args
) {
3128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3129 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
3131 return Py_BuildValue((char *)"");
3133 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
;
3135 int arg1
= (int) -1 ;
3136 int arg2
= (int) -1 ;
3137 wxGridCellFloatRenderer
*result
;
3138 PyObject
* obj0
= 0 ;
3139 PyObject
* obj1
= 0 ;
3141 (char *) "width",(char *) "precision", NULL
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3147 arg1
= (int)(SWIG_As_int(obj0
));
3148 if (SWIG_arg_fail(1)) SWIG_fail
;
3153 arg2
= (int)(SWIG_As_int(obj1
));
3154 if (SWIG_arg_fail(2)) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
3171 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3175 PyObject
* obj0
= 0 ;
3177 (char *) "self", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
3181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3182 if (SWIG_arg_fail(1)) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3191 resultobj
= SWIG_From_int((int)(result
));
3199 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3203 PyObject
* obj0
= 0 ;
3204 PyObject
* obj1
= 0 ;
3206 (char *) "self",(char *) "width", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3211 if (SWIG_arg_fail(1)) SWIG_fail
;
3213 arg2
= (int)(SWIG_As_int(obj1
));
3214 if (SWIG_arg_fail(2)) SWIG_fail
;
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 (arg1
)->SetWidth(arg2
);
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3223 Py_INCREF(Py_None
); resultobj
= Py_None
;
3230 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
*resultobj
;
3232 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3234 PyObject
* obj0
= 0 ;
3236 (char *) "self", NULL
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
3240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3241 if (SWIG_arg_fail(1)) SWIG_fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3250 resultobj
= SWIG_From_int((int)(result
));
3258 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3260 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3262 PyObject
* obj0
= 0 ;
3263 PyObject
* obj1
= 0 ;
3265 (char *) "self",(char *) "precision", NULL
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
3269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3270 if (SWIG_arg_fail(1)) SWIG_fail
;
3272 arg2
= (int)(SWIG_As_int(obj1
));
3273 if (SWIG_arg_fail(2)) SWIG_fail
;
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 (arg1
)->SetPrecision(arg2
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3282 Py_INCREF(Py_None
); resultobj
= Py_None
;
3289 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*, PyObject
*args
) {
3291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3292 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
3294 return Py_BuildValue((char *)"");
3296 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxGridCellBoolRenderer
*result
;
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
3318 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*, PyObject
*args
) {
3320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3321 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
3323 return Py_BuildValue((char *)"");
3325 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxString arg1
= (wxString
) wxPyDefaultDateTimeFormat
;
3328 wxString arg2
= (wxString
) wxPyDefaultDateTimeFormat
;
3329 wxGridCellDateTimeRenderer
*result
;
3330 PyObject
* obj0
= 0 ;
3331 PyObject
* obj1
= 0 ;
3333 (char *) "outformat",(char *) "informat", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3339 wxString
* sptr
= wxString_in_helper(obj0
);
3340 if (sptr
== NULL
) SWIG_fail
;
3347 wxString
* sptr
= wxString_in_helper(obj1
);
3348 if (sptr
== NULL
) SWIG_fail
;
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3355 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
3367 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*, PyObject
*args
) {
3369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3370 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
3372 return Py_BuildValue((char *)"");
3374 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3377 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3378 wxGridCellEnumRenderer
*result
;
3379 bool temp1
= false ;
3380 PyObject
* obj0
= 0 ;
3382 (char *) "choices", NULL
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
3388 arg1
= wxString_in_helper(obj0
);
3389 if (arg1
== NULL
) SWIG_fail
;
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
3415 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*, PyObject
*args
) {
3417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3418 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
3420 return Py_BuildValue((char *)"");
3422 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxGridCellAutoWrapStringRenderer
*result
;
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
3444 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
3446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3447 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
3449 return Py_BuildValue((char *)"");
3451 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3454 PyObject
*arg2
= (PyObject
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3456 PyObject
* obj1
= 0 ;
3458 (char *) "self",(char *) "_self", NULL
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3463 if (SWIG_arg_fail(1)) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 wxGridCellEditor__setOORInfo(arg1
,arg2
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3483 PyObject
* obj0
= 0 ;
3485 (char *) "self", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
3489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3490 if (SWIG_arg_fail(1)) SWIG_fail
;
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 result
= (bool)(arg1
)->IsCreated();
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3507 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
*resultobj
;
3509 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3511 PyObject
* obj0
= 0 ;
3513 (char *) "self", NULL
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
3517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3518 if (SWIG_arg_fail(1)) SWIG_fail
;
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 result
= (wxControl
*)(arg1
)->GetControl();
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3527 resultobj
= wxPyMake_wxObject(result
, 0);
3535 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
*resultobj
;
3537 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3538 wxControl
*arg2
= (wxControl
*) 0 ;
3539 PyObject
* obj0
= 0 ;
3540 PyObject
* obj1
= 0 ;
3542 (char *) "self",(char *) "control", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
3546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3547 if (SWIG_arg_fail(1)) SWIG_fail
;
3548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
3549 if (SWIG_arg_fail(2)) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 (arg1
)->SetControl(arg2
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 Py_INCREF(Py_None
); resultobj
= Py_None
;
3564 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3567 wxGridCellAttr
*result
;
3568 PyObject
* obj0
= 0 ;
3570 (char *) "self", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
3574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3575 if (SWIG_arg_fail(1)) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3584 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
3592 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3595 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3596 PyObject
* obj0
= 0 ;
3597 PyObject
* obj1
= 0 ;
3599 (char *) "self",(char *) "attr", NULL
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
3603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3604 if (SWIG_arg_fail(1)) SWIG_fail
;
3605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3606 if (SWIG_arg_fail(2)) SWIG_fail
;
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 (arg1
)->SetCellAttr(arg2
);
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3614 Py_INCREF(Py_None
); resultobj
= Py_None
;
3621 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
*resultobj
;
3623 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3624 wxString
*arg2
= 0 ;
3625 bool temp2
= false ;
3626 PyObject
* obj0
= 0 ;
3627 PyObject
* obj1
= 0 ;
3629 (char *) "self",(char *) "params", NULL
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3634 if (SWIG_arg_fail(1)) SWIG_fail
;
3636 arg2
= wxString_in_helper(obj1
);
3637 if (arg2
== NULL
) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 (arg1
)->SetParameters((wxString
const &)*arg2
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3647 Py_INCREF(Py_None
); resultobj
= Py_None
;
3662 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3664 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3665 PyObject
* obj0
= 0 ;
3667 (char *) "self", NULL
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
3671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3672 if (SWIG_arg_fail(1)) SWIG_fail
;
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3680 Py_INCREF(Py_None
); resultobj
= Py_None
;
3687 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
;
3689 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3690 PyObject
* obj0
= 0 ;
3692 (char *) "self", NULL
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
3696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3697 if (SWIG_arg_fail(1)) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 Py_INCREF(Py_None
); resultobj
= Py_None
;
3712 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3714 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3715 wxWindow
*arg2
= (wxWindow
*) 0 ;
3717 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
3718 PyObject
* obj0
= 0 ;
3719 PyObject
* obj1
= 0 ;
3720 PyObject
* obj2
= 0 ;
3721 PyObject
* obj3
= 0 ;
3723 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3728 if (SWIG_arg_fail(1)) SWIG_fail
;
3729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3730 if (SWIG_arg_fail(2)) SWIG_fail
;
3732 arg3
= (int)(SWIG_As_int(obj2
));
3733 if (SWIG_arg_fail(3)) SWIG_fail
;
3735 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3736 if (SWIG_arg_fail(4)) SWIG_fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 (arg1
)->Create(arg2
,arg3
,arg4
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3744 Py_INCREF(Py_None
); resultobj
= Py_None
;
3751 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
;
3753 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3756 wxGrid
*arg4
= (wxGrid
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3758 PyObject
* obj1
= 0 ;
3759 PyObject
* obj2
= 0 ;
3760 PyObject
* obj3
= 0 ;
3762 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3767 if (SWIG_arg_fail(1)) SWIG_fail
;
3769 arg2
= (int)(SWIG_As_int(obj1
));
3770 if (SWIG_arg_fail(2)) SWIG_fail
;
3773 arg3
= (int)(SWIG_As_int(obj2
));
3774 if (SWIG_arg_fail(3)) SWIG_fail
;
3776 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3777 if (SWIG_arg_fail(4)) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 Py_INCREF(Py_None
); resultobj
= Py_None
;
3792 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3797 wxGrid
*arg4
= (wxGrid
*) 0 ;
3799 PyObject
* obj0
= 0 ;
3800 PyObject
* obj1
= 0 ;
3801 PyObject
* obj2
= 0 ;
3802 PyObject
* obj3
= 0 ;
3804 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3809 if (SWIG_arg_fail(1)) SWIG_fail
;
3811 arg2
= (int)(SWIG_As_int(obj1
));
3812 if (SWIG_arg_fail(2)) SWIG_fail
;
3815 arg3
= (int)(SWIG_As_int(obj2
));
3816 if (SWIG_arg_fail(3)) SWIG_fail
;
3818 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3819 if (SWIG_arg_fail(4)) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3836 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3839 PyObject
* obj0
= 0 ;
3841 (char *) "self", NULL
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
3845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3846 if (SWIG_arg_fail(1)) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 Py_INCREF(Py_None
); resultobj
= Py_None
;
3861 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3864 wxGridCellEditor
*result
;
3865 PyObject
* obj0
= 0 ;
3867 (char *) "self", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
3871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3872 if (SWIG_arg_fail(1)) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3881 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
3889 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3891 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3894 PyObject
* obj0
= 0 ;
3895 PyObject
* obj1
= 0 ;
3897 (char *) "self",(char *) "rect", NULL
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3902 if (SWIG_arg_fail(1)) SWIG_fail
;
3905 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 (arg1
)->SetSize((wxRect
const &)*arg2
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3914 Py_INCREF(Py_None
); resultobj
= Py_None
;
3921 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
*resultobj
;
3923 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3925 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
3926 PyObject
* obj0
= 0 ;
3927 PyObject
* obj1
= 0 ;
3928 PyObject
* obj2
= 0 ;
3930 (char *) "self",(char *) "show",(char *) "attr", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3935 if (SWIG_arg_fail(1)) SWIG_fail
;
3937 arg2
= (bool)(SWIG_As_bool(obj1
));
3938 if (SWIG_arg_fail(2)) SWIG_fail
;
3941 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3942 if (SWIG_arg_fail(3)) SWIG_fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 (arg1
)->Show(arg2
,arg3
);
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3951 Py_INCREF(Py_None
); resultobj
= Py_None
;
3958 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3962 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
3964 PyObject
* obj0
= 0 ;
3965 PyObject
* obj1
= 0 ;
3966 PyObject
* obj2
= 0 ;
3968 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3973 if (SWIG_arg_fail(1)) SWIG_fail
;
3976 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3978 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3979 if (SWIG_arg_fail(3)) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 Py_INCREF(Py_None
); resultobj
= Py_None
;
3994 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3997 wxKeyEvent
*arg2
= 0 ;
3999 PyObject
* obj0
= 0 ;
4000 PyObject
* obj1
= 0 ;
4002 (char *) "self",(char *) "event", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4007 if (SWIG_arg_fail(1)) SWIG_fail
;
4009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4010 if (SWIG_arg_fail(2)) SWIG_fail
;
4012 SWIG_null_ref("wxKeyEvent");
4014 if (SWIG_arg_fail(2)) SWIG_fail
;
4017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4018 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4032 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4035 wxKeyEvent
*arg2
= 0 ;
4036 PyObject
* obj0
= 0 ;
4037 PyObject
* obj1
= 0 ;
4039 (char *) "self",(char *) "event", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4044 if (SWIG_arg_fail(1)) SWIG_fail
;
4046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4047 if (SWIG_arg_fail(2)) SWIG_fail
;
4049 SWIG_null_ref("wxKeyEvent");
4051 if (SWIG_arg_fail(2)) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 (arg1
)->StartingKey(*arg2
);
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 Py_INCREF(Py_None
); resultobj
= Py_None
;
4067 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4070 PyObject
* obj0
= 0 ;
4072 (char *) "self", NULL
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
4076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4077 if (SWIG_arg_fail(1)) SWIG_fail
;
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 (arg1
)->StartingClick();
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 Py_INCREF(Py_None
); resultobj
= Py_None
;
4092 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
;
4094 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4095 wxKeyEvent
*arg2
= 0 ;
4096 PyObject
* obj0
= 0 ;
4097 PyObject
* obj1
= 0 ;
4099 (char *) "self",(char *) "event", NULL
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
4103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4104 if (SWIG_arg_fail(1)) SWIG_fail
;
4106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4107 if (SWIG_arg_fail(2)) SWIG_fail
;
4109 SWIG_null_ref("wxKeyEvent");
4111 if (SWIG_arg_fail(2)) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 (arg1
)->HandleReturn(*arg2
);
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 Py_INCREF(Py_None
); resultobj
= Py_None
;
4127 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4129 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4130 PyObject
* obj0
= 0 ;
4132 (char *) "self", NULL
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
4136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4137 if (SWIG_arg_fail(1)) SWIG_fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 Py_INCREF(Py_None
); resultobj
= Py_None
;
4152 static PyObject
* GridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
4154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4155 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
4157 return Py_BuildValue((char *)"");
4159 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxPyGridCellEditor
*result
;
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1);
4181 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
;
4183 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4184 PyObject
*arg2
= (PyObject
*) 0 ;
4185 PyObject
*arg3
= (PyObject
*) 0 ;
4186 PyObject
* obj0
= 0 ;
4187 PyObject
* obj1
= 0 ;
4188 PyObject
* obj2
= 0 ;
4190 (char *) "self",(char *) "self",(char *) "_class", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4195 if (SWIG_arg_fail(1)) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 Py_INCREF(Py_None
); resultobj
= Py_None
;
4212 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4217 PyObject
* obj0
= 0 ;
4218 PyObject
* obj1
= 0 ;
4220 (char *) "self",(char *) "rect", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4225 if (SWIG_arg_fail(1)) SWIG_fail
;
4228 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 Py_INCREF(Py_None
); resultobj
= Py_None
;
4244 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
;
4246 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4248 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
4249 PyObject
* obj0
= 0 ;
4250 PyObject
* obj1
= 0 ;
4251 PyObject
* obj2
= 0 ;
4253 (char *) "self",(char *) "show",(char *) "attr", NULL
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4258 if (SWIG_arg_fail(1)) SWIG_fail
;
4260 arg2
= (bool)(SWIG_As_bool(obj1
));
4261 if (SWIG_arg_fail(2)) SWIG_fail
;
4264 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4265 if (SWIG_arg_fail(3)) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 (arg1
)->base_Show(arg2
,arg3
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 Py_INCREF(Py_None
); resultobj
= Py_None
;
4281 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
;
4283 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4285 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
4287 PyObject
* obj0
= 0 ;
4288 PyObject
* obj1
= 0 ;
4289 PyObject
* obj2
= 0 ;
4291 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4296 if (SWIG_arg_fail(1)) SWIG_fail
;
4299 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4301 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4302 if (SWIG_arg_fail(3)) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 Py_INCREF(Py_None
); resultobj
= Py_None
;
4317 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
;
4319 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4320 wxKeyEvent
*arg2
= 0 ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4325 (char *) "self",(char *) "event", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4330 if (SWIG_arg_fail(1)) SWIG_fail
;
4332 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4333 if (SWIG_arg_fail(2)) SWIG_fail
;
4335 SWIG_null_ref("wxKeyEvent");
4337 if (SWIG_arg_fail(2)) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4355 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4357 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4358 wxKeyEvent
*arg2
= 0 ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4362 (char *) "self",(char *) "event", NULL
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4367 if (SWIG_arg_fail(1)) SWIG_fail
;
4369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4370 if (SWIG_arg_fail(2)) SWIG_fail
;
4372 SWIG_null_ref("wxKeyEvent");
4374 if (SWIG_arg_fail(2)) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 (arg1
)->base_StartingKey(*arg2
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 Py_INCREF(Py_None
); resultobj
= Py_None
;
4390 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4395 (char *) "self", NULL
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
4399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4400 if (SWIG_arg_fail(1)) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 (arg1
)->base_StartingClick();
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 Py_INCREF(Py_None
); resultobj
= Py_None
;
4415 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4417 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4418 wxKeyEvent
*arg2
= 0 ;
4419 PyObject
* obj0
= 0 ;
4420 PyObject
* obj1
= 0 ;
4422 (char *) "self",(char *) "event", NULL
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
4426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4427 if (SWIG_arg_fail(1)) SWIG_fail
;
4429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4430 if (SWIG_arg_fail(2)) SWIG_fail
;
4432 SWIG_null_ref("wxKeyEvent");
4434 if (SWIG_arg_fail(2)) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 (arg1
)->base_HandleReturn(*arg2
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4443 Py_INCREF(Py_None
); resultobj
= Py_None
;
4450 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4452 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4453 PyObject
* obj0
= 0 ;
4455 (char *) "self", NULL
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
4459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4460 if (SWIG_arg_fail(1)) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 (arg1
)->base_Destroy();
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 Py_INCREF(Py_None
); resultobj
= Py_None
;
4475 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4477 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4478 wxString
*arg2
= 0 ;
4479 bool temp2
= false ;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4483 (char *) "self",(char *) "params", NULL
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
4487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4488 if (SWIG_arg_fail(1)) SWIG_fail
;
4490 arg2
= wxString_in_helper(obj1
);
4491 if (arg2
== NULL
) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 Py_INCREF(Py_None
); resultobj
= Py_None
;
4516 static PyObject
* PyGridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
4518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4519 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
4521 return Py_BuildValue((char *)"");
4523 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
;
4525 wxGridCellTextEditor
*result
;
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1);
4545 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
*resultobj
;
4547 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
4549 PyObject
* obj0
= 0 ;
4551 (char *) "self", NULL
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_EXCEPTION
| 0);
4556 if (SWIG_arg_fail(1)) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 result
= (arg1
)->GetValue();
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4577 static PyObject
* GridCellTextEditor_swigregister(PyObject
*, PyObject
*args
) {
4579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4580 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
4582 return Py_BuildValue((char *)"");
4584 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 int arg1
= (int) -1 ;
4587 int arg2
= (int) -1 ;
4588 wxGridCellNumberEditor
*result
;
4589 PyObject
* obj0
= 0 ;
4590 PyObject
* obj1
= 0 ;
4592 (char *) "min",(char *) "max", NULL
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4598 arg1
= (int)(SWIG_As_int(obj0
));
4599 if (SWIG_arg_fail(1)) SWIG_fail
;
4604 arg2
= (int)(SWIG_As_int(obj1
));
4605 if (SWIG_arg_fail(2)) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1);
4622 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
4626 PyObject
* obj0
= 0 ;
4628 (char *) "self", NULL
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_POINTER_EXCEPTION
| 0);
4633 if (SWIG_arg_fail(1)) SWIG_fail
;
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 result
= (arg1
)->GetValue();
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4654 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*, PyObject
*args
) {
4656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
4659 return Py_BuildValue((char *)"");
4661 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 int arg1
= (int) -1 ;
4664 int arg2
= (int) -1 ;
4665 wxGridCellFloatEditor
*result
;
4666 PyObject
* obj0
= 0 ;
4667 PyObject
* obj1
= 0 ;
4669 (char *) "width",(char *) "precision", NULL
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4675 arg1
= (int)(SWIG_As_int(obj0
));
4676 if (SWIG_arg_fail(1)) SWIG_fail
;
4681 arg2
= (int)(SWIG_As_int(obj1
));
4682 if (SWIG_arg_fail(2)) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1);
4699 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
4703 PyObject
* obj0
= 0 ;
4705 (char *) "self", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_EXCEPTION
| 0);
4710 if (SWIG_arg_fail(1)) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (arg1
)->GetValue();
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4731 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*, PyObject
*args
) {
4733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4734 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
4736 return Py_BuildValue((char *)"");
4738 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxGridCellBoolEditor
*result
;
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1);
4760 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
*resultobj
;
4762 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
4764 PyObject
* obj0
= 0 ;
4766 (char *) "self", NULL
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_EXCEPTION
| 0);
4771 if (SWIG_arg_fail(1)) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 result
= (arg1
)->GetValue();
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4781 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4783 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4792 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*, PyObject
*args
) {
4794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4795 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
4797 return Py_BuildValue((char *)"");
4799 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
;
4801 int arg1
= (int) 0 ;
4802 wxString
*arg2
= (wxString
*) NULL
;
4803 bool arg3
= (bool) false ;
4804 wxGridCellChoiceEditor
*result
;
4805 PyObject
* obj0
= 0 ;
4806 PyObject
* obj1
= 0 ;
4808 (char *) "choices",(char *) "allowOthers", NULL
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4814 arg1
= PyList_Size(obj0
);
4815 arg2
= wxString_LIST_helper(obj0
);
4816 if (arg2
== NULL
) SWIG_fail
;
4821 arg3
= (bool)(SWIG_As_bool(obj1
));
4822 if (SWIG_arg_fail(3)) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
4834 if (arg2
) delete [] arg2
;
4839 if (arg2
) delete [] arg2
;
4845 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4851 (char *) "self", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_EXCEPTION
| 0);
4856 if (SWIG_arg_fail(1)) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (arg1
)->GetValue();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4877 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*, PyObject
*args
) {
4879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4880 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
4882 return Py_BuildValue((char *)"");
4884 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4886 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4887 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4888 wxGridCellEnumEditor
*result
;
4889 bool temp1
= false ;
4890 PyObject
* obj0
= 0 ;
4892 (char *) "choices", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
4898 arg1
= wxString_in_helper(obj0
);
4899 if (arg1
== NULL
) SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1);
4925 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4927 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
4929 PyObject
* obj0
= 0 ;
4931 (char *) "self", NULL
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_EXCEPTION
| 0);
4936 if (SWIG_arg_fail(1)) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 result
= (arg1
)->GetValue();
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4957 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*, PyObject
*args
) {
4959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4960 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
4962 return Py_BuildValue((char *)"");
4964 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxGridCellAutoWrapStringEditor
*result
;
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
4986 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
;
4988 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
4990 PyObject
* obj0
= 0 ;
4992 (char *) "self", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_EXCEPTION
| 0);
4997 if (SWIG_arg_fail(1)) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= (arg1
)->GetValue();
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5018 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*, PyObject
*args
) {
5020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5021 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
5023 return Py_BuildValue((char *)"");
5025 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5028 PyObject
*arg2
= (PyObject
*) 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5032 (char *) "self",(char *) "_self", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5037 if (SWIG_arg_fail(1)) SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 wxGridCellAttr__setOORInfo(arg1
,arg2
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 Py_INCREF(Py_None
); resultobj
= Py_None
;
5053 static PyObject
*_wrap_new_GridCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
5056 wxGridCellAttr
*result
;
5057 PyObject
* obj0
= 0 ;
5059 (char *) "attrDefault", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
5064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5065 if (SWIG_arg_fail(1)) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= wxPyMake_wxGridCellAttr(result
, 1);
5083 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5086 wxGridCellAttr
*result
;
5087 PyObject
* obj0
= 0 ;
5089 (char *) "self", NULL
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
5093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5094 if (SWIG_arg_fail(1)) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
5111 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5114 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5115 PyObject
* obj0
= 0 ;
5116 PyObject
* obj1
= 0 ;
5118 (char *) "self",(char *) "mergefrom", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
5122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5123 if (SWIG_arg_fail(1)) SWIG_fail
;
5124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5125 if (SWIG_arg_fail(2)) SWIG_fail
;
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 (arg1
)->MergeWith(arg2
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5133 Py_INCREF(Py_None
); resultobj
= Py_None
;
5140 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
*resultobj
;
5142 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5145 (char *) "self", NULL
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
5149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5150 if (SWIG_arg_fail(1)) SWIG_fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 Py_INCREF(Py_None
); resultobj
= Py_None
;
5165 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5168 PyObject
* obj0
= 0 ;
5170 (char *) "self", NULL
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
5174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5175 if (SWIG_arg_fail(1)) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 Py_INCREF(Py_None
); resultobj
= Py_None
;
5190 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5193 wxColour
*arg2
= 0 ;
5195 PyObject
* obj0
= 0 ;
5196 PyObject
* obj1
= 0 ;
5198 (char *) "self",(char *) "colText", NULL
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5203 if (SWIG_arg_fail(1)) SWIG_fail
;
5206 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5215 Py_INCREF(Py_None
); resultobj
= Py_None
;
5222 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
;
5224 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5225 wxColour
*arg2
= 0 ;
5227 PyObject
* obj0
= 0 ;
5228 PyObject
* obj1
= 0 ;
5230 (char *) "self",(char *) "colBack", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5235 if (SWIG_arg_fail(1)) SWIG_fail
;
5238 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 Py_INCREF(Py_None
); resultobj
= Py_None
;
5254 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5258 PyObject
* obj0
= 0 ;
5259 PyObject
* obj1
= 0 ;
5261 (char *) "self",(char *) "font", NULL
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5266 if (SWIG_arg_fail(1)) SWIG_fail
;
5268 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
5269 if (SWIG_arg_fail(2)) SWIG_fail
;
5271 SWIG_null_ref("wxFont");
5273 if (SWIG_arg_fail(2)) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 (arg1
)->SetFont((wxFont
const &)*arg2
);
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5282 Py_INCREF(Py_None
); resultobj
= Py_None
;
5289 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5296 PyObject
* obj2
= 0 ;
5298 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5303 if (SWIG_arg_fail(1)) SWIG_fail
;
5305 arg2
= (int)(SWIG_As_int(obj1
));
5306 if (SWIG_arg_fail(2)) SWIG_fail
;
5309 arg3
= (int)(SWIG_As_int(obj2
));
5310 if (SWIG_arg_fail(3)) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 (arg1
)->SetAlignment(arg2
,arg3
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 Py_INCREF(Py_None
); resultobj
= Py_None
;
5326 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5333 PyObject
* obj2
= 0 ;
5335 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5340 if (SWIG_arg_fail(1)) SWIG_fail
;
5342 arg2
= (int)(SWIG_As_int(obj1
));
5343 if (SWIG_arg_fail(2)) SWIG_fail
;
5346 arg3
= (int)(SWIG_As_int(obj2
));
5347 if (SWIG_arg_fail(3)) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 (arg1
)->SetSize(arg2
,arg3
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 Py_INCREF(Py_None
); resultobj
= Py_None
;
5363 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5366 bool arg2
= (bool) true ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5370 (char *) "self",(char *) "allow", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
5374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5375 if (SWIG_arg_fail(1)) SWIG_fail
;
5378 arg2
= (bool)(SWIG_As_bool(obj1
));
5379 if (SWIG_arg_fail(2)) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 (arg1
)->SetOverflow(arg2
);
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 Py_INCREF(Py_None
); resultobj
= Py_None
;
5396 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5399 bool arg2
= (bool) true ;
5400 PyObject
* obj0
= 0 ;
5401 PyObject
* obj1
= 0 ;
5403 (char *) "self",(char *) "isReadOnly", NULL
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
5407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5408 if (SWIG_arg_fail(1)) SWIG_fail
;
5411 arg2
= (bool)(SWIG_As_bool(obj1
));
5412 if (SWIG_arg_fail(2)) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 (arg1
)->SetReadOnly(arg2
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5422 Py_INCREF(Py_None
); resultobj
= Py_None
;
5429 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5432 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
5433 PyObject
* obj0
= 0 ;
5434 PyObject
* obj1
= 0 ;
5436 (char *) "self",(char *) "renderer", NULL
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
5440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5441 if (SWIG_arg_fail(1)) SWIG_fail
;
5442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
5443 if (SWIG_arg_fail(2)) SWIG_fail
;
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 (arg1
)->SetRenderer(arg2
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 Py_INCREF(Py_None
); resultobj
= Py_None
;
5458 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
;
5460 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5461 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
5462 PyObject
* obj0
= 0 ;
5463 PyObject
* obj1
= 0 ;
5465 (char *) "self",(char *) "editor", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
5469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail
;
5471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
5472 if (SWIG_arg_fail(2)) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 (arg1
)->SetEditor(arg2
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 Py_INCREF(Py_None
); resultobj
= Py_None
;
5487 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5490 wxGridCellAttr::wxAttrKind arg2
;
5491 PyObject
* obj0
= 0 ;
5492 PyObject
* obj1
= 0 ;
5494 (char *) "self",(char *) "kind", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
5498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5499 if (SWIG_arg_fail(1)) SWIG_fail
;
5501 arg2
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj1
));
5502 if (SWIG_arg_fail(2)) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 Py_INCREF(Py_None
); resultobj
= Py_None
;
5518 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5522 PyObject
* obj0
= 0 ;
5524 (char *) "self", NULL
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5529 if (SWIG_arg_fail(1)) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5546 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5550 PyObject
* obj0
= 0 ;
5552 (char *) "self", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5557 if (SWIG_arg_fail(1)) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5574 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
;
5576 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5578 PyObject
* obj0
= 0 ;
5580 (char *) "self", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
5584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5585 if (SWIG_arg_fail(1)) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5602 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5606 PyObject
* obj0
= 0 ;
5608 (char *) "self", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
5612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5613 if (SWIG_arg_fail(1)) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5630 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5636 (char *) "self", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
5640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5641 if (SWIG_arg_fail(1)) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5658 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
*resultobj
;
5660 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5662 PyObject
* obj0
= 0 ;
5664 (char *) "self", NULL
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
5668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5669 if (SWIG_arg_fail(1)) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5686 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
5696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5697 if (SWIG_arg_fail(1)) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5714 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5720 (char *) "self", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
5724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5725 if (SWIG_arg_fail(1)) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5742 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5746 PyObject
* obj0
= 0 ;
5748 (char *) "self", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
5752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5753 if (SWIG_arg_fail(1)) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5762 wxColour
* resultptr
;
5763 resultptr
= new wxColour((wxColour
&)(result
));
5764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5772 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5776 PyObject
* obj0
= 0 ;
5778 (char *) "self", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5783 if (SWIG_arg_fail(1)) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5792 wxColour
* resultptr
;
5793 resultptr
= new wxColour((wxColour
&)(result
));
5794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5802 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5806 PyObject
* obj0
= 0 ;
5808 (char *) "self", NULL
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
5812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5813 if (SWIG_arg_fail(1)) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5823 resultptr
= new wxFont((wxFont
&)(result
));
5824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
5832 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5835 int *arg2
= (int *) 0 ;
5836 int *arg3
= (int *) 0 ;
5841 PyObject
* obj0
= 0 ;
5843 (char *) "self", NULL
5846 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5847 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
5849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5850 if (SWIG_arg_fail(1)) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5860 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5861 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5862 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5869 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
;
5871 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5872 int *arg2
= (int *) 0 ;
5873 int *arg3
= (int *) 0 ;
5878 PyObject
* obj0
= 0 ;
5880 (char *) "self", NULL
5883 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5884 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
5886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5887 if (SWIG_arg_fail(1)) SWIG_fail
;
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 Py_INCREF(Py_None
); resultobj
= Py_None
;
5896 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5897 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5898 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5899 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5906 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
;
5908 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5910 PyObject
* obj0
= 0 ;
5912 (char *) "self", NULL
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
5916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5917 if (SWIG_arg_fail(1)) SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5934 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5937 wxGrid
*arg2
= (wxGrid
*) 0 ;
5940 wxGridCellRenderer
*result
;
5941 PyObject
* obj0
= 0 ;
5942 PyObject
* obj1
= 0 ;
5943 PyObject
* obj2
= 0 ;
5944 PyObject
* obj3
= 0 ;
5946 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5951 if (SWIG_arg_fail(1)) SWIG_fail
;
5952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
5953 if (SWIG_arg_fail(2)) SWIG_fail
;
5955 arg3
= (int)(SWIG_As_int(obj2
));
5956 if (SWIG_arg_fail(3)) SWIG_fail
;
5959 arg4
= (int)(SWIG_As_int(obj3
));
5960 if (SWIG_arg_fail(4)) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
5978 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5981 wxGrid
*arg2
= (wxGrid
*) 0 ;
5984 wxGridCellEditor
*result
;
5985 PyObject
* obj0
= 0 ;
5986 PyObject
* obj1
= 0 ;
5987 PyObject
* obj2
= 0 ;
5988 PyObject
* obj3
= 0 ;
5990 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5995 if (SWIG_arg_fail(1)) SWIG_fail
;
5996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
5997 if (SWIG_arg_fail(2)) SWIG_fail
;
5999 arg3
= (int)(SWIG_As_int(obj2
));
6000 if (SWIG_arg_fail(3)) SWIG_fail
;
6003 arg4
= (int)(SWIG_As_int(obj3
));
6004 if (SWIG_arg_fail(4)) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
6022 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6026 PyObject
* obj0
= 0 ;
6028 (char *) "self", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
6032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6033 if (SWIG_arg_fail(1)) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6050 static PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6053 wxGridCellAttr::wxAttrKind result
;
6054 PyObject
* obj0
= 0 ;
6056 (char *) "self", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetKind",kwnames
,&obj0
)) goto fail
;
6060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6061 if (SWIG_arg_fail(1)) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind();
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= SWIG_From_int((result
));
6076 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
*resultobj
;
6078 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6079 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6083 (char *) "self",(char *) "defAttr", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
6087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6088 if (SWIG_arg_fail(1)) SWIG_fail
;
6089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6090 if (SWIG_arg_fail(2)) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 (arg1
)->SetDefAttr(arg2
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 Py_INCREF(Py_None
); resultobj
= Py_None
;
6105 static PyObject
* GridCellAttr_swigregister(PyObject
*, PyObject
*args
) {
6107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6108 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
6110 return Py_BuildValue((char *)"");
6112 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxGridCellAttrProvider
*result
;
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, 1);
6136 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6139 PyObject
*arg2
= (PyObject
*) 0 ;
6140 PyObject
* obj0
= 0 ;
6141 PyObject
* obj1
= 0 ;
6143 (char *) "self",(char *) "_self", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
6147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6148 if (SWIG_arg_fail(1)) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6157 Py_INCREF(Py_None
); resultobj
= Py_None
;
6164 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
;
6166 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6169 wxGridCellAttr::wxAttrKind arg4
;
6170 wxGridCellAttr
*result
;
6171 PyObject
* obj0
= 0 ;
6172 PyObject
* obj1
= 0 ;
6173 PyObject
* obj2
= 0 ;
6174 PyObject
* obj3
= 0 ;
6176 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6181 if (SWIG_arg_fail(1)) SWIG_fail
;
6183 arg2
= (int)(SWIG_As_int(obj1
));
6184 if (SWIG_arg_fail(2)) SWIG_fail
;
6187 arg3
= (int)(SWIG_As_int(obj2
));
6188 if (SWIG_arg_fail(3)) SWIG_fail
;
6191 arg4
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj3
));
6192 if (SWIG_arg_fail(4)) SWIG_fail
;
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
6210 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6213 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6216 PyObject
* obj0
= 0 ;
6217 PyObject
* obj1
= 0 ;
6218 PyObject
* obj2
= 0 ;
6219 PyObject
* obj3
= 0 ;
6221 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6226 if (SWIG_arg_fail(1)) SWIG_fail
;
6227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6228 if (SWIG_arg_fail(2)) SWIG_fail
;
6230 arg3
= (int)(SWIG_As_int(obj2
));
6231 if (SWIG_arg_fail(3)) SWIG_fail
;
6234 arg4
= (int)(SWIG_As_int(obj3
));
6235 if (SWIG_arg_fail(4)) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 Py_INCREF(Py_None
); resultobj
= Py_None
;
6251 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6253 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6254 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6256 PyObject
* obj0
= 0 ;
6257 PyObject
* obj1
= 0 ;
6258 PyObject
* obj2
= 0 ;
6260 (char *) "self",(char *) "attr",(char *) "row", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6265 if (SWIG_arg_fail(1)) SWIG_fail
;
6266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6267 if (SWIG_arg_fail(2)) SWIG_fail
;
6269 arg3
= (int)(SWIG_As_int(obj2
));
6270 if (SWIG_arg_fail(3)) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 (arg1
)->SetRowAttr(arg2
,arg3
);
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 Py_INCREF(Py_None
); resultobj
= Py_None
;
6286 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
*resultobj
;
6288 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6289 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6291 PyObject
* obj0
= 0 ;
6292 PyObject
* obj1
= 0 ;
6293 PyObject
* obj2
= 0 ;
6295 (char *) "self",(char *) "attr",(char *) "col", NULL
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6300 if (SWIG_arg_fail(1)) SWIG_fail
;
6301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6302 if (SWIG_arg_fail(2)) SWIG_fail
;
6304 arg3
= (int)(SWIG_As_int(obj2
));
6305 if (SWIG_arg_fail(3)) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 (arg1
)->SetColAttr(arg2
,arg3
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 Py_INCREF(Py_None
); resultobj
= Py_None
;
6321 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6327 PyObject
* obj1
= 0 ;
6328 PyObject
* obj2
= 0 ;
6330 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6335 if (SWIG_arg_fail(1)) SWIG_fail
;
6337 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
6338 if (SWIG_arg_fail(2)) SWIG_fail
;
6341 arg3
= (int)(SWIG_As_int(obj2
));
6342 if (SWIG_arg_fail(3)) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 (arg1
)->UpdateAttrRows(arg2
,arg3
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 Py_INCREF(Py_None
); resultobj
= Py_None
;
6358 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6364 PyObject
* obj1
= 0 ;
6365 PyObject
* obj2
= 0 ;
6367 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6372 if (SWIG_arg_fail(1)) SWIG_fail
;
6374 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
6375 if (SWIG_arg_fail(2)) SWIG_fail
;
6378 arg3
= (int)(SWIG_As_int(obj2
));
6379 if (SWIG_arg_fail(3)) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 (arg1
)->UpdateAttrCols(arg2
,arg3
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 Py_INCREF(Py_None
); resultobj
= Py_None
;
6395 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
6397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6398 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
6400 return Py_BuildValue((char *)"");
6402 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
;
6404 wxPyGridCellAttrProvider
*result
;
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
6424 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6427 PyObject
*arg2
= (PyObject
*) 0 ;
6428 PyObject
*arg3
= (PyObject
*) 0 ;
6429 PyObject
* obj0
= 0 ;
6430 PyObject
* obj1
= 0 ;
6431 PyObject
* obj2
= 0 ;
6433 (char *) "self",(char *) "self",(char *) "_class", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6438 if (SWIG_arg_fail(1)) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 Py_INCREF(Py_None
); resultobj
= Py_None
;
6455 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6460 wxGridCellAttr::wxAttrKind arg4
;
6461 wxGridCellAttr
*result
;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6464 PyObject
* obj2
= 0 ;
6465 PyObject
* obj3
= 0 ;
6467 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6472 if (SWIG_arg_fail(1)) SWIG_fail
;
6474 arg2
= (int)(SWIG_As_int(obj1
));
6475 if (SWIG_arg_fail(2)) SWIG_fail
;
6478 arg3
= (int)(SWIG_As_int(obj2
));
6479 if (SWIG_arg_fail(3)) SWIG_fail
;
6482 arg4
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj3
));
6483 if (SWIG_arg_fail(4)) SWIG_fail
;
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6493 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
6501 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6503 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6504 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6507 PyObject
* obj0
= 0 ;
6508 PyObject
* obj1
= 0 ;
6509 PyObject
* obj2
= 0 ;
6510 PyObject
* obj3
= 0 ;
6512 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6517 if (SWIG_arg_fail(1)) SWIG_fail
;
6518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6519 if (SWIG_arg_fail(2)) SWIG_fail
;
6521 arg3
= (int)(SWIG_As_int(obj2
));
6522 if (SWIG_arg_fail(3)) SWIG_fail
;
6525 arg4
= (int)(SWIG_As_int(obj3
));
6526 if (SWIG_arg_fail(4)) SWIG_fail
;
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
6532 wxPyEndAllowThreads(__tstate
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6535 Py_INCREF(Py_None
); resultobj
= Py_None
;
6542 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6544 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6545 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6547 PyObject
* obj0
= 0 ;
6548 PyObject
* obj1
= 0 ;
6549 PyObject
* obj2
= 0 ;
6551 (char *) "self",(char *) "attr",(char *) "row", NULL
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6556 if (SWIG_arg_fail(1)) SWIG_fail
;
6557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6558 if (SWIG_arg_fail(2)) SWIG_fail
;
6560 arg3
= (int)(SWIG_As_int(obj2
));
6561 if (SWIG_arg_fail(3)) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 (arg1
)->base_SetRowAttr(arg2
,arg3
);
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 Py_INCREF(Py_None
); resultobj
= Py_None
;
6577 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
*resultobj
;
6579 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6580 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6582 PyObject
* obj0
= 0 ;
6583 PyObject
* obj1
= 0 ;
6584 PyObject
* obj2
= 0 ;
6586 (char *) "self",(char *) "attr",(char *) "col", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6591 if (SWIG_arg_fail(1)) SWIG_fail
;
6592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6593 if (SWIG_arg_fail(2)) SWIG_fail
;
6595 arg3
= (int)(SWIG_As_int(obj2
));
6596 if (SWIG_arg_fail(3)) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 (arg1
)->base_SetColAttr(arg2
,arg3
);
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6605 Py_INCREF(Py_None
); resultobj
= Py_None
;
6612 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
6614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6615 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
6617 return Py_BuildValue((char *)"");
6619 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6622 PyObject
*arg2
= (PyObject
*) 0 ;
6623 PyObject
* obj0
= 0 ;
6624 PyObject
* obj1
= 0 ;
6626 (char *) "self",(char *) "_self", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
6630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6631 if (SWIG_arg_fail(1)) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 wxGridTableBase__setOORInfo(arg1
,arg2
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 Py_INCREF(Py_None
); resultobj
= Py_None
;
6647 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6650 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6654 (char *) "self",(char *) "attrProvider", NULL
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6659 if (SWIG_arg_fail(1)) SWIG_fail
;
6660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6661 if (SWIG_arg_fail(2)) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 (arg1
)->SetAttrProvider(arg2
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 Py_INCREF(Py_None
); resultobj
= Py_None
;
6676 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6679 wxGridCellAttrProvider
*result
;
6680 PyObject
* obj0
= 0 ;
6682 (char *) "self", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
6686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6687 if (SWIG_arg_fail(1)) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, 0);
6704 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
;
6706 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6707 wxGrid
*arg2
= (wxGrid
*) 0 ;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6711 (char *) "self",(char *) "grid", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
6715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6716 if (SWIG_arg_fail(1)) SWIG_fail
;
6717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
6718 if (SWIG_arg_fail(2)) SWIG_fail
;
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 (arg1
)->SetView(arg2
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 Py_INCREF(Py_None
); resultobj
= Py_None
;
6733 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
;
6735 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6737 PyObject
* obj0
= 0 ;
6739 (char *) "self", NULL
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
6743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6744 if (SWIG_arg_fail(1)) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= wxPyMake_wxObject(result
, 0);
6761 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
*resultobj
;
6763 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6765 PyObject
* obj0
= 0 ;
6767 (char *) "self", NULL
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
6771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6772 if (SWIG_arg_fail(1)) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= (int)(arg1
)->GetNumberRows();
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= SWIG_From_int((int)(result
));
6789 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6795 (char *) "self", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
6799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6800 if (SWIG_arg_fail(1)) SWIG_fail
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 result
= (int)(arg1
)->GetNumberCols();
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= SWIG_From_int((int)(result
));
6817 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6819 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6825 PyObject
* obj2
= 0 ;
6827 (char *) "self",(char *) "row",(char *) "col", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6832 if (SWIG_arg_fail(1)) SWIG_fail
;
6834 arg2
= (int)(SWIG_As_int(obj1
));
6835 if (SWIG_arg_fail(2)) SWIG_fail
;
6838 arg3
= (int)(SWIG_As_int(obj2
));
6839 if (SWIG_arg_fail(3)) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6857 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6864 PyObject
* obj1
= 0 ;
6865 PyObject
* obj2
= 0 ;
6867 (char *) "self",(char *) "row",(char *) "col", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6872 if (SWIG_arg_fail(1)) SWIG_fail
;
6874 arg2
= (int)(SWIG_As_int(obj1
));
6875 if (SWIG_arg_fail(2)) SWIG_fail
;
6878 arg3
= (int)(SWIG_As_int(obj2
));
6879 if (SWIG_arg_fail(3)) SWIG_fail
;
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 result
= (arg1
)->GetValue(arg2
,arg3
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6901 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
*resultobj
;
6903 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6906 wxString
*arg4
= 0 ;
6907 bool temp4
= false ;
6908 PyObject
* obj0
= 0 ;
6909 PyObject
* obj1
= 0 ;
6910 PyObject
* obj2
= 0 ;
6911 PyObject
* obj3
= 0 ;
6913 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6918 if (SWIG_arg_fail(1)) SWIG_fail
;
6920 arg2
= (int)(SWIG_As_int(obj1
));
6921 if (SWIG_arg_fail(2)) SWIG_fail
;
6924 arg3
= (int)(SWIG_As_int(obj2
));
6925 if (SWIG_arg_fail(3)) SWIG_fail
;
6928 arg4
= wxString_in_helper(obj3
);
6929 if (arg4
== NULL
) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 Py_INCREF(Py_None
); resultobj
= Py_None
;
6954 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
;
6956 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6960 PyObject
* obj0
= 0 ;
6961 PyObject
* obj1
= 0 ;
6962 PyObject
* obj2
= 0 ;
6964 (char *) "self",(char *) "row",(char *) "col", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6969 if (SWIG_arg_fail(1)) SWIG_fail
;
6971 arg2
= (int)(SWIG_As_int(obj1
));
6972 if (SWIG_arg_fail(2)) SWIG_fail
;
6975 arg3
= (int)(SWIG_As_int(obj2
));
6976 if (SWIG_arg_fail(3)) SWIG_fail
;
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 result
= (arg1
)->GetTypeName(arg2
,arg3
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6998 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7000 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7003 wxString
*arg4
= 0 ;
7005 bool temp4
= false ;
7006 PyObject
* obj0
= 0 ;
7007 PyObject
* obj1
= 0 ;
7008 PyObject
* obj2
= 0 ;
7009 PyObject
* obj3
= 0 ;
7011 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7016 if (SWIG_arg_fail(1)) SWIG_fail
;
7018 arg2
= (int)(SWIG_As_int(obj1
));
7019 if (SWIG_arg_fail(2)) SWIG_fail
;
7022 arg3
= (int)(SWIG_As_int(obj2
));
7023 if (SWIG_arg_fail(3)) SWIG_fail
;
7026 arg4
= wxString_in_helper(obj3
);
7027 if (arg4
== NULL
) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7054 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7059 wxString
*arg4
= 0 ;
7061 bool temp4
= false ;
7062 PyObject
* obj0
= 0 ;
7063 PyObject
* obj1
= 0 ;
7064 PyObject
* obj2
= 0 ;
7065 PyObject
* obj3
= 0 ;
7067 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7072 if (SWIG_arg_fail(1)) SWIG_fail
;
7074 arg2
= (int)(SWIG_As_int(obj1
));
7075 if (SWIG_arg_fail(2)) SWIG_fail
;
7078 arg3
= (int)(SWIG_As_int(obj2
));
7079 if (SWIG_arg_fail(3)) SWIG_fail
;
7082 arg4
= wxString_in_helper(obj3
);
7083 if (arg4
== NULL
) SWIG_fail
;
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7110 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
;
7112 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7118 PyObject
* obj2
= 0 ;
7120 (char *) "self",(char *) "row",(char *) "col", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7125 if (SWIG_arg_fail(1)) SWIG_fail
;
7127 arg2
= (int)(SWIG_As_int(obj1
));
7128 if (SWIG_arg_fail(2)) SWIG_fail
;
7131 arg3
= (int)(SWIG_As_int(obj2
));
7132 if (SWIG_arg_fail(3)) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_From_long((long)(result
));
7150 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
*resultobj
;
7152 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7158 PyObject
* obj2
= 0 ;
7160 (char *) "self",(char *) "row",(char *) "col", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7165 if (SWIG_arg_fail(1)) SWIG_fail
;
7167 arg2
= (int)(SWIG_As_int(obj1
));
7168 if (SWIG_arg_fail(2)) SWIG_fail
;
7171 arg3
= (int)(SWIG_As_int(obj2
));
7172 if (SWIG_arg_fail(3)) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7182 resultobj
= SWIG_From_double((double)(result
));
7190 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7197 PyObject
* obj1
= 0 ;
7198 PyObject
* obj2
= 0 ;
7200 (char *) "self",(char *) "row",(char *) "col", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7205 if (SWIG_arg_fail(1)) SWIG_fail
;
7207 arg2
= (int)(SWIG_As_int(obj1
));
7208 if (SWIG_arg_fail(2)) SWIG_fail
;
7211 arg3
= (int)(SWIG_As_int(obj2
));
7212 if (SWIG_arg_fail(3)) SWIG_fail
;
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7230 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
;
7232 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7236 PyObject
* obj0
= 0 ;
7237 PyObject
* obj1
= 0 ;
7238 PyObject
* obj2
= 0 ;
7239 PyObject
* obj3
= 0 ;
7241 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7246 if (SWIG_arg_fail(1)) SWIG_fail
;
7248 arg2
= (int)(SWIG_As_int(obj1
));
7249 if (SWIG_arg_fail(2)) SWIG_fail
;
7252 arg3
= (int)(SWIG_As_int(obj2
));
7253 if (SWIG_arg_fail(3)) SWIG_fail
;
7256 arg4
= (long)(SWIG_As_long(obj3
));
7257 if (SWIG_arg_fail(4)) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 Py_INCREF(Py_None
); resultobj
= Py_None
;
7273 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7279 PyObject
* obj0
= 0 ;
7280 PyObject
* obj1
= 0 ;
7281 PyObject
* obj2
= 0 ;
7282 PyObject
* obj3
= 0 ;
7284 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7289 if (SWIG_arg_fail(1)) SWIG_fail
;
7291 arg2
= (int)(SWIG_As_int(obj1
));
7292 if (SWIG_arg_fail(2)) SWIG_fail
;
7295 arg3
= (int)(SWIG_As_int(obj2
));
7296 if (SWIG_arg_fail(3)) SWIG_fail
;
7299 arg4
= (double)(SWIG_As_double(obj3
));
7300 if (SWIG_arg_fail(4)) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 Py_INCREF(Py_None
); resultobj
= Py_None
;
7316 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7322 PyObject
* obj0
= 0 ;
7323 PyObject
* obj1
= 0 ;
7324 PyObject
* obj2
= 0 ;
7325 PyObject
* obj3
= 0 ;
7327 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7332 if (SWIG_arg_fail(1)) SWIG_fail
;
7334 arg2
= (int)(SWIG_As_int(obj1
));
7335 if (SWIG_arg_fail(2)) SWIG_fail
;
7338 arg3
= (int)(SWIG_As_int(obj2
));
7339 if (SWIG_arg_fail(3)) SWIG_fail
;
7342 arg4
= (bool)(SWIG_As_bool(obj3
));
7343 if (SWIG_arg_fail(4)) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 Py_INCREF(Py_None
); resultobj
= Py_None
;
7359 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7362 PyObject
* obj0
= 0 ;
7364 (char *) "self", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
7368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7369 if (SWIG_arg_fail(1)) SWIG_fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 Py_INCREF(Py_None
); resultobj
= Py_None
;
7384 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7387 size_t arg2
= (size_t) 0 ;
7388 size_t arg3
= (size_t) 1 ;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7392 PyObject
* obj2
= 0 ;
7394 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7399 if (SWIG_arg_fail(1)) SWIG_fail
;
7402 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7403 if (SWIG_arg_fail(2)) SWIG_fail
;
7408 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
7409 if (SWIG_arg_fail(3)) SWIG_fail
;
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7428 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7431 size_t arg2
= (size_t) 1 ;
7433 PyObject
* obj0
= 0 ;
7434 PyObject
* obj1
= 0 ;
7436 (char *) "self",(char *) "numRows", NULL
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
7440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7441 if (SWIG_arg_fail(1)) SWIG_fail
;
7444 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7445 if (SWIG_arg_fail(2)) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= (bool)(arg1
)->AppendRows(arg2
);
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7464 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7466 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7467 size_t arg2
= (size_t) 0 ;
7468 size_t arg3
= (size_t) 1 ;
7470 PyObject
* obj0
= 0 ;
7471 PyObject
* obj1
= 0 ;
7472 PyObject
* obj2
= 0 ;
7474 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7479 if (SWIG_arg_fail(1)) SWIG_fail
;
7482 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7483 if (SWIG_arg_fail(2)) SWIG_fail
;
7488 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
7489 if (SWIG_arg_fail(3)) SWIG_fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7508 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7510 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7511 size_t arg2
= (size_t) 0 ;
7512 size_t arg3
= (size_t) 1 ;
7514 PyObject
* obj0
= 0 ;
7515 PyObject
* obj1
= 0 ;
7516 PyObject
* obj2
= 0 ;
7518 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7523 if (SWIG_arg_fail(1)) SWIG_fail
;
7526 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7527 if (SWIG_arg_fail(2)) SWIG_fail
;
7532 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
7533 if (SWIG_arg_fail(3)) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7552 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7555 size_t arg2
= (size_t) 1 ;
7557 PyObject
* obj0
= 0 ;
7558 PyObject
* obj1
= 0 ;
7560 (char *) "self",(char *) "numCols", NULL
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
7564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7565 if (SWIG_arg_fail(1)) SWIG_fail
;
7568 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7569 if (SWIG_arg_fail(2)) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 result
= (bool)(arg1
)->AppendCols(arg2
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7588 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7591 size_t arg2
= (size_t) 0 ;
7592 size_t arg3
= (size_t) 1 ;
7594 PyObject
* obj0
= 0 ;
7595 PyObject
* obj1
= 0 ;
7596 PyObject
* obj2
= 0 ;
7598 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7603 if (SWIG_arg_fail(1)) SWIG_fail
;
7606 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7607 if (SWIG_arg_fail(2)) SWIG_fail
;
7612 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
7613 if (SWIG_arg_fail(3)) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7632 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7637 PyObject
* obj0
= 0 ;
7638 PyObject
* obj1
= 0 ;
7640 (char *) "self",(char *) "row", NULL
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7645 if (SWIG_arg_fail(1)) SWIG_fail
;
7647 arg2
= (int)(SWIG_As_int(obj1
));
7648 if (SWIG_arg_fail(2)) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= (arg1
)->GetRowLabelValue(arg2
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7670 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7675 PyObject
* obj0
= 0 ;
7676 PyObject
* obj1
= 0 ;
7678 (char *) "self",(char *) "col", NULL
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7683 if (SWIG_arg_fail(1)) SWIG_fail
;
7685 arg2
= (int)(SWIG_As_int(obj1
));
7686 if (SWIG_arg_fail(2)) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (arg1
)->GetColLabelValue(arg2
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7708 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7712 wxString
*arg3
= 0 ;
7713 bool temp3
= false ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7716 PyObject
* obj2
= 0 ;
7718 (char *) "self",(char *) "row",(char *) "value", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail
;
7725 arg2
= (int)(SWIG_As_int(obj1
));
7726 if (SWIG_arg_fail(2)) SWIG_fail
;
7729 arg3
= wxString_in_helper(obj2
);
7730 if (arg3
== NULL
) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 Py_INCREF(Py_None
); resultobj
= Py_None
;
7755 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7759 wxString
*arg3
= 0 ;
7760 bool temp3
= false ;
7761 PyObject
* obj0
= 0 ;
7762 PyObject
* obj1
= 0 ;
7763 PyObject
* obj2
= 0 ;
7765 (char *) "self",(char *) "col",(char *) "value", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7770 if (SWIG_arg_fail(1)) SWIG_fail
;
7772 arg2
= (int)(SWIG_As_int(obj1
));
7773 if (SWIG_arg_fail(2)) SWIG_fail
;
7776 arg3
= wxString_in_helper(obj2
);
7777 if (arg3
== NULL
) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 Py_INCREF(Py_None
); resultobj
= Py_None
;
7802 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7808 (char *) "self", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7813 if (SWIG_arg_fail(1)) SWIG_fail
;
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 result
= (bool)(arg1
)->CanHaveAttributes();
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7830 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
;
7832 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7835 wxGridCellAttr::wxAttrKind arg4
;
7836 wxGridCellAttr
*result
;
7837 PyObject
* obj0
= 0 ;
7838 PyObject
* obj1
= 0 ;
7839 PyObject
* obj2
= 0 ;
7840 PyObject
* obj3
= 0 ;
7842 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7847 if (SWIG_arg_fail(1)) SWIG_fail
;
7849 arg2
= (int)(SWIG_As_int(obj1
));
7850 if (SWIG_arg_fail(2)) SWIG_fail
;
7853 arg3
= (int)(SWIG_As_int(obj2
));
7854 if (SWIG_arg_fail(3)) SWIG_fail
;
7857 arg4
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj3
));
7858 if (SWIG_arg_fail(4)) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7868 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
7876 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7879 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7883 PyObject
* obj1
= 0 ;
7884 PyObject
* obj2
= 0 ;
7885 PyObject
* obj3
= 0 ;
7887 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7892 if (SWIG_arg_fail(1)) SWIG_fail
;
7893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
7894 if (SWIG_arg_fail(2)) SWIG_fail
;
7896 arg3
= (int)(SWIG_As_int(obj2
));
7897 if (SWIG_arg_fail(3)) SWIG_fail
;
7900 arg4
= (int)(SWIG_As_int(obj3
));
7901 if (SWIG_arg_fail(4)) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 Py_INCREF(Py_None
); resultobj
= Py_None
;
7917 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7920 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7922 PyObject
* obj0
= 0 ;
7923 PyObject
* obj1
= 0 ;
7924 PyObject
* obj2
= 0 ;
7926 (char *) "self",(char *) "attr",(char *) "row", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7931 if (SWIG_arg_fail(1)) SWIG_fail
;
7932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
7933 if (SWIG_arg_fail(2)) SWIG_fail
;
7935 arg3
= (int)(SWIG_As_int(obj2
));
7936 if (SWIG_arg_fail(3)) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 (arg1
)->SetRowAttr(arg2
,arg3
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 Py_INCREF(Py_None
); resultobj
= Py_None
;
7952 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7955 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7957 PyObject
* obj0
= 0 ;
7958 PyObject
* obj1
= 0 ;
7959 PyObject
* obj2
= 0 ;
7961 (char *) "self",(char *) "attr",(char *) "col", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7966 if (SWIG_arg_fail(1)) SWIG_fail
;
7967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
7968 if (SWIG_arg_fail(2)) SWIG_fail
;
7970 arg3
= (int)(SWIG_As_int(obj2
));
7971 if (SWIG_arg_fail(3)) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 (arg1
)->SetColAttr(arg2
,arg3
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 Py_INCREF(Py_None
); resultobj
= Py_None
;
7987 static PyObject
* GridTableBase_swigregister(PyObject
*, PyObject
*args
) {
7989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7990 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
7992 return Py_BuildValue((char *)"");
7994 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxPyGridTableBase
*result
;
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8004 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
8016 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
;
8018 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8019 PyObject
*arg2
= (PyObject
*) 0 ;
8020 PyObject
*arg3
= (PyObject
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8023 PyObject
* obj2
= 0 ;
8025 (char *) "self",(char *) "self",(char *) "_class", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8030 if (SWIG_arg_fail(1)) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 Py_INCREF(Py_None
); resultobj
= Py_None
;
8047 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8050 PyObject
* obj0
= 0 ;
8052 (char *) "self", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
8056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8057 if (SWIG_arg_fail(1)) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 wxPyGridTableBase_Destroy(arg1
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 Py_INCREF(Py_None
); resultobj
= Py_None
;
8072 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8078 PyObject
* obj0
= 0 ;
8079 PyObject
* obj1
= 0 ;
8080 PyObject
* obj2
= 0 ;
8082 (char *) "self",(char *) "row",(char *) "col", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail
;
8089 arg2
= (int)(SWIG_As_int(obj1
));
8090 if (SWIG_arg_fail(2)) SWIG_fail
;
8093 arg3
= (int)(SWIG_As_int(obj2
));
8094 if (SWIG_arg_fail(3)) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8116 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
*resultobj
;
8118 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8121 wxString
*arg4
= 0 ;
8123 bool temp4
= false ;
8124 PyObject
* obj0
= 0 ;
8125 PyObject
* obj1
= 0 ;
8126 PyObject
* obj2
= 0 ;
8127 PyObject
* obj3
= 0 ;
8129 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8134 if (SWIG_arg_fail(1)) SWIG_fail
;
8136 arg2
= (int)(SWIG_As_int(obj1
));
8137 if (SWIG_arg_fail(2)) SWIG_fail
;
8140 arg3
= (int)(SWIG_As_int(obj2
));
8141 if (SWIG_arg_fail(3)) SWIG_fail
;
8144 arg4
= wxString_in_helper(obj3
);
8145 if (arg4
== NULL
) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8172 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8177 wxString
*arg4
= 0 ;
8179 bool temp4
= false ;
8180 PyObject
* obj0
= 0 ;
8181 PyObject
* obj1
= 0 ;
8182 PyObject
* obj2
= 0 ;
8183 PyObject
* obj3
= 0 ;
8185 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8190 if (SWIG_arg_fail(1)) SWIG_fail
;
8192 arg2
= (int)(SWIG_As_int(obj1
));
8193 if (SWIG_arg_fail(2)) SWIG_fail
;
8196 arg3
= (int)(SWIG_As_int(obj2
));
8197 if (SWIG_arg_fail(3)) SWIG_fail
;
8200 arg4
= wxString_in_helper(obj3
);
8201 if (arg4
== NULL
) SWIG_fail
;
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8228 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
*resultobj
;
8230 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8231 PyObject
* obj0
= 0 ;
8233 (char *) "self", NULL
8236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
8237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8238 if (SWIG_arg_fail(1)) SWIG_fail
;
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 (arg1
)->base_Clear();
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8246 Py_INCREF(Py_None
); resultobj
= Py_None
;
8253 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8255 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8256 size_t arg2
= (size_t) 0 ;
8257 size_t arg3
= (size_t) 1 ;
8259 PyObject
* obj0
= 0 ;
8260 PyObject
* obj1
= 0 ;
8261 PyObject
* obj2
= 0 ;
8263 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8268 if (SWIG_arg_fail(1)) SWIG_fail
;
8271 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8272 if (SWIG_arg_fail(2)) SWIG_fail
;
8277 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
8278 if (SWIG_arg_fail(3)) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8297 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
;
8299 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8300 size_t arg2
= (size_t) 1 ;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8305 (char *) "self",(char *) "numRows", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
8309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8310 if (SWIG_arg_fail(1)) SWIG_fail
;
8313 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8314 if (SWIG_arg_fail(2)) SWIG_fail
;
8318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8319 result
= (bool)(arg1
)->base_AppendRows(arg2
);
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8333 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
;
8335 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8336 size_t arg2
= (size_t) 0 ;
8337 size_t arg3
= (size_t) 1 ;
8339 PyObject
* obj0
= 0 ;
8340 PyObject
* obj1
= 0 ;
8341 PyObject
* obj2
= 0 ;
8343 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8348 if (SWIG_arg_fail(1)) SWIG_fail
;
8351 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8352 if (SWIG_arg_fail(2)) SWIG_fail
;
8357 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
8358 if (SWIG_arg_fail(3)) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8377 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8380 size_t arg2
= (size_t) 0 ;
8381 size_t arg3
= (size_t) 1 ;
8383 PyObject
* obj0
= 0 ;
8384 PyObject
* obj1
= 0 ;
8385 PyObject
* obj2
= 0 ;
8387 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8392 if (SWIG_arg_fail(1)) SWIG_fail
;
8395 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8396 if (SWIG_arg_fail(2)) SWIG_fail
;
8401 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
8402 if (SWIG_arg_fail(3)) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8421 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8424 size_t arg2
= (size_t) 1 ;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8429 (char *) "self",(char *) "numCols", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
8433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8434 if (SWIG_arg_fail(1)) SWIG_fail
;
8437 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8438 if (SWIG_arg_fail(2)) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (bool)(arg1
)->base_AppendCols(arg2
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8457 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8460 size_t arg2
= (size_t) 0 ;
8461 size_t arg3
= (size_t) 1 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8465 PyObject
* obj2
= 0 ;
8467 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8472 if (SWIG_arg_fail(1)) SWIG_fail
;
8475 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8476 if (SWIG_arg_fail(2)) SWIG_fail
;
8481 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
8482 if (SWIG_arg_fail(3)) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8501 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8506 PyObject
* obj0
= 0 ;
8507 PyObject
* obj1
= 0 ;
8509 (char *) "self",(char *) "row", NULL
8512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8514 if (SWIG_arg_fail(1)) SWIG_fail
;
8516 arg2
= (int)(SWIG_As_int(obj1
));
8517 if (SWIG_arg_fail(2)) SWIG_fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (arg1
)->base_GetRowLabelValue(arg2
);
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8539 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8544 PyObject
* obj0
= 0 ;
8545 PyObject
* obj1
= 0 ;
8547 (char *) "self",(char *) "col", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8552 if (SWIG_arg_fail(1)) SWIG_fail
;
8554 arg2
= (int)(SWIG_As_int(obj1
));
8555 if (SWIG_arg_fail(2)) SWIG_fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 result
= (arg1
)->base_GetColLabelValue(arg2
);
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8577 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8581 wxString
*arg3
= 0 ;
8582 bool temp3
= false ;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8585 PyObject
* obj2
= 0 ;
8587 (char *) "self",(char *) "row",(char *) "value", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8592 if (SWIG_arg_fail(1)) SWIG_fail
;
8594 arg2
= (int)(SWIG_As_int(obj1
));
8595 if (SWIG_arg_fail(2)) SWIG_fail
;
8598 arg3
= wxString_in_helper(obj2
);
8599 if (arg3
== NULL
) SWIG_fail
;
8603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8604 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
8606 wxPyEndAllowThreads(__tstate
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8609 Py_INCREF(Py_None
); resultobj
= Py_None
;
8624 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8628 wxString
*arg3
= 0 ;
8629 bool temp3
= false ;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8632 PyObject
* obj2
= 0 ;
8634 (char *) "self",(char *) "col",(char *) "value", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8639 if (SWIG_arg_fail(1)) SWIG_fail
;
8641 arg2
= (int)(SWIG_As_int(obj1
));
8642 if (SWIG_arg_fail(2)) SWIG_fail
;
8645 arg3
= wxString_in_helper(obj2
);
8646 if (arg3
== NULL
) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 Py_INCREF(Py_None
); resultobj
= Py_None
;
8671 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8675 PyObject
* obj0
= 0 ;
8677 (char *) "self", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
8681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8682 if (SWIG_arg_fail(1)) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= (bool)(arg1
)->base_CanHaveAttributes();
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8699 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8701 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8704 wxGridCellAttr::wxAttrKind arg4
;
8705 wxGridCellAttr
*result
;
8706 PyObject
* obj0
= 0 ;
8707 PyObject
* obj1
= 0 ;
8708 PyObject
* obj2
= 0 ;
8709 PyObject
* obj3
= 0 ;
8711 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
8714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8716 if (SWIG_arg_fail(1)) SWIG_fail
;
8718 arg2
= (int)(SWIG_As_int(obj1
));
8719 if (SWIG_arg_fail(2)) SWIG_fail
;
8722 arg3
= (int)(SWIG_As_int(obj2
));
8723 if (SWIG_arg_fail(3)) SWIG_fail
;
8726 arg4
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj3
));
8727 if (SWIG_arg_fail(4)) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
8745 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8748 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8753 PyObject
* obj2
= 0 ;
8754 PyObject
* obj3
= 0 ;
8756 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
8759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8761 if (SWIG_arg_fail(1)) SWIG_fail
;
8762 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8763 if (SWIG_arg_fail(2)) SWIG_fail
;
8765 arg3
= (int)(SWIG_As_int(obj2
));
8766 if (SWIG_arg_fail(3)) SWIG_fail
;
8769 arg4
= (int)(SWIG_As_int(obj3
));
8770 if (SWIG_arg_fail(4)) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 Py_INCREF(Py_None
); resultobj
= Py_None
;
8786 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8789 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8791 PyObject
* obj0
= 0 ;
8792 PyObject
* obj1
= 0 ;
8793 PyObject
* obj2
= 0 ;
8795 (char *) "self",(char *) "attr",(char *) "row", NULL
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8800 if (SWIG_arg_fail(1)) SWIG_fail
;
8801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8802 if (SWIG_arg_fail(2)) SWIG_fail
;
8804 arg3
= (int)(SWIG_As_int(obj2
));
8805 if (SWIG_arg_fail(3)) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 (arg1
)->base_SetRowAttr(arg2
,arg3
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 Py_INCREF(Py_None
); resultobj
= Py_None
;
8821 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8824 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8826 PyObject
* obj0
= 0 ;
8827 PyObject
* obj1
= 0 ;
8828 PyObject
* obj2
= 0 ;
8830 (char *) "self",(char *) "attr",(char *) "col", NULL
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8835 if (SWIG_arg_fail(1)) SWIG_fail
;
8836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8837 if (SWIG_arg_fail(2)) SWIG_fail
;
8839 arg3
= (int)(SWIG_As_int(obj2
));
8840 if (SWIG_arg_fail(3)) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 (arg1
)->base_SetColAttr(arg2
,arg3
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 Py_INCREF(Py_None
); resultobj
= Py_None
;
8856 static PyObject
* PyGridTableBase_swigregister(PyObject
*, PyObject
*args
) {
8858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8859 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
8861 return Py_BuildValue((char *)"");
8863 static PyObject
*_wrap_new_GridStringTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8865 int arg1
= (int) 0 ;
8866 int arg2
= (int) 0 ;
8867 wxGridStringTable
*result
;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8871 (char *) "numRows",(char *) "numCols", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
8877 arg1
= (int)(SWIG_As_int(obj0
));
8878 if (SWIG_arg_fail(1)) SWIG_fail
;
8883 arg2
= (int)(SWIG_As_int(obj1
));
8884 if (SWIG_arg_fail(2)) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
8901 static PyObject
* GridStringTable_swigregister(PyObject
*, PyObject
*args
) {
8903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8904 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
8906 return Py_BuildValue((char *)"");
8908 static PyObject
*_wrap_new_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8912 int arg3
= (int) -1 ;
8913 int arg4
= (int) -1 ;
8914 wxGridTableMessage
*result
;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8917 PyObject
* obj2
= 0 ;
8918 PyObject
* obj3
= 0 ;
8920 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8925 if (SWIG_arg_fail(1)) SWIG_fail
;
8927 arg2
= (int)(SWIG_As_int(obj1
));
8928 if (SWIG_arg_fail(2)) SWIG_fail
;
8932 arg3
= (int)(SWIG_As_int(obj2
));
8933 if (SWIG_arg_fail(3)) SWIG_fail
;
8938 arg4
= (int)(SWIG_As_int(obj3
));
8939 if (SWIG_arg_fail(4)) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
8956 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8961 (char *) "self", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
8965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
8966 if (SWIG_arg_fail(1)) SWIG_fail
;
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 Py_INCREF(Py_None
); resultobj
= Py_None
;
8981 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
;
8983 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
8984 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8988 (char *) "self",(char *) "table", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
8992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
8993 if (SWIG_arg_fail(1)) SWIG_fail
;
8994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8995 if (SWIG_arg_fail(2)) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 (arg1
)->SetTableObject(arg2
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 Py_INCREF(Py_None
); resultobj
= Py_None
;
9010 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9013 wxGridTableBase
*result
;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "self", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
9020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9021 if (SWIG_arg_fail(1)) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= wxPyMake_wxGridTableBase(result
, 0);
9038 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9042 PyObject
* obj0
= 0 ;
9043 PyObject
* obj1
= 0 ;
9045 (char *) "self",(char *) "id", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
9049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9050 if (SWIG_arg_fail(1)) SWIG_fail
;
9052 arg2
= (int)(SWIG_As_int(obj1
));
9053 if (SWIG_arg_fail(2)) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 (arg1
)->SetId(arg2
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 Py_INCREF(Py_None
); resultobj
= Py_None
;
9069 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9075 (char *) "self", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
9079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9080 if (SWIG_arg_fail(1)) SWIG_fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 result
= (int)(arg1
)->GetId();
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= SWIG_From_int((int)(result
));
9097 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
;
9099 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9104 (char *) "self",(char *) "comInt1", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9109 if (SWIG_arg_fail(1)) SWIG_fail
;
9111 arg2
= (int)(SWIG_As_int(obj1
));
9112 if (SWIG_arg_fail(2)) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 (arg1
)->SetCommandInt(arg2
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 Py_INCREF(Py_None
); resultobj
= Py_None
;
9128 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9134 (char *) "self", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
9138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9139 if (SWIG_arg_fail(1)) SWIG_fail
;
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 result
= (int)(arg1
)->GetCommandInt();
9144 wxPyEndAllowThreads(__tstate
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9148 resultobj
= SWIG_From_int((int)(result
));
9156 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
;
9158 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9160 PyObject
* obj0
= 0 ;
9161 PyObject
* obj1
= 0 ;
9163 (char *) "self",(char *) "comInt2", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
9167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9168 if (SWIG_arg_fail(1)) SWIG_fail
;
9170 arg2
= (int)(SWIG_As_int(obj1
));
9171 if (SWIG_arg_fail(2)) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 (arg1
)->SetCommandInt2(arg2
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 Py_INCREF(Py_None
); resultobj
= Py_None
;
9187 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9189 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9191 PyObject
* obj0
= 0 ;
9193 (char *) "self", NULL
9196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
9197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9198 if (SWIG_arg_fail(1)) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (int)(arg1
)->GetCommandInt2();
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= SWIG_From_int((int)(result
));
9215 static PyObject
* GridTableMessage_swigregister(PyObject
*, PyObject
*args
) {
9217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9218 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
9220 return Py_BuildValue((char *)"");
9222 static PyObject
*_wrap_new_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
;
9224 int arg1
= (int) -1 ;
9225 int arg2
= (int) -1 ;
9226 wxGridCellCoords
*result
;
9227 PyObject
* obj0
= 0 ;
9228 PyObject
* obj1
= 0 ;
9230 (char *) "r",(char *) "c", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
9236 arg1
= (int)(SWIG_As_int(obj0
));
9237 if (SWIG_arg_fail(1)) SWIG_fail
;
9242 arg2
= (int)(SWIG_As_int(obj1
));
9243 if (SWIG_arg_fail(2)) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
9260 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9265 (char *) "self", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
9269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9270 if (SWIG_arg_fail(1)) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 Py_INCREF(Py_None
); resultobj
= Py_None
;
9285 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
;
9287 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9289 PyObject
* obj0
= 0 ;
9291 (char *) "self", NULL
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
9295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9296 if (SWIG_arg_fail(1)) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= SWIG_From_int((int)(result
));
9313 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9315 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9318 PyObject
* obj1
= 0 ;
9320 (char *) "self",(char *) "n", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9325 if (SWIG_arg_fail(1)) SWIG_fail
;
9327 arg2
= (int)(SWIG_As_int(obj1
));
9328 if (SWIG_arg_fail(2)) SWIG_fail
;
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 (arg1
)->SetRow(arg2
);
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 Py_INCREF(Py_None
); resultobj
= Py_None
;
9344 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
;
9346 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9348 PyObject
* obj0
= 0 ;
9350 (char *) "self", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
9354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9355 if (SWIG_arg_fail(1)) SWIG_fail
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_From_int((int)(result
));
9372 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9379 (char *) "self",(char *) "n", NULL
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9384 if (SWIG_arg_fail(1)) SWIG_fail
;
9386 arg2
= (int)(SWIG_As_int(obj1
));
9387 if (SWIG_arg_fail(2)) SWIG_fail
;
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 (arg1
)->SetCol(arg2
);
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9396 Py_INCREF(Py_None
); resultobj
= Py_None
;
9403 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
*resultobj
;
9405 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9409 PyObject
* obj1
= 0 ;
9410 PyObject
* obj2
= 0 ;
9412 (char *) "self",(char *) "row",(char *) "col", NULL
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9417 if (SWIG_arg_fail(1)) SWIG_fail
;
9419 arg2
= (int)(SWIG_As_int(obj1
));
9420 if (SWIG_arg_fail(2)) SWIG_fail
;
9423 arg3
= (int)(SWIG_As_int(obj2
));
9424 if (SWIG_arg_fail(3)) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 (arg1
)->Set(arg2
,arg3
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 Py_INCREF(Py_None
); resultobj
= Py_None
;
9440 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9443 wxGridCellCoords
*arg2
= 0 ;
9445 wxGridCellCoords temp2
;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9449 (char *) "self",(char *) "other", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail
;
9457 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9475 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9478 wxGridCellCoords
*arg2
= 0 ;
9480 wxGridCellCoords temp2
;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9484 (char *) "self",(char *) "other", NULL
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9489 if (SWIG_arg_fail(1)) SWIG_fail
;
9492 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9510 static PyObject
*_wrap_GridCellCoords_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "self", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_Get",kwnames
,&obj0
)) goto fail
;
9520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9521 if (SWIG_arg_fail(1)) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9536 static PyObject
* GridCellCoords_swigregister(PyObject
*, PyObject
*args
) {
9538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9539 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
9541 return Py_BuildValue((char *)"");
9543 static PyObject
*_wrap_new_Grid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxWindow
*arg1
= (wxWindow
*) 0 ;
9546 int arg2
= (int) -1 ;
9547 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9548 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9549 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9550 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9551 long arg5
= (long) wxWANTS_CHARS
;
9552 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9553 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9557 bool temp6
= false ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9560 PyObject
* obj2
= 0 ;
9561 PyObject
* obj3
= 0 ;
9562 PyObject
* obj4
= 0 ;
9563 PyObject
* obj5
= 0 ;
9565 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9570 if (SWIG_arg_fail(1)) SWIG_fail
;
9573 arg2
= (int)(SWIG_As_int(obj1
));
9574 if (SWIG_arg_fail(2)) SWIG_fail
;
9580 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9586 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9591 arg5
= (long)(SWIG_As_long(obj4
));
9592 if (SWIG_arg_fail(5)) SWIG_fail
;
9597 arg6
= wxString_in_helper(obj5
);
9598 if (arg6
== NULL
) SWIG_fail
;
9603 if (!wxPyCheckForApp()) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
9625 static PyObject
*_wrap_new_PreGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGrid",kwnames
)) goto fail
;
9634 if (!wxPyCheckForApp()) SWIG_fail
;
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 result
= (wxGrid
*)new wxGrid();
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
9648 static PyObject
*_wrap_Grid_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
*resultobj
;
9650 wxGrid
*arg1
= (wxGrid
*) 0 ;
9651 wxWindow
*arg2
= (wxWindow
*) 0 ;
9652 int arg3
= (int) -1 ;
9653 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9654 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9655 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9656 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9657 long arg6
= (long) wxWANTS_CHARS
;
9658 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9659 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9663 bool temp7
= false ;
9664 PyObject
* obj0
= 0 ;
9665 PyObject
* obj1
= 0 ;
9666 PyObject
* obj2
= 0 ;
9667 PyObject
* obj3
= 0 ;
9668 PyObject
* obj4
= 0 ;
9669 PyObject
* obj5
= 0 ;
9670 PyObject
* obj6
= 0 ;
9672 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9677 if (SWIG_arg_fail(1)) SWIG_fail
;
9678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9679 if (SWIG_arg_fail(2)) SWIG_fail
;
9682 arg3
= (int)(SWIG_As_int(obj2
));
9683 if (SWIG_arg_fail(3)) SWIG_fail
;
9689 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9695 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9700 arg6
= (long)(SWIG_As_long(obj5
));
9701 if (SWIG_arg_fail(6)) SWIG_fail
;
9706 arg7
= wxString_in_helper(obj6
);
9707 if (arg7
== NULL
) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9735 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxGrid
*arg1
= (wxGrid
*) 0 ;
9740 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
9742 PyObject
* obj0
= 0 ;
9743 PyObject
* obj1
= 0 ;
9744 PyObject
* obj2
= 0 ;
9745 PyObject
* obj3
= 0 ;
9747 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9752 if (SWIG_arg_fail(1)) SWIG_fail
;
9754 arg2
= (int)(SWIG_As_int(obj1
));
9755 if (SWIG_arg_fail(2)) SWIG_fail
;
9758 arg3
= (int)(SWIG_As_int(obj2
));
9759 if (SWIG_arg_fail(3)) SWIG_fail
;
9763 arg4
= (WXGRIDSELECTIONMODES
)(SWIG_As_int(obj3
));
9764 if (SWIG_arg_fail(4)) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9783 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
;
9785 wxGrid
*arg1
= (wxGrid
*) 0 ;
9786 WXGRIDSELECTIONMODES arg2
;
9787 PyObject
* obj0
= 0 ;
9788 PyObject
* obj1
= 0 ;
9790 (char *) "self",(char *) "selmode", NULL
9793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
9794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9795 if (SWIG_arg_fail(1)) SWIG_fail
;
9797 arg2
= (WXGRIDSELECTIONMODES
)(SWIG_As_int(obj1
));
9798 if (SWIG_arg_fail(2)) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 (arg1
)->SetSelectionMode(arg2
);
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 Py_INCREF(Py_None
); resultobj
= Py_None
;
9814 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxGrid
*arg1
= (wxGrid
*) 0 ;
9817 WXGRIDSELECTIONMODES result
;
9818 PyObject
* obj0
= 0 ;
9820 (char *) "self", NULL
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
9824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9825 if (SWIG_arg_fail(1)) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9834 resultobj
= SWIG_From_int((int)(result
));
9842 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxGrid
*arg1
= (wxGrid
*) 0 ;
9846 PyObject
* obj0
= 0 ;
9848 (char *) "self", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
9852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9853 if (SWIG_arg_fail(1)) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (int)(arg1
)->GetNumberRows();
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= SWIG_From_int((int)(result
));
9870 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
;
9872 wxGrid
*arg1
= (wxGrid
*) 0 ;
9874 PyObject
* obj0
= 0 ;
9876 (char *) "self", NULL
9879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
9880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9881 if (SWIG_arg_fail(1)) SWIG_fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 result
= (int)(arg1
)->GetNumberCols();
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= SWIG_From_int((int)(result
));
9898 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxGrid
*arg1
= (wxGrid
*) 0 ;
9901 wxGridTableMessage
*arg2
= 0 ;
9903 PyObject
* obj0
= 0 ;
9904 PyObject
* obj1
= 0 ;
9906 (char *) "self","arg2", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9911 if (SWIG_arg_fail(1)) SWIG_fail
;
9913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9914 if (SWIG_arg_fail(2)) SWIG_fail
;
9916 SWIG_null_ref("wxGridTableMessage");
9918 if (SWIG_arg_fail(2)) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9936 static PyObject
*_wrap_Grid_GetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxGrid
*arg1
= (wxGrid
*) 0 ;
9939 wxGridTableBase
*result
;
9940 PyObject
* obj0
= 0 ;
9942 (char *) "self", NULL
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
9946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9947 if (SWIG_arg_fail(1)) SWIG_fail
;
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= wxPyMake_wxGridTableBase(result
, 0);
9964 static PyObject
*_wrap_Grid_SetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxGrid
*arg1
= (wxGrid
*) 0 ;
9967 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
9968 bool arg3
= (bool) false ;
9969 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
9971 PyObject
* obj0
= 0 ;
9972 PyObject
* obj1
= 0 ;
9973 PyObject
* obj2
= 0 ;
9974 PyObject
* obj3
= 0 ;
9976 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9981 if (SWIG_arg_fail(1)) SWIG_fail
;
9982 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
9983 if (SWIG_arg_fail(2)) SWIG_fail
;
9986 arg3
= (bool)(SWIG_As_bool(obj2
));
9987 if (SWIG_arg_fail(3)) SWIG_fail
;
9992 arg4
= (WXGRIDSELECTIONMODES
)(SWIG_As_int(obj3
));
9993 if (SWIG_arg_fail(4)) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10012 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
;
10014 wxGrid
*arg1
= (wxGrid
*) 0 ;
10015 PyObject
* obj0
= 0 ;
10016 char *kwnames
[] = {
10017 (char *) "self", NULL
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
10021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10022 if (SWIG_arg_fail(1)) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 (arg1
)->ClearGrid();
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 Py_INCREF(Py_None
); resultobj
= Py_None
;
10037 static PyObject
*_wrap_Grid_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxGrid
*arg1
= (wxGrid
*) 0 ;
10040 int arg2
= (int) 0 ;
10041 int arg3
= (int) 1 ;
10042 bool arg4
= (bool) true ;
10044 PyObject
* obj0
= 0 ;
10045 PyObject
* obj1
= 0 ;
10046 PyObject
* obj2
= 0 ;
10047 PyObject
* obj3
= 0 ;
10048 char *kwnames
[] = {
10049 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10054 if (SWIG_arg_fail(1)) SWIG_fail
;
10057 arg2
= (int)(SWIG_As_int(obj1
));
10058 if (SWIG_arg_fail(2)) SWIG_fail
;
10063 arg3
= (int)(SWIG_As_int(obj2
));
10064 if (SWIG_arg_fail(3)) SWIG_fail
;
10069 arg4
= (bool)(SWIG_As_bool(obj3
));
10070 if (SWIG_arg_fail(4)) SWIG_fail
;
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10089 static PyObject
*_wrap_Grid_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxGrid
*arg1
= (wxGrid
*) 0 ;
10092 int arg2
= (int) 1 ;
10093 bool arg3
= (bool) true ;
10095 PyObject
* obj0
= 0 ;
10096 PyObject
* obj1
= 0 ;
10097 PyObject
* obj2
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10104 if (SWIG_arg_fail(1)) SWIG_fail
;
10107 arg2
= (int)(SWIG_As_int(obj1
));
10108 if (SWIG_arg_fail(2)) SWIG_fail
;
10113 arg3
= (bool)(SWIG_As_bool(obj2
));
10114 if (SWIG_arg_fail(3)) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10133 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxGrid
*arg1
= (wxGrid
*) 0 ;
10136 int arg2
= (int) 0 ;
10137 int arg3
= (int) 1 ;
10138 bool arg4
= (bool) true ;
10140 PyObject
* obj0
= 0 ;
10141 PyObject
* obj1
= 0 ;
10142 PyObject
* obj2
= 0 ;
10143 PyObject
* obj3
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10150 if (SWIG_arg_fail(1)) SWIG_fail
;
10153 arg2
= (int)(SWIG_As_int(obj1
));
10154 if (SWIG_arg_fail(2)) SWIG_fail
;
10159 arg3
= (int)(SWIG_As_int(obj2
));
10160 if (SWIG_arg_fail(3)) SWIG_fail
;
10165 arg4
= (bool)(SWIG_As_bool(obj3
));
10166 if (SWIG_arg_fail(4)) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10185 static PyObject
*_wrap_Grid_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
;
10187 wxGrid
*arg1
= (wxGrid
*) 0 ;
10188 int arg2
= (int) 0 ;
10189 int arg3
= (int) 1 ;
10190 bool arg4
= (bool) true ;
10192 PyObject
* obj0
= 0 ;
10193 PyObject
* obj1
= 0 ;
10194 PyObject
* obj2
= 0 ;
10195 PyObject
* obj3
= 0 ;
10196 char *kwnames
[] = {
10197 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10202 if (SWIG_arg_fail(1)) SWIG_fail
;
10205 arg2
= (int)(SWIG_As_int(obj1
));
10206 if (SWIG_arg_fail(2)) SWIG_fail
;
10211 arg3
= (int)(SWIG_As_int(obj2
));
10212 if (SWIG_arg_fail(3)) SWIG_fail
;
10217 arg4
= (bool)(SWIG_As_bool(obj3
));
10218 if (SWIG_arg_fail(4)) SWIG_fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10237 static PyObject
*_wrap_Grid_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxGrid
*arg1
= (wxGrid
*) 0 ;
10240 int arg2
= (int) 1 ;
10241 bool arg3
= (bool) true ;
10243 PyObject
* obj0
= 0 ;
10244 PyObject
* obj1
= 0 ;
10245 PyObject
* obj2
= 0 ;
10246 char *kwnames
[] = {
10247 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10252 if (SWIG_arg_fail(1)) SWIG_fail
;
10255 arg2
= (int)(SWIG_As_int(obj1
));
10256 if (SWIG_arg_fail(2)) SWIG_fail
;
10261 arg3
= (bool)(SWIG_As_bool(obj2
));
10262 if (SWIG_arg_fail(3)) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10281 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxGrid
*arg1
= (wxGrid
*) 0 ;
10284 int arg2
= (int) 0 ;
10285 int arg3
= (int) 1 ;
10286 bool arg4
= (bool) true ;
10288 PyObject
* obj0
= 0 ;
10289 PyObject
* obj1
= 0 ;
10290 PyObject
* obj2
= 0 ;
10291 PyObject
* obj3
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10298 if (SWIG_arg_fail(1)) SWIG_fail
;
10301 arg2
= (int)(SWIG_As_int(obj1
));
10302 if (SWIG_arg_fail(2)) SWIG_fail
;
10307 arg3
= (int)(SWIG_As_int(obj2
));
10308 if (SWIG_arg_fail(3)) SWIG_fail
;
10313 arg4
= (bool)(SWIG_As_bool(obj3
));
10314 if (SWIG_arg_fail(4)) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10333 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxGrid
*arg1
= (wxGrid
*) 0 ;
10337 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 PyObject
* obj1
= 0 ;
10340 PyObject
* obj2
= 0 ;
10341 char *kwnames
[] = {
10342 (char *) "self",(char *) "dc",(char *) "attr", NULL
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10347 if (SWIG_arg_fail(1)) SWIG_fail
;
10349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10350 if (SWIG_arg_fail(2)) SWIG_fail
;
10351 if (arg2
== NULL
) {
10352 SWIG_null_ref("wxDC");
10354 if (SWIG_arg_fail(2)) SWIG_fail
;
10356 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
10357 if (SWIG_arg_fail(3)) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 Py_INCREF(Py_None
); resultobj
= Py_None
;
10372 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxGrid
*arg1
= (wxGrid
*) 0 ;
10376 wxString
*arg3
= 0 ;
10378 int arg5
= (int) wxLEFT
;
10379 int arg6
= (int) wxTOP
;
10380 int arg7
= (int) wxHORIZONTAL
;
10381 bool temp3
= false ;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 PyObject
* obj2
= 0 ;
10386 PyObject
* obj3
= 0 ;
10387 PyObject
* obj4
= 0 ;
10388 PyObject
* obj5
= 0 ;
10389 PyObject
* obj6
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10396 if (SWIG_arg_fail(1)) SWIG_fail
;
10398 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10399 if (SWIG_arg_fail(2)) SWIG_fail
;
10400 if (arg2
== NULL
) {
10401 SWIG_null_ref("wxDC");
10403 if (SWIG_arg_fail(2)) SWIG_fail
;
10406 arg3
= wxString_in_helper(obj2
);
10407 if (arg3
== NULL
) SWIG_fail
;
10412 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
10416 arg5
= (int)(SWIG_As_int(obj4
));
10417 if (SWIG_arg_fail(5)) SWIG_fail
;
10422 arg6
= (int)(SWIG_As_int(obj5
));
10423 if (SWIG_arg_fail(6)) SWIG_fail
;
10428 arg7
= (int)(SWIG_As_int(obj6
));
10429 if (SWIG_arg_fail(7)) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 Py_INCREF(Py_None
); resultobj
= Py_None
;
10454 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxGrid
*arg1
= (wxGrid
*) 0 ;
10458 wxArrayString
*arg3
= 0 ;
10459 long *arg4
= (long *) 0 ;
10460 long *arg5
= (long *) 0 ;
10461 bool temp3
= false ;
10466 PyObject
* obj0
= 0 ;
10467 PyObject
* obj1
= 0 ;
10468 PyObject
* obj2
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self",(char *) "dc",(char *) "lines", NULL
10473 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10474 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10477 if (SWIG_arg_fail(1)) SWIG_fail
;
10479 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10480 if (SWIG_arg_fail(2)) SWIG_fail
;
10481 if (arg2
== NULL
) {
10482 SWIG_null_ref("wxDC");
10484 if (SWIG_arg_fail(2)) SWIG_fail
;
10487 if (! PySequence_Check(obj2
)) {
10488 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10491 arg3
= new wxArrayString
;
10493 int i
, len
=PySequence_Length(obj2
);
10494 for (i
=0; i
<len
; i
++) {
10495 PyObject
* item
= PySequence_GetItem(obj2
, i
);
10497 PyObject
* str
= PyObject_Unicode(item
);
10499 PyObject
* str
= PyObject_Str(item
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10502 arg3
->Add(Py2wxString(str
));
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 Py_INCREF(Py_None
); resultobj
= Py_None
;
10515 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10516 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10517 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
10518 SWIG_From_long((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, 0)));
10520 if (temp3
) delete arg3
;
10525 if (temp3
) delete arg3
;
10531 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxGrid
*arg1
= (wxGrid
*) 0 ;
10534 PyObject
* obj0
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
10540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10541 if (SWIG_arg_fail(1)) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 (arg1
)->BeginBatch();
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 Py_INCREF(Py_None
); resultobj
= Py_None
;
10556 static PyObject
*_wrap_Grid_EndBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
;
10558 wxGrid
*arg1
= (wxGrid
*) 0 ;
10559 PyObject
* obj0
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "self", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
10565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10566 if (SWIG_arg_fail(1)) SWIG_fail
;
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 (arg1
)->EndBatch();
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10574 Py_INCREF(Py_None
); resultobj
= Py_None
;
10581 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxGrid
*arg1
= (wxGrid
*) 0 ;
10585 PyObject
* obj0
= 0 ;
10586 char *kwnames
[] = {
10587 (char *) "self", NULL
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
10591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10592 if (SWIG_arg_fail(1)) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (int)(arg1
)->GetBatchCount();
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10601 resultobj
= SWIG_From_int((int)(result
));
10609 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxGrid
*arg1
= (wxGrid
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
10618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10619 if (SWIG_arg_fail(1)) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 (arg1
)->ForceRefresh();
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 Py_INCREF(Py_None
); resultobj
= Py_None
;
10634 static PyObject
*_wrap_Grid_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxGrid
*arg1
= (wxGrid
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 char *kwnames
[] = {
10640 (char *) "self", NULL
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
10644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10645 if (SWIG_arg_fail(1)) SWIG_fail
;
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 result
= (bool)(arg1
)->IsEditable();
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10662 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxGrid
*arg1
= (wxGrid
*) 0 ;
10666 PyObject
* obj0
= 0 ;
10667 PyObject
* obj1
= 0 ;
10668 char *kwnames
[] = {
10669 (char *) "self",(char *) "edit", NULL
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
10673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10674 if (SWIG_arg_fail(1)) SWIG_fail
;
10676 arg2
= (bool)(SWIG_As_bool(obj1
));
10677 if (SWIG_arg_fail(2)) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 (arg1
)->EnableEditing(arg2
);
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 Py_INCREF(Py_None
); resultobj
= Py_None
;
10693 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxGrid
*arg1
= (wxGrid
*) 0 ;
10696 bool arg2
= (bool) true ;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "self",(char *) "enable", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
10704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10705 if (SWIG_arg_fail(1)) SWIG_fail
;
10708 arg2
= (bool)(SWIG_As_bool(obj1
));
10709 if (SWIG_arg_fail(2)) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 (arg1
)->EnableCellEditControl(arg2
);
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 Py_INCREF(Py_None
); resultobj
= Py_None
;
10726 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10728 wxGrid
*arg1
= (wxGrid
*) 0 ;
10729 PyObject
* obj0
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
10735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10736 if (SWIG_arg_fail(1)) SWIG_fail
;
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 (arg1
)->DisableCellEditControl();
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10744 Py_INCREF(Py_None
); resultobj
= Py_None
;
10751 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 wxGrid
*arg1
= (wxGrid
*) 0 ;
10755 PyObject
* obj0
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
10761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10779 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxGrid
*arg1
= (wxGrid
*) 0 ;
10783 PyObject
* obj0
= 0 ;
10784 char *kwnames
[] = {
10785 (char *) "self", NULL
10788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
10789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10790 if (SWIG_arg_fail(1)) SWIG_fail
;
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10807 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
;
10809 wxGrid
*arg1
= (wxGrid
*) 0 ;
10811 PyObject
* obj0
= 0 ;
10812 char *kwnames
[] = {
10813 (char *) "self", NULL
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
10817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10818 if (SWIG_arg_fail(1)) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10835 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxGrid
*arg1
= (wxGrid
*) 0 ;
10839 PyObject
* obj0
= 0 ;
10840 char *kwnames
[] = {
10841 (char *) "self", NULL
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
10845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10846 if (SWIG_arg_fail(1)) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10863 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxGrid
*arg1
= (wxGrid
*) 0 ;
10866 PyObject
* obj0
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "self", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
10872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10873 if (SWIG_arg_fail(1)) SWIG_fail
;
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 (arg1
)->ShowCellEditControl();
10878 wxPyEndAllowThreads(__tstate
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10881 Py_INCREF(Py_None
); resultobj
= Py_None
;
10888 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
;
10890 wxGrid
*arg1
= (wxGrid
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
10897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10898 if (SWIG_arg_fail(1)) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 (arg1
)->HideCellEditControl();
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 Py_INCREF(Py_None
); resultobj
= Py_None
;
10913 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
;
10915 wxGrid
*arg1
= (wxGrid
*) 0 ;
10916 PyObject
* obj0
= 0 ;
10917 char *kwnames
[] = {
10918 (char *) "self", NULL
10921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
10922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10923 if (SWIG_arg_fail(1)) SWIG_fail
;
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 (arg1
)->SaveEditControlValue();
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10931 Py_INCREF(Py_None
); resultobj
= Py_None
;
10938 static PyObject
*_wrap_Grid_XYToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
*resultobj
;
10940 wxGrid
*arg1
= (wxGrid
*) 0 ;
10943 wxGridCellCoords result
;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 PyObject
* obj2
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "x",(char *) "y", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10953 if (SWIG_arg_fail(1)) SWIG_fail
;
10955 arg2
= (int)(SWIG_As_int(obj1
));
10956 if (SWIG_arg_fail(2)) SWIG_fail
;
10959 arg3
= (int)(SWIG_As_int(obj2
));
10960 if (SWIG_arg_fail(3)) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10970 wxGridCellCoords
* resultptr
;
10971 resultptr
= new wxGridCellCoords((wxGridCellCoords
&)(result
));
10972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
10980 static PyObject
*_wrap_Grid_YToRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
;
10982 wxGrid
*arg1
= (wxGrid
*) 0 ;
10985 PyObject
* obj0
= 0 ;
10986 PyObject
* obj1
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "self",(char *) "y", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
10992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10993 if (SWIG_arg_fail(1)) SWIG_fail
;
10995 arg2
= (int)(SWIG_As_int(obj1
));
10996 if (SWIG_arg_fail(2)) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (int)(arg1
)->YToRow(arg2
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= SWIG_From_int((int)(result
));
11014 static PyObject
*_wrap_Grid_XToCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxGrid
*arg1
= (wxGrid
*) 0 ;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self",(char *) "x", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
11026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11027 if (SWIG_arg_fail(1)) SWIG_fail
;
11029 arg2
= (int)(SWIG_As_int(obj1
));
11030 if (SWIG_arg_fail(2)) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (int)(arg1
)->XToCol(arg2
);
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= SWIG_From_int((int)(result
));
11048 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
;
11050 wxGrid
*arg1
= (wxGrid
*) 0 ;
11053 PyObject
* obj0
= 0 ;
11054 PyObject
* obj1
= 0 ;
11055 char *kwnames
[] = {
11056 (char *) "self",(char *) "y", NULL
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
11060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11061 if (SWIG_arg_fail(1)) SWIG_fail
;
11063 arg2
= (int)(SWIG_As_int(obj1
));
11064 if (SWIG_arg_fail(2)) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= SWIG_From_int((int)(result
));
11082 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxGrid
*arg1
= (wxGrid
*) 0 ;
11087 PyObject
* obj0
= 0 ;
11088 PyObject
* obj1
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self",(char *) "x", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
11094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11095 if (SWIG_arg_fail(1)) SWIG_fail
;
11097 arg2
= (int)(SWIG_As_int(obj1
));
11098 if (SWIG_arg_fail(2)) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= SWIG_From_int((int)(result
));
11116 static PyObject
*_wrap_Grid_CellToRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxGrid
*arg1
= (wxGrid
*) 0 ;
11122 PyObject
* obj0
= 0 ;
11123 PyObject
* obj1
= 0 ;
11124 PyObject
* obj2
= 0 ;
11125 char *kwnames
[] = {
11126 (char *) "self",(char *) "row",(char *) "col", NULL
11129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11131 if (SWIG_arg_fail(1)) SWIG_fail
;
11133 arg2
= (int)(SWIG_As_int(obj1
));
11134 if (SWIG_arg_fail(2)) SWIG_fail
;
11137 arg3
= (int)(SWIG_As_int(obj2
));
11138 if (SWIG_arg_fail(3)) SWIG_fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 result
= (arg1
)->CellToRect(arg2
,arg3
);
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11148 wxRect
* resultptr
;
11149 resultptr
= new wxRect((wxRect
&)(result
));
11150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
11158 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 wxGrid
*arg1
= (wxGrid
*) 0 ;
11162 PyObject
* obj0
= 0 ;
11163 char *kwnames
[] = {
11164 (char *) "self", NULL
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
11168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11169 if (SWIG_arg_fail(1)) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (int)(arg1
)->GetGridCursorRow();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= SWIG_From_int((int)(result
));
11186 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxGrid
*arg1
= (wxGrid
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 char *kwnames
[] = {
11192 (char *) "self", NULL
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
11196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11197 if (SWIG_arg_fail(1)) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= (int)(arg1
)->GetGridCursorCol();
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= SWIG_From_int((int)(result
));
11214 static PyObject
*_wrap_Grid_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
;
11216 wxGrid
*arg1
= (wxGrid
*) 0 ;
11219 bool arg4
= (bool) true ;
11221 PyObject
* obj0
= 0 ;
11222 PyObject
* obj1
= 0 ;
11223 PyObject
* obj2
= 0 ;
11224 PyObject
* obj3
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11231 if (SWIG_arg_fail(1)) SWIG_fail
;
11233 arg2
= (int)(SWIG_As_int(obj1
));
11234 if (SWIG_arg_fail(2)) SWIG_fail
;
11237 arg3
= (int)(SWIG_As_int(obj2
));
11238 if (SWIG_arg_fail(3)) SWIG_fail
;
11242 arg4
= (bool)(SWIG_As_bool(obj3
));
11243 if (SWIG_arg_fail(4)) SWIG_fail
;
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11262 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11263 PyObject
*resultobj
;
11264 wxGrid
*arg1
= (wxGrid
*) 0 ;
11267 PyObject
* obj0
= 0 ;
11268 PyObject
* obj1
= 0 ;
11269 PyObject
* obj2
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self",(char *) "row",(char *) "col", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11276 if (SWIG_arg_fail(1)) SWIG_fail
;
11278 arg2
= (int)(SWIG_As_int(obj1
));
11279 if (SWIG_arg_fail(2)) SWIG_fail
;
11282 arg3
= (int)(SWIG_As_int(obj2
));
11283 if (SWIG_arg_fail(3)) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 (arg1
)->MakeCellVisible(arg2
,arg3
);
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 Py_INCREF(Py_None
); resultobj
= Py_None
;
11299 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
;
11301 wxGrid
*arg1
= (wxGrid
*) 0 ;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 PyObject
* obj2
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self",(char *) "row",(char *) "col", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11313 if (SWIG_arg_fail(1)) SWIG_fail
;
11315 arg2
= (int)(SWIG_As_int(obj1
));
11316 if (SWIG_arg_fail(2)) SWIG_fail
;
11319 arg3
= (int)(SWIG_As_int(obj2
));
11320 if (SWIG_arg_fail(3)) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 (arg1
)->SetGridCursor(arg2
,arg3
);
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 Py_INCREF(Py_None
); resultobj
= Py_None
;
11336 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxGrid
*arg1
= (wxGrid
*) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self",(char *) "expandSelection", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11349 if (SWIG_arg_fail(1)) SWIG_fail
;
11351 arg2
= (bool)(SWIG_As_bool(obj1
));
11352 if (SWIG_arg_fail(2)) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11370 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
;
11372 wxGrid
*arg1
= (wxGrid
*) 0 ;
11375 PyObject
* obj0
= 0 ;
11376 PyObject
* obj1
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "self",(char *) "expandSelection", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11383 if (SWIG_arg_fail(1)) SWIG_fail
;
11385 arg2
= (bool)(SWIG_As_bool(obj1
));
11386 if (SWIG_arg_fail(2)) SWIG_fail
;
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11404 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxGrid
*arg1
= (wxGrid
*) 0 ;
11409 PyObject
* obj0
= 0 ;
11410 PyObject
* obj1
= 0 ;
11411 char *kwnames
[] = {
11412 (char *) "self",(char *) "expandSelection", NULL
11415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
11416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11417 if (SWIG_arg_fail(1)) SWIG_fail
;
11419 arg2
= (bool)(SWIG_As_bool(obj1
));
11420 if (SWIG_arg_fail(2)) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11438 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
*resultobj
;
11440 wxGrid
*arg1
= (wxGrid
*) 0 ;
11443 PyObject
* obj0
= 0 ;
11444 PyObject
* obj1
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self",(char *) "expandSelection", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
11450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11451 if (SWIG_arg_fail(1)) SWIG_fail
;
11453 arg2
= (bool)(SWIG_As_bool(obj1
));
11454 if (SWIG_arg_fail(2)) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11472 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
;
11474 wxGrid
*arg1
= (wxGrid
*) 0 ;
11476 PyObject
* obj0
= 0 ;
11477 char *kwnames
[] = {
11478 (char *) "self", NULL
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
11482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11483 if (SWIG_arg_fail(1)) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= (bool)(arg1
)->MovePageDown();
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11500 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxGrid
*arg1
= (wxGrid
*) 0 ;
11504 PyObject
* obj0
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "self", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
11510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11511 if (SWIG_arg_fail(1)) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (bool)(arg1
)->MovePageUp();
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11528 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
;
11530 wxGrid
*arg1
= (wxGrid
*) 0 ;
11533 PyObject
* obj0
= 0 ;
11534 PyObject
* obj1
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self",(char *) "expandSelection", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11541 if (SWIG_arg_fail(1)) SWIG_fail
;
11543 arg2
= (bool)(SWIG_As_bool(obj1
));
11544 if (SWIG_arg_fail(2)) SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11562 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxGrid
*arg1
= (wxGrid
*) 0 ;
11567 PyObject
* obj0
= 0 ;
11568 PyObject
* obj1
= 0 ;
11569 char *kwnames
[] = {
11570 (char *) "self",(char *) "expandSelection", NULL
11573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11575 if (SWIG_arg_fail(1)) SWIG_fail
;
11577 arg2
= (bool)(SWIG_As_bool(obj1
));
11578 if (SWIG_arg_fail(2)) SWIG_fail
;
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11596 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxGrid
*arg1
= (wxGrid
*) 0 ;
11601 PyObject
* obj0
= 0 ;
11602 PyObject
* obj1
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "self",(char *) "expandSelection", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11609 if (SWIG_arg_fail(1)) SWIG_fail
;
11611 arg2
= (bool)(SWIG_As_bool(obj1
));
11612 if (SWIG_arg_fail(2)) SWIG_fail
;
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11630 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11632 wxGrid
*arg1
= (wxGrid
*) 0 ;
11635 PyObject
* obj0
= 0 ;
11636 PyObject
* obj1
= 0 ;
11637 char *kwnames
[] = {
11638 (char *) "self",(char *) "expandSelection", NULL
11641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11643 if (SWIG_arg_fail(1)) SWIG_fail
;
11645 arg2
= (bool)(SWIG_As_bool(obj1
));
11646 if (SWIG_arg_fail(2)) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11664 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxGrid
*arg1
= (wxGrid
*) 0 ;
11668 PyObject
* obj0
= 0 ;
11669 char *kwnames
[] = {
11670 (char *) "self", NULL
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
11674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11675 if (SWIG_arg_fail(1)) SWIG_fail
;
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 result
= (int)(arg1
)->GetDefaultRowLabelSize();
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= SWIG_From_int((int)(result
));
11692 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11693 PyObject
*resultobj
;
11694 wxGrid
*arg1
= (wxGrid
*) 0 ;
11696 PyObject
* obj0
= 0 ;
11697 char *kwnames
[] = {
11698 (char *) "self", NULL
11701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
11702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11703 if (SWIG_arg_fail(1)) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (int)(arg1
)->GetRowLabelSize();
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11712 resultobj
= SWIG_From_int((int)(result
));
11720 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11721 PyObject
*resultobj
;
11722 wxGrid
*arg1
= (wxGrid
*) 0 ;
11724 PyObject
* obj0
= 0 ;
11725 char *kwnames
[] = {
11726 (char *) "self", NULL
11729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
11730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11731 if (SWIG_arg_fail(1)) SWIG_fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 result
= (int)(arg1
)->GetDefaultColLabelSize();
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_From_int((int)(result
));
11748 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
;
11750 wxGrid
*arg1
= (wxGrid
*) 0 ;
11752 PyObject
* obj0
= 0 ;
11753 char *kwnames
[] = {
11754 (char *) "self", NULL
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
11758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11759 if (SWIG_arg_fail(1)) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 result
= (int)(arg1
)->GetColLabelSize();
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11768 resultobj
= SWIG_From_int((int)(result
));
11776 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11777 PyObject
*resultobj
;
11778 wxGrid
*arg1
= (wxGrid
*) 0 ;
11780 PyObject
* obj0
= 0 ;
11781 char *kwnames
[] = {
11782 (char *) "self", NULL
11785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
11786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11787 if (SWIG_arg_fail(1)) SWIG_fail
;
11789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11790 result
= (arg1
)->GetLabelBackgroundColour();
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11796 wxColour
* resultptr
;
11797 resultptr
= new wxColour((wxColour
&)(result
));
11798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11806 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11807 PyObject
*resultobj
;
11808 wxGrid
*arg1
= (wxGrid
*) 0 ;
11810 PyObject
* obj0
= 0 ;
11811 char *kwnames
[] = {
11812 (char *) "self", NULL
11815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
11816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11817 if (SWIG_arg_fail(1)) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (arg1
)->GetLabelTextColour();
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11826 wxColour
* resultptr
;
11827 resultptr
= new wxColour((wxColour
&)(result
));
11828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11836 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11837 PyObject
*resultobj
;
11838 wxGrid
*arg1
= (wxGrid
*) 0 ;
11840 PyObject
* obj0
= 0 ;
11841 char *kwnames
[] = {
11842 (char *) "self", NULL
11845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
11846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11847 if (SWIG_arg_fail(1)) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (arg1
)->GetLabelFont();
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11856 wxFont
* resultptr
;
11857 resultptr
= new wxFont((wxFont
&)(result
));
11858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11866 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
;
11868 wxGrid
*arg1
= (wxGrid
*) 0 ;
11869 int *arg2
= (int *) 0 ;
11870 int *arg3
= (int *) 0 ;
11875 PyObject
* obj0
= 0 ;
11876 char *kwnames
[] = {
11877 (char *) "self", NULL
11880 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11881 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
11883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11884 if (SWIG_arg_fail(1)) SWIG_fail
;
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 Py_INCREF(Py_None
); resultobj
= Py_None
;
11893 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11894 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
11895 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11896 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
11903 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 wxGrid
*arg1
= (wxGrid
*) 0 ;
11906 int *arg2
= (int *) 0 ;
11907 int *arg3
= (int *) 0 ;
11912 PyObject
* obj0
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self", NULL
11917 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11918 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
11920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11921 if (SWIG_arg_fail(1)) SWIG_fail
;
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11929 Py_INCREF(Py_None
); resultobj
= Py_None
;
11930 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11931 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
11932 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11933 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
11940 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
;
11942 wxGrid
*arg1
= (wxGrid
*) 0 ;
11944 PyObject
* obj0
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "self", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
11950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11951 if (SWIG_arg_fail(1)) SWIG_fail
;
11953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 result
= (int)(arg1
)->GetColLabelTextOrientation();
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11960 resultobj
= SWIG_From_int((int)(result
));
11968 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
;
11970 wxGrid
*arg1
= (wxGrid
*) 0 ;
11973 PyObject
* obj0
= 0 ;
11974 PyObject
* obj1
= 0 ;
11975 char *kwnames
[] = {
11976 (char *) "self",(char *) "row", NULL
11979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11981 if (SWIG_arg_fail(1)) SWIG_fail
;
11983 arg2
= (int)(SWIG_As_int(obj1
));
11984 if (SWIG_arg_fail(2)) SWIG_fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 result
= (arg1
)->GetRowLabelValue(arg2
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12006 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxGrid
*arg1
= (wxGrid
*) 0 ;
12011 PyObject
* obj0
= 0 ;
12012 PyObject
* obj1
= 0 ;
12013 char *kwnames
[] = {
12014 (char *) "self",(char *) "col", NULL
12017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12019 if (SWIG_arg_fail(1)) SWIG_fail
;
12021 arg2
= (int)(SWIG_As_int(obj1
));
12022 if (SWIG_arg_fail(2)) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (arg1
)->GetColLabelValue(arg2
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12044 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
;
12046 wxGrid
*arg1
= (wxGrid
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
12054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12055 if (SWIG_arg_fail(1)) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 result
= (arg1
)->GetGridLineColour();
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12064 wxColour
* resultptr
;
12065 resultptr
= new wxColour((wxColour
&)(result
));
12066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12074 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxGrid
*arg1
= (wxGrid
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "self", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
12084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12085 if (SWIG_arg_fail(1)) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= (arg1
)->GetCellHighlightColour();
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12094 wxColour
* resultptr
;
12095 resultptr
= new wxColour((wxColour
&)(result
));
12096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12104 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
;
12106 wxGrid
*arg1
= (wxGrid
*) 0 ;
12108 PyObject
* obj0
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
12114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12115 if (SWIG_arg_fail(1)) SWIG_fail
;
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (int)(arg1
)->GetCellHighlightPenWidth();
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= SWIG_From_int((int)(result
));
12132 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
;
12134 wxGrid
*arg1
= (wxGrid
*) 0 ;
12136 PyObject
* obj0
= 0 ;
12137 char *kwnames
[] = {
12138 (char *) "self", NULL
12141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
12142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12143 if (SWIG_arg_fail(1)) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= SWIG_From_int((int)(result
));
12160 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
;
12162 wxGrid
*arg1
= (wxGrid
*) 0 ;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "self",(char *) "width", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12172 if (SWIG_arg_fail(1)) SWIG_fail
;
12174 arg2
= (int)(SWIG_As_int(obj1
));
12175 if (SWIG_arg_fail(2)) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 (arg1
)->SetRowLabelSize(arg2
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 Py_INCREF(Py_None
); resultobj
= Py_None
;
12191 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxGrid
*arg1
= (wxGrid
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 PyObject
* obj1
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self",(char *) "height", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12203 if (SWIG_arg_fail(1)) SWIG_fail
;
12205 arg2
= (int)(SWIG_As_int(obj1
));
12206 if (SWIG_arg_fail(2)) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 (arg1
)->SetColLabelSize(arg2
);
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 Py_INCREF(Py_None
); resultobj
= Py_None
;
12222 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxGrid
*arg1
= (wxGrid
*) 0 ;
12225 wxColour
*arg2
= 0 ;
12227 PyObject
* obj0
= 0 ;
12228 PyObject
* obj1
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self","arg2", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail
;
12238 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 Py_INCREF(Py_None
); resultobj
= Py_None
;
12254 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxGrid
*arg1
= (wxGrid
*) 0 ;
12257 wxColour
*arg2
= 0 ;
12259 PyObject
* obj0
= 0 ;
12260 PyObject
* obj1
= 0 ;
12261 char *kwnames
[] = {
12262 (char *) "self","arg2", NULL
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12267 if (SWIG_arg_fail(1)) SWIG_fail
;
12270 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 Py_INCREF(Py_None
); resultobj
= Py_None
;
12286 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
;
12288 wxGrid
*arg1
= (wxGrid
*) 0 ;
12290 PyObject
* obj0
= 0 ;
12291 PyObject
* obj1
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self","arg2", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12298 if (SWIG_arg_fail(1)) SWIG_fail
;
12300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
12301 if (SWIG_arg_fail(2)) SWIG_fail
;
12302 if (arg2
== NULL
) {
12303 SWIG_null_ref("wxFont");
12305 if (SWIG_arg_fail(2)) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 Py_INCREF(Py_None
); resultobj
= Py_None
;
12321 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxGrid
*arg1
= (wxGrid
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 PyObject
* obj2
= 0 ;
12329 char *kwnames
[] = {
12330 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12335 if (SWIG_arg_fail(1)) SWIG_fail
;
12337 arg2
= (int)(SWIG_As_int(obj1
));
12338 if (SWIG_arg_fail(2)) SWIG_fail
;
12341 arg3
= (int)(SWIG_As_int(obj2
));
12342 if (SWIG_arg_fail(3)) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 Py_INCREF(Py_None
); resultobj
= Py_None
;
12358 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxGrid
*arg1
= (wxGrid
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 PyObject
* obj1
= 0 ;
12365 PyObject
* obj2
= 0 ;
12366 char *kwnames
[] = {
12367 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12372 if (SWIG_arg_fail(1)) SWIG_fail
;
12374 arg2
= (int)(SWIG_As_int(obj1
));
12375 if (SWIG_arg_fail(2)) SWIG_fail
;
12378 arg3
= (int)(SWIG_As_int(obj2
));
12379 if (SWIG_arg_fail(3)) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 Py_INCREF(Py_None
); resultobj
= Py_None
;
12395 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
;
12397 wxGrid
*arg1
= (wxGrid
*) 0 ;
12399 PyObject
* obj0
= 0 ;
12400 PyObject
* obj1
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self",(char *) "textOrientation", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
12406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12407 if (SWIG_arg_fail(1)) SWIG_fail
;
12409 arg2
= (int)(SWIG_As_int(obj1
));
12410 if (SWIG_arg_fail(2)) SWIG_fail
;
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 (arg1
)->SetColLabelTextOrientation(arg2
);
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 Py_INCREF(Py_None
); resultobj
= Py_None
;
12426 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxGrid
*arg1
= (wxGrid
*) 0 ;
12430 wxString
*arg3
= 0 ;
12431 bool temp3
= false ;
12432 PyObject
* obj0
= 0 ;
12433 PyObject
* obj1
= 0 ;
12434 PyObject
* obj2
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self",(char *) "row","arg3", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12441 if (SWIG_arg_fail(1)) SWIG_fail
;
12443 arg2
= (int)(SWIG_As_int(obj1
));
12444 if (SWIG_arg_fail(2)) SWIG_fail
;
12447 arg3
= wxString_in_helper(obj2
);
12448 if (arg3
== NULL
) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 Py_INCREF(Py_None
); resultobj
= Py_None
;
12473 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
;
12475 wxGrid
*arg1
= (wxGrid
*) 0 ;
12477 wxString
*arg3
= 0 ;
12478 bool temp3
= false ;
12479 PyObject
* obj0
= 0 ;
12480 PyObject
* obj1
= 0 ;
12481 PyObject
* obj2
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self",(char *) "col","arg3", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12488 if (SWIG_arg_fail(1)) SWIG_fail
;
12490 arg2
= (int)(SWIG_As_int(obj1
));
12491 if (SWIG_arg_fail(2)) SWIG_fail
;
12494 arg3
= wxString_in_helper(obj2
);
12495 if (arg3
== NULL
) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 Py_INCREF(Py_None
); resultobj
= Py_None
;
12520 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxGrid
*arg1
= (wxGrid
*) 0 ;
12523 wxColour
*arg2
= 0 ;
12525 PyObject
* obj0
= 0 ;
12526 PyObject
* obj1
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self","arg2", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail
;
12536 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 Py_INCREF(Py_None
); resultobj
= Py_None
;
12552 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
;
12554 wxGrid
*arg1
= (wxGrid
*) 0 ;
12555 wxColour
*arg2
= 0 ;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self","arg2", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12565 if (SWIG_arg_fail(1)) SWIG_fail
;
12568 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12577 Py_INCREF(Py_None
); resultobj
= Py_None
;
12584 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxGrid
*arg1
= (wxGrid
*) 0 ;
12588 PyObject
* obj0
= 0 ;
12589 PyObject
* obj1
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self",(char *) "width", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12596 if (SWIG_arg_fail(1)) SWIG_fail
;
12598 arg2
= (int)(SWIG_As_int(obj1
));
12599 if (SWIG_arg_fail(2)) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 (arg1
)->SetCellHighlightPenWidth(arg2
);
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 Py_INCREF(Py_None
); resultobj
= Py_None
;
12615 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12616 PyObject
*resultobj
;
12617 wxGrid
*arg1
= (wxGrid
*) 0 ;
12619 PyObject
* obj0
= 0 ;
12620 PyObject
* obj1
= 0 ;
12621 char *kwnames
[] = {
12622 (char *) "self",(char *) "width", NULL
12625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12627 if (SWIG_arg_fail(1)) SWIG_fail
;
12629 arg2
= (int)(SWIG_As_int(obj1
));
12630 if (SWIG_arg_fail(2)) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->SetCellHighlightROPenWidth(arg2
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 Py_INCREF(Py_None
); resultobj
= Py_None
;
12646 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
;
12648 wxGrid
*arg1
= (wxGrid
*) 0 ;
12649 bool arg2
= (bool) true ;
12650 PyObject
* obj0
= 0 ;
12651 PyObject
* obj1
= 0 ;
12652 char *kwnames
[] = {
12653 (char *) "self",(char *) "enable", NULL
12656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12658 if (SWIG_arg_fail(1)) SWIG_fail
;
12661 arg2
= (bool)(SWIG_As_bool(obj1
));
12662 if (SWIG_arg_fail(2)) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 (arg1
)->EnableDragRowSize(arg2
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 Py_INCREF(Py_None
); resultobj
= Py_None
;
12679 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxGrid
*arg1
= (wxGrid
*) 0 ;
12682 PyObject
* obj0
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
12688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12689 if (SWIG_arg_fail(1)) SWIG_fail
;
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 (arg1
)->DisableDragRowSize();
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12697 Py_INCREF(Py_None
); resultobj
= Py_None
;
12704 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
*resultobj
;
12706 wxGrid
*arg1
= (wxGrid
*) 0 ;
12708 PyObject
* obj0
= 0 ;
12709 char *kwnames
[] = {
12710 (char *) "self", NULL
12713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
12714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12715 if (SWIG_arg_fail(1)) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 result
= (bool)(arg1
)->CanDragRowSize();
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12732 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
;
12734 wxGrid
*arg1
= (wxGrid
*) 0 ;
12735 bool arg2
= (bool) true ;
12736 PyObject
* obj0
= 0 ;
12737 PyObject
* obj1
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self",(char *) "enable", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12744 if (SWIG_arg_fail(1)) SWIG_fail
;
12747 arg2
= (bool)(SWIG_As_bool(obj1
));
12748 if (SWIG_arg_fail(2)) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 (arg1
)->EnableDragColSize(arg2
);
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 Py_INCREF(Py_None
); resultobj
= Py_None
;
12765 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
;
12767 wxGrid
*arg1
= (wxGrid
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
12774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12775 if (SWIG_arg_fail(1)) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 (arg1
)->DisableDragColSize();
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 Py_INCREF(Py_None
); resultobj
= Py_None
;
12790 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxGrid
*arg1
= (wxGrid
*) 0 ;
12794 PyObject
* obj0
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "self", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
12800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12801 if (SWIG_arg_fail(1)) SWIG_fail
;
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 result
= (bool)(arg1
)->CanDragColSize();
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12818 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxGrid
*arg1
= (wxGrid
*) 0 ;
12821 bool arg2
= (bool) true ;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "self",(char *) "enable", NULL
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12830 if (SWIG_arg_fail(1)) SWIG_fail
;
12833 arg2
= (bool)(SWIG_As_bool(obj1
));
12834 if (SWIG_arg_fail(2)) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 (arg1
)->EnableDragGridSize(arg2
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 Py_INCREF(Py_None
); resultobj
= Py_None
;
12851 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
;
12853 wxGrid
*arg1
= (wxGrid
*) 0 ;
12854 PyObject
* obj0
= 0 ;
12855 char *kwnames
[] = {
12856 (char *) "self", NULL
12859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
12860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12861 if (SWIG_arg_fail(1)) SWIG_fail
;
12863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12864 (arg1
)->DisableDragGridSize();
12866 wxPyEndAllowThreads(__tstate
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12869 Py_INCREF(Py_None
); resultobj
= Py_None
;
12876 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12877 PyObject
*resultobj
;
12878 wxGrid
*arg1
= (wxGrid
*) 0 ;
12880 PyObject
* obj0
= 0 ;
12881 char *kwnames
[] = {
12882 (char *) "self", NULL
12885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
12886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12887 if (SWIG_arg_fail(1)) SWIG_fail
;
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12890 result
= (bool)(arg1
)->CanDragGridSize();
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12904 static PyObject
*_wrap_Grid_EnableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
;
12906 wxGrid
*arg1
= (wxGrid
*) 0 ;
12907 bool arg2
= (bool) true ;
12908 PyObject
* obj0
= 0 ;
12909 PyObject
* obj1
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "self",(char *) "enable", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) goto fail
;
12915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12916 if (SWIG_arg_fail(1)) SWIG_fail
;
12919 arg2
= (bool)(SWIG_As_bool(obj1
));
12920 if (SWIG_arg_fail(2)) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 (arg1
)->EnableDragCell(arg2
);
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 Py_INCREF(Py_None
); resultobj
= Py_None
;
12937 static PyObject
*_wrap_Grid_DisableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxGrid
*arg1
= (wxGrid
*) 0 ;
12940 PyObject
* obj0
= 0 ;
12941 char *kwnames
[] = {
12942 (char *) "self", NULL
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragCell",kwnames
,&obj0
)) goto fail
;
12946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12947 if (SWIG_arg_fail(1)) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 (arg1
)->DisableDragCell();
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12955 Py_INCREF(Py_None
); resultobj
= Py_None
;
12962 static PyObject
*_wrap_Grid_CanDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
;
12964 wxGrid
*arg1
= (wxGrid
*) 0 ;
12966 PyObject
* obj0
= 0 ;
12967 char *kwnames
[] = {
12968 (char *) "self", NULL
12971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragCell",kwnames
,&obj0
)) goto fail
;
12972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12973 if (SWIG_arg_fail(1)) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (bool)(arg1
)->CanDragCell();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12990 static PyObject
*_wrap_Grid_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxGrid
*arg1
= (wxGrid
*) 0 ;
12995 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
12996 PyObject
* obj0
= 0 ;
12997 PyObject
* obj1
= 0 ;
12998 PyObject
* obj2
= 0 ;
12999 PyObject
* obj3
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13006 if (SWIG_arg_fail(1)) SWIG_fail
;
13008 arg2
= (int)(SWIG_As_int(obj1
));
13009 if (SWIG_arg_fail(2)) SWIG_fail
;
13012 arg3
= (int)(SWIG_As_int(obj2
));
13013 if (SWIG_arg_fail(3)) SWIG_fail
;
13015 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13016 if (SWIG_arg_fail(4)) SWIG_fail
;
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 Py_INCREF(Py_None
); resultobj
= Py_None
;
13031 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
;
13033 wxGrid
*arg1
= (wxGrid
*) 0 ;
13035 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 PyObject
* obj1
= 0 ;
13038 PyObject
* obj2
= 0 ;
13039 char *kwnames
[] = {
13040 (char *) "self",(char *) "row",(char *) "attr", NULL
13043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13045 if (SWIG_arg_fail(1)) SWIG_fail
;
13047 arg2
= (int)(SWIG_As_int(obj1
));
13048 if (SWIG_arg_fail(2)) SWIG_fail
;
13050 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13051 if (SWIG_arg_fail(3)) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 (arg1
)->SetRowAttr(arg2
,arg3
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 Py_INCREF(Py_None
); resultobj
= Py_None
;
13066 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
;
13068 wxGrid
*arg1
= (wxGrid
*) 0 ;
13070 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
13071 PyObject
* obj0
= 0 ;
13072 PyObject
* obj1
= 0 ;
13073 PyObject
* obj2
= 0 ;
13074 char *kwnames
[] = {
13075 (char *) "self",(char *) "col",(char *) "attr", NULL
13078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13080 if (SWIG_arg_fail(1)) SWIG_fail
;
13082 arg2
= (int)(SWIG_As_int(obj1
));
13083 if (SWIG_arg_fail(2)) SWIG_fail
;
13085 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13086 if (SWIG_arg_fail(3)) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 (arg1
)->SetColAttr(arg2
,arg3
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 Py_INCREF(Py_None
); resultobj
= Py_None
;
13101 static PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxGrid
*arg1
= (wxGrid
*) 0 ;
13106 wxGridCellAttr
*result
;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 PyObject
* obj2
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self",(char *) "row",(char *) "col", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13116 if (SWIG_arg_fail(1)) SWIG_fail
;
13118 arg2
= (int)(SWIG_As_int(obj1
));
13119 if (SWIG_arg_fail(2)) SWIG_fail
;
13122 arg3
= (int)(SWIG_As_int(obj2
));
13123 if (SWIG_arg_fail(3)) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
13141 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxGrid
*arg1
= (wxGrid
*) 0 ;
13145 PyObject
* obj0
= 0 ;
13146 PyObject
* obj1
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self",(char *) "col", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
13152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13153 if (SWIG_arg_fail(1)) SWIG_fail
;
13155 arg2
= (int)(SWIG_As_int(obj1
));
13156 if (SWIG_arg_fail(2)) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 (arg1
)->SetColFormatBool(arg2
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13165 Py_INCREF(Py_None
); resultobj
= Py_None
;
13172 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxGrid
*arg1
= (wxGrid
*) 0 ;
13176 PyObject
* obj0
= 0 ;
13177 PyObject
* obj1
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self",(char *) "col", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
13183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13184 if (SWIG_arg_fail(1)) SWIG_fail
;
13186 arg2
= (int)(SWIG_As_int(obj1
));
13187 if (SWIG_arg_fail(2)) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 (arg1
)->SetColFormatNumber(arg2
);
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13196 Py_INCREF(Py_None
); resultobj
= Py_None
;
13203 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
;
13205 wxGrid
*arg1
= (wxGrid
*) 0 ;
13207 int arg3
= (int) -1 ;
13208 int arg4
= (int) -1 ;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 PyObject
* obj2
= 0 ;
13212 PyObject
* obj3
= 0 ;
13213 char *kwnames
[] = {
13214 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
13217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13219 if (SWIG_arg_fail(1)) SWIG_fail
;
13221 arg2
= (int)(SWIG_As_int(obj1
));
13222 if (SWIG_arg_fail(2)) SWIG_fail
;
13226 arg3
= (int)(SWIG_As_int(obj2
));
13227 if (SWIG_arg_fail(3)) SWIG_fail
;
13232 arg4
= (int)(SWIG_As_int(obj3
));
13233 if (SWIG_arg_fail(4)) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 Py_INCREF(Py_None
); resultobj
= Py_None
;
13250 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxGrid
*arg1
= (wxGrid
*) 0 ;
13254 wxString
*arg3
= 0 ;
13255 bool temp3
= false ;
13256 PyObject
* obj0
= 0 ;
13257 PyObject
* obj1
= 0 ;
13258 PyObject
* obj2
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self",(char *) "col",(char *) "typeName", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13265 if (SWIG_arg_fail(1)) SWIG_fail
;
13267 arg2
= (int)(SWIG_As_int(obj1
));
13268 if (SWIG_arg_fail(2)) SWIG_fail
;
13271 arg3
= wxString_in_helper(obj2
);
13272 if (arg3
== NULL
) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 Py_INCREF(Py_None
); resultobj
= Py_None
;
13297 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
*resultobj
;
13299 wxGrid
*arg1
= (wxGrid
*) 0 ;
13300 bool arg2
= (bool) true ;
13301 PyObject
* obj0
= 0 ;
13302 PyObject
* obj1
= 0 ;
13303 char *kwnames
[] = {
13304 (char *) "self",(char *) "enable", NULL
13307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
13308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13309 if (SWIG_arg_fail(1)) SWIG_fail
;
13312 arg2
= (bool)(SWIG_As_bool(obj1
));
13313 if (SWIG_arg_fail(2)) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 (arg1
)->EnableGridLines(arg2
);
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 Py_INCREF(Py_None
); resultobj
= Py_None
;
13330 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxGrid
*arg1
= (wxGrid
*) 0 ;
13334 PyObject
* obj0
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "self", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
13340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13341 if (SWIG_arg_fail(1)) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 result
= (bool)(arg1
)->GridLinesEnabled();
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13358 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxGrid
*arg1
= (wxGrid
*) 0 ;
13362 PyObject
* obj0
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
13368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13369 if (SWIG_arg_fail(1)) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (int)(arg1
)->GetDefaultRowSize();
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= SWIG_From_int((int)(result
));
13386 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
;
13388 wxGrid
*arg1
= (wxGrid
*) 0 ;
13391 PyObject
* obj0
= 0 ;
13392 PyObject
* obj1
= 0 ;
13393 char *kwnames
[] = {
13394 (char *) "self",(char *) "row", NULL
13397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13399 if (SWIG_arg_fail(1)) SWIG_fail
;
13401 arg2
= (int)(SWIG_As_int(obj1
));
13402 if (SWIG_arg_fail(2)) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 result
= (int)(arg1
)->GetRowSize(arg2
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= SWIG_From_int((int)(result
));
13420 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxGrid
*arg1
= (wxGrid
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
13430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13431 if (SWIG_arg_fail(1)) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 result
= (int)(arg1
)->GetDefaultColSize();
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= SWIG_From_int((int)(result
));
13448 static PyObject
*_wrap_Grid_GetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxGrid
*arg1
= (wxGrid
*) 0 ;
13453 PyObject
* obj0
= 0 ;
13454 PyObject
* obj1
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "self",(char *) "col", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13461 if (SWIG_arg_fail(1)) SWIG_fail
;
13463 arg2
= (int)(SWIG_As_int(obj1
));
13464 if (SWIG_arg_fail(2)) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (int)(arg1
)->GetColSize(arg2
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= SWIG_From_int((int)(result
));
13482 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxGrid
*arg1
= (wxGrid
*) 0 ;
13486 PyObject
* obj0
= 0 ;
13487 char *kwnames
[] = {
13488 (char *) "self", NULL
13491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
13492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13493 if (SWIG_arg_fail(1)) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 result
= (arg1
)->GetDefaultCellBackgroundColour();
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13502 wxColour
* resultptr
;
13503 resultptr
= new wxColour((wxColour
&)(result
));
13504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13512 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
;
13514 wxGrid
*arg1
= (wxGrid
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 PyObject
* obj1
= 0 ;
13520 PyObject
* obj2
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self",(char *) "row",(char *) "col", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13527 if (SWIG_arg_fail(1)) SWIG_fail
;
13529 arg2
= (int)(SWIG_As_int(obj1
));
13530 if (SWIG_arg_fail(2)) SWIG_fail
;
13533 arg3
= (int)(SWIG_As_int(obj2
));
13534 if (SWIG_arg_fail(3)) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13544 wxColour
* resultptr
;
13545 resultptr
= new wxColour((wxColour
&)(result
));
13546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13554 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxGrid
*arg1
= (wxGrid
*) 0 ;
13558 PyObject
* obj0
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "self", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
13564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13565 if (SWIG_arg_fail(1)) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (arg1
)->GetDefaultCellTextColour();
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13574 wxColour
* resultptr
;
13575 resultptr
= new wxColour((wxColour
&)(result
));
13576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13584 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxGrid
*arg1
= (wxGrid
*) 0 ;
13590 PyObject
* obj0
= 0 ;
13591 PyObject
* obj1
= 0 ;
13592 PyObject
* obj2
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self",(char *) "row",(char *) "col", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13599 if (SWIG_arg_fail(1)) SWIG_fail
;
13601 arg2
= (int)(SWIG_As_int(obj1
));
13602 if (SWIG_arg_fail(2)) SWIG_fail
;
13605 arg3
= (int)(SWIG_As_int(obj2
));
13606 if (SWIG_arg_fail(3)) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13616 wxColour
* resultptr
;
13617 resultptr
= new wxColour((wxColour
&)(result
));
13618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13626 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxGrid
*arg1
= (wxGrid
*) 0 ;
13630 PyObject
* obj0
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
13636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13637 if (SWIG_arg_fail(1)) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (arg1
)->GetDefaultCellFont();
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13646 wxFont
* resultptr
;
13647 resultptr
= new wxFont((wxFont
&)(result
));
13648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13656 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxGrid
*arg1
= (wxGrid
*) 0 ;
13662 PyObject
* obj0
= 0 ;
13663 PyObject
* obj1
= 0 ;
13664 PyObject
* obj2
= 0 ;
13665 char *kwnames
[] = {
13666 (char *) "self",(char *) "row",(char *) "col", NULL
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13671 if (SWIG_arg_fail(1)) SWIG_fail
;
13673 arg2
= (int)(SWIG_As_int(obj1
));
13674 if (SWIG_arg_fail(2)) SWIG_fail
;
13677 arg3
= (int)(SWIG_As_int(obj2
));
13678 if (SWIG_arg_fail(3)) SWIG_fail
;
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 result
= (arg1
)->GetCellFont(arg2
,arg3
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13688 wxFont
* resultptr
;
13689 resultptr
= new wxFont((wxFont
&)(result
));
13690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13698 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
;
13700 wxGrid
*arg1
= (wxGrid
*) 0 ;
13701 int *arg2
= (int *) 0 ;
13702 int *arg3
= (int *) 0 ;
13707 PyObject
* obj0
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self", NULL
13712 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13713 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
13715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13716 if (SWIG_arg_fail(1)) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 Py_INCREF(Py_None
); resultobj
= Py_None
;
13725 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13726 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13727 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13728 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13735 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxGrid
*arg1
= (wxGrid
*) 0 ;
13740 int *arg4
= (int *) 0 ;
13741 int *arg5
= (int *) 0 ;
13746 PyObject
* obj0
= 0 ;
13747 PyObject
* obj1
= 0 ;
13748 PyObject
* obj2
= 0 ;
13749 char *kwnames
[] = {
13750 (char *) "self",(char *) "row",(char *) "col", NULL
13753 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13754 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13757 if (SWIG_arg_fail(1)) SWIG_fail
;
13759 arg2
= (int)(SWIG_As_int(obj1
));
13760 if (SWIG_arg_fail(2)) SWIG_fail
;
13763 arg3
= (int)(SWIG_As_int(obj2
));
13764 if (SWIG_arg_fail(3)) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 Py_INCREF(Py_None
); resultobj
= Py_None
;
13774 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13775 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13776 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13777 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13784 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13786 wxGrid
*arg1
= (wxGrid
*) 0 ;
13788 PyObject
* obj0
= 0 ;
13789 char *kwnames
[] = {
13790 (char *) "self", NULL
13793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
13794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13795 if (SWIG_arg_fail(1)) SWIG_fail
;
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 result
= (bool)(arg1
)->GetDefaultCellOverflow();
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13812 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxGrid
*arg1
= (wxGrid
*) 0 ;
13818 PyObject
* obj0
= 0 ;
13819 PyObject
* obj1
= 0 ;
13820 PyObject
* obj2
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "self",(char *) "row",(char *) "col", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13827 if (SWIG_arg_fail(1)) SWIG_fail
;
13829 arg2
= (int)(SWIG_As_int(obj1
));
13830 if (SWIG_arg_fail(2)) SWIG_fail
;
13833 arg3
= (int)(SWIG_As_int(obj2
));
13834 if (SWIG_arg_fail(3)) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13852 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
;
13854 wxGrid
*arg1
= (wxGrid
*) 0 ;
13857 int *arg4
= (int *) 0 ;
13858 int *arg5
= (int *) 0 ;
13863 PyObject
* obj0
= 0 ;
13864 PyObject
* obj1
= 0 ;
13865 PyObject
* obj2
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self",(char *) "row",(char *) "col", NULL
13870 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13871 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13874 if (SWIG_arg_fail(1)) SWIG_fail
;
13876 arg2
= (int)(SWIG_As_int(obj1
));
13877 if (SWIG_arg_fail(2)) SWIG_fail
;
13880 arg3
= (int)(SWIG_As_int(obj2
));
13881 if (SWIG_arg_fail(3)) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 Py_INCREF(Py_None
); resultobj
= Py_None
;
13891 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13892 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13893 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13894 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13901 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
;
13903 wxGrid
*arg1
= (wxGrid
*) 0 ;
13905 bool arg3
= (bool) false ;
13906 PyObject
* obj0
= 0 ;
13907 PyObject
* obj1
= 0 ;
13908 PyObject
* obj2
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13915 if (SWIG_arg_fail(1)) SWIG_fail
;
13917 arg2
= (int)(SWIG_As_int(obj1
));
13918 if (SWIG_arg_fail(2)) SWIG_fail
;
13922 arg3
= (bool)(SWIG_As_bool(obj2
));
13923 if (SWIG_arg_fail(3)) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 Py_INCREF(Py_None
); resultobj
= Py_None
;
13940 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxGrid
*arg1
= (wxGrid
*) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 PyObject
* obj1
= 0 ;
13947 PyObject
* obj2
= 0 ;
13948 char *kwnames
[] = {
13949 (char *) "self",(char *) "row",(char *) "height", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13954 if (SWIG_arg_fail(1)) SWIG_fail
;
13956 arg2
= (int)(SWIG_As_int(obj1
));
13957 if (SWIG_arg_fail(2)) SWIG_fail
;
13960 arg3
= (int)(SWIG_As_int(obj2
));
13961 if (SWIG_arg_fail(3)) SWIG_fail
;
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13965 (arg1
)->SetRowSize(arg2
,arg3
);
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 Py_INCREF(Py_None
); resultobj
= Py_None
;
13977 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxGrid
*arg1
= (wxGrid
*) 0 ;
13981 bool arg3
= (bool) false ;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 PyObject
* obj2
= 0 ;
13985 char *kwnames
[] = {
13986 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
13989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13991 if (SWIG_arg_fail(1)) SWIG_fail
;
13993 arg2
= (int)(SWIG_As_int(obj1
));
13994 if (SWIG_arg_fail(2)) SWIG_fail
;
13998 arg3
= (bool)(SWIG_As_bool(obj2
));
13999 if (SWIG_arg_fail(3)) SWIG_fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 (arg1
)->SetDefaultColSize(arg2
,arg3
);
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 Py_INCREF(Py_None
); resultobj
= Py_None
;
14016 static PyObject
*_wrap_Grid_SetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxGrid
*arg1
= (wxGrid
*) 0 ;
14021 PyObject
* obj0
= 0 ;
14022 PyObject
* obj1
= 0 ;
14023 PyObject
* obj2
= 0 ;
14024 char *kwnames
[] = {
14025 (char *) "self",(char *) "col",(char *) "width", NULL
14028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14030 if (SWIG_arg_fail(1)) SWIG_fail
;
14032 arg2
= (int)(SWIG_As_int(obj1
));
14033 if (SWIG_arg_fail(2)) SWIG_fail
;
14036 arg3
= (int)(SWIG_As_int(obj2
));
14037 if (SWIG_arg_fail(3)) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 (arg1
)->SetColSize(arg2
,arg3
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 Py_INCREF(Py_None
); resultobj
= Py_None
;
14053 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxGrid
*arg1
= (wxGrid
*) 0 ;
14057 bool arg3
= (bool) true ;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 PyObject
* obj2
= 0 ;
14061 char *kwnames
[] = {
14062 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
14065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14067 if (SWIG_arg_fail(1)) SWIG_fail
;
14069 arg2
= (int)(SWIG_As_int(obj1
));
14070 if (SWIG_arg_fail(2)) SWIG_fail
;
14074 arg3
= (bool)(SWIG_As_bool(obj2
));
14075 if (SWIG_arg_fail(3)) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 (arg1
)->AutoSizeColumn(arg2
,arg3
);
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 Py_INCREF(Py_None
); resultobj
= Py_None
;
14092 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxGrid
*arg1
= (wxGrid
*) 0 ;
14096 bool arg3
= (bool) true ;
14097 PyObject
* obj0
= 0 ;
14098 PyObject
* obj1
= 0 ;
14099 PyObject
* obj2
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14106 if (SWIG_arg_fail(1)) SWIG_fail
;
14108 arg2
= (int)(SWIG_As_int(obj1
));
14109 if (SWIG_arg_fail(2)) SWIG_fail
;
14113 arg3
= (bool)(SWIG_As_bool(obj2
));
14114 if (SWIG_arg_fail(3)) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 (arg1
)->AutoSizeRow(arg2
,arg3
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 Py_INCREF(Py_None
); resultobj
= Py_None
;
14131 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
;
14133 wxGrid
*arg1
= (wxGrid
*) 0 ;
14134 bool arg2
= (bool) true ;
14135 PyObject
* obj0
= 0 ;
14136 PyObject
* obj1
= 0 ;
14137 char *kwnames
[] = {
14138 (char *) "self",(char *) "setAsMin", NULL
14141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
14142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14143 if (SWIG_arg_fail(1)) SWIG_fail
;
14146 arg2
= (bool)(SWIG_As_bool(obj1
));
14147 if (SWIG_arg_fail(2)) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 (arg1
)->AutoSizeColumns(arg2
);
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14157 Py_INCREF(Py_None
); resultobj
= Py_None
;
14164 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14165 PyObject
*resultobj
;
14166 wxGrid
*arg1
= (wxGrid
*) 0 ;
14167 bool arg2
= (bool) true ;
14168 PyObject
* obj0
= 0 ;
14169 PyObject
* obj1
= 0 ;
14170 char *kwnames
[] = {
14171 (char *) "self",(char *) "setAsMin", NULL
14174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
14175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14176 if (SWIG_arg_fail(1)) SWIG_fail
;
14179 arg2
= (bool)(SWIG_As_bool(obj1
));
14180 if (SWIG_arg_fail(2)) SWIG_fail
;
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 (arg1
)->AutoSizeRows(arg2
);
14187 wxPyEndAllowThreads(__tstate
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14190 Py_INCREF(Py_None
); resultobj
= Py_None
;
14197 static PyObject
*_wrap_Grid_AutoSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14198 PyObject
*resultobj
;
14199 wxGrid
*arg1
= (wxGrid
*) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 char *kwnames
[] = {
14202 (char *) "self", NULL
14205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
14206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14207 if (SWIG_arg_fail(1)) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 (arg1
)->AutoSize();
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 Py_INCREF(Py_None
); resultobj
= Py_None
;
14222 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxGrid
*arg1
= (wxGrid
*) 0 ;
14226 PyObject
* obj0
= 0 ;
14227 PyObject
* obj1
= 0 ;
14228 char *kwnames
[] = {
14229 (char *) "self",(char *) "row", NULL
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14234 if (SWIG_arg_fail(1)) SWIG_fail
;
14236 arg2
= (int)(SWIG_As_int(obj1
));
14237 if (SWIG_arg_fail(2)) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 (arg1
)->AutoSizeRowLabelSize(arg2
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 Py_INCREF(Py_None
); resultobj
= Py_None
;
14253 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxGrid
*arg1
= (wxGrid
*) 0 ;
14257 PyObject
* obj0
= 0 ;
14258 PyObject
* obj1
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self",(char *) "col", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14265 if (SWIG_arg_fail(1)) SWIG_fail
;
14267 arg2
= (int)(SWIG_As_int(obj1
));
14268 if (SWIG_arg_fail(2)) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 (arg1
)->AutoSizeColLabelSize(arg2
);
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 Py_INCREF(Py_None
); resultobj
= Py_None
;
14284 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxGrid
*arg1
= (wxGrid
*) 0 ;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 PyObject
* obj2
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self",(char *) "col",(char *) "width", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14298 if (SWIG_arg_fail(1)) SWIG_fail
;
14300 arg2
= (int)(SWIG_As_int(obj1
));
14301 if (SWIG_arg_fail(2)) SWIG_fail
;
14304 arg3
= (int)(SWIG_As_int(obj2
));
14305 if (SWIG_arg_fail(3)) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 Py_INCREF(Py_None
); resultobj
= Py_None
;
14321 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxGrid
*arg1
= (wxGrid
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 PyObject
* obj2
= 0 ;
14329 char *kwnames
[] = {
14330 (char *) "self",(char *) "row",(char *) "width", NULL
14333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14335 if (SWIG_arg_fail(1)) SWIG_fail
;
14337 arg2
= (int)(SWIG_As_int(obj1
));
14338 if (SWIG_arg_fail(2)) SWIG_fail
;
14341 arg3
= (int)(SWIG_As_int(obj2
));
14342 if (SWIG_arg_fail(3)) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 Py_INCREF(Py_None
); resultobj
= Py_None
;
14358 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxGrid
*arg1
= (wxGrid
*) 0 ;
14362 PyObject
* obj0
= 0 ;
14363 PyObject
* obj1
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self",(char *) "width", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
14369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14370 if (SWIG_arg_fail(1)) SWIG_fail
;
14372 arg2
= (int)(SWIG_As_int(obj1
));
14373 if (SWIG_arg_fail(2)) SWIG_fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 Py_INCREF(Py_None
); resultobj
= Py_None
;
14389 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
;
14391 wxGrid
*arg1
= (wxGrid
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 PyObject
* obj1
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self",(char *) "width", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
14400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14401 if (SWIG_arg_fail(1)) SWIG_fail
;
14403 arg2
= (int)(SWIG_As_int(obj1
));
14404 if (SWIG_arg_fail(2)) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 Py_INCREF(Py_None
); resultobj
= Py_None
;
14420 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxGrid
*arg1
= (wxGrid
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
14430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14431 if (SWIG_arg_fail(1)) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= SWIG_From_int((int)(result
));
14448 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
;
14450 wxGrid
*arg1
= (wxGrid
*) 0 ;
14452 PyObject
* obj0
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "self", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
14458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14459 if (SWIG_arg_fail(1)) SWIG_fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= SWIG_From_int((int)(result
));
14476 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxGrid
*arg1
= (wxGrid
*) 0 ;
14479 wxColour
*arg2
= 0 ;
14481 PyObject
* obj0
= 0 ;
14482 PyObject
* obj1
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self","arg2", NULL
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14489 if (SWIG_arg_fail(1)) SWIG_fail
;
14492 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14501 Py_INCREF(Py_None
); resultobj
= Py_None
;
14508 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxGrid
*arg1
= (wxGrid
*) 0 ;
14513 wxColour
*arg4
= 0 ;
14515 PyObject
* obj0
= 0 ;
14516 PyObject
* obj1
= 0 ;
14517 PyObject
* obj2
= 0 ;
14518 PyObject
* obj3
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14525 if (SWIG_arg_fail(1)) SWIG_fail
;
14527 arg2
= (int)(SWIG_As_int(obj1
));
14528 if (SWIG_arg_fail(2)) SWIG_fail
;
14531 arg3
= (int)(SWIG_As_int(obj2
));
14532 if (SWIG_arg_fail(3)) SWIG_fail
;
14536 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 Py_INCREF(Py_None
); resultobj
= Py_None
;
14552 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxGrid
*arg1
= (wxGrid
*) 0 ;
14555 wxColour
*arg2
= 0 ;
14557 PyObject
* obj0
= 0 ;
14558 PyObject
* obj1
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self","arg2", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14565 if (SWIG_arg_fail(1)) SWIG_fail
;
14568 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
14574 wxPyEndAllowThreads(__tstate
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14577 Py_INCREF(Py_None
); resultobj
= Py_None
;
14584 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14585 PyObject
*resultobj
;
14586 wxGrid
*arg1
= (wxGrid
*) 0 ;
14589 wxColour
*arg4
= 0 ;
14591 PyObject
* obj0
= 0 ;
14592 PyObject
* obj1
= 0 ;
14593 PyObject
* obj2
= 0 ;
14594 PyObject
* obj3
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14601 if (SWIG_arg_fail(1)) SWIG_fail
;
14603 arg2
= (int)(SWIG_As_int(obj1
));
14604 if (SWIG_arg_fail(2)) SWIG_fail
;
14607 arg3
= (int)(SWIG_As_int(obj2
));
14608 if (SWIG_arg_fail(3)) SWIG_fail
;
14612 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 Py_INCREF(Py_None
); resultobj
= Py_None
;
14628 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxGrid
*arg1
= (wxGrid
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 PyObject
* obj1
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self","arg2", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14640 if (SWIG_arg_fail(1)) SWIG_fail
;
14642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14643 if (SWIG_arg_fail(2)) SWIG_fail
;
14644 if (arg2
== NULL
) {
14645 SWIG_null_ref("wxFont");
14647 if (SWIG_arg_fail(2)) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 Py_INCREF(Py_None
); resultobj
= Py_None
;
14663 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
;
14665 wxGrid
*arg1
= (wxGrid
*) 0 ;
14669 PyObject
* obj0
= 0 ;
14670 PyObject
* obj1
= 0 ;
14671 PyObject
* obj2
= 0 ;
14672 PyObject
* obj3
= 0 ;
14673 char *kwnames
[] = {
14674 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14679 if (SWIG_arg_fail(1)) SWIG_fail
;
14681 arg2
= (int)(SWIG_As_int(obj1
));
14682 if (SWIG_arg_fail(2)) SWIG_fail
;
14685 arg3
= (int)(SWIG_As_int(obj2
));
14686 if (SWIG_arg_fail(3)) SWIG_fail
;
14689 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14690 if (SWIG_arg_fail(4)) SWIG_fail
;
14691 if (arg4
== NULL
) {
14692 SWIG_null_ref("wxFont");
14694 if (SWIG_arg_fail(4)) SWIG_fail
;
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
14700 wxPyEndAllowThreads(__tstate
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14703 Py_INCREF(Py_None
); resultobj
= Py_None
;
14710 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14711 PyObject
*resultobj
;
14712 wxGrid
*arg1
= (wxGrid
*) 0 ;
14715 PyObject
* obj0
= 0 ;
14716 PyObject
* obj1
= 0 ;
14717 PyObject
* obj2
= 0 ;
14718 char *kwnames
[] = {
14719 (char *) "self",(char *) "horiz",(char *) "vert", NULL
14722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14724 if (SWIG_arg_fail(1)) SWIG_fail
;
14726 arg2
= (int)(SWIG_As_int(obj1
));
14727 if (SWIG_arg_fail(2)) SWIG_fail
;
14730 arg3
= (int)(SWIG_As_int(obj2
));
14731 if (SWIG_arg_fail(3)) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 Py_INCREF(Py_None
); resultobj
= Py_None
;
14747 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
;
14749 wxGrid
*arg1
= (wxGrid
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 PyObject
* obj1
= 0 ;
14756 PyObject
* obj2
= 0 ;
14757 PyObject
* obj3
= 0 ;
14758 PyObject
* obj4
= 0 ;
14759 char *kwnames
[] = {
14760 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
14763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14765 if (SWIG_arg_fail(1)) SWIG_fail
;
14767 arg2
= (int)(SWIG_As_int(obj1
));
14768 if (SWIG_arg_fail(2)) SWIG_fail
;
14771 arg3
= (int)(SWIG_As_int(obj2
));
14772 if (SWIG_arg_fail(3)) SWIG_fail
;
14775 arg4
= (int)(SWIG_As_int(obj3
));
14776 if (SWIG_arg_fail(4)) SWIG_fail
;
14779 arg5
= (int)(SWIG_As_int(obj4
));
14780 if (SWIG_arg_fail(5)) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 Py_INCREF(Py_None
); resultobj
= Py_None
;
14796 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxGrid
*arg1
= (wxGrid
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 PyObject
* obj1
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self",(char *) "allow", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
14807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14808 if (SWIG_arg_fail(1)) SWIG_fail
;
14810 arg2
= (bool)(SWIG_As_bool(obj1
));
14811 if (SWIG_arg_fail(2)) SWIG_fail
;
14814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14815 (arg1
)->SetDefaultCellOverflow(arg2
);
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 Py_INCREF(Py_None
); resultobj
= Py_None
;
14827 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
;
14829 wxGrid
*arg1
= (wxGrid
*) 0 ;
14833 PyObject
* obj0
= 0 ;
14834 PyObject
* obj1
= 0 ;
14835 PyObject
* obj2
= 0 ;
14836 PyObject
* obj3
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14843 if (SWIG_arg_fail(1)) SWIG_fail
;
14845 arg2
= (int)(SWIG_As_int(obj1
));
14846 if (SWIG_arg_fail(2)) SWIG_fail
;
14849 arg3
= (int)(SWIG_As_int(obj2
));
14850 if (SWIG_arg_fail(3)) SWIG_fail
;
14853 arg4
= (bool)(SWIG_As_bool(obj3
));
14854 if (SWIG_arg_fail(4)) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 Py_INCREF(Py_None
); resultobj
= Py_None
;
14870 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxGrid
*arg1
= (wxGrid
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 PyObject
* obj2
= 0 ;
14880 PyObject
* obj3
= 0 ;
14881 PyObject
* obj4
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14888 if (SWIG_arg_fail(1)) SWIG_fail
;
14890 arg2
= (int)(SWIG_As_int(obj1
));
14891 if (SWIG_arg_fail(2)) SWIG_fail
;
14894 arg3
= (int)(SWIG_As_int(obj2
));
14895 if (SWIG_arg_fail(3)) SWIG_fail
;
14898 arg4
= (int)(SWIG_As_int(obj3
));
14899 if (SWIG_arg_fail(4)) SWIG_fail
;
14902 arg5
= (int)(SWIG_As_int(obj4
));
14903 if (SWIG_arg_fail(5)) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 Py_INCREF(Py_None
); resultobj
= Py_None
;
14919 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14920 PyObject
*resultobj
;
14921 wxGrid
*arg1
= (wxGrid
*) 0 ;
14922 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
14923 PyObject
* obj0
= 0 ;
14924 PyObject
* obj1
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self",(char *) "renderer", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
14930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14931 if (SWIG_arg_fail(1)) SWIG_fail
;
14932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
14933 if (SWIG_arg_fail(2)) SWIG_fail
;
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 (arg1
)->SetDefaultRenderer(arg2
);
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14941 Py_INCREF(Py_None
); resultobj
= Py_None
;
14948 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14949 PyObject
*resultobj
;
14950 wxGrid
*arg1
= (wxGrid
*) 0 ;
14953 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
14954 PyObject
* obj0
= 0 ;
14955 PyObject
* obj1
= 0 ;
14956 PyObject
* obj2
= 0 ;
14957 PyObject
* obj3
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14964 if (SWIG_arg_fail(1)) SWIG_fail
;
14966 arg2
= (int)(SWIG_As_int(obj1
));
14967 if (SWIG_arg_fail(2)) SWIG_fail
;
14970 arg3
= (int)(SWIG_As_int(obj2
));
14971 if (SWIG_arg_fail(3)) SWIG_fail
;
14973 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
14974 if (SWIG_arg_fail(4)) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 Py_INCREF(Py_None
); resultobj
= Py_None
;
14989 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
;
14991 wxGrid
*arg1
= (wxGrid
*) 0 ;
14992 wxGridCellRenderer
*result
;
14993 PyObject
* obj0
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
14999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15000 if (SWIG_arg_fail(1)) SWIG_fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
15017 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxGrid
*arg1
= (wxGrid
*) 0 ;
15022 wxGridCellRenderer
*result
;
15023 PyObject
* obj0
= 0 ;
15024 PyObject
* obj1
= 0 ;
15025 PyObject
* obj2
= 0 ;
15026 char *kwnames
[] = {
15027 (char *) "self",(char *) "row",(char *) "col", NULL
15030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15032 if (SWIG_arg_fail(1)) SWIG_fail
;
15034 arg2
= (int)(SWIG_As_int(obj1
));
15035 if (SWIG_arg_fail(2)) SWIG_fail
;
15038 arg3
= (int)(SWIG_As_int(obj2
));
15039 if (SWIG_arg_fail(3)) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
15057 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxGrid
*arg1
= (wxGrid
*) 0 ;
15060 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
15061 PyObject
* obj0
= 0 ;
15062 PyObject
* obj1
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self",(char *) "editor", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
15068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15069 if (SWIG_arg_fail(1)) SWIG_fail
;
15070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
15071 if (SWIG_arg_fail(2)) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 (arg1
)->SetDefaultEditor(arg2
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 Py_INCREF(Py_None
); resultobj
= Py_None
;
15086 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxGrid
*arg1
= (wxGrid
*) 0 ;
15091 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
15092 PyObject
* obj0
= 0 ;
15093 PyObject
* obj1
= 0 ;
15094 PyObject
* obj2
= 0 ;
15095 PyObject
* obj3
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15102 if (SWIG_arg_fail(1)) SWIG_fail
;
15104 arg2
= (int)(SWIG_As_int(obj1
));
15105 if (SWIG_arg_fail(2)) SWIG_fail
;
15108 arg3
= (int)(SWIG_As_int(obj2
));
15109 if (SWIG_arg_fail(3)) SWIG_fail
;
15111 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
15112 if (SWIG_arg_fail(4)) SWIG_fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15120 Py_INCREF(Py_None
); resultobj
= Py_None
;
15127 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
;
15129 wxGrid
*arg1
= (wxGrid
*) 0 ;
15130 wxGridCellEditor
*result
;
15131 PyObject
* obj0
= 0 ;
15132 char *kwnames
[] = {
15133 (char *) "self", NULL
15136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
15137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15138 if (SWIG_arg_fail(1)) SWIG_fail
;
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15147 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
15155 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxGrid
*arg1
= (wxGrid
*) 0 ;
15160 wxGridCellEditor
*result
;
15161 PyObject
* obj0
= 0 ;
15162 PyObject
* obj1
= 0 ;
15163 PyObject
* obj2
= 0 ;
15164 char *kwnames
[] = {
15165 (char *) "self",(char *) "row",(char *) "col", NULL
15168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15170 if (SWIG_arg_fail(1)) SWIG_fail
;
15172 arg2
= (int)(SWIG_As_int(obj1
));
15173 if (SWIG_arg_fail(2)) SWIG_fail
;
15176 arg3
= (int)(SWIG_As_int(obj2
));
15177 if (SWIG_arg_fail(3)) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
15195 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxGrid
*arg1
= (wxGrid
*) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 PyObject
* obj1
= 0 ;
15203 PyObject
* obj2
= 0 ;
15204 char *kwnames
[] = {
15205 (char *) "self",(char *) "row",(char *) "col", NULL
15208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15210 if (SWIG_arg_fail(1)) SWIG_fail
;
15212 arg2
= (int)(SWIG_As_int(obj1
));
15213 if (SWIG_arg_fail(2)) SWIG_fail
;
15216 arg3
= (int)(SWIG_As_int(obj2
));
15217 if (SWIG_arg_fail(3)) SWIG_fail
;
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 result
= (arg1
)->GetCellValue(arg2
,arg3
);
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15239 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxGrid
*arg1
= (wxGrid
*) 0 ;
15244 wxString
*arg4
= 0 ;
15245 bool temp4
= false ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 PyObject
* obj2
= 0 ;
15249 PyObject
* obj3
= 0 ;
15250 char *kwnames
[] = {
15251 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
15254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15256 if (SWIG_arg_fail(1)) SWIG_fail
;
15258 arg2
= (int)(SWIG_As_int(obj1
));
15259 if (SWIG_arg_fail(2)) SWIG_fail
;
15262 arg3
= (int)(SWIG_As_int(obj2
));
15263 if (SWIG_arg_fail(3)) SWIG_fail
;
15266 arg4
= wxString_in_helper(obj3
);
15267 if (arg4
== NULL
) SWIG_fail
;
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15277 Py_INCREF(Py_None
); resultobj
= Py_None
;
15292 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
;
15294 wxGrid
*arg1
= (wxGrid
*) 0 ;
15298 PyObject
* obj0
= 0 ;
15299 PyObject
* obj1
= 0 ;
15300 PyObject
* obj2
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self",(char *) "row",(char *) "col", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15307 if (SWIG_arg_fail(1)) SWIG_fail
;
15309 arg2
= (int)(SWIG_As_int(obj1
));
15310 if (SWIG_arg_fail(2)) SWIG_fail
;
15313 arg3
= (int)(SWIG_As_int(obj2
));
15314 if (SWIG_arg_fail(3)) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15332 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
;
15334 wxGrid
*arg1
= (wxGrid
*) 0 ;
15337 bool arg4
= (bool) true ;
15338 PyObject
* obj0
= 0 ;
15339 PyObject
* obj1
= 0 ;
15340 PyObject
* obj2
= 0 ;
15341 PyObject
* obj3
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15348 if (SWIG_arg_fail(1)) SWIG_fail
;
15350 arg2
= (int)(SWIG_As_int(obj1
));
15351 if (SWIG_arg_fail(2)) SWIG_fail
;
15354 arg3
= (int)(SWIG_As_int(obj2
));
15355 if (SWIG_arg_fail(3)) SWIG_fail
;
15359 arg4
= (bool)(SWIG_As_bool(obj3
));
15360 if (SWIG_arg_fail(4)) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 Py_INCREF(Py_None
); resultobj
= Py_None
;
15377 static PyObject
*_wrap_Grid_SelectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15379 wxGrid
*arg1
= (wxGrid
*) 0 ;
15381 bool arg3
= (bool) false ;
15382 PyObject
* obj0
= 0 ;
15383 PyObject
* obj1
= 0 ;
15384 PyObject
* obj2
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15391 if (SWIG_arg_fail(1)) SWIG_fail
;
15393 arg2
= (int)(SWIG_As_int(obj1
));
15394 if (SWIG_arg_fail(2)) SWIG_fail
;
15398 arg3
= (bool)(SWIG_As_bool(obj2
));
15399 if (SWIG_arg_fail(3)) SWIG_fail
;
15403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 (arg1
)->SelectRow(arg2
,arg3
);
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 Py_INCREF(Py_None
); resultobj
= Py_None
;
15416 static PyObject
*_wrap_Grid_SelectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
;
15418 wxGrid
*arg1
= (wxGrid
*) 0 ;
15420 bool arg3
= (bool) false ;
15421 PyObject
* obj0
= 0 ;
15422 PyObject
* obj1
= 0 ;
15423 PyObject
* obj2
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15430 if (SWIG_arg_fail(1)) SWIG_fail
;
15432 arg2
= (int)(SWIG_As_int(obj1
));
15433 if (SWIG_arg_fail(2)) SWIG_fail
;
15437 arg3
= (bool)(SWIG_As_bool(obj2
));
15438 if (SWIG_arg_fail(3)) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 (arg1
)->SelectCol(arg2
,arg3
);
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 Py_INCREF(Py_None
); resultobj
= Py_None
;
15455 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
;
15457 wxGrid
*arg1
= (wxGrid
*) 0 ;
15462 bool arg6
= (bool) false ;
15463 PyObject
* obj0
= 0 ;
15464 PyObject
* obj1
= 0 ;
15465 PyObject
* obj2
= 0 ;
15466 PyObject
* obj3
= 0 ;
15467 PyObject
* obj4
= 0 ;
15468 PyObject
* obj5
= 0 ;
15469 char *kwnames
[] = {
15470 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
15473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15475 if (SWIG_arg_fail(1)) SWIG_fail
;
15477 arg2
= (int)(SWIG_As_int(obj1
));
15478 if (SWIG_arg_fail(2)) SWIG_fail
;
15481 arg3
= (int)(SWIG_As_int(obj2
));
15482 if (SWIG_arg_fail(3)) SWIG_fail
;
15485 arg4
= (int)(SWIG_As_int(obj3
));
15486 if (SWIG_arg_fail(4)) SWIG_fail
;
15489 arg5
= (int)(SWIG_As_int(obj4
));
15490 if (SWIG_arg_fail(5)) SWIG_fail
;
15494 arg6
= (bool)(SWIG_As_bool(obj5
));
15495 if (SWIG_arg_fail(6)) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 Py_INCREF(Py_None
); resultobj
= Py_None
;
15512 static PyObject
*_wrap_Grid_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 wxGrid
*arg1
= (wxGrid
*) 0 ;
15515 PyObject
* obj0
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
15521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15522 if (SWIG_arg_fail(1)) SWIG_fail
;
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15525 (arg1
)->SelectAll();
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 Py_INCREF(Py_None
); resultobj
= Py_None
;
15537 static PyObject
*_wrap_Grid_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
;
15539 wxGrid
*arg1
= (wxGrid
*) 0 ;
15541 PyObject
* obj0
= 0 ;
15542 char *kwnames
[] = {
15543 (char *) "self", NULL
15546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
15547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15548 if (SWIG_arg_fail(1)) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 result
= (bool)(arg1
)->IsSelection();
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15565 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxGrid
*arg1
= (wxGrid
*) 0 ;
15568 PyObject
* obj0
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "self", NULL
15573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
15574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15575 if (SWIG_arg_fail(1)) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 (arg1
)->ClearSelection();
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 Py_INCREF(Py_None
); resultobj
= Py_None
;
15590 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
;
15592 wxGrid
*arg1
= (wxGrid
*) 0 ;
15596 PyObject
* obj0
= 0 ;
15597 PyObject
* obj1
= 0 ;
15598 PyObject
* obj2
= 0 ;
15599 char *kwnames
[] = {
15600 (char *) "self",(char *) "row",(char *) "col", NULL
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15605 if (SWIG_arg_fail(1)) SWIG_fail
;
15607 arg2
= (int)(SWIG_As_int(obj1
));
15608 if (SWIG_arg_fail(2)) SWIG_fail
;
15611 arg3
= (int)(SWIG_As_int(obj2
));
15612 if (SWIG_arg_fail(3)) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15630 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 wxGrid
*arg1
= (wxGrid
*) 0 ;
15633 wxGridCellCoordsArray result
;
15634 PyObject
* obj0
= 0 ;
15635 char *kwnames
[] = {
15636 (char *) "self", NULL
15639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
15640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15641 if (SWIG_arg_fail(1)) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= wxGridCellCoordsArray_helper(result
);
15658 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxGrid
*arg1
= (wxGrid
*) 0 ;
15661 wxGridCellCoordsArray result
;
15662 PyObject
* obj0
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
15668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15669 if (SWIG_arg_fail(1)) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= wxGridCellCoordsArray_helper(result
);
15686 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
;
15688 wxGrid
*arg1
= (wxGrid
*) 0 ;
15689 wxGridCellCoordsArray result
;
15690 PyObject
* obj0
= 0 ;
15691 char *kwnames
[] = {
15692 (char *) "self", NULL
15695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
15696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15697 if (SWIG_arg_fail(1)) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= wxGridCellCoordsArray_helper(result
);
15714 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxGrid
*arg1
= (wxGrid
*) 0 ;
15718 PyObject
* obj0
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
15724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15725 if (SWIG_arg_fail(1)) SWIG_fail
;
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= PyList_New(0);
15736 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15737 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15738 PyList_Append(resultobj
, val
);
15748 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15750 wxGrid
*arg1
= (wxGrid
*) 0 ;
15752 PyObject
* obj0
= 0 ;
15753 char *kwnames
[] = {
15754 (char *) "self", NULL
15757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
15758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15759 if (SWIG_arg_fail(1)) SWIG_fail
;
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= PyList_New(0);
15770 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15771 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15772 PyList_Append(resultobj
, val
);
15782 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15783 PyObject
*resultobj
;
15784 wxGrid
*arg1
= (wxGrid
*) 0 ;
15786 PyObject
* obj0
= 0 ;
15787 PyObject
* obj1
= 0 ;
15788 char *kwnames
[] = {
15789 (char *) "self",(char *) "row", NULL
15792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15794 if (SWIG_arg_fail(1)) SWIG_fail
;
15796 arg2
= (int)(SWIG_As_int(obj1
));
15797 if (SWIG_arg_fail(2)) SWIG_fail
;
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 (arg1
)->DeselectRow(arg2
);
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 Py_INCREF(Py_None
); resultobj
= Py_None
;
15813 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxGrid
*arg1
= (wxGrid
*) 0 ;
15817 PyObject
* obj0
= 0 ;
15818 PyObject
* obj1
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self",(char *) "col", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15825 if (SWIG_arg_fail(1)) SWIG_fail
;
15827 arg2
= (int)(SWIG_As_int(obj1
));
15828 if (SWIG_arg_fail(2)) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 (arg1
)->DeselectCol(arg2
);
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15837 Py_INCREF(Py_None
); resultobj
= Py_None
;
15844 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxGrid
*arg1
= (wxGrid
*) 0 ;
15849 PyObject
* obj0
= 0 ;
15850 PyObject
* obj1
= 0 ;
15851 PyObject
* obj2
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self",(char *) "row",(char *) "col", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15858 if (SWIG_arg_fail(1)) SWIG_fail
;
15860 arg2
= (int)(SWIG_As_int(obj1
));
15861 if (SWIG_arg_fail(2)) SWIG_fail
;
15864 arg3
= (int)(SWIG_As_int(obj2
));
15865 if (SWIG_arg_fail(3)) SWIG_fail
;
15868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15869 (arg1
)->DeselectCell(arg2
,arg3
);
15871 wxPyEndAllowThreads(__tstate
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15874 Py_INCREF(Py_None
); resultobj
= Py_None
;
15881 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15882 PyObject
*resultobj
;
15883 wxGrid
*arg1
= (wxGrid
*) 0 ;
15884 wxGridCellCoords
*arg2
= 0 ;
15885 wxGridCellCoords
*arg3
= 0 ;
15887 wxGridCellCoords temp2
;
15888 wxGridCellCoords temp3
;
15889 PyObject
* obj0
= 0 ;
15890 PyObject
* obj1
= 0 ;
15891 PyObject
* obj2
= 0 ;
15892 char *kwnames
[] = {
15893 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
15896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15898 if (SWIG_arg_fail(1)) SWIG_fail
;
15901 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
15905 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15915 wxRect
* resultptr
;
15916 resultptr
= new wxRect((wxRect
&)(result
));
15917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15925 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
;
15927 wxGrid
*arg1
= (wxGrid
*) 0 ;
15929 PyObject
* obj0
= 0 ;
15930 char *kwnames
[] = {
15931 (char *) "self", NULL
15934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
15935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15936 if (SWIG_arg_fail(1)) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15945 wxColour
* resultptr
;
15946 resultptr
= new wxColour((wxColour
&)(result
));
15947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15955 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxGrid
*arg1
= (wxGrid
*) 0 ;
15959 PyObject
* obj0
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "self", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
15965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15966 if (SWIG_arg_fail(1)) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15975 wxColour
* resultptr
;
15976 resultptr
= new wxColour((wxColour
&)(result
));
15977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15985 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15986 PyObject
*resultobj
;
15987 wxGrid
*arg1
= (wxGrid
*) 0 ;
15988 wxColour
*arg2
= 0 ;
15990 PyObject
* obj0
= 0 ;
15991 PyObject
* obj1
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "self",(char *) "c", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15998 if (SWIG_arg_fail(1)) SWIG_fail
;
16001 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 Py_INCREF(Py_None
); resultobj
= Py_None
;
16017 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
;
16019 wxGrid
*arg1
= (wxGrid
*) 0 ;
16020 wxColour
*arg2
= 0 ;
16022 PyObject
* obj0
= 0 ;
16023 PyObject
* obj1
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self",(char *) "c", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16030 if (SWIG_arg_fail(1)) SWIG_fail
;
16033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 Py_INCREF(Py_None
); resultobj
= Py_None
;
16049 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxGrid
*arg1
= (wxGrid
*) 0 ;
16052 wxString
*arg2
= 0 ;
16053 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
16054 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
16055 bool temp2
= false ;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 PyObject
* obj2
= 0 ;
16059 PyObject
* obj3
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16066 if (SWIG_arg_fail(1)) SWIG_fail
;
16068 arg2
= wxString_in_helper(obj1
);
16069 if (arg2
== NULL
) SWIG_fail
;
16072 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
16073 if (SWIG_arg_fail(3)) SWIG_fail
;
16074 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
16075 if (SWIG_arg_fail(4)) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 Py_INCREF(Py_None
); resultobj
= Py_None
;
16098 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxGrid
*arg1
= (wxGrid
*) 0 ;
16103 wxGridCellEditor
*result
;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 PyObject
* obj2
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "self",(char *) "row",(char *) "col", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16113 if (SWIG_arg_fail(1)) SWIG_fail
;
16115 arg2
= (int)(SWIG_As_int(obj1
));
16116 if (SWIG_arg_fail(2)) SWIG_fail
;
16119 arg3
= (int)(SWIG_As_int(obj2
));
16120 if (SWIG_arg_fail(3)) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
16138 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
;
16140 wxGrid
*arg1
= (wxGrid
*) 0 ;
16143 wxGridCellRenderer
*result
;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 PyObject
* obj2
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self",(char *) "row",(char *) "col", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16153 if (SWIG_arg_fail(1)) SWIG_fail
;
16155 arg2
= (int)(SWIG_As_int(obj1
));
16156 if (SWIG_arg_fail(2)) SWIG_fail
;
16159 arg3
= (int)(SWIG_As_int(obj2
));
16160 if (SWIG_arg_fail(3)) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
16178 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxGrid
*arg1
= (wxGrid
*) 0 ;
16181 wxString
*arg2
= 0 ;
16182 wxGridCellEditor
*result
;
16183 bool temp2
= false ;
16184 PyObject
* obj0
= 0 ;
16185 PyObject
* obj1
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "self",(char *) "typeName", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
16191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16192 if (SWIG_arg_fail(1)) SWIG_fail
;
16194 arg2
= wxString_in_helper(obj1
);
16195 if (arg2
== NULL
) SWIG_fail
;
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
16222 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
;
16224 wxGrid
*arg1
= (wxGrid
*) 0 ;
16225 wxString
*arg2
= 0 ;
16226 wxGridCellRenderer
*result
;
16227 bool temp2
= false ;
16228 PyObject
* obj0
= 0 ;
16229 PyObject
* obj1
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self",(char *) "typeName", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
16235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16236 if (SWIG_arg_fail(1)) SWIG_fail
;
16238 arg2
= wxString_in_helper(obj1
);
16239 if (arg2
== NULL
) SWIG_fail
;
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
16266 static PyObject
*_wrap_Grid_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
;
16268 wxGrid
*arg1
= (wxGrid
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 PyObject
* obj1
= 0 ;
16273 PyObject
* obj2
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16280 if (SWIG_arg_fail(1)) SWIG_fail
;
16282 arg2
= (int)(SWIG_As_int(obj1
));
16283 if (SWIG_arg_fail(2)) SWIG_fail
;
16286 arg3
= (int)(SWIG_As_int(obj2
));
16287 if (SWIG_arg_fail(3)) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 (arg1
)->SetMargins(arg2
,arg3
);
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 Py_INCREF(Py_None
); resultobj
= Py_None
;
16303 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxGrid
*arg1
= (wxGrid
*) 0 ;
16307 PyObject
* obj0
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "self", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
16313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16314 if (SWIG_arg_fail(1)) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (wxWindow
*)(arg1
)->GetGridWindow();
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= wxPyMake_wxObject(result
, 0);
16331 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxGrid
*arg1
= (wxGrid
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
16341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16342 if (SWIG_arg_fail(1)) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= wxPyMake_wxObject(result
, 0);
16359 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxGrid
*arg1
= (wxGrid
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
16369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16370 if (SWIG_arg_fail(1)) SWIG_fail
;
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= wxPyMake_wxObject(result
, 0);
16387 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxGrid
*arg1
= (wxGrid
*) 0 ;
16391 PyObject
* obj0
= 0 ;
16392 char *kwnames
[] = {
16393 (char *) "self", NULL
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
16397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16398 if (SWIG_arg_fail(1)) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16407 resultobj
= wxPyMake_wxObject(result
, 0);
16415 static PyObject
*_wrap_Grid_SetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxGrid
*arg1
= (wxGrid
*) 0 ;
16419 PyObject
* obj0
= 0 ;
16420 PyObject
* obj1
= 0 ;
16421 char *kwnames
[] = {
16422 (char *) "self",(char *) "x", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) goto fail
;
16426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16427 if (SWIG_arg_fail(1)) SWIG_fail
;
16429 arg2
= (int)(SWIG_As_int(obj1
));
16430 if (SWIG_arg_fail(2)) SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 (arg1
)->SetScrollLineX(arg2
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 Py_INCREF(Py_None
); resultobj
= Py_None
;
16446 static PyObject
*_wrap_Grid_SetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxGrid
*arg1
= (wxGrid
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 PyObject
* obj1
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "self",(char *) "y", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) goto fail
;
16457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16458 if (SWIG_arg_fail(1)) SWIG_fail
;
16460 arg2
= (int)(SWIG_As_int(obj1
));
16461 if (SWIG_arg_fail(2)) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 (arg1
)->SetScrollLineY(arg2
);
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16470 Py_INCREF(Py_None
); resultobj
= Py_None
;
16477 static PyObject
*_wrap_Grid_GetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxGrid
*arg1
= (wxGrid
*) 0 ;
16481 PyObject
* obj0
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineX",kwnames
,&obj0
)) goto fail
;
16487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16488 if (SWIG_arg_fail(1)) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineX();
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16497 resultobj
= SWIG_From_int((int)(result
));
16505 static PyObject
*_wrap_Grid_GetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
;
16507 wxGrid
*arg1
= (wxGrid
*) 0 ;
16509 PyObject
* obj0
= 0 ;
16510 char *kwnames
[] = {
16511 (char *) "self", NULL
16514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineY",kwnames
,&obj0
)) goto fail
;
16515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16516 if (SWIG_arg_fail(1)) SWIG_fail
;
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineY();
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= SWIG_From_int((int)(result
));
16533 static PyObject
*_wrap_Grid_GetScrollX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxGrid
*arg1
= (wxGrid
*) 0 ;
16538 PyObject
* obj0
= 0 ;
16539 PyObject
* obj1
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "self",(char *) "x", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) goto fail
;
16545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16546 if (SWIG_arg_fail(1)) SWIG_fail
;
16548 arg2
= (int)(SWIG_As_int(obj1
));
16549 if (SWIG_arg_fail(2)) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (int)((wxGrid
const *)arg1
)->GetScrollX(arg2
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16559 resultobj
= SWIG_From_int((int)(result
));
16567 static PyObject
*_wrap_Grid_GetScrollY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxGrid
*arg1
= (wxGrid
*) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 char *kwnames
[] = {
16575 (char *) "self",(char *) "y", NULL
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) goto fail
;
16579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16580 if (SWIG_arg_fail(1)) SWIG_fail
;
16582 arg2
= (int)(SWIG_As_int(obj1
));
16583 if (SWIG_arg_fail(2)) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 result
= (int)((wxGrid
const *)arg1
)->GetScrollY(arg2
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= SWIG_From_int((int)(result
));
16601 static PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16604 wxVisualAttributes result
;
16605 PyObject
* obj0
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "variant", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16613 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16614 if (SWIG_arg_fail(1)) SWIG_fail
;
16618 if (!wxPyCheckForApp()) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= wxGrid::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16626 wxVisualAttributes
* resultptr
;
16627 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16636 static PyObject
* Grid_swigregister(PyObject
*, PyObject
*args
) {
16638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16639 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
16641 return Py_BuildValue((char *)"");
16643 static PyObject
*_wrap_new_GridEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
;
16647 wxGrid
*arg3
= (wxGrid
*) 0 ;
16648 int arg4
= (int) -1 ;
16649 int arg5
= (int) -1 ;
16650 int arg6
= (int) -1 ;
16651 int arg7
= (int) -1 ;
16652 bool arg8
= (bool) true ;
16653 bool arg9
= (bool) false ;
16654 bool arg10
= (bool) false ;
16655 bool arg11
= (bool) false ;
16656 bool arg12
= (bool) false ;
16657 wxGridEvent
*result
;
16658 PyObject
* obj0
= 0 ;
16659 PyObject
* obj1
= 0 ;
16660 PyObject
* obj2
= 0 ;
16661 PyObject
* obj3
= 0 ;
16662 PyObject
* obj4
= 0 ;
16663 PyObject
* obj5
= 0 ;
16664 PyObject
* obj6
= 0 ;
16665 PyObject
* obj7
= 0 ;
16666 PyObject
* obj8
= 0 ;
16667 PyObject
* obj9
= 0 ;
16668 PyObject
* obj10
= 0 ;
16669 PyObject
* obj11
= 0 ;
16670 char *kwnames
[] = {
16671 (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
16674 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
;
16676 arg1
= (int)(SWIG_As_int(obj0
));
16677 if (SWIG_arg_fail(1)) SWIG_fail
;
16680 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
16681 if (SWIG_arg_fail(2)) SWIG_fail
;
16683 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16684 if (SWIG_arg_fail(3)) SWIG_fail
;
16687 arg4
= (int)(SWIG_As_int(obj3
));
16688 if (SWIG_arg_fail(4)) SWIG_fail
;
16693 arg5
= (int)(SWIG_As_int(obj4
));
16694 if (SWIG_arg_fail(5)) SWIG_fail
;
16699 arg6
= (int)(SWIG_As_int(obj5
));
16700 if (SWIG_arg_fail(6)) SWIG_fail
;
16705 arg7
= (int)(SWIG_As_int(obj6
));
16706 if (SWIG_arg_fail(7)) SWIG_fail
;
16711 arg8
= (bool)(SWIG_As_bool(obj7
));
16712 if (SWIG_arg_fail(8)) SWIG_fail
;
16717 arg9
= (bool)(SWIG_As_bool(obj8
));
16718 if (SWIG_arg_fail(9)) SWIG_fail
;
16723 arg10
= (bool)(SWIG_As_bool(obj9
));
16724 if (SWIG_arg_fail(10)) SWIG_fail
;
16729 arg11
= (bool)(SWIG_As_bool(obj10
));
16730 if (SWIG_arg_fail(11)) SWIG_fail
;
16735 arg12
= (bool)(SWIG_As_bool(obj11
));
16736 if (SWIG_arg_fail(12)) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
16753 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
;
16755 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16757 PyObject
* obj0
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "self", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
16763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16764 if (SWIG_arg_fail(1)) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 result
= (int)(arg1
)->GetRow();
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= SWIG_From_int((int)(result
));
16781 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16785 PyObject
* obj0
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
16791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16792 if (SWIG_arg_fail(1)) SWIG_fail
;
16794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16795 result
= (int)(arg1
)->GetCol();
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16801 resultobj
= SWIG_From_int((int)(result
));
16809 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16813 PyObject
* obj0
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "self", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16820 if (SWIG_arg_fail(1)) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= (arg1
)->GetPosition();
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16829 wxPoint
* resultptr
;
16830 resultptr
= new wxPoint((wxPoint
&)(result
));
16831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16839 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16843 PyObject
* obj0
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "self", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
16849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16850 if (SWIG_arg_fail(1)) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= (bool)(arg1
)->Selecting();
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16867 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16871 PyObject
* obj0
= 0 ;
16872 char *kwnames
[] = {
16873 (char *) "self", NULL
16876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16878 if (SWIG_arg_fail(1)) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (bool)(arg1
)->ControlDown();
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16895 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16897 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16899 PyObject
* obj0
= 0 ;
16900 char *kwnames
[] = {
16901 (char *) "self", NULL
16904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16906 if (SWIG_arg_fail(1)) SWIG_fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 result
= (bool)(arg1
)->MetaDown();
16911 wxPyEndAllowThreads(__tstate
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16923 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16925 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16927 PyObject
* obj0
= 0 ;
16928 char *kwnames
[] = {
16929 (char *) "self", NULL
16932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16934 if (SWIG_arg_fail(1)) SWIG_fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 result
= (bool)(arg1
)->ShiftDown();
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16951 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16952 PyObject
*resultobj
;
16953 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16955 PyObject
* obj0
= 0 ;
16956 char *kwnames
[] = {
16957 (char *) "self", NULL
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16962 if (SWIG_arg_fail(1)) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 result
= (bool)(arg1
)->AltDown();
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16979 static PyObject
* GridEvent_swigregister(PyObject
*, PyObject
*args
) {
16981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16982 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
16984 return Py_BuildValue((char *)"");
16986 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16990 wxGrid
*arg3
= (wxGrid
*) 0 ;
16991 int arg4
= (int) -1 ;
16992 int arg5
= (int) -1 ;
16993 int arg6
= (int) -1 ;
16994 bool arg7
= (bool) false ;
16995 bool arg8
= (bool) false ;
16996 bool arg9
= (bool) false ;
16997 bool arg10
= (bool) false ;
16998 wxGridSizeEvent
*result
;
16999 PyObject
* obj0
= 0 ;
17000 PyObject
* obj1
= 0 ;
17001 PyObject
* obj2
= 0 ;
17002 PyObject
* obj3
= 0 ;
17003 PyObject
* obj4
= 0 ;
17004 PyObject
* obj5
= 0 ;
17005 PyObject
* obj6
= 0 ;
17006 PyObject
* obj7
= 0 ;
17007 PyObject
* obj8
= 0 ;
17008 PyObject
* obj9
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17015 arg1
= (int)(SWIG_As_int(obj0
));
17016 if (SWIG_arg_fail(1)) SWIG_fail
;
17019 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
17020 if (SWIG_arg_fail(2)) SWIG_fail
;
17022 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
17023 if (SWIG_arg_fail(3)) SWIG_fail
;
17026 arg4
= (int)(SWIG_As_int(obj3
));
17027 if (SWIG_arg_fail(4)) SWIG_fail
;
17032 arg5
= (int)(SWIG_As_int(obj4
));
17033 if (SWIG_arg_fail(5)) SWIG_fail
;
17038 arg6
= (int)(SWIG_As_int(obj5
));
17039 if (SWIG_arg_fail(6)) SWIG_fail
;
17044 arg7
= (bool)(SWIG_As_bool(obj6
));
17045 if (SWIG_arg_fail(7)) SWIG_fail
;
17050 arg8
= (bool)(SWIG_As_bool(obj7
));
17051 if (SWIG_arg_fail(8)) SWIG_fail
;
17056 arg9
= (bool)(SWIG_As_bool(obj8
));
17057 if (SWIG_arg_fail(9)) SWIG_fail
;
17062 arg10
= (bool)(SWIG_As_bool(obj9
));
17063 if (SWIG_arg_fail(10)) SWIG_fail
;
17067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17068 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
17080 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17084 PyObject
* obj0
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
17090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17091 if (SWIG_arg_fail(1)) SWIG_fail
;
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 result
= (int)(arg1
)->GetRowOrCol();
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= SWIG_From_int((int)(result
));
17108 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17112 PyObject
* obj0
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "self", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17119 if (SWIG_arg_fail(1)) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= (arg1
)->GetPosition();
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 wxPoint
* resultptr
;
17129 resultptr
= new wxPoint((wxPoint
&)(result
));
17130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17138 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17139 PyObject
*resultobj
;
17140 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17142 PyObject
* obj0
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "self", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17149 if (SWIG_arg_fail(1)) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= (bool)(arg1
)->ControlDown();
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17166 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
;
17168 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17170 PyObject
* obj0
= 0 ;
17171 char *kwnames
[] = {
17172 (char *) "self", NULL
17175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17177 if (SWIG_arg_fail(1)) SWIG_fail
;
17179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17180 result
= (bool)(arg1
)->MetaDown();
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17194 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17196 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17198 PyObject
* obj0
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17205 if (SWIG_arg_fail(1)) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 result
= (bool)(arg1
)->ShiftDown();
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17222 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17223 PyObject
*resultobj
;
17224 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17226 PyObject
* obj0
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17233 if (SWIG_arg_fail(1)) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 result
= (bool)(arg1
)->AltDown();
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17250 static PyObject
* GridSizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17253 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
17255 return Py_BuildValue((char *)"");
17257 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17261 wxGrid
*arg3
= (wxGrid
*) 0 ;
17262 wxGridCellCoords
*arg4
= 0 ;
17263 wxGridCellCoords
*arg5
= 0 ;
17264 bool arg6
= (bool) true ;
17265 bool arg7
= (bool) false ;
17266 bool arg8
= (bool) false ;
17267 bool arg9
= (bool) false ;
17268 bool arg10
= (bool) false ;
17269 wxGridRangeSelectEvent
*result
;
17270 wxGridCellCoords temp4
;
17271 wxGridCellCoords temp5
;
17272 PyObject
* obj0
= 0 ;
17273 PyObject
* obj1
= 0 ;
17274 PyObject
* obj2
= 0 ;
17275 PyObject
* obj3
= 0 ;
17276 PyObject
* obj4
= 0 ;
17277 PyObject
* obj5
= 0 ;
17278 PyObject
* obj6
= 0 ;
17279 PyObject
* obj7
= 0 ;
17280 PyObject
* obj8
= 0 ;
17281 PyObject
* obj9
= 0 ;
17282 char *kwnames
[] = {
17283 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17288 arg1
= (int)(SWIG_As_int(obj0
));
17289 if (SWIG_arg_fail(1)) SWIG_fail
;
17292 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
17293 if (SWIG_arg_fail(2)) SWIG_fail
;
17295 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
17296 if (SWIG_arg_fail(3)) SWIG_fail
;
17299 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
17303 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
17307 arg6
= (bool)(SWIG_As_bool(obj5
));
17308 if (SWIG_arg_fail(6)) SWIG_fail
;
17313 arg7
= (bool)(SWIG_As_bool(obj6
));
17314 if (SWIG_arg_fail(7)) SWIG_fail
;
17319 arg8
= (bool)(SWIG_As_bool(obj7
));
17320 if (SWIG_arg_fail(8)) SWIG_fail
;
17325 arg9
= (bool)(SWIG_As_bool(obj8
));
17326 if (SWIG_arg_fail(9)) SWIG_fail
;
17331 arg10
= (bool)(SWIG_As_bool(obj9
));
17332 if (SWIG_arg_fail(10)) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
17349 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17352 wxGridCellCoords result
;
17353 PyObject
* obj0
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
17359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17360 if (SWIG_arg_fail(1)) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= (arg1
)->GetTopLeftCoords();
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17369 wxGridCellCoords
* resultptr
;
17370 resultptr
= new wxGridCellCoords((wxGridCellCoords
&)(result
));
17371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
17379 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17381 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17382 wxGridCellCoords result
;
17383 PyObject
* obj0
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
17389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17390 if (SWIG_arg_fail(1)) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 result
= (arg1
)->GetBottomRightCoords();
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17399 wxGridCellCoords
* resultptr
;
17400 resultptr
= new wxGridCellCoords((wxGridCellCoords
&)(result
));
17401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
17409 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
;
17411 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17413 PyObject
* obj0
= 0 ;
17414 char *kwnames
[] = {
17415 (char *) "self", NULL
17418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
17419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17420 if (SWIG_arg_fail(1)) SWIG_fail
;
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 result
= (int)(arg1
)->GetTopRow();
17425 wxPyEndAllowThreads(__tstate
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17429 resultobj
= SWIG_From_int((int)(result
));
17437 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17441 PyObject
* obj0
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
17447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17448 if (SWIG_arg_fail(1)) SWIG_fail
;
17450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17451 result
= (int)(arg1
)->GetBottomRow();
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= SWIG_From_int((int)(result
));
17465 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
;
17467 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17469 PyObject
* obj0
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
17475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17476 if (SWIG_arg_fail(1)) SWIG_fail
;
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 result
= (int)(arg1
)->GetLeftCol();
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= SWIG_From_int((int)(result
));
17493 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17497 PyObject
* obj0
= 0 ;
17498 char *kwnames
[] = {
17499 (char *) "self", NULL
17502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
17503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17504 if (SWIG_arg_fail(1)) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (int)(arg1
)->GetRightCol();
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= SWIG_From_int((int)(result
));
17521 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17525 PyObject
* obj0
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
17531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17532 if (SWIG_arg_fail(1)) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (bool)(arg1
)->Selecting();
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17549 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
;
17551 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17553 PyObject
* obj0
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17560 if (SWIG_arg_fail(1)) SWIG_fail
;
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 result
= (bool)(arg1
)->ControlDown();
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17577 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17579 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17581 PyObject
* obj0
= 0 ;
17582 char *kwnames
[] = {
17583 (char *) "self", NULL
17586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17588 if (SWIG_arg_fail(1)) SWIG_fail
;
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 result
= (bool)(arg1
)->MetaDown();
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17605 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17609 PyObject
* obj0
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "self", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17616 if (SWIG_arg_fail(1)) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= (bool)(arg1
)->ShiftDown();
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17633 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17637 PyObject
* obj0
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17644 if (SWIG_arg_fail(1)) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (bool)(arg1
)->AltDown();
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17661 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*, PyObject
*args
) {
17663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17664 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
17666 return Py_BuildValue((char *)"");
17668 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17672 wxObject
*arg3
= (wxObject
*) 0 ;
17675 wxControl
*arg6
= (wxControl
*) 0 ;
17676 wxGridEditorCreatedEvent
*result
;
17677 PyObject
* obj0
= 0 ;
17678 PyObject
* obj1
= 0 ;
17679 PyObject
* obj2
= 0 ;
17680 PyObject
* obj3
= 0 ;
17681 PyObject
* obj4
= 0 ;
17682 PyObject
* obj5
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17689 arg1
= (int)(SWIG_As_int(obj0
));
17690 if (SWIG_arg_fail(1)) SWIG_fail
;
17693 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
17694 if (SWIG_arg_fail(2)) SWIG_fail
;
17696 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
17697 if (SWIG_arg_fail(3)) SWIG_fail
;
17699 arg4
= (int)(SWIG_As_int(obj3
));
17700 if (SWIG_arg_fail(4)) SWIG_fail
;
17703 arg5
= (int)(SWIG_As_int(obj4
));
17704 if (SWIG_arg_fail(5)) SWIG_fail
;
17706 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
17707 if (SWIG_arg_fail(6)) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
17722 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17726 PyObject
* obj0
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
17732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17733 if (SWIG_arg_fail(1)) SWIG_fail
;
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 result
= (int)(arg1
)->GetRow();
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17742 resultobj
= SWIG_From_int((int)(result
));
17750 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
;
17752 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17754 PyObject
* obj0
= 0 ;
17755 char *kwnames
[] = {
17756 (char *) "self", NULL
17759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
17760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17761 if (SWIG_arg_fail(1)) SWIG_fail
;
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 result
= (int)(arg1
)->GetCol();
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= SWIG_From_int((int)(result
));
17778 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17782 PyObject
* obj0
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
17788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17789 if (SWIG_arg_fail(1)) SWIG_fail
;
17791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17792 result
= (wxControl
*)(arg1
)->GetControl();
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= wxPyMake_wxObject(result
, 0);
17806 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17807 PyObject
*resultobj
;
17808 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17810 PyObject
* obj0
= 0 ;
17811 PyObject
* obj1
= 0 ;
17812 char *kwnames
[] = {
17813 (char *) "self",(char *) "row", NULL
17816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
17817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17818 if (SWIG_arg_fail(1)) SWIG_fail
;
17820 arg2
= (int)(SWIG_As_int(obj1
));
17821 if (SWIG_arg_fail(2)) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 (arg1
)->SetRow(arg2
);
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 Py_INCREF(Py_None
); resultobj
= Py_None
;
17837 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "col", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
17848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17849 if (SWIG_arg_fail(1)) SWIG_fail
;
17851 arg2
= (int)(SWIG_As_int(obj1
));
17852 if (SWIG_arg_fail(2)) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 (arg1
)->SetCol(arg2
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 Py_INCREF(Py_None
); resultobj
= Py_None
;
17868 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17871 wxControl
*arg2
= (wxControl
*) 0 ;
17872 PyObject
* obj0
= 0 ;
17873 PyObject
* obj1
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self",(char *) "ctrl", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17880 if (SWIG_arg_fail(1)) SWIG_fail
;
17881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
17882 if (SWIG_arg_fail(2)) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 (arg1
)->SetControl(arg2
);
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 Py_INCREF(Py_None
); resultobj
= Py_None
;
17897 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*, PyObject
*args
) {
17899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17900 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
17902 return Py_BuildValue((char *)"");
17904 static PyMethodDef SwigMethods
[] = {
17905 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17906 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17907 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17908 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17909 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17910 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17911 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17912 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
17913 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17914 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17915 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17916 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
17917 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17918 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
17919 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17920 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
17921 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17922 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17923 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17924 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17925 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17926 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
17927 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17928 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
17929 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17930 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
17931 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17932 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
17933 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17934 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
17935 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17936 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17937 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17938 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17939 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17940 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17941 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17942 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17943 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17944 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17945 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17946 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17947 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17948 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17949 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17950 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17951 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17952 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17953 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17954 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17955 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17956 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17957 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
17958 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17959 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17960 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17961 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17962 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17963 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17964 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17965 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17966 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17967 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17968 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17969 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
17970 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17971 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17972 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
17973 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17974 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17975 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
17976 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17977 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17978 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
17979 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17980 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17981 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
17982 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17983 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17984 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
17985 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17986 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17987 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
17988 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17989 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17990 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
17991 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17992 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17993 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17994 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17995 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17996 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17997 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17998 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17999 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18000 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18001 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18002 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18003 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18004 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18005 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18006 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18007 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18008 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18009 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18010 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18011 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18012 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18013 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18014 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18015 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18016 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18017 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18018 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18019 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18020 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18021 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18022 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18023 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18024 { (char *)"GridCellAttr_GetKind", (PyCFunction
) _wrap_GridCellAttr_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18025 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18026 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
18027 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18028 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18029 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18030 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18031 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18032 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18033 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18034 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18035 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
18036 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18037 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18038 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18039 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18040 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18041 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18042 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
18043 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18044 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18045 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18046 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18047 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18048 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18049 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18050 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18051 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18052 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18053 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18054 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18055 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18056 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18057 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18058 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18059 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18060 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18061 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18062 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18063 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18064 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18065 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18066 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18067 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18068 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18069 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18070 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18071 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18072 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18073 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18074 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18075 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18076 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18077 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18078 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
18079 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18080 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18081 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18082 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18083 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18084 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18085 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18086 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18087 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18088 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18089 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18090 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18091 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18092 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18093 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18094 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18095 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18096 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18097 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18098 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18099 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18100 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18101 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
18102 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18103 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
18104 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18105 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18106 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18107 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18108 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18109 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18110 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18111 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18112 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18113 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18114 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
18115 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18116 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18117 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18118 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18119 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18120 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18121 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18122 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18123 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18124 { (char *)"GridCellCoords_Get", (PyCFunction
) _wrap_GridCellCoords_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18125 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
18126 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18127 { (char *)"new_PreGrid", (PyCFunction
) _wrap_new_PreGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18128 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18129 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18130 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18131 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18132 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18133 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18134 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18135 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18136 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18137 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18138 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18139 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18140 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18141 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18142 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18143 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18144 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18145 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18146 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18147 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18148 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18149 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18150 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18151 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18152 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18153 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18154 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18155 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18156 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18157 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18158 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18159 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18160 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18161 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18162 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18163 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18164 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18165 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18166 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18167 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18168 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18169 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18170 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18171 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18172 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18173 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18174 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18175 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18176 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18177 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18178 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18179 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18180 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18181 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18182 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18183 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18184 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18185 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18186 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18187 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18188 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18189 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18190 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18191 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18192 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18193 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18194 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18195 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18196 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18197 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18198 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18199 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18200 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18201 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18202 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18203 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18204 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18205 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18206 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18207 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18208 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18209 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18210 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18211 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18212 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18213 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18214 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18215 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18216 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18217 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18218 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18219 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18220 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18221 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18222 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18223 { (char *)"Grid_DisableDragCell", (PyCFunction
) _wrap_Grid_DisableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18224 { (char *)"Grid_CanDragCell", (PyCFunction
) _wrap_Grid_CanDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18225 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18226 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18227 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18228 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18229 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18230 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18231 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18232 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18233 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18234 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18235 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18236 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18237 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18238 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18239 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18240 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18241 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18242 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18243 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18244 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18245 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18246 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18247 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18248 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18249 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18250 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18251 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18252 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18253 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18254 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18255 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18256 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18257 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18258 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18259 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18260 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18261 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18262 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18263 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18264 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18265 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18266 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18267 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18268 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18269 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18270 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18271 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18272 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18273 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18274 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18275 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18276 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18277 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18278 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18279 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18280 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18281 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18282 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18283 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18284 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18285 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18286 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18287 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18288 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18289 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18290 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18291 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18292 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18293 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18294 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18295 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18296 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18297 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18298 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18299 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18300 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18301 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18302 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18303 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18304 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18305 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18306 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18307 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18308 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18309 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18310 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18311 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18312 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18313 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18314 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18315 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18316 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18317 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18318 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18319 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18320 { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18321 { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18322 { (char *)"Grid_GetScrollLineX", (PyCFunction
) _wrap_Grid_GetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18323 { (char *)"Grid_GetScrollLineY", (PyCFunction
) _wrap_Grid_GetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18324 { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18325 { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18326 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18327 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
18328 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18329 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18330 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18331 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18332 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18333 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18334 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18335 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18336 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18337 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
18338 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18339 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18340 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18341 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18342 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18343 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18344 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18345 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
18346 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18347 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18348 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18349 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18350 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18351 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18352 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18353 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18354 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18355 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18356 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18357 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18358 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
18359 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18360 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18361 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18362 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18363 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18364 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18365 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18366 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
18367 { NULL
, NULL
, 0, NULL
}
18371 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18373 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
18374 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
18376 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
18377 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
18379 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
18380 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
18382 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
18383 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
18385 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
18386 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
18388 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
18389 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
18391 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
18392 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
18394 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
18395 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
18397 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
18398 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
18400 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
18401 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
18403 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
18404 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
18406 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
18407 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
18409 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
18410 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
18412 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
18413 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
18415 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
18416 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18418 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
18419 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18421 static void *_p_wxGridTo_p_wxPanel(void *x
) {
18422 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
18424 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
18425 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18427 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
18428 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18430 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
18431 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
18433 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
18434 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18436 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
18437 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
18439 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
18440 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18442 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
18443 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18445 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
18446 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18448 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
18449 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18451 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
18452 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
18454 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
18455 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18457 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
18458 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
18460 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
18461 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18463 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
18464 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18466 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
18467 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18469 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
18470 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
18472 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18473 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18475 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
18476 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18478 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
18479 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18481 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
18482 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18484 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
18485 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18487 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
18488 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18490 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
18491 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18493 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
18494 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18496 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
18497 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18499 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
18500 return (void *)((wxWindow
*) ((wxPanel
*) x
));
18502 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
18503 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
18505 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
18506 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18508 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
18509 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18511 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
18512 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18514 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
18515 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
18517 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
18518 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18520 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
18521 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
18523 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
18524 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
18526 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
18527 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
18529 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
18530 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
18532 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
18533 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
18535 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
18536 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
18538 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
18539 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18541 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18542 return (void *)((wxWindow
*) ((wxControl
*) x
));
18544 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
18545 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18547 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
18548 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18550 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
18551 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18553 static void *_p_wxGridTo_p_wxWindow(void *x
) {
18554 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
18556 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18557 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18559 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
18560 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
18562 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
18563 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18565 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
18566 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18568 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
18569 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18571 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
18572 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
18574 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
18575 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18577 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
18578 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
18580 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
18581 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18583 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
18584 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18586 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
18587 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18589 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
18590 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
18592 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
18593 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18595 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
18596 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
18598 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
18599 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18601 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
18602 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
18604 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
18605 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
18607 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
18608 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
18610 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
18611 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
18613 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
18614 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
18616 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
18617 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18619 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
18620 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
18622 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
18623 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
18625 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
18626 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18628 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
18629 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
18631 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
18632 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18634 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
18635 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18637 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
18638 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18640 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
18641 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
18643 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
18644 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18646 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
18647 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18649 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
18650 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
18652 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
18653 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
18655 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
18656 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
18658 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
18659 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
18661 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
18662 return (void *)((wxEvent
*) ((wxMoveEvent
*) 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_wxIdleEventTo_p_wxObject(void *x
) {
18905 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18907 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18908 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18910 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18911 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18913 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18914 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18916 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18917 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18919 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18920 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18922 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18923 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18925 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18926 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18928 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
18929 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18931 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18932 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) 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_wxImageHandlerTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18964 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18967 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18970 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18973 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18976 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18979 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
18980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18982 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
18983 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
18985 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18986 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18988 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
18989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18991 static void *_p_wxImageTo_p_wxObject(void *x
) {
18992 return (void *)((wxObject
*) ((wxImage
*) x
));
18994 static void *_p_wxFrameTo_p_wxObject(void *x
) {
18995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18997 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
18998 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
19000 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19001 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19003 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
19004 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
19006 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
19007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
19009 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
19010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19012 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19013 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19015 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19016 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19018 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19019 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19021 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19022 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19024 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19025 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19027 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19030 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
19031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
19033 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
19034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
19036 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
19037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
19039 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
19040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
19042 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
19043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
19045 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
19046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19048 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
19049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
19051 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
19052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19054 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
19055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
19057 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
19058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19060 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
19061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
19063 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
19064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19066 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
19067 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
19069 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
19070 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
19072 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
19073 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
19075 static void *_p_wxPanelTo_p_wxObject(void *x
) {
19076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
19078 static void *_p_wxDialogTo_p_wxObject(void *x
) {
19079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
19081 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
19082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19084 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
19085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19087 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
19088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19090 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
19091 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
19093 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
19094 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
19096 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19097 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19099 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19100 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19102 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19103 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19105 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19106 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19108 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19109 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19111 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19112 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19114 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19115 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19117 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
19118 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
19120 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
19121 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
19123 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19124 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19126 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19127 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19129 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
19130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
19132 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
19133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19135 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19136 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19138 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19139 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19141 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19142 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19144 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19147 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
19148 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
19150 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
19151 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
19153 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19156 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19157 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19159 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
19160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
19162 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
19163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
19165 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
19166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
19168 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
19169 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
19171 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
19172 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
19174 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
19175 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
19177 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
19178 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
19180 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
19181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19183 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
19184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
19186 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
19187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19189 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
19190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19192 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
19193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
19195 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
19196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
19198 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
19199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
19201 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
19202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
19204 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
19205 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
19207 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
19208 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
19210 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
19211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19213 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
19214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
19216 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
19217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19219 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
19220 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
19222 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
19223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19225 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
19226 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
19228 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
19229 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
19231 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
19232 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
19234 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
19235 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
19237 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
19238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
19240 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
19241 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
19243 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
19244 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
19246 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
19247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19249 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
19250 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
19252 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
19253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
19255 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
19256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
19258 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
19259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
19261 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
19262 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
19264 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
19265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
19267 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
19268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19270 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
19271 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
19273 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
19274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19276 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
19277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19279 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
19280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19282 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
19283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
19285 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
19286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19288 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
19289 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
19291 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
19292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
19294 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
19295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19297 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
19298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19300 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
19301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
19303 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
19304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19306 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
19307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19309 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
19310 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
19312 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
19313 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
19315 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
19316 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
19318 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
19319 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
19321 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
19322 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
19324 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
19325 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
19327 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
19328 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
19330 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
19331 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
19333 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
19334 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
19336 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
19337 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
19339 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
19340 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
19342 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
19343 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
19345 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
19346 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
19348 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19349 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19351 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19352 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19354 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19355 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19357 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19358 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19360 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19361 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19363 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19364 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19366 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19367 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19369 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
19370 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
19372 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
19373 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
19375 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19376 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19378 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
19379 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
19381 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
19382 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
19384 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19385 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19387 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19388 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19390 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19391 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19393 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
19394 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
19396 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
19397 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
19399 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}};
19400 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}};
19401 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}};
19402 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}};
19403 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}};
19404 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}};
19405 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}};
19406 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}};
19407 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}};
19408 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}};
19409 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}};
19410 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}};
19411 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}};
19412 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}};
19413 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}};
19414 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}};
19415 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}};
19416 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}};
19417 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}};
19418 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}};
19419 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}};
19420 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}};
19421 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}};
19422 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}};
19423 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}};
19424 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}};
19425 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}};
19426 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_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}};
19427 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_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_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_wxXPMHandler", _p_wxXPMHandlerTo_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_wxImageHandler", _p_wxImageHandlerTo_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}};
19428 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}};
19429 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}};
19430 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}};
19431 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}};
19432 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}};
19433 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}};
19434 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}};
19435 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}};
19436 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}};
19437 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}};
19438 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}};
19439 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}};
19440 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}};
19441 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}};
19442 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}};
19443 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}};
19444 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}};
19445 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}};
19446 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}};
19447 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}};
19448 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}};
19449 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}};
19450 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}};
19451 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}};
19452 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_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}};
19453 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}};
19454 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}};
19455 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}};
19456 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}};
19457 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}};
19458 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}};
19459 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}};
19460 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}};
19462 static swig_type_info
*swig_types_initial
[] = {
19463 _swigt__p_wxGridCellNumberRenderer
,
19464 _swigt__p_wxPyGridCellRenderer
,
19465 _swigt__p_wxGridCellRenderer
,
19466 _swigt__p_wxGridCellStringRenderer
,
19467 _swigt__p_wxGridCellAttr
,
19468 _swigt__p_wxGridCellFloatRenderer
,
19469 _swigt__p_wxGridCellBoolRenderer
,
19470 _swigt__p_wxGridCellDateTimeRenderer
,
19471 _swigt__p_wxGridCellEnumRenderer
,
19472 _swigt__p_wxGridCellAutoWrapStringRenderer
,
19473 _swigt__p_wxColour
,
19475 _swigt__p_form_ops_t
,
19476 _swigt__p_wxDuplexMode
,
19477 _swigt__p_wxGridTableMessage
,
19479 _swigt__p_wxVisualAttributes
,
19482 _swigt__p_wxNotifyEvent
,
19483 _swigt__p_wxGridRangeSelectEvent
,
19485 _swigt__p_wxGridCellCoords
,
19486 _swigt__p_wxScrolledWindow
,
19487 _swigt__p_wxWindow
,
19489 _swigt__p_wxControl
,
19491 _swigt__p_wxObject
,
19492 _swigt__p_wxGridSizeEvent
,
19495 _swigt__p_wxPaperSize
,
19496 _swigt__p_unsigned_int
,
19497 _swigt__unsigned_int
,
19498 _swigt__p_wxString
,
19499 _swigt__p_wxEvtHandler
,
19501 _swigt__p_wxGridEvent
,
19502 _swigt__p_wxGridEditorCreatedEvent
,
19503 _swigt__p_wxGridTableBase
,
19504 _swigt__p_wxGridCellEditor
,
19505 _swigt__p_wxGridCellTextEditor
,
19506 _swigt__p_wxPyGridCellEditor
,
19507 _swigt__p_wxGridCellNumberEditor
,
19508 _swigt__p_wxGridCellFloatEditor
,
19509 _swigt__p_wxGridCellBoolEditor
,
19510 _swigt__p_wxPyGridTableBase
,
19511 _swigt__p_wxGridStringTable
,
19512 _swigt__p_unsigned_char
,
19513 _swigt__std__ptrdiff_t
,
19515 _swigt__p_wxArrayString
,
19516 _swigt__p_wxCommandEvent
,
19518 _swigt__p_wxGridCellAttrProvider
,
19519 _swigt__p_wxGridCellChoiceEditor
,
19520 _swigt__p_wxKeyEvent
,
19521 _swigt__p_wxGridCellEnumEditor
,
19522 _swigt__p_wxGridCellAutoWrapStringEditor
,
19523 _swigt__p_wxPyGridCellAttrProvider
,
19524 _swigt__p_unsigned_long
,
19529 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19531 static swig_const_info swig_const_table
[] = {
19532 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
19533 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
19534 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
19535 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
19536 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
19537 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
19538 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
19539 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
19540 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
19541 {0, 0, 0, 0.0, 0, 0}};
19552 /* Python-specific SWIG API */
19553 #define SWIG_newvarlink() SWIG_Python_newvarlink()
19554 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
19555 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
19557 /* -----------------------------------------------------------------------------
19558 * global variable support code.
19559 * ----------------------------------------------------------------------------- */
19561 typedef struct swig_globalvar
{
19562 char *name
; /* Name of global variable */
19563 PyObject
*(*get_attr
)(); /* Return the current value */
19564 int (*set_attr
)(PyObject
*); /* Set the value */
19565 struct swig_globalvar
*next
;
19568 typedef struct swig_varlinkobject
{
19570 swig_globalvar
*vars
;
19571 } swig_varlinkobject
;
19574 swig_varlink_repr(swig_varlinkobject
*v
) {
19576 return PyString_FromString("<Swig global variables>");
19580 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
19581 swig_globalvar
*var
;
19583 fprintf(fp
,"Swig global variables { ");
19584 for (var
= v
->vars
; var
; var
=var
->next
) {
19585 fprintf(fp
,"%s", var
->name
);
19586 if (var
->next
) fprintf(fp
,", ");
19588 fprintf(fp
," }\n");
19593 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
19594 swig_globalvar
*var
= v
->vars
;
19596 if (strcmp(var
->name
,n
) == 0) {
19597 return (*var
->get_attr
)();
19601 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
19606 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
19607 swig_globalvar
*var
= v
->vars
;
19609 if (strcmp(var
->name
,n
) == 0) {
19610 return (*var
->set_attr
)(p
);
19614 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
19618 static PyTypeObject varlinktype
= {
19619 PyObject_HEAD_INIT(0)
19620 0, /* Number of items in variable part (ob_size) */
19621 (char *)"swigvarlink", /* Type name (tp_name) */
19622 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
19623 0, /* Itemsize (tp_itemsize) */
19624 0, /* Deallocator (tp_dealloc) */
19625 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
19626 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
19627 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
19628 0, /* tp_compare */
19629 (reprfunc
) swig_varlink_repr
, /* tp_repr */
19630 0, /* tp_as_number */
19631 0, /* tp_as_sequence */
19632 0, /* tp_as_mapping */
19636 0, /* tp_getattro */
19637 0, /* tp_setattro */
19638 0, /* tp_as_buffer */
19641 #if PY_VERSION_HEX >= 0x02000000
19642 0, /* tp_traverse */
19645 #if PY_VERSION_HEX >= 0x02010000
19646 0, /* tp_richcompare */
19647 0, /* tp_weaklistoffset */
19649 #if PY_VERSION_HEX >= 0x02020000
19650 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
19652 #if PY_VERSION_HEX >= 0x02030000
19655 #ifdef COUNT_ALLOCS
19656 0,0,0,0 /* tp_alloc -> tp_next */
19660 /* Create a variable linking object for use later */
19662 SWIG_Python_newvarlink(void) {
19663 swig_varlinkobject
*result
= 0;
19664 result
= PyMem_NEW(swig_varlinkobject
,1);
19665 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
19666 result
->ob_type
= &varlinktype
;
19668 result
->ob_refcnt
= 0;
19669 Py_XINCREF((PyObject
*) result
);
19670 return ((PyObject
*) result
);
19674 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
19675 swig_varlinkobject
*v
;
19676 swig_globalvar
*gv
;
19677 v
= (swig_varlinkobject
*) p
;
19678 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
19679 gv
->name
= (char *) malloc(strlen(name
)+1);
19680 strcpy(gv
->name
,name
);
19681 gv
->get_attr
= get_attr
;
19682 gv
->set_attr
= set_attr
;
19683 gv
->next
= v
->vars
;
19687 /* -----------------------------------------------------------------------------
19688 * constants/methods manipulation
19689 * ----------------------------------------------------------------------------- */
19691 /* Install Constants */
19693 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
19696 for (i
= 0; constants
[i
].type
; i
++) {
19697 switch(constants
[i
].type
) {
19699 obj
= PyInt_FromLong(constants
[i
].lvalue
);
19701 case SWIG_PY_FLOAT
:
19702 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
19704 case SWIG_PY_STRING
:
19705 if (constants
[i
].pvalue
) {
19706 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
19708 Py_INCREF(Py_None
);
19712 case SWIG_PY_POINTER
:
19713 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
19715 case SWIG_PY_BINARY
:
19716 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
19723 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
19729 /* -----------------------------------------------------------------------------*/
19730 /* Fix SwigMethods to carry the callback ptrs when needed */
19731 /* -----------------------------------------------------------------------------*/
19734 SWIG_Python_FixMethods(PyMethodDef
*methods
,
19735 swig_const_info
*const_table
,
19736 swig_type_info
**types
,
19737 swig_type_info
**types_initial
) {
19739 for (i
= 0; methods
[i
].ml_name
; ++i
) {
19740 char *c
= methods
[i
].ml_doc
;
19741 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
19743 swig_const_info
*ci
= 0;
19744 char *name
= c
+ 10;
19745 for (j
= 0; const_table
[j
].type
; j
++) {
19746 if (strncmp(const_table
[j
].name
, name
,
19747 strlen(const_table
[j
].name
)) == 0) {
19748 ci
= &(const_table
[j
]);
19753 size_t shift
= (ci
->ptype
) - types
;
19754 swig_type_info
*ty
= types_initial
[shift
];
19755 size_t ldoc
= (c
- methods
[i
].ml_doc
);
19756 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
19757 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
19759 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
19760 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
19762 strncpy(buff
, "swig_ptr: ", 10);
19764 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
19765 methods
[i
].ml_doc
= ndoc
;
19771 /* -----------------------------------------------------------------------------*
19772 * Initialize type list
19773 * -----------------------------------------------------------------------------*/
19775 #if PY_MAJOR_VERSION < 2
19776 /* PyModule_AddObject function was introduced in Python 2.0. The following function
19777 is copied out of Python/modsupport.c in python version 2.3.4 */
19779 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
19782 if (!PyModule_Check(m
)) {
19783 PyErr_SetString(PyExc_TypeError
,
19784 "PyModule_AddObject() needs module as first arg");
19788 PyErr_SetString(PyExc_TypeError
,
19789 "PyModule_AddObject() needs non-NULL value");
19793 dict
= PyModule_GetDict(m
);
19794 if (dict
== NULL
) {
19795 /* Internal error -- modules must have a dict! */
19796 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
19797 PyModule_GetName(m
));
19800 if (PyDict_SetItemString(dict
, name
, o
))
19807 static swig_type_info
**
19808 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
19809 static PyMethodDef swig_empty_runtime_method_table
[] = {
19811 NULL
, NULL
, 0, NULL
19815 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
19816 swig_empty_runtime_method_table
);
19817 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
19818 if (pointer
&& module) {
19819 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
19821 return type_list_handle
;
19824 static swig_type_info
**
19825 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
19826 swig_type_info
**type_pointer
;
19828 /* first check if module already created */
19829 type_pointer
= SWIG_Python_GetTypeListHandle();
19830 if (type_pointer
) {
19831 return type_pointer
;
19833 /* create a new module and variable */
19834 return SWIG_Python_SetTypeListHandle(type_list_handle
);
19842 /* -----------------------------------------------------------------------------*
19843 * Partial Init method
19844 * -----------------------------------------------------------------------------*/
19846 #ifdef SWIG_LINK_RUNTIME
19850 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
19856 SWIGEXPORT(void) SWIG_init(void) {
19857 static PyObject
*SWIG_globals
= 0;
19858 static int typeinit
= 0;
19861 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19863 /* Fix SwigMethods to carry the callback ptrs when needed */
19864 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
19866 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19867 d
= PyModule_GetDict(m
);
19870 #ifdef SWIG_LINK_RUNTIME
19871 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
19873 # ifndef SWIG_STATIC_RUNTIME
19874 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
19877 for (i
= 0; swig_types_initial
[i
]; i
++) {
19878 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19882 SWIG_InstallConstants(d
,swig_const_table
);
19884 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
19885 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
19886 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
19887 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
19888 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
19889 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
19890 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
19891 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
19892 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
19893 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19894 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
19895 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
19897 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int((int)(wxGRID_DEFAULT_NUMBER_ROWS
)));
19900 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int((int)(wxGRID_DEFAULT_NUMBER_COLS
)));
19903 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int((int)(wxGRID_DEFAULT_ROW_HEIGHT
)));
19906 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_COL_WIDTH
)));
19909 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int((int)(wxGRID_DEFAULT_COL_LABEL_HEIGHT
)));
19912 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_ROW_LABEL_WIDTH
)));
19915 PyDict_SetItemString(d
,"GRID_LABEL_EDGE_ZONE", SWIG_From_int((int)(wxGRID_LABEL_EDGE_ZONE
)));
19918 PyDict_SetItemString(d
,"GRID_MIN_ROW_HEIGHT", SWIG_From_int((int)(wxGRID_MIN_ROW_HEIGHT
)));
19921 PyDict_SetItemString(d
,"GRID_MIN_COL_WIDTH", SWIG_From_int((int)(wxGRID_MIN_COL_WIDTH
)));
19924 PyDict_SetItemString(d
,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_SCROLLBAR_WIDTH
)));
19927 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_From_int((int)(wxGridCellAttr::Any
)));
19930 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_From_int((int)(wxGridCellAttr::Default
)));
19933 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_From_int((int)(wxGridCellAttr::Cell
)));
19936 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_From_int((int)(wxGridCellAttr::Row
)));
19939 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_From_int((int)(wxGridCellAttr::Col
)));
19942 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_From_int((int)(wxGridCellAttr::Merged
)));
19945 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int((int)(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)));
19948 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int((int)(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)));
19951 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)));
19954 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)));
19957 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_DELETED
)));
19960 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_INSERTED
)));
19963 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_APPENDED
)));
19966 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_DELETED
)));
19969 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_From_int((int)(wxGrid::wxGridSelectCells
)));
19972 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_From_int((int)(wxGrid::wxGridSelectRows
)));
19975 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_From_int((int)(wxGrid::wxGridSelectColumns
)));
19977 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
19978 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
19979 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
19980 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
19981 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
19982 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
19983 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
19984 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
19985 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
19986 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
19987 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
19988 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
19989 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
19990 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
19991 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
19992 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
19993 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));