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
wxPyDateTimeFormatStr(wxT("%c"));
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_DateTimeFormatStr_set(PyObject
*) {
2641 PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only.");
2646 static PyObject
*_wrap_DateTimeFormatStr_get(void) {
2651 pyobj
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
2653 pyobj
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
2660 static int _wrap_GridNoCellCoords_set(PyObject
*) {
2661 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
2666 static PyObject
*_wrap_GridNoCellCoords_get(void) {
2669 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0);
2674 static int _wrap_GridNoCellRect_set(PyObject
*) {
2675 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
2680 static PyObject
*_wrap_GridNoCellRect_get(void) {
2683 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0);
2688 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
*resultobj
;
2690 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2691 PyObject
*arg2
= (PyObject
*) 0 ;
2692 PyObject
* obj0
= 0 ;
2693 PyObject
* obj1
= 0 ;
2695 (char *) "self",(char *) "_self", NULL
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2700 if (SWIG_arg_fail(1)) SWIG_fail
;
2703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2704 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
2706 wxPyEndAllowThreads(__tstate
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2709 Py_INCREF(Py_None
); resultobj
= Py_None
;
2716 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
*resultobj
;
2718 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2719 wxString
*arg2
= 0 ;
2720 bool temp2
= false ;
2721 PyObject
* obj0
= 0 ;
2722 PyObject
* obj1
= 0 ;
2724 (char *) "self",(char *) "params", NULL
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2729 if (SWIG_arg_fail(1)) SWIG_fail
;
2731 arg2
= wxString_in_helper(obj1
);
2732 if (arg2
== NULL
) SWIG_fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 (arg1
)->SetParameters((wxString
const &)*arg2
);
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2742 Py_INCREF(Py_None
); resultobj
= Py_None
;
2757 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
*resultobj
;
2759 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2760 PyObject
* obj0
= 0 ;
2762 (char *) "self", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
2766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2767 if (SWIG_arg_fail(1)) SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 Py_INCREF(Py_None
); resultobj
= Py_None
;
2782 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2785 PyObject
* obj0
= 0 ;
2787 (char *) "self", NULL
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
2791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2792 if (SWIG_arg_fail(1)) SWIG_fail
;
2794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 wxPyEndAllowThreads(__tstate
);
2798 if (PyErr_Occurred()) SWIG_fail
;
2800 Py_INCREF(Py_None
); resultobj
= Py_None
;
2807 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
*resultobj
;
2809 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2811 wxGridCellAttr
*arg3
= 0 ;
2818 PyObject
* obj0
= 0 ;
2819 PyObject
* obj1
= 0 ;
2820 PyObject
* obj2
= 0 ;
2821 PyObject
* obj3
= 0 ;
2822 PyObject
* obj4
= 0 ;
2823 PyObject
* obj5
= 0 ;
2824 PyObject
* obj6
= 0 ;
2825 PyObject
* obj7
= 0 ;
2827 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2832 if (SWIG_arg_fail(1)) SWIG_fail
;
2834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
2835 if (SWIG_arg_fail(2)) SWIG_fail
;
2837 SWIG_null_ref("wxGrid");
2839 if (SWIG_arg_fail(2)) SWIG_fail
;
2842 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
2843 if (SWIG_arg_fail(3)) SWIG_fail
;
2845 SWIG_null_ref("wxGridCellAttr");
2847 if (SWIG_arg_fail(3)) SWIG_fail
;
2850 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
2851 if (SWIG_arg_fail(4)) SWIG_fail
;
2853 SWIG_null_ref("wxDC");
2855 if (SWIG_arg_fail(4)) SWIG_fail
;
2859 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
2862 arg6
= (int)(SWIG_As_int(obj5
));
2863 if (SWIG_arg_fail(6)) SWIG_fail
;
2866 arg7
= (int)(SWIG_As_int(obj6
));
2867 if (SWIG_arg_fail(7)) SWIG_fail
;
2870 arg8
= (bool)(SWIG_As_bool(obj7
));
2871 if (SWIG_arg_fail(8)) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2880 Py_INCREF(Py_None
); resultobj
= Py_None
;
2887 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
*resultobj
;
2889 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2891 wxGridCellAttr
*arg3
= 0 ;
2896 PyObject
* obj0
= 0 ;
2897 PyObject
* obj1
= 0 ;
2898 PyObject
* obj2
= 0 ;
2899 PyObject
* obj3
= 0 ;
2900 PyObject
* obj4
= 0 ;
2901 PyObject
* obj5
= 0 ;
2903 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2908 if (SWIG_arg_fail(1)) SWIG_fail
;
2910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
2911 if (SWIG_arg_fail(2)) SWIG_fail
;
2913 SWIG_null_ref("wxGrid");
2915 if (SWIG_arg_fail(2)) SWIG_fail
;
2918 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
2919 if (SWIG_arg_fail(3)) SWIG_fail
;
2921 SWIG_null_ref("wxGridCellAttr");
2923 if (SWIG_arg_fail(3)) SWIG_fail
;
2926 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
2927 if (SWIG_arg_fail(4)) SWIG_fail
;
2929 SWIG_null_ref("wxDC");
2931 if (SWIG_arg_fail(4)) SWIG_fail
;
2934 arg5
= (int)(SWIG_As_int(obj4
));
2935 if (SWIG_arg_fail(5)) SWIG_fail
;
2938 arg6
= (int)(SWIG_As_int(obj5
));
2939 if (SWIG_arg_fail(6)) SWIG_fail
;
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2950 resultptr
= new wxSize((wxSize
&)(result
));
2951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2959 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2962 wxGridCellRenderer
*result
;
2963 PyObject
* obj0
= 0 ;
2965 (char *) "self", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
2969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2970 if (SWIG_arg_fail(1)) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2979 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
2987 static PyObject
* GridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
2989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2990 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
2992 return Py_BuildValue((char *)"");
2994 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
*resultobj
;
2996 wxPyGridCellRenderer
*result
;
3001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1);
3016 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
;
3018 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
3019 PyObject
*arg2
= (PyObject
*) 0 ;
3020 PyObject
*arg3
= (PyObject
*) 0 ;
3021 PyObject
* obj0
= 0 ;
3022 PyObject
* obj1
= 0 ;
3023 PyObject
* obj2
= 0 ;
3025 (char *) "self",(char *) "self",(char *) "_class", NULL
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3030 if (SWIG_arg_fail(1)) SWIG_fail
;
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) SWIG_fail
;
3040 Py_INCREF(Py_None
); resultobj
= Py_None
;
3047 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
*resultobj
;
3049 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
3050 wxString
*arg2
= 0 ;
3051 bool temp2
= false ;
3052 PyObject
* obj0
= 0 ;
3053 PyObject
* obj1
= 0 ;
3055 (char *) "self",(char *) "params", NULL
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3060 if (SWIG_arg_fail(1)) SWIG_fail
;
3062 arg2
= wxString_in_helper(obj1
);
3063 if (arg2
== NULL
) SWIG_fail
;
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3073 Py_INCREF(Py_None
); resultobj
= Py_None
;
3088 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
3090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3091 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
3093 return Py_BuildValue((char *)"");
3095 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
*resultobj
;
3097 wxGridCellStringRenderer
*result
;
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
3104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
3107 wxPyEndAllowThreads(__tstate
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1);
3117 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
3119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3120 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
3122 return Py_BuildValue((char *)"");
3124 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3126 wxGridCellNumberRenderer
*result
;
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
3146 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*, PyObject
*args
) {
3148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3149 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
3151 return Py_BuildValue((char *)"");
3153 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
*resultobj
;
3155 int arg1
= (int) -1 ;
3156 int arg2
= (int) -1 ;
3157 wxGridCellFloatRenderer
*result
;
3158 PyObject
* obj0
= 0 ;
3159 PyObject
* obj1
= 0 ;
3161 (char *) "width",(char *) "precision", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3167 arg1
= (int)(SWIG_As_int(obj0
));
3168 if (SWIG_arg_fail(1)) SWIG_fail
;
3173 arg2
= (int)(SWIG_As_int(obj1
));
3174 if (SWIG_arg_fail(2)) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
3191 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3195 PyObject
* obj0
= 0 ;
3197 (char *) "self", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
3201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3202 if (SWIG_arg_fail(1)) SWIG_fail
;
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3211 resultobj
= SWIG_From_int((int)(result
));
3219 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3223 PyObject
* obj0
= 0 ;
3224 PyObject
* obj1
= 0 ;
3226 (char *) "self",(char *) "width", NULL
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3231 if (SWIG_arg_fail(1)) SWIG_fail
;
3233 arg2
= (int)(SWIG_As_int(obj1
));
3234 if (SWIG_arg_fail(2)) SWIG_fail
;
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 (arg1
)->SetWidth(arg2
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3243 Py_INCREF(Py_None
); resultobj
= Py_None
;
3250 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3254 PyObject
* obj0
= 0 ;
3256 (char *) "self", NULL
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
3260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3261 if (SWIG_arg_fail(1)) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3270 resultobj
= SWIG_From_int((int)(result
));
3278 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
*resultobj
;
3280 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3282 PyObject
* obj0
= 0 ;
3283 PyObject
* obj1
= 0 ;
3285 (char *) "self",(char *) "precision", NULL
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
3289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3290 if (SWIG_arg_fail(1)) SWIG_fail
;
3292 arg2
= (int)(SWIG_As_int(obj1
));
3293 if (SWIG_arg_fail(2)) SWIG_fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 (arg1
)->SetPrecision(arg2
);
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3302 Py_INCREF(Py_None
); resultobj
= Py_None
;
3309 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*, PyObject
*args
) {
3311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3312 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
3314 return Py_BuildValue((char *)"");
3316 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 wxGridCellBoolRenderer
*result
;
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
3338 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*, PyObject
*args
) {
3340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3341 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
3343 return Py_BuildValue((char *)"");
3345 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
3348 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
3349 wxGridCellDateTimeRenderer
*result
;
3350 PyObject
* obj0
= 0 ;
3351 PyObject
* obj1
= 0 ;
3353 (char *) "outformat",(char *) "informat", NULL
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3359 wxString
* sptr
= wxString_in_helper(obj0
);
3360 if (sptr
== NULL
) SWIG_fail
;
3367 wxString
* sptr
= wxString_in_helper(obj1
);
3368 if (sptr
== NULL
) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
3387 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*, PyObject
*args
) {
3389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3390 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
3392 return Py_BuildValue((char *)"");
3394 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3397 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3398 wxGridCellEnumRenderer
*result
;
3399 bool temp1
= false ;
3400 PyObject
* obj0
= 0 ;
3402 (char *) "choices", NULL
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
3408 arg1
= wxString_in_helper(obj0
);
3409 if (arg1
== NULL
) SWIG_fail
;
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
3435 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*, PyObject
*args
) {
3437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3438 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
3440 return Py_BuildValue((char *)"");
3442 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3444 wxGridCellAutoWrapStringRenderer
*result
;
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
3464 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
3466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3467 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
3469 return Py_BuildValue((char *)"");
3471 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
*resultobj
;
3473 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3474 PyObject
*arg2
= (PyObject
*) 0 ;
3475 PyObject
* obj0
= 0 ;
3476 PyObject
* obj1
= 0 ;
3478 (char *) "self",(char *) "_self", NULL
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3483 if (SWIG_arg_fail(1)) SWIG_fail
;
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3487 wxGridCellEditor__setOORInfo(arg1
,arg2
);
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3492 Py_INCREF(Py_None
); resultobj
= Py_None
;
3499 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3501 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3503 PyObject
* obj0
= 0 ;
3505 (char *) "self", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
3509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3510 if (SWIG_arg_fail(1)) SWIG_fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 result
= (bool)(arg1
)->IsCreated();
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3527 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3529 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3531 PyObject
* obj0
= 0 ;
3533 (char *) "self", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
3537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3538 if (SWIG_arg_fail(1)) SWIG_fail
;
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 result
= (wxControl
*)(arg1
)->GetControl();
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3547 resultobj
= wxPyMake_wxObject(result
, 0);
3555 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3557 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3558 wxControl
*arg2
= (wxControl
*) 0 ;
3559 PyObject
* obj0
= 0 ;
3560 PyObject
* obj1
= 0 ;
3562 (char *) "self",(char *) "control", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
3566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3567 if (SWIG_arg_fail(1)) SWIG_fail
;
3568 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
3569 if (SWIG_arg_fail(2)) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 (arg1
)->SetControl(arg2
);
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 Py_INCREF(Py_None
); resultobj
= Py_None
;
3584 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3587 wxGridCellAttr
*result
;
3588 PyObject
* obj0
= 0 ;
3590 (char *) "self", NULL
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
3594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3595 if (SWIG_arg_fail(1)) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3604 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
3612 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
*resultobj
;
3614 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3615 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3616 PyObject
* obj0
= 0 ;
3617 PyObject
* obj1
= 0 ;
3619 (char *) "self",(char *) "attr", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
3623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3624 if (SWIG_arg_fail(1)) SWIG_fail
;
3625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3626 if (SWIG_arg_fail(2)) SWIG_fail
;
3628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3629 (arg1
)->SetCellAttr(arg2
);
3631 wxPyEndAllowThreads(__tstate
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3634 Py_INCREF(Py_None
); resultobj
= Py_None
;
3641 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
*resultobj
;
3643 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3644 wxString
*arg2
= 0 ;
3645 bool temp2
= false ;
3646 PyObject
* obj0
= 0 ;
3647 PyObject
* obj1
= 0 ;
3649 (char *) "self",(char *) "params", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3654 if (SWIG_arg_fail(1)) SWIG_fail
;
3656 arg2
= wxString_in_helper(obj1
);
3657 if (arg2
== NULL
) SWIG_fail
;
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 (arg1
)->SetParameters((wxString
const &)*arg2
);
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3667 Py_INCREF(Py_None
); resultobj
= Py_None
;
3682 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3685 PyObject
* obj0
= 0 ;
3687 (char *) "self", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
3691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3692 if (SWIG_arg_fail(1)) SWIG_fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3700 Py_INCREF(Py_None
); resultobj
= Py_None
;
3707 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
;
3709 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3712 (char *) "self", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
3716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3717 if (SWIG_arg_fail(1)) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3725 Py_INCREF(Py_None
); resultobj
= Py_None
;
3732 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
*resultobj
;
3734 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3735 wxWindow
*arg2
= (wxWindow
*) 0 ;
3737 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
3738 PyObject
* obj0
= 0 ;
3739 PyObject
* obj1
= 0 ;
3740 PyObject
* obj2
= 0 ;
3741 PyObject
* obj3
= 0 ;
3743 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3748 if (SWIG_arg_fail(1)) SWIG_fail
;
3749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3750 if (SWIG_arg_fail(2)) SWIG_fail
;
3752 arg3
= (int)(SWIG_As_int(obj2
));
3753 if (SWIG_arg_fail(3)) SWIG_fail
;
3755 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3756 if (SWIG_arg_fail(4)) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 (arg1
)->Create(arg2
,arg3
,arg4
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 Py_INCREF(Py_None
); resultobj
= Py_None
;
3771 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3776 wxGrid
*arg4
= (wxGrid
*) 0 ;
3777 PyObject
* obj0
= 0 ;
3778 PyObject
* obj1
= 0 ;
3779 PyObject
* obj2
= 0 ;
3780 PyObject
* obj3
= 0 ;
3782 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3787 if (SWIG_arg_fail(1)) SWIG_fail
;
3789 arg2
= (int)(SWIG_As_int(obj1
));
3790 if (SWIG_arg_fail(2)) SWIG_fail
;
3793 arg3
= (int)(SWIG_As_int(obj2
));
3794 if (SWIG_arg_fail(3)) SWIG_fail
;
3796 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3797 if (SWIG_arg_fail(4)) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 Py_INCREF(Py_None
); resultobj
= Py_None
;
3812 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3817 wxGrid
*arg4
= (wxGrid
*) 0 ;
3819 PyObject
* obj0
= 0 ;
3820 PyObject
* obj1
= 0 ;
3821 PyObject
* obj2
= 0 ;
3822 PyObject
* obj3
= 0 ;
3824 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3829 if (SWIG_arg_fail(1)) SWIG_fail
;
3831 arg2
= (int)(SWIG_As_int(obj1
));
3832 if (SWIG_arg_fail(2)) SWIG_fail
;
3835 arg3
= (int)(SWIG_As_int(obj2
));
3836 if (SWIG_arg_fail(3)) SWIG_fail
;
3838 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3839 if (SWIG_arg_fail(4)) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3856 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
*resultobj
;
3858 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3859 PyObject
* obj0
= 0 ;
3861 (char *) "self", NULL
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
3865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3866 if (SWIG_arg_fail(1)) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 Py_INCREF(Py_None
); resultobj
= Py_None
;
3881 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3883 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3884 wxGridCellEditor
*result
;
3885 PyObject
* obj0
= 0 ;
3887 (char *) "self", NULL
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
3891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3892 if (SWIG_arg_fail(1)) SWIG_fail
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3901 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
3909 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3914 PyObject
* obj0
= 0 ;
3915 PyObject
* obj1
= 0 ;
3917 (char *) "self",(char *) "rect", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3922 if (SWIG_arg_fail(1)) SWIG_fail
;
3925 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 (arg1
)->SetSize((wxRect
const &)*arg2
);
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3934 Py_INCREF(Py_None
); resultobj
= Py_None
;
3941 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3943 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3945 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
3946 PyObject
* obj0
= 0 ;
3947 PyObject
* obj1
= 0 ;
3948 PyObject
* obj2
= 0 ;
3950 (char *) "self",(char *) "show",(char *) "attr", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3955 if (SWIG_arg_fail(1)) SWIG_fail
;
3957 arg2
= (bool)(SWIG_As_bool(obj1
));
3958 if (SWIG_arg_fail(2)) SWIG_fail
;
3961 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3962 if (SWIG_arg_fail(3)) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 (arg1
)->Show(arg2
,arg3
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3982 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
3984 PyObject
* obj0
= 0 ;
3985 PyObject
* obj1
= 0 ;
3986 PyObject
* obj2
= 0 ;
3988 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3993 if (SWIG_arg_fail(1)) SWIG_fail
;
3996 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3998 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3999 if (SWIG_arg_fail(3)) SWIG_fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 Py_INCREF(Py_None
); resultobj
= Py_None
;
4014 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
*resultobj
;
4016 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4017 wxKeyEvent
*arg2
= 0 ;
4019 PyObject
* obj0
= 0 ;
4020 PyObject
* obj1
= 0 ;
4022 (char *) "self",(char *) "event", NULL
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4027 if (SWIG_arg_fail(1)) SWIG_fail
;
4029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4030 if (SWIG_arg_fail(2)) SWIG_fail
;
4032 SWIG_null_ref("wxKeyEvent");
4034 if (SWIG_arg_fail(2)) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4052 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4055 wxKeyEvent
*arg2
= 0 ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4059 (char *) "self",(char *) "event", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4064 if (SWIG_arg_fail(1)) SWIG_fail
;
4066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4067 if (SWIG_arg_fail(2)) SWIG_fail
;
4069 SWIG_null_ref("wxKeyEvent");
4071 if (SWIG_arg_fail(2)) SWIG_fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 (arg1
)->StartingKey(*arg2
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 Py_INCREF(Py_None
); resultobj
= Py_None
;
4087 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
;
4089 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4090 PyObject
* obj0
= 0 ;
4092 (char *) "self", NULL
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
4096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4097 if (SWIG_arg_fail(1)) SWIG_fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 (arg1
)->StartingClick();
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4105 Py_INCREF(Py_None
); resultobj
= Py_None
;
4112 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4115 wxKeyEvent
*arg2
= 0 ;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4119 (char *) "self",(char *) "event", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
4123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4124 if (SWIG_arg_fail(1)) SWIG_fail
;
4126 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4127 if (SWIG_arg_fail(2)) SWIG_fail
;
4129 SWIG_null_ref("wxKeyEvent");
4131 if (SWIG_arg_fail(2)) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 (arg1
)->HandleReturn(*arg2
);
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 Py_INCREF(Py_None
); resultobj
= Py_None
;
4147 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4150 PyObject
* obj0
= 0 ;
4152 (char *) "self", NULL
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
4156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4157 if (SWIG_arg_fail(1)) SWIG_fail
;
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4165 Py_INCREF(Py_None
); resultobj
= Py_None
;
4172 static PyObject
* GridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
4174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4175 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
4177 return Py_BuildValue((char *)"");
4179 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
*resultobj
;
4181 wxPyGridCellEditor
*result
;
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1);
4201 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4204 PyObject
*arg2
= (PyObject
*) 0 ;
4205 PyObject
*arg3
= (PyObject
*) 0 ;
4206 PyObject
* obj0
= 0 ;
4207 PyObject
* obj1
= 0 ;
4208 PyObject
* obj2
= 0 ;
4210 (char *) "self",(char *) "self",(char *) "_class", NULL
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4215 if (SWIG_arg_fail(1)) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 Py_INCREF(Py_None
); resultobj
= Py_None
;
4232 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4237 PyObject
* obj0
= 0 ;
4238 PyObject
* obj1
= 0 ;
4240 (char *) "self",(char *) "rect", NULL
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4245 if (SWIG_arg_fail(1)) SWIG_fail
;
4248 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 Py_INCREF(Py_None
); resultobj
= Py_None
;
4264 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4268 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
4269 PyObject
* obj0
= 0 ;
4270 PyObject
* obj1
= 0 ;
4271 PyObject
* obj2
= 0 ;
4273 (char *) "self",(char *) "show",(char *) "attr", NULL
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4278 if (SWIG_arg_fail(1)) SWIG_fail
;
4280 arg2
= (bool)(SWIG_As_bool(obj1
));
4281 if (SWIG_arg_fail(2)) SWIG_fail
;
4284 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4285 if (SWIG_arg_fail(3)) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 (arg1
)->base_Show(arg2
,arg3
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 Py_INCREF(Py_None
); resultobj
= Py_None
;
4301 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4305 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
4307 PyObject
* obj0
= 0 ;
4308 PyObject
* obj1
= 0 ;
4309 PyObject
* obj2
= 0 ;
4311 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4316 if (SWIG_arg_fail(1)) SWIG_fail
;
4319 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4321 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4322 if (SWIG_arg_fail(3)) SWIG_fail
;
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 Py_INCREF(Py_None
); resultobj
= Py_None
;
4337 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4340 wxKeyEvent
*arg2
= 0 ;
4342 PyObject
* obj0
= 0 ;
4343 PyObject
* obj1
= 0 ;
4345 (char *) "self",(char *) "event", NULL
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4350 if (SWIG_arg_fail(1)) SWIG_fail
;
4352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4353 if (SWIG_arg_fail(2)) SWIG_fail
;
4355 SWIG_null_ref("wxKeyEvent");
4357 if (SWIG_arg_fail(2)) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4375 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4378 wxKeyEvent
*arg2
= 0 ;
4379 PyObject
* obj0
= 0 ;
4380 PyObject
* obj1
= 0 ;
4382 (char *) "self",(char *) "event", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4387 if (SWIG_arg_fail(1)) SWIG_fail
;
4389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4390 if (SWIG_arg_fail(2)) SWIG_fail
;
4392 SWIG_null_ref("wxKeyEvent");
4394 if (SWIG_arg_fail(2)) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 (arg1
)->base_StartingKey(*arg2
);
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 Py_INCREF(Py_None
); resultobj
= Py_None
;
4410 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
;
4412 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4413 PyObject
* obj0
= 0 ;
4415 (char *) "self", NULL
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
4419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4420 if (SWIG_arg_fail(1)) SWIG_fail
;
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 (arg1
)->base_StartingClick();
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 Py_INCREF(Py_None
); resultobj
= Py_None
;
4435 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4438 wxKeyEvent
*arg2
= 0 ;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4442 (char *) "self",(char *) "event", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
4446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4447 if (SWIG_arg_fail(1)) SWIG_fail
;
4449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4450 if (SWIG_arg_fail(2)) SWIG_fail
;
4452 SWIG_null_ref("wxKeyEvent");
4454 if (SWIG_arg_fail(2)) SWIG_fail
;
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 (arg1
)->base_HandleReturn(*arg2
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 Py_INCREF(Py_None
); resultobj
= Py_None
;
4470 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
*resultobj
;
4472 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4473 PyObject
* obj0
= 0 ;
4475 (char *) "self", NULL
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
4479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4480 if (SWIG_arg_fail(1)) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 (arg1
)->base_Destroy();
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 Py_INCREF(Py_None
); resultobj
= Py_None
;
4495 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4497 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4498 wxString
*arg2
= 0 ;
4499 bool temp2
= false ;
4500 PyObject
* obj0
= 0 ;
4501 PyObject
* obj1
= 0 ;
4503 (char *) "self",(char *) "params", NULL
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
4507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4508 if (SWIG_arg_fail(1)) SWIG_fail
;
4510 arg2
= wxString_in_helper(obj1
);
4511 if (arg2
== NULL
) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 Py_INCREF(Py_None
); resultobj
= Py_None
;
4536 static PyObject
* PyGridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
4538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4539 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
4541 return Py_BuildValue((char *)"");
4543 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
*resultobj
;
4545 wxGridCellTextEditor
*result
;
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1);
4565 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4571 (char *) "self", NULL
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_EXCEPTION
| 0);
4576 if (SWIG_arg_fail(1)) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (arg1
)->GetValue();
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4597 static PyObject
* GridCellTextEditor_swigregister(PyObject
*, PyObject
*args
) {
4599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4600 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
4602 return Py_BuildValue((char *)"");
4604 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
;
4606 int arg1
= (int) -1 ;
4607 int arg2
= (int) -1 ;
4608 wxGridCellNumberEditor
*result
;
4609 PyObject
* obj0
= 0 ;
4610 PyObject
* obj1
= 0 ;
4612 (char *) "min",(char *) "max", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4618 arg1
= (int)(SWIG_As_int(obj0
));
4619 if (SWIG_arg_fail(1)) SWIG_fail
;
4624 arg2
= (int)(SWIG_As_int(obj1
));
4625 if (SWIG_arg_fail(2)) SWIG_fail
;
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1);
4642 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
;
4644 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
4646 PyObject
* obj0
= 0 ;
4648 (char *) "self", NULL
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_POINTER_EXCEPTION
| 0);
4653 if (SWIG_arg_fail(1)) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 result
= (arg1
)->GetValue();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4674 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*, PyObject
*args
) {
4676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4677 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
4679 return Py_BuildValue((char *)"");
4681 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
;
4683 int arg1
= (int) -1 ;
4684 int arg2
= (int) -1 ;
4685 wxGridCellFloatEditor
*result
;
4686 PyObject
* obj0
= 0 ;
4687 PyObject
* obj1
= 0 ;
4689 (char *) "width",(char *) "precision", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4695 arg1
= (int)(SWIG_As_int(obj0
));
4696 if (SWIG_arg_fail(1)) SWIG_fail
;
4701 arg2
= (int)(SWIG_As_int(obj1
));
4702 if (SWIG_arg_fail(2)) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1);
4719 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
4723 PyObject
* obj0
= 0 ;
4725 (char *) "self", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_EXCEPTION
| 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 result
= (arg1
)->GetValue();
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4751 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*, PyObject
*args
) {
4753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4754 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
4756 return Py_BuildValue((char *)"");
4758 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 wxGridCellBoolEditor
*result
;
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1);
4780 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
4784 PyObject
* obj0
= 0 ;
4786 (char *) "self", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_EXCEPTION
| 0);
4791 if (SWIG_arg_fail(1)) SWIG_fail
;
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 result
= (arg1
)->GetValue();
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4812 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*, PyObject
*args
) {
4814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4815 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
4817 return Py_BuildValue((char *)"");
4819 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
*resultobj
;
4821 int arg1
= (int) 0 ;
4822 wxString
*arg2
= (wxString
*) NULL
;
4823 bool arg3
= (bool) false ;
4824 wxGridCellChoiceEditor
*result
;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4828 (char *) "choices",(char *) "allowOthers", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4834 arg1
= PyList_Size(obj0
);
4835 arg2
= wxString_LIST_helper(obj0
);
4836 if (arg2
== NULL
) SWIG_fail
;
4841 arg3
= (bool)(SWIG_As_bool(obj1
));
4842 if (SWIG_arg_fail(3)) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
4854 if (arg2
) delete [] arg2
;
4859 if (arg2
) delete [] arg2
;
4865 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4871 (char *) "self", NULL
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_EXCEPTION
| 0);
4876 if (SWIG_arg_fail(1)) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= (arg1
)->GetValue();
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4897 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*, PyObject
*args
) {
4899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4900 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
4902 return Py_BuildValue((char *)"");
4904 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4907 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4908 wxGridCellEnumEditor
*result
;
4909 bool temp1
= false ;
4910 PyObject
* obj0
= 0 ;
4912 (char *) "choices", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
4918 arg1
= wxString_in_helper(obj0
);
4919 if (arg1
== NULL
) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1);
4945 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4947 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
4949 PyObject
* obj0
= 0 ;
4951 (char *) "self", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_EXCEPTION
| 0);
4956 if (SWIG_arg_fail(1)) SWIG_fail
;
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 result
= (arg1
)->GetValue();
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4977 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*, PyObject
*args
) {
4979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4980 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
4982 return Py_BuildValue((char *)"");
4984 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxGridCellAutoWrapStringEditor
*result
;
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
5006 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5008 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
5010 PyObject
* obj0
= 0 ;
5012 (char *) "self", NULL
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
5016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_EXCEPTION
| 0);
5017 if (SWIG_arg_fail(1)) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 result
= (arg1
)->GetValue();
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5038 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*, PyObject
*args
) {
5040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5041 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
5043 return Py_BuildValue((char *)"");
5045 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
;
5047 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5048 PyObject
*arg2
= (PyObject
*) 0 ;
5049 PyObject
* obj0
= 0 ;
5050 PyObject
* obj1
= 0 ;
5052 (char *) "self",(char *) "_self", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5057 if (SWIG_arg_fail(1)) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 wxGridCellAttr__setOORInfo(arg1
,arg2
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 Py_INCREF(Py_None
); resultobj
= Py_None
;
5073 static PyObject
*_wrap_new_GridCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
5076 wxGridCellAttr
*result
;
5077 PyObject
* obj0
= 0 ;
5079 (char *) "attrDefault", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
5084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5085 if (SWIG_arg_fail(1)) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= wxPyMake_wxGridCellAttr(result
, 1);
5103 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
;
5105 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5106 wxGridCellAttr
*result
;
5107 PyObject
* obj0
= 0 ;
5109 (char *) "self", NULL
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
5113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5114 if (SWIG_arg_fail(1)) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
5131 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
;
5133 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5134 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5136 PyObject
* obj1
= 0 ;
5138 (char *) "self",(char *) "mergefrom", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
5142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail
;
5144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5145 if (SWIG_arg_fail(2)) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 (arg1
)->MergeWith(arg2
);
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 Py_INCREF(Py_None
); resultobj
= Py_None
;
5160 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5163 PyObject
* obj0
= 0 ;
5165 (char *) "self", NULL
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
5169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5170 if (SWIG_arg_fail(1)) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 Py_INCREF(Py_None
); resultobj
= Py_None
;
5185 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5188 PyObject
* obj0
= 0 ;
5190 (char *) "self", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
5194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5195 if (SWIG_arg_fail(1)) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 Py_INCREF(Py_None
); resultobj
= Py_None
;
5210 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5212 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5213 wxColour
*arg2
= 0 ;
5215 PyObject
* obj0
= 0 ;
5216 PyObject
* obj1
= 0 ;
5218 (char *) "self",(char *) "colText", NULL
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5223 if (SWIG_arg_fail(1)) SWIG_fail
;
5226 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 Py_INCREF(Py_None
); resultobj
= Py_None
;
5242 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5245 wxColour
*arg2
= 0 ;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5250 (char *) "self",(char *) "colBack", NULL
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5255 if (SWIG_arg_fail(1)) SWIG_fail
;
5258 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 Py_INCREF(Py_None
); resultobj
= Py_None
;
5274 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
;
5276 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5281 (char *) "self",(char *) "font", NULL
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5286 if (SWIG_arg_fail(1)) SWIG_fail
;
5288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
5289 if (SWIG_arg_fail(2)) SWIG_fail
;
5291 SWIG_null_ref("wxFont");
5293 if (SWIG_arg_fail(2)) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 (arg1
)->SetFont((wxFont
const &)*arg2
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 Py_INCREF(Py_None
); resultobj
= Py_None
;
5309 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5315 PyObject
* obj1
= 0 ;
5316 PyObject
* obj2
= 0 ;
5318 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5323 if (SWIG_arg_fail(1)) SWIG_fail
;
5325 arg2
= (int)(SWIG_As_int(obj1
));
5326 if (SWIG_arg_fail(2)) SWIG_fail
;
5329 arg3
= (int)(SWIG_As_int(obj2
));
5330 if (SWIG_arg_fail(3)) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 (arg1
)->SetAlignment(arg2
,arg3
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 Py_INCREF(Py_None
); resultobj
= Py_None
;
5346 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
*resultobj
;
5348 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5351 PyObject
* obj0
= 0 ;
5352 PyObject
* obj1
= 0 ;
5353 PyObject
* obj2
= 0 ;
5355 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5360 if (SWIG_arg_fail(1)) SWIG_fail
;
5362 arg2
= (int)(SWIG_As_int(obj1
));
5363 if (SWIG_arg_fail(2)) SWIG_fail
;
5366 arg3
= (int)(SWIG_As_int(obj2
));
5367 if (SWIG_arg_fail(3)) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 (arg1
)->SetSize(arg2
,arg3
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5376 Py_INCREF(Py_None
); resultobj
= Py_None
;
5383 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
;
5385 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5386 bool arg2
= (bool) true ;
5387 PyObject
* obj0
= 0 ;
5388 PyObject
* obj1
= 0 ;
5390 (char *) "self",(char *) "allow", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
5394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5395 if (SWIG_arg_fail(1)) SWIG_fail
;
5398 arg2
= (bool)(SWIG_As_bool(obj1
));
5399 if (SWIG_arg_fail(2)) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 (arg1
)->SetOverflow(arg2
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 Py_INCREF(Py_None
); resultobj
= Py_None
;
5416 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5419 bool arg2
= (bool) true ;
5420 PyObject
* obj0
= 0 ;
5421 PyObject
* obj1
= 0 ;
5423 (char *) "self",(char *) "isReadOnly", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
5427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5428 if (SWIG_arg_fail(1)) SWIG_fail
;
5431 arg2
= (bool)(SWIG_As_bool(obj1
));
5432 if (SWIG_arg_fail(2)) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 (arg1
)->SetReadOnly(arg2
);
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5442 Py_INCREF(Py_None
); resultobj
= Py_None
;
5449 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5452 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5456 (char *) "self",(char *) "renderer", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
5460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5461 if (SWIG_arg_fail(1)) SWIG_fail
;
5462 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
5463 if (SWIG_arg_fail(2)) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 (arg1
)->SetRenderer(arg2
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5471 Py_INCREF(Py_None
); resultobj
= Py_None
;
5478 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5481 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5485 (char *) "self",(char *) "editor", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
5489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5490 if (SWIG_arg_fail(1)) SWIG_fail
;
5491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
5492 if (SWIG_arg_fail(2)) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 (arg1
)->SetEditor(arg2
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 Py_INCREF(Py_None
); resultobj
= Py_None
;
5507 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5509 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5510 wxGridCellAttr::wxAttrKind arg2
;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5514 (char *) "self",(char *) "kind", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
5518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5519 if (SWIG_arg_fail(1)) SWIG_fail
;
5521 arg2
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj1
));
5522 if (SWIG_arg_fail(2)) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 Py_INCREF(Py_None
); resultobj
= Py_None
;
5538 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5542 PyObject
* obj0
= 0 ;
5544 (char *) "self", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5549 if (SWIG_arg_fail(1)) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5566 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5570 PyObject
* obj0
= 0 ;
5572 (char *) "self", NULL
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5577 if (SWIG_arg_fail(1)) SWIG_fail
;
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5594 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
;
5596 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5598 PyObject
* obj0
= 0 ;
5600 (char *) "self", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
5604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5605 if (SWIG_arg_fail(1)) SWIG_fail
;
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5622 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5626 PyObject
* obj0
= 0 ;
5628 (char *) "self", NULL
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
5632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5633 if (SWIG_arg_fail(1)) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5650 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5656 (char *) "self", NULL
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
5660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5661 if (SWIG_arg_fail(1)) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5678 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
;
5680 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5682 PyObject
* obj0
= 0 ;
5684 (char *) "self", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
5688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5689 if (SWIG_arg_fail(1)) SWIG_fail
;
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5706 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5710 PyObject
* obj0
= 0 ;
5712 (char *) "self", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
5716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5717 if (SWIG_arg_fail(1)) SWIG_fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5734 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5738 PyObject
* obj0
= 0 ;
5740 (char *) "self", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
5744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5745 if (SWIG_arg_fail(1)) SWIG_fail
;
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5762 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
*resultobj
;
5764 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5766 PyObject
* obj0
= 0 ;
5768 (char *) "self", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
5772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5773 if (SWIG_arg_fail(1)) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5782 wxColour
* resultptr
;
5783 resultptr
= new wxColour((wxColour
&)(result
));
5784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5792 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5796 PyObject
* obj0
= 0 ;
5798 (char *) "self", NULL
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5803 if (SWIG_arg_fail(1)) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5812 wxColour
* resultptr
;
5813 resultptr
= new wxColour((wxColour
&)(result
));
5814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5822 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
;
5824 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5828 (char *) "self", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
5832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5833 if (SWIG_arg_fail(1)) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5843 resultptr
= new wxFont((wxFont
&)(result
));
5844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
5852 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
*resultobj
;
5854 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5855 int *arg2
= (int *) 0 ;
5856 int *arg3
= (int *) 0 ;
5861 PyObject
* obj0
= 0 ;
5863 (char *) "self", NULL
5866 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5867 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
5869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5870 if (SWIG_arg_fail(1)) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5878 Py_INCREF(Py_None
); resultobj
= Py_None
;
5879 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5880 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5881 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5882 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5889 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5892 int *arg2
= (int *) 0 ;
5893 int *arg3
= (int *) 0 ;
5898 PyObject
* obj0
= 0 ;
5900 (char *) "self", NULL
5903 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5904 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
5906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5907 if (SWIG_arg_fail(1)) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 Py_INCREF(Py_None
); resultobj
= Py_None
;
5916 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5917 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5918 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5919 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5926 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5930 PyObject
* obj0
= 0 ;
5932 (char *) "self", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
5936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5937 if (SWIG_arg_fail(1)) SWIG_fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5954 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5957 wxGrid
*arg2
= (wxGrid
*) 0 ;
5960 wxGridCellRenderer
*result
;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj1
= 0 ;
5963 PyObject
* obj2
= 0 ;
5964 PyObject
* obj3
= 0 ;
5966 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5971 if (SWIG_arg_fail(1)) SWIG_fail
;
5972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
5973 if (SWIG_arg_fail(2)) SWIG_fail
;
5975 arg3
= (int)(SWIG_As_int(obj2
));
5976 if (SWIG_arg_fail(3)) SWIG_fail
;
5979 arg4
= (int)(SWIG_As_int(obj3
));
5980 if (SWIG_arg_fail(4)) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
5998 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
;
6000 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6001 wxGrid
*arg2
= (wxGrid
*) 0 ;
6004 wxGridCellEditor
*result
;
6005 PyObject
* obj0
= 0 ;
6006 PyObject
* obj1
= 0 ;
6007 PyObject
* obj2
= 0 ;
6008 PyObject
* obj3
= 0 ;
6010 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6015 if (SWIG_arg_fail(1)) SWIG_fail
;
6016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
6017 if (SWIG_arg_fail(2)) SWIG_fail
;
6019 arg3
= (int)(SWIG_As_int(obj2
));
6020 if (SWIG_arg_fail(3)) SWIG_fail
;
6023 arg4
= (int)(SWIG_As_int(obj3
));
6024 if (SWIG_arg_fail(4)) SWIG_fail
;
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6034 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
6042 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
;
6044 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6048 (char *) "self", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
6052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6053 if (SWIG_arg_fail(1)) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6070 static PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6073 wxGridCellAttr::wxAttrKind result
;
6074 PyObject
* obj0
= 0 ;
6076 (char *) "self", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetKind",kwnames
,&obj0
)) goto fail
;
6080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6081 if (SWIG_arg_fail(1)) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind();
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6089 resultobj
= SWIG_From_int((result
));
6096 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
*resultobj
;
6098 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6099 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6100 PyObject
* obj0
= 0 ;
6101 PyObject
* obj1
= 0 ;
6103 (char *) "self",(char *) "defAttr", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
6107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6108 if (SWIG_arg_fail(1)) SWIG_fail
;
6109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6110 if (SWIG_arg_fail(2)) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 (arg1
)->SetDefAttr(arg2
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 Py_INCREF(Py_None
); resultobj
= Py_None
;
6125 static PyObject
* GridCellAttr_swigregister(PyObject
*, PyObject
*args
) {
6127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6128 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
6130 return Py_BuildValue((char *)"");
6132 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxGridCellAttrProvider
*result
;
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, 1);
6156 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6159 PyObject
*arg2
= (PyObject
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6161 PyObject
* obj1
= 0 ;
6163 (char *) "self",(char *) "_self", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
6167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6168 if (SWIG_arg_fail(1)) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 Py_INCREF(Py_None
); resultobj
= Py_None
;
6184 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6189 wxGridCellAttr::wxAttrKind arg4
;
6190 wxGridCellAttr
*result
;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6193 PyObject
* obj2
= 0 ;
6194 PyObject
* obj3
= 0 ;
6196 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6201 if (SWIG_arg_fail(1)) SWIG_fail
;
6203 arg2
= (int)(SWIG_As_int(obj1
));
6204 if (SWIG_arg_fail(2)) SWIG_fail
;
6207 arg3
= (int)(SWIG_As_int(obj2
));
6208 if (SWIG_arg_fail(3)) SWIG_fail
;
6211 arg4
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj3
));
6212 if (SWIG_arg_fail(4)) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
6230 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6233 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6237 PyObject
* obj1
= 0 ;
6238 PyObject
* obj2
= 0 ;
6239 PyObject
* obj3
= 0 ;
6241 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6246 if (SWIG_arg_fail(1)) SWIG_fail
;
6247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6248 if (SWIG_arg_fail(2)) SWIG_fail
;
6250 arg3
= (int)(SWIG_As_int(obj2
));
6251 if (SWIG_arg_fail(3)) SWIG_fail
;
6254 arg4
= (int)(SWIG_As_int(obj3
));
6255 if (SWIG_arg_fail(4)) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 Py_INCREF(Py_None
); resultobj
= Py_None
;
6271 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6274 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6277 PyObject
* obj1
= 0 ;
6278 PyObject
* obj2
= 0 ;
6280 (char *) "self",(char *) "attr",(char *) "row", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6285 if (SWIG_arg_fail(1)) SWIG_fail
;
6286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6287 if (SWIG_arg_fail(2)) SWIG_fail
;
6289 arg3
= (int)(SWIG_As_int(obj2
));
6290 if (SWIG_arg_fail(3)) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 (arg1
)->SetRowAttr(arg2
,arg3
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6299 Py_INCREF(Py_None
); resultobj
= Py_None
;
6306 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6308 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6309 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6311 PyObject
* obj0
= 0 ;
6312 PyObject
* obj1
= 0 ;
6313 PyObject
* obj2
= 0 ;
6315 (char *) "self",(char *) "attr",(char *) "col", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6320 if (SWIG_arg_fail(1)) SWIG_fail
;
6321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6322 if (SWIG_arg_fail(2)) SWIG_fail
;
6324 arg3
= (int)(SWIG_As_int(obj2
));
6325 if (SWIG_arg_fail(3)) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 (arg1
)->SetColAttr(arg2
,arg3
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 Py_INCREF(Py_None
); resultobj
= Py_None
;
6341 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
;
6343 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6346 PyObject
* obj0
= 0 ;
6347 PyObject
* obj1
= 0 ;
6348 PyObject
* obj2
= 0 ;
6350 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6355 if (SWIG_arg_fail(1)) SWIG_fail
;
6357 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
6358 if (SWIG_arg_fail(2)) SWIG_fail
;
6361 arg3
= (int)(SWIG_As_int(obj2
));
6362 if (SWIG_arg_fail(3)) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 (arg1
)->UpdateAttrRows(arg2
,arg3
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 Py_INCREF(Py_None
); resultobj
= Py_None
;
6378 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
;
6380 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6383 PyObject
* obj0
= 0 ;
6384 PyObject
* obj1
= 0 ;
6385 PyObject
* obj2
= 0 ;
6387 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6392 if (SWIG_arg_fail(1)) SWIG_fail
;
6394 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
6395 if (SWIG_arg_fail(2)) SWIG_fail
;
6398 arg3
= (int)(SWIG_As_int(obj2
));
6399 if (SWIG_arg_fail(3)) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 (arg1
)->UpdateAttrCols(arg2
,arg3
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6408 Py_INCREF(Py_None
); resultobj
= Py_None
;
6415 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
6417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6418 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
6420 return Py_BuildValue((char *)"");
6422 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxPyGridCellAttrProvider
*result
;
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
6444 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6447 PyObject
*arg2
= (PyObject
*) 0 ;
6448 PyObject
*arg3
= (PyObject
*) 0 ;
6449 PyObject
* obj0
= 0 ;
6450 PyObject
* obj1
= 0 ;
6451 PyObject
* obj2
= 0 ;
6453 (char *) "self",(char *) "self",(char *) "_class", NULL
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6458 if (SWIG_arg_fail(1)) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 Py_INCREF(Py_None
); resultobj
= Py_None
;
6475 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6480 wxGridCellAttr::wxAttrKind arg4
;
6481 wxGridCellAttr
*result
;
6482 PyObject
* obj0
= 0 ;
6483 PyObject
* obj1
= 0 ;
6484 PyObject
* obj2
= 0 ;
6485 PyObject
* obj3
= 0 ;
6487 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6492 if (SWIG_arg_fail(1)) SWIG_fail
;
6494 arg2
= (int)(SWIG_As_int(obj1
));
6495 if (SWIG_arg_fail(2)) SWIG_fail
;
6498 arg3
= (int)(SWIG_As_int(obj2
));
6499 if (SWIG_arg_fail(3)) SWIG_fail
;
6502 arg4
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj3
));
6503 if (SWIG_arg_fail(4)) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
6521 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6524 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6529 PyObject
* obj2
= 0 ;
6530 PyObject
* obj3
= 0 ;
6532 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6537 if (SWIG_arg_fail(1)) SWIG_fail
;
6538 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6539 if (SWIG_arg_fail(2)) SWIG_fail
;
6541 arg3
= (int)(SWIG_As_int(obj2
));
6542 if (SWIG_arg_fail(3)) SWIG_fail
;
6545 arg4
= (int)(SWIG_As_int(obj3
));
6546 if (SWIG_arg_fail(4)) SWIG_fail
;
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 Py_INCREF(Py_None
); resultobj
= Py_None
;
6562 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
;
6564 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6565 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6569 PyObject
* obj2
= 0 ;
6571 (char *) "self",(char *) "attr",(char *) "row", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6576 if (SWIG_arg_fail(1)) SWIG_fail
;
6577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6578 if (SWIG_arg_fail(2)) SWIG_fail
;
6580 arg3
= (int)(SWIG_As_int(obj2
));
6581 if (SWIG_arg_fail(3)) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 (arg1
)->base_SetRowAttr(arg2
,arg3
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 Py_INCREF(Py_None
); resultobj
= Py_None
;
6597 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6600 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6602 PyObject
* obj0
= 0 ;
6603 PyObject
* obj1
= 0 ;
6604 PyObject
* obj2
= 0 ;
6606 (char *) "self",(char *) "attr",(char *) "col", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6611 if (SWIG_arg_fail(1)) SWIG_fail
;
6612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6613 if (SWIG_arg_fail(2)) SWIG_fail
;
6615 arg3
= (int)(SWIG_As_int(obj2
));
6616 if (SWIG_arg_fail(3)) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 (arg1
)->base_SetColAttr(arg2
,arg3
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 Py_INCREF(Py_None
); resultobj
= Py_None
;
6632 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
6634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6635 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
6637 return Py_BuildValue((char *)"");
6639 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6642 PyObject
*arg2
= (PyObject
*) 0 ;
6643 PyObject
* obj0
= 0 ;
6644 PyObject
* obj1
= 0 ;
6646 (char *) "self",(char *) "_self", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
6650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6651 if (SWIG_arg_fail(1)) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 wxGridTableBase__setOORInfo(arg1
,arg2
);
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 Py_INCREF(Py_None
); resultobj
= Py_None
;
6667 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6670 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6672 PyObject
* obj1
= 0 ;
6674 (char *) "self",(char *) "attrProvider", NULL
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6679 if (SWIG_arg_fail(1)) SWIG_fail
;
6680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6681 if (SWIG_arg_fail(2)) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 (arg1
)->SetAttrProvider(arg2
);
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6689 Py_INCREF(Py_None
); resultobj
= Py_None
;
6696 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6697 PyObject
*resultobj
;
6698 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6699 wxGridCellAttrProvider
*result
;
6700 PyObject
* obj0
= 0 ;
6702 (char *) "self", NULL
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
6706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6707 if (SWIG_arg_fail(1)) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, 0);
6724 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6726 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6727 wxGrid
*arg2
= (wxGrid
*) 0 ;
6728 PyObject
* obj0
= 0 ;
6729 PyObject
* obj1
= 0 ;
6731 (char *) "self",(char *) "grid", NULL
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
6735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6736 if (SWIG_arg_fail(1)) SWIG_fail
;
6737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
6738 if (SWIG_arg_fail(2)) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 (arg1
)->SetView(arg2
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 Py_INCREF(Py_None
); resultobj
= Py_None
;
6753 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
;
6755 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6757 PyObject
* obj0
= 0 ;
6759 (char *) "self", NULL
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
6763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6764 if (SWIG_arg_fail(1)) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6773 resultobj
= wxPyMake_wxObject(result
, 0);
6781 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
;
6783 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6785 PyObject
* obj0
= 0 ;
6787 (char *) "self", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
6791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6792 if (SWIG_arg_fail(1)) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (int)(arg1
)->GetNumberRows();
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= SWIG_From_int((int)(result
));
6809 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
;
6811 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6813 PyObject
* obj0
= 0 ;
6815 (char *) "self", NULL
6818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
6819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6820 if (SWIG_arg_fail(1)) SWIG_fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 result
= (int)(arg1
)->GetNumberCols();
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6829 resultobj
= SWIG_From_int((int)(result
));
6837 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
*resultobj
;
6839 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6843 PyObject
* obj0
= 0 ;
6844 PyObject
* obj1
= 0 ;
6845 PyObject
* obj2
= 0 ;
6847 (char *) "self",(char *) "row",(char *) "col", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6852 if (SWIG_arg_fail(1)) SWIG_fail
;
6854 arg2
= (int)(SWIG_As_int(obj1
));
6855 if (SWIG_arg_fail(2)) SWIG_fail
;
6858 arg3
= (int)(SWIG_As_int(obj2
));
6859 if (SWIG_arg_fail(3)) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6877 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
;
6879 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6885 PyObject
* obj2
= 0 ;
6887 (char *) "self",(char *) "row",(char *) "col", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6892 if (SWIG_arg_fail(1)) SWIG_fail
;
6894 arg2
= (int)(SWIG_As_int(obj1
));
6895 if (SWIG_arg_fail(2)) SWIG_fail
;
6898 arg3
= (int)(SWIG_As_int(obj2
));
6899 if (SWIG_arg_fail(3)) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 result
= (arg1
)->GetValue(arg2
,arg3
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6921 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6926 wxString
*arg4
= 0 ;
6927 bool temp4
= false ;
6928 PyObject
* obj0
= 0 ;
6929 PyObject
* obj1
= 0 ;
6930 PyObject
* obj2
= 0 ;
6931 PyObject
* obj3
= 0 ;
6933 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6938 if (SWIG_arg_fail(1)) SWIG_fail
;
6940 arg2
= (int)(SWIG_As_int(obj1
));
6941 if (SWIG_arg_fail(2)) SWIG_fail
;
6944 arg3
= (int)(SWIG_As_int(obj2
));
6945 if (SWIG_arg_fail(3)) SWIG_fail
;
6948 arg4
= wxString_in_helper(obj3
);
6949 if (arg4
== NULL
) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 Py_INCREF(Py_None
); resultobj
= Py_None
;
6974 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6982 PyObject
* obj2
= 0 ;
6984 (char *) "self",(char *) "row",(char *) "col", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6989 if (SWIG_arg_fail(1)) SWIG_fail
;
6991 arg2
= (int)(SWIG_As_int(obj1
));
6992 if (SWIG_arg_fail(2)) SWIG_fail
;
6995 arg3
= (int)(SWIG_As_int(obj2
));
6996 if (SWIG_arg_fail(3)) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 result
= (arg1
)->GetTypeName(arg2
,arg3
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7018 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7023 wxString
*arg4
= 0 ;
7025 bool temp4
= false ;
7026 PyObject
* obj0
= 0 ;
7027 PyObject
* obj1
= 0 ;
7028 PyObject
* obj2
= 0 ;
7029 PyObject
* obj3
= 0 ;
7031 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7036 if (SWIG_arg_fail(1)) SWIG_fail
;
7038 arg2
= (int)(SWIG_As_int(obj1
));
7039 if (SWIG_arg_fail(2)) SWIG_fail
;
7042 arg3
= (int)(SWIG_As_int(obj2
));
7043 if (SWIG_arg_fail(3)) SWIG_fail
;
7046 arg4
= wxString_in_helper(obj3
);
7047 if (arg4
== NULL
) SWIG_fail
;
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7074 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7079 wxString
*arg4
= 0 ;
7081 bool temp4
= false ;
7082 PyObject
* obj0
= 0 ;
7083 PyObject
* obj1
= 0 ;
7084 PyObject
* obj2
= 0 ;
7085 PyObject
* obj3
= 0 ;
7087 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7092 if (SWIG_arg_fail(1)) SWIG_fail
;
7094 arg2
= (int)(SWIG_As_int(obj1
));
7095 if (SWIG_arg_fail(2)) SWIG_fail
;
7098 arg3
= (int)(SWIG_As_int(obj2
));
7099 if (SWIG_arg_fail(3)) SWIG_fail
;
7102 arg4
= wxString_in_helper(obj3
);
7103 if (arg4
== NULL
) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7130 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
;
7132 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7136 PyObject
* obj0
= 0 ;
7137 PyObject
* obj1
= 0 ;
7138 PyObject
* obj2
= 0 ;
7140 (char *) "self",(char *) "row",(char *) "col", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7145 if (SWIG_arg_fail(1)) SWIG_fail
;
7147 arg2
= (int)(SWIG_As_int(obj1
));
7148 if (SWIG_arg_fail(2)) SWIG_fail
;
7151 arg3
= (int)(SWIG_As_int(obj2
));
7152 if (SWIG_arg_fail(3)) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= SWIG_From_long((long)(result
));
7170 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7176 PyObject
* obj0
= 0 ;
7177 PyObject
* obj1
= 0 ;
7178 PyObject
* obj2
= 0 ;
7180 (char *) "self",(char *) "row",(char *) "col", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7185 if (SWIG_arg_fail(1)) SWIG_fail
;
7187 arg2
= (int)(SWIG_As_int(obj1
));
7188 if (SWIG_arg_fail(2)) SWIG_fail
;
7191 arg3
= (int)(SWIG_As_int(obj2
));
7192 if (SWIG_arg_fail(3)) SWIG_fail
;
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7202 resultobj
= SWIG_From_double((double)(result
));
7210 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7216 PyObject
* obj0
= 0 ;
7217 PyObject
* obj1
= 0 ;
7218 PyObject
* obj2
= 0 ;
7220 (char *) "self",(char *) "row",(char *) "col", NULL
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7225 if (SWIG_arg_fail(1)) SWIG_fail
;
7227 arg2
= (int)(SWIG_As_int(obj1
));
7228 if (SWIG_arg_fail(2)) SWIG_fail
;
7231 arg3
= (int)(SWIG_As_int(obj2
));
7232 if (SWIG_arg_fail(3)) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7250 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7256 PyObject
* obj0
= 0 ;
7257 PyObject
* obj1
= 0 ;
7258 PyObject
* obj2
= 0 ;
7259 PyObject
* obj3
= 0 ;
7261 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7266 if (SWIG_arg_fail(1)) SWIG_fail
;
7268 arg2
= (int)(SWIG_As_int(obj1
));
7269 if (SWIG_arg_fail(2)) SWIG_fail
;
7272 arg3
= (int)(SWIG_As_int(obj2
));
7273 if (SWIG_arg_fail(3)) SWIG_fail
;
7276 arg4
= (long)(SWIG_As_long(obj3
));
7277 if (SWIG_arg_fail(4)) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 Py_INCREF(Py_None
); resultobj
= Py_None
;
7293 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7301 PyObject
* obj2
= 0 ;
7302 PyObject
* obj3
= 0 ;
7304 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail
;
7311 arg2
= (int)(SWIG_As_int(obj1
));
7312 if (SWIG_arg_fail(2)) SWIG_fail
;
7315 arg3
= (int)(SWIG_As_int(obj2
));
7316 if (SWIG_arg_fail(3)) SWIG_fail
;
7319 arg4
= (double)(SWIG_As_double(obj3
));
7320 if (SWIG_arg_fail(4)) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 Py_INCREF(Py_None
); resultobj
= Py_None
;
7336 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
*resultobj
;
7338 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7342 PyObject
* obj0
= 0 ;
7343 PyObject
* obj1
= 0 ;
7344 PyObject
* obj2
= 0 ;
7345 PyObject
* obj3
= 0 ;
7347 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7352 if (SWIG_arg_fail(1)) SWIG_fail
;
7354 arg2
= (int)(SWIG_As_int(obj1
));
7355 if (SWIG_arg_fail(2)) SWIG_fail
;
7358 arg3
= (int)(SWIG_As_int(obj2
));
7359 if (SWIG_arg_fail(3)) SWIG_fail
;
7362 arg4
= (bool)(SWIG_As_bool(obj3
));
7363 if (SWIG_arg_fail(4)) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 Py_INCREF(Py_None
); resultobj
= Py_None
;
7379 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7382 PyObject
* obj0
= 0 ;
7384 (char *) "self", NULL
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
7388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7389 if (SWIG_arg_fail(1)) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 Py_INCREF(Py_None
); resultobj
= Py_None
;
7404 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7407 size_t arg2
= (size_t) 0 ;
7408 size_t arg3
= (size_t) 1 ;
7410 PyObject
* obj0
= 0 ;
7411 PyObject
* obj1
= 0 ;
7412 PyObject
* obj2
= 0 ;
7414 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7419 if (SWIG_arg_fail(1)) SWIG_fail
;
7422 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7423 if (SWIG_arg_fail(2)) SWIG_fail
;
7428 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
7429 if (SWIG_arg_fail(3)) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7448 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7451 size_t arg2
= (size_t) 1 ;
7453 PyObject
* obj0
= 0 ;
7454 PyObject
* obj1
= 0 ;
7456 (char *) "self",(char *) "numRows", NULL
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
7460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7461 if (SWIG_arg_fail(1)) SWIG_fail
;
7464 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7465 if (SWIG_arg_fail(2)) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 result
= (bool)(arg1
)->AppendRows(arg2
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7484 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7487 size_t arg2
= (size_t) 0 ;
7488 size_t arg3
= (size_t) 1 ;
7490 PyObject
* obj0
= 0 ;
7491 PyObject
* obj1
= 0 ;
7492 PyObject
* obj2
= 0 ;
7494 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7499 if (SWIG_arg_fail(1)) SWIG_fail
;
7502 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7503 if (SWIG_arg_fail(2)) SWIG_fail
;
7508 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
7509 if (SWIG_arg_fail(3)) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7528 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7531 size_t arg2
= (size_t) 0 ;
7532 size_t arg3
= (size_t) 1 ;
7534 PyObject
* obj0
= 0 ;
7535 PyObject
* obj1
= 0 ;
7536 PyObject
* obj2
= 0 ;
7538 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7543 if (SWIG_arg_fail(1)) SWIG_fail
;
7546 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7547 if (SWIG_arg_fail(2)) SWIG_fail
;
7552 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
7553 if (SWIG_arg_fail(3)) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7572 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
;
7574 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7575 size_t arg2
= (size_t) 1 ;
7577 PyObject
* obj0
= 0 ;
7578 PyObject
* obj1
= 0 ;
7580 (char *) "self",(char *) "numCols", NULL
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
7584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7585 if (SWIG_arg_fail(1)) SWIG_fail
;
7588 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7589 if (SWIG_arg_fail(2)) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 result
= (bool)(arg1
)->AppendCols(arg2
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7608 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7611 size_t arg2
= (size_t) 0 ;
7612 size_t arg3
= (size_t) 1 ;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7616 PyObject
* obj2
= 0 ;
7618 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7623 if (SWIG_arg_fail(1)) SWIG_fail
;
7626 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7627 if (SWIG_arg_fail(2)) SWIG_fail
;
7632 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
7633 if (SWIG_arg_fail(3)) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7652 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
*resultobj
;
7654 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7657 PyObject
* obj0
= 0 ;
7658 PyObject
* obj1
= 0 ;
7660 (char *) "self",(char *) "row", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7665 if (SWIG_arg_fail(1)) SWIG_fail
;
7667 arg2
= (int)(SWIG_As_int(obj1
));
7668 if (SWIG_arg_fail(2)) SWIG_fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 result
= (arg1
)->GetRowLabelValue(arg2
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7690 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7692 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7695 PyObject
* obj0
= 0 ;
7696 PyObject
* obj1
= 0 ;
7698 (char *) "self",(char *) "col", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7703 if (SWIG_arg_fail(1)) SWIG_fail
;
7705 arg2
= (int)(SWIG_As_int(obj1
));
7706 if (SWIG_arg_fail(2)) SWIG_fail
;
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 result
= (arg1
)->GetColLabelValue(arg2
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7728 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7732 wxString
*arg3
= 0 ;
7733 bool temp3
= false ;
7734 PyObject
* obj0
= 0 ;
7735 PyObject
* obj1
= 0 ;
7736 PyObject
* obj2
= 0 ;
7738 (char *) "self",(char *) "row",(char *) "value", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7743 if (SWIG_arg_fail(1)) SWIG_fail
;
7745 arg2
= (int)(SWIG_As_int(obj1
));
7746 if (SWIG_arg_fail(2)) SWIG_fail
;
7749 arg3
= wxString_in_helper(obj2
);
7750 if (arg3
== NULL
) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 Py_INCREF(Py_None
); resultobj
= Py_None
;
7775 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7779 wxString
*arg3
= 0 ;
7780 bool temp3
= false ;
7781 PyObject
* obj0
= 0 ;
7782 PyObject
* obj1
= 0 ;
7783 PyObject
* obj2
= 0 ;
7785 (char *) "self",(char *) "col",(char *) "value", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail
;
7792 arg2
= (int)(SWIG_As_int(obj1
));
7793 if (SWIG_arg_fail(2)) SWIG_fail
;
7796 arg3
= wxString_in_helper(obj2
);
7797 if (arg3
== NULL
) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 Py_INCREF(Py_None
); resultobj
= Py_None
;
7822 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7826 PyObject
* obj0
= 0 ;
7828 (char *) "self", NULL
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7833 if (SWIG_arg_fail(1)) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= (bool)(arg1
)->CanHaveAttributes();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7850 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7855 wxGridCellAttr::wxAttrKind arg4
;
7856 wxGridCellAttr
*result
;
7857 PyObject
* obj0
= 0 ;
7858 PyObject
* obj1
= 0 ;
7859 PyObject
* obj2
= 0 ;
7860 PyObject
* obj3
= 0 ;
7862 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7867 if (SWIG_arg_fail(1)) SWIG_fail
;
7869 arg2
= (int)(SWIG_As_int(obj1
));
7870 if (SWIG_arg_fail(2)) SWIG_fail
;
7873 arg3
= (int)(SWIG_As_int(obj2
));
7874 if (SWIG_arg_fail(3)) SWIG_fail
;
7877 arg4
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj3
));
7878 if (SWIG_arg_fail(4)) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
7896 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7899 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7902 PyObject
* obj0
= 0 ;
7903 PyObject
* obj1
= 0 ;
7904 PyObject
* obj2
= 0 ;
7905 PyObject
* obj3
= 0 ;
7907 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7912 if (SWIG_arg_fail(1)) SWIG_fail
;
7913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
7914 if (SWIG_arg_fail(2)) SWIG_fail
;
7916 arg3
= (int)(SWIG_As_int(obj2
));
7917 if (SWIG_arg_fail(3)) SWIG_fail
;
7920 arg4
= (int)(SWIG_As_int(obj3
));
7921 if (SWIG_arg_fail(4)) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 Py_INCREF(Py_None
); resultobj
= Py_None
;
7937 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7939 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7940 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7942 PyObject
* obj0
= 0 ;
7943 PyObject
* obj1
= 0 ;
7944 PyObject
* obj2
= 0 ;
7946 (char *) "self",(char *) "attr",(char *) "row", NULL
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7951 if (SWIG_arg_fail(1)) SWIG_fail
;
7952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
7953 if (SWIG_arg_fail(2)) SWIG_fail
;
7955 arg3
= (int)(SWIG_As_int(obj2
));
7956 if (SWIG_arg_fail(3)) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 (arg1
)->SetRowAttr(arg2
,arg3
);
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 Py_INCREF(Py_None
); resultobj
= Py_None
;
7972 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7975 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7977 PyObject
* obj0
= 0 ;
7978 PyObject
* obj1
= 0 ;
7979 PyObject
* obj2
= 0 ;
7981 (char *) "self",(char *) "attr",(char *) "col", NULL
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7986 if (SWIG_arg_fail(1)) SWIG_fail
;
7987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
7988 if (SWIG_arg_fail(2)) SWIG_fail
;
7990 arg3
= (int)(SWIG_As_int(obj2
));
7991 if (SWIG_arg_fail(3)) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 (arg1
)->SetColAttr(arg2
,arg3
);
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 Py_INCREF(Py_None
); resultobj
= Py_None
;
8007 static PyObject
* GridTableBase_swigregister(PyObject
*, PyObject
*args
) {
8009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8010 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
8012 return Py_BuildValue((char *)"");
8014 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxPyGridTableBase
*result
;
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
8036 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8038 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8039 PyObject
*arg2
= (PyObject
*) 0 ;
8040 PyObject
*arg3
= (PyObject
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8043 PyObject
* obj2
= 0 ;
8045 (char *) "self",(char *) "self",(char *) "_class", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail
;
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8060 Py_INCREF(Py_None
); resultobj
= Py_None
;
8067 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
*resultobj
;
8069 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8070 PyObject
* obj0
= 0 ;
8072 (char *) "self", NULL
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
8076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8077 if (SWIG_arg_fail(1)) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 wxPyGridTableBase_Destroy(arg1
);
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8085 Py_INCREF(Py_None
); resultobj
= Py_None
;
8092 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8098 PyObject
* obj0
= 0 ;
8099 PyObject
* obj1
= 0 ;
8100 PyObject
* obj2
= 0 ;
8102 (char *) "self",(char *) "row",(char *) "col", NULL
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8107 if (SWIG_arg_fail(1)) SWIG_fail
;
8109 arg2
= (int)(SWIG_As_int(obj1
));
8110 if (SWIG_arg_fail(2)) SWIG_fail
;
8113 arg3
= (int)(SWIG_As_int(obj2
));
8114 if (SWIG_arg_fail(3)) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8136 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8141 wxString
*arg4
= 0 ;
8143 bool temp4
= false ;
8144 PyObject
* obj0
= 0 ;
8145 PyObject
* obj1
= 0 ;
8146 PyObject
* obj2
= 0 ;
8147 PyObject
* obj3
= 0 ;
8149 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8154 if (SWIG_arg_fail(1)) SWIG_fail
;
8156 arg2
= (int)(SWIG_As_int(obj1
));
8157 if (SWIG_arg_fail(2)) SWIG_fail
;
8160 arg3
= (int)(SWIG_As_int(obj2
));
8161 if (SWIG_arg_fail(3)) SWIG_fail
;
8164 arg4
= wxString_in_helper(obj3
);
8165 if (arg4
== NULL
) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8192 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8197 wxString
*arg4
= 0 ;
8199 bool temp4
= false ;
8200 PyObject
* obj0
= 0 ;
8201 PyObject
* obj1
= 0 ;
8202 PyObject
* obj2
= 0 ;
8203 PyObject
* obj3
= 0 ;
8205 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8210 if (SWIG_arg_fail(1)) SWIG_fail
;
8212 arg2
= (int)(SWIG_As_int(obj1
));
8213 if (SWIG_arg_fail(2)) SWIG_fail
;
8216 arg3
= (int)(SWIG_As_int(obj2
));
8217 if (SWIG_arg_fail(3)) SWIG_fail
;
8220 arg4
= wxString_in_helper(obj3
);
8221 if (arg4
== NULL
) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8248 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8251 PyObject
* obj0
= 0 ;
8253 (char *) "self", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
8257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8258 if (SWIG_arg_fail(1)) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 (arg1
)->base_Clear();
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 Py_INCREF(Py_None
); resultobj
= Py_None
;
8273 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8276 size_t arg2
= (size_t) 0 ;
8277 size_t arg3
= (size_t) 1 ;
8279 PyObject
* obj0
= 0 ;
8280 PyObject
* obj1
= 0 ;
8281 PyObject
* obj2
= 0 ;
8283 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8288 if (SWIG_arg_fail(1)) SWIG_fail
;
8291 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8292 if (SWIG_arg_fail(2)) SWIG_fail
;
8297 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
8298 if (SWIG_arg_fail(3)) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8317 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8320 size_t arg2
= (size_t) 1 ;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8325 (char *) "self",(char *) "numRows", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
8329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8330 if (SWIG_arg_fail(1)) SWIG_fail
;
8333 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8334 if (SWIG_arg_fail(2)) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (bool)(arg1
)->base_AppendRows(arg2
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8353 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8356 size_t arg2
= (size_t) 0 ;
8357 size_t arg3
= (size_t) 1 ;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8361 PyObject
* obj2
= 0 ;
8363 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8368 if (SWIG_arg_fail(1)) SWIG_fail
;
8371 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8372 if (SWIG_arg_fail(2)) SWIG_fail
;
8377 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
8378 if (SWIG_arg_fail(3)) SWIG_fail
;
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8383 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8397 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
;
8399 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8400 size_t arg2
= (size_t) 0 ;
8401 size_t arg3
= (size_t) 1 ;
8403 PyObject
* obj0
= 0 ;
8404 PyObject
* obj1
= 0 ;
8405 PyObject
* obj2
= 0 ;
8407 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8412 if (SWIG_arg_fail(1)) SWIG_fail
;
8415 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8416 if (SWIG_arg_fail(2)) SWIG_fail
;
8421 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
8422 if (SWIG_arg_fail(3)) SWIG_fail
;
8426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8427 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8441 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
;
8443 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8444 size_t arg2
= (size_t) 1 ;
8446 PyObject
* obj0
= 0 ;
8447 PyObject
* obj1
= 0 ;
8449 (char *) "self",(char *) "numCols", NULL
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
8453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8454 if (SWIG_arg_fail(1)) SWIG_fail
;
8457 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8458 if (SWIG_arg_fail(2)) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (bool)(arg1
)->base_AppendCols(arg2
);
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8477 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8480 size_t arg2
= (size_t) 0 ;
8481 size_t arg3
= (size_t) 1 ;
8483 PyObject
* obj0
= 0 ;
8484 PyObject
* obj1
= 0 ;
8485 PyObject
* obj2
= 0 ;
8487 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8492 if (SWIG_arg_fail(1)) SWIG_fail
;
8495 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8496 if (SWIG_arg_fail(2)) SWIG_fail
;
8501 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
8502 if (SWIG_arg_fail(3)) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8521 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8529 (char *) "self",(char *) "row", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8534 if (SWIG_arg_fail(1)) SWIG_fail
;
8536 arg2
= (int)(SWIG_As_int(obj1
));
8537 if (SWIG_arg_fail(2)) SWIG_fail
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 result
= (arg1
)->base_GetRowLabelValue(arg2
);
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8559 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
;
8561 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8564 PyObject
* obj0
= 0 ;
8565 PyObject
* obj1
= 0 ;
8567 (char *) "self",(char *) "col", NULL
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8572 if (SWIG_arg_fail(1)) SWIG_fail
;
8574 arg2
= (int)(SWIG_As_int(obj1
));
8575 if (SWIG_arg_fail(2)) SWIG_fail
;
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= (arg1
)->base_GetColLabelValue(arg2
);
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8597 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8601 wxString
*arg3
= 0 ;
8602 bool temp3
= false ;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8605 PyObject
* obj2
= 0 ;
8607 (char *) "self",(char *) "row",(char *) "value", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8612 if (SWIG_arg_fail(1)) SWIG_fail
;
8614 arg2
= (int)(SWIG_As_int(obj1
));
8615 if (SWIG_arg_fail(2)) SWIG_fail
;
8618 arg3
= wxString_in_helper(obj2
);
8619 if (arg3
== NULL
) SWIG_fail
;
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 Py_INCREF(Py_None
); resultobj
= Py_None
;
8644 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
;
8646 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8648 wxString
*arg3
= 0 ;
8649 bool temp3
= false ;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8652 PyObject
* obj2
= 0 ;
8654 (char *) "self",(char *) "col",(char *) "value", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8659 if (SWIG_arg_fail(1)) SWIG_fail
;
8661 arg2
= (int)(SWIG_As_int(obj1
));
8662 if (SWIG_arg_fail(2)) SWIG_fail
;
8665 arg3
= wxString_in_helper(obj2
);
8666 if (arg3
== NULL
) SWIG_fail
;
8670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8671 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
8673 wxPyEndAllowThreads(__tstate
);
8674 if (PyErr_Occurred()) SWIG_fail
;
8676 Py_INCREF(Py_None
); resultobj
= Py_None
;
8691 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
*resultobj
;
8693 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8695 PyObject
* obj0
= 0 ;
8697 (char *) "self", NULL
8700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
8701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8702 if (SWIG_arg_fail(1)) SWIG_fail
;
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 result
= (bool)(arg1
)->base_CanHaveAttributes();
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8719 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
;
8721 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8724 wxGridCellAttr::wxAttrKind arg4
;
8725 wxGridCellAttr
*result
;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8728 PyObject
* obj2
= 0 ;
8729 PyObject
* obj3
= 0 ;
8731 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail
;
8738 arg2
= (int)(SWIG_As_int(obj1
));
8739 if (SWIG_arg_fail(2)) SWIG_fail
;
8742 arg3
= (int)(SWIG_As_int(obj2
));
8743 if (SWIG_arg_fail(3)) SWIG_fail
;
8746 arg4
= (wxGridCellAttr::wxAttrKind
)(SWIG_As_int(obj3
));
8747 if (SWIG_arg_fail(4)) SWIG_fail
;
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
8765 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8768 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8771 PyObject
* obj0
= 0 ;
8772 PyObject
* obj1
= 0 ;
8773 PyObject
* obj2
= 0 ;
8774 PyObject
* obj3
= 0 ;
8776 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8781 if (SWIG_arg_fail(1)) SWIG_fail
;
8782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8783 if (SWIG_arg_fail(2)) SWIG_fail
;
8785 arg3
= (int)(SWIG_As_int(obj2
));
8786 if (SWIG_arg_fail(3)) SWIG_fail
;
8789 arg4
= (int)(SWIG_As_int(obj3
));
8790 if (SWIG_arg_fail(4)) SWIG_fail
;
8793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8794 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
8796 wxPyEndAllowThreads(__tstate
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8799 Py_INCREF(Py_None
); resultobj
= Py_None
;
8806 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
;
8808 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8809 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8813 PyObject
* obj2
= 0 ;
8815 (char *) "self",(char *) "attr",(char *) "row", NULL
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8820 if (SWIG_arg_fail(1)) SWIG_fail
;
8821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8822 if (SWIG_arg_fail(2)) SWIG_fail
;
8824 arg3
= (int)(SWIG_As_int(obj2
));
8825 if (SWIG_arg_fail(3)) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 (arg1
)->base_SetRowAttr(arg2
,arg3
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 Py_INCREF(Py_None
); resultobj
= Py_None
;
8841 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8844 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8848 PyObject
* obj2
= 0 ;
8850 (char *) "self",(char *) "attr",(char *) "col", NULL
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8855 if (SWIG_arg_fail(1)) SWIG_fail
;
8856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8857 if (SWIG_arg_fail(2)) SWIG_fail
;
8859 arg3
= (int)(SWIG_As_int(obj2
));
8860 if (SWIG_arg_fail(3)) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 (arg1
)->base_SetColAttr(arg2
,arg3
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 Py_INCREF(Py_None
); resultobj
= Py_None
;
8876 static PyObject
* PyGridTableBase_swigregister(PyObject
*, PyObject
*args
) {
8878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8879 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
8881 return Py_BuildValue((char *)"");
8883 static PyObject
*_wrap_new_GridStringTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 int arg1
= (int) 0 ;
8886 int arg2
= (int) 0 ;
8887 wxGridStringTable
*result
;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj1
= 0 ;
8891 (char *) "numRows",(char *) "numCols", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
8897 arg1
= (int)(SWIG_As_int(obj0
));
8898 if (SWIG_arg_fail(1)) SWIG_fail
;
8903 arg2
= (int)(SWIG_As_int(obj1
));
8904 if (SWIG_arg_fail(2)) SWIG_fail
;
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
8921 static PyObject
* GridStringTable_swigregister(PyObject
*, PyObject
*args
) {
8923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8924 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
8926 return Py_BuildValue((char *)"");
8928 static PyObject
*_wrap_new_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8932 int arg3
= (int) -1 ;
8933 int arg4
= (int) -1 ;
8934 wxGridTableMessage
*result
;
8935 PyObject
* obj0
= 0 ;
8936 PyObject
* obj1
= 0 ;
8937 PyObject
* obj2
= 0 ;
8938 PyObject
* obj3
= 0 ;
8940 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8945 if (SWIG_arg_fail(1)) SWIG_fail
;
8947 arg2
= (int)(SWIG_As_int(obj1
));
8948 if (SWIG_arg_fail(2)) SWIG_fail
;
8952 arg3
= (int)(SWIG_As_int(obj2
));
8953 if (SWIG_arg_fail(3)) SWIG_fail
;
8958 arg4
= (int)(SWIG_As_int(obj3
));
8959 if (SWIG_arg_fail(4)) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
8976 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
;
8978 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
8979 PyObject
* obj0
= 0 ;
8981 (char *) "self", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
8985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
8986 if (SWIG_arg_fail(1)) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 Py_INCREF(Py_None
); resultobj
= Py_None
;
9001 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9004 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
9005 PyObject
* obj0
= 0 ;
9006 PyObject
* obj1
= 0 ;
9008 (char *) "self",(char *) "table", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
9012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9013 if (SWIG_arg_fail(1)) SWIG_fail
;
9014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
9015 if (SWIG_arg_fail(2)) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 (arg1
)->SetTableObject(arg2
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 Py_INCREF(Py_None
); resultobj
= Py_None
;
9030 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
;
9032 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9033 wxGridTableBase
*result
;
9034 PyObject
* obj0
= 0 ;
9036 (char *) "self", NULL
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
9040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9041 if (SWIG_arg_fail(1)) SWIG_fail
;
9043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= wxPyMake_wxGridTableBase(result
, 0);
9058 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
;
9060 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9062 PyObject
* obj0
= 0 ;
9063 PyObject
* obj1
= 0 ;
9065 (char *) "self",(char *) "id", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
9069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9070 if (SWIG_arg_fail(1)) SWIG_fail
;
9072 arg2
= (int)(SWIG_As_int(obj1
));
9073 if (SWIG_arg_fail(2)) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 (arg1
)->SetId(arg2
);
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9082 Py_INCREF(Py_None
); resultobj
= Py_None
;
9089 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9093 PyObject
* obj0
= 0 ;
9095 (char *) "self", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
9099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9100 if (SWIG_arg_fail(1)) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= (int)(arg1
)->GetId();
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= SWIG_From_int((int)(result
));
9117 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9121 PyObject
* obj0
= 0 ;
9122 PyObject
* obj1
= 0 ;
9124 (char *) "self",(char *) "comInt1", NULL
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9129 if (SWIG_arg_fail(1)) SWIG_fail
;
9131 arg2
= (int)(SWIG_As_int(obj1
));
9132 if (SWIG_arg_fail(2)) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 (arg1
)->SetCommandInt(arg2
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 Py_INCREF(Py_None
); resultobj
= Py_None
;
9148 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9152 PyObject
* obj0
= 0 ;
9154 (char *) "self", NULL
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
9158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9159 if (SWIG_arg_fail(1)) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (int)(arg1
)->GetCommandInt();
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= SWIG_From_int((int)(result
));
9176 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9183 (char *) "self",(char *) "comInt2", NULL
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
9187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9188 if (SWIG_arg_fail(1)) SWIG_fail
;
9190 arg2
= (int)(SWIG_As_int(obj1
));
9191 if (SWIG_arg_fail(2)) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 (arg1
)->SetCommandInt2(arg2
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 Py_INCREF(Py_None
); resultobj
= Py_None
;
9207 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
;
9209 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9211 PyObject
* obj0
= 0 ;
9213 (char *) "self", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
9217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9218 if (SWIG_arg_fail(1)) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 result
= (int)(arg1
)->GetCommandInt2();
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_From_int((int)(result
));
9235 static PyObject
* GridTableMessage_swigregister(PyObject
*, PyObject
*args
) {
9237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9238 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
9240 return Py_BuildValue((char *)"");
9242 static PyObject
*_wrap_new_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 int arg1
= (int) -1 ;
9245 int arg2
= (int) -1 ;
9246 wxGridCellCoords
*result
;
9247 PyObject
* obj0
= 0 ;
9248 PyObject
* obj1
= 0 ;
9250 (char *) "r",(char *) "c", NULL
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
9256 arg1
= (int)(SWIG_As_int(obj0
));
9257 if (SWIG_arg_fail(1)) SWIG_fail
;
9262 arg2
= (int)(SWIG_As_int(obj1
));
9263 if (SWIG_arg_fail(2)) SWIG_fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
9280 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9283 PyObject
* obj0
= 0 ;
9285 (char *) "self", NULL
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
9289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9290 if (SWIG_arg_fail(1)) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 Py_INCREF(Py_None
); resultobj
= Py_None
;
9305 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9311 (char *) "self", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
9315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9316 if (SWIG_arg_fail(1)) SWIG_fail
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= SWIG_From_int((int)(result
));
9333 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9337 PyObject
* obj0
= 0 ;
9338 PyObject
* obj1
= 0 ;
9340 (char *) "self",(char *) "n", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9345 if (SWIG_arg_fail(1)) SWIG_fail
;
9347 arg2
= (int)(SWIG_As_int(obj1
));
9348 if (SWIG_arg_fail(2)) SWIG_fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 (arg1
)->SetRow(arg2
);
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9357 Py_INCREF(Py_None
); resultobj
= Py_None
;
9364 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9368 PyObject
* obj0
= 0 ;
9370 (char *) "self", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
9374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9375 if (SWIG_arg_fail(1)) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= SWIG_From_int((int)(result
));
9392 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9394 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9399 (char *) "self",(char *) "n", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9404 if (SWIG_arg_fail(1)) SWIG_fail
;
9406 arg2
= (int)(SWIG_As_int(obj1
));
9407 if (SWIG_arg_fail(2)) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 (arg1
)->SetCol(arg2
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 Py_INCREF(Py_None
); resultobj
= Py_None
;
9423 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
;
9425 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9428 PyObject
* obj0
= 0 ;
9429 PyObject
* obj1
= 0 ;
9430 PyObject
* obj2
= 0 ;
9432 (char *) "self",(char *) "row",(char *) "col", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9437 if (SWIG_arg_fail(1)) SWIG_fail
;
9439 arg2
= (int)(SWIG_As_int(obj1
));
9440 if (SWIG_arg_fail(2)) SWIG_fail
;
9443 arg3
= (int)(SWIG_As_int(obj2
));
9444 if (SWIG_arg_fail(3)) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 (arg1
)->Set(arg2
,arg3
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 Py_INCREF(Py_None
); resultobj
= Py_None
;
9460 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9463 wxGridCellCoords
*arg2
= 0 ;
9465 wxGridCellCoords temp2
;
9466 PyObject
* obj0
= 0 ;
9467 PyObject
* obj1
= 0 ;
9469 (char *) "self",(char *) "other", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9474 if (SWIG_arg_fail(1)) SWIG_fail
;
9477 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9495 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9498 wxGridCellCoords
*arg2
= 0 ;
9500 wxGridCellCoords temp2
;
9501 PyObject
* obj0
= 0 ;
9502 PyObject
* obj1
= 0 ;
9504 (char *) "self",(char *) "other", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9509 if (SWIG_arg_fail(1)) SWIG_fail
;
9512 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9530 static PyObject
*_wrap_GridCellCoords_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
;
9532 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9534 PyObject
* obj0
= 0 ;
9536 (char *) "self", NULL
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_Get",kwnames
,&obj0
)) goto fail
;
9540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9541 if (SWIG_arg_fail(1)) SWIG_fail
;
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9556 static PyObject
* GridCellCoords_swigregister(PyObject
*, PyObject
*args
) {
9558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9559 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
9561 return Py_BuildValue((char *)"");
9563 static PyObject
*_wrap_new_Grid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxWindow
*arg1
= (wxWindow
*) 0 ;
9566 int arg2
= (int) -1 ;
9567 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9568 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9569 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9570 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9571 long arg5
= (long) wxWANTS_CHARS
;
9572 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9573 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9577 bool temp6
= false ;
9578 PyObject
* obj0
= 0 ;
9579 PyObject
* obj1
= 0 ;
9580 PyObject
* obj2
= 0 ;
9581 PyObject
* obj3
= 0 ;
9582 PyObject
* obj4
= 0 ;
9583 PyObject
* obj5
= 0 ;
9585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9590 if (SWIG_arg_fail(1)) SWIG_fail
;
9593 arg2
= (int)(SWIG_As_int(obj1
));
9594 if (SWIG_arg_fail(2)) SWIG_fail
;
9600 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9606 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9611 arg5
= (long)(SWIG_As_long(obj4
));
9612 if (SWIG_arg_fail(5)) SWIG_fail
;
9617 arg6
= wxString_in_helper(obj5
);
9618 if (arg6
== NULL
) SWIG_fail
;
9623 if (!wxPyCheckForApp()) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
9645 static PyObject
*_wrap_new_PreGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGrid",kwnames
)) goto fail
;
9654 if (!wxPyCheckForApp()) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (wxGrid
*)new wxGrid();
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
9668 static PyObject
*_wrap_Grid_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxGrid
*arg1
= (wxGrid
*) 0 ;
9671 wxWindow
*arg2
= (wxWindow
*) 0 ;
9672 int arg3
= (int) -1 ;
9673 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9674 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9675 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9676 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9677 long arg6
= (long) wxWANTS_CHARS
;
9678 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9679 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9683 bool temp7
= false ;
9684 PyObject
* obj0
= 0 ;
9685 PyObject
* obj1
= 0 ;
9686 PyObject
* obj2
= 0 ;
9687 PyObject
* obj3
= 0 ;
9688 PyObject
* obj4
= 0 ;
9689 PyObject
* obj5
= 0 ;
9690 PyObject
* obj6
= 0 ;
9692 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9697 if (SWIG_arg_fail(1)) SWIG_fail
;
9698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9699 if (SWIG_arg_fail(2)) SWIG_fail
;
9702 arg3
= (int)(SWIG_As_int(obj2
));
9703 if (SWIG_arg_fail(3)) SWIG_fail
;
9709 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9715 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9720 arg6
= (long)(SWIG_As_long(obj5
));
9721 if (SWIG_arg_fail(6)) SWIG_fail
;
9726 arg7
= wxString_in_helper(obj6
);
9727 if (arg7
== NULL
) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9755 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9757 wxGrid
*arg1
= (wxGrid
*) 0 ;
9760 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9764 PyObject
* obj2
= 0 ;
9765 PyObject
* obj3
= 0 ;
9767 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9772 if (SWIG_arg_fail(1)) SWIG_fail
;
9774 arg2
= (int)(SWIG_As_int(obj1
));
9775 if (SWIG_arg_fail(2)) SWIG_fail
;
9778 arg3
= (int)(SWIG_As_int(obj2
));
9779 if (SWIG_arg_fail(3)) SWIG_fail
;
9783 arg4
= (WXGRIDSELECTIONMODES
)(SWIG_As_int(obj3
));
9784 if (SWIG_arg_fail(4)) SWIG_fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9803 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxGrid
*arg1
= (wxGrid
*) 0 ;
9806 WXGRIDSELECTIONMODES arg2
;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9810 (char *) "self",(char *) "selmode", NULL
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
9814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9815 if (SWIG_arg_fail(1)) SWIG_fail
;
9817 arg2
= (WXGRIDSELECTIONMODES
)(SWIG_As_int(obj1
));
9818 if (SWIG_arg_fail(2)) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 (arg1
)->SetSelectionMode(arg2
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 Py_INCREF(Py_None
); resultobj
= Py_None
;
9834 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9836 wxGrid
*arg1
= (wxGrid
*) 0 ;
9837 WXGRIDSELECTIONMODES result
;
9838 PyObject
* obj0
= 0 ;
9840 (char *) "self", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
9844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9845 if (SWIG_arg_fail(1)) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_From_int((int)(result
));
9862 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9864 wxGrid
*arg1
= (wxGrid
*) 0 ;
9866 PyObject
* obj0
= 0 ;
9868 (char *) "self", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
9872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9873 if (SWIG_arg_fail(1)) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 result
= (int)(arg1
)->GetNumberRows();
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_From_int((int)(result
));
9890 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxGrid
*arg1
= (wxGrid
*) 0 ;
9894 PyObject
* obj0
= 0 ;
9896 (char *) "self", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
9900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9901 if (SWIG_arg_fail(1)) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (int)(arg1
)->GetNumberCols();
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_From_int((int)(result
));
9918 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxGrid
*arg1
= (wxGrid
*) 0 ;
9921 wxGridTableMessage
*arg2
= 0 ;
9923 PyObject
* obj0
= 0 ;
9924 PyObject
* obj1
= 0 ;
9926 (char *) "self","arg2", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9931 if (SWIG_arg_fail(1)) SWIG_fail
;
9933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9934 if (SWIG_arg_fail(2)) SWIG_fail
;
9936 SWIG_null_ref("wxGridTableMessage");
9938 if (SWIG_arg_fail(2)) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9956 static PyObject
*_wrap_Grid_GetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxGrid
*arg1
= (wxGrid
*) 0 ;
9959 wxGridTableBase
*result
;
9960 PyObject
* obj0
= 0 ;
9962 (char *) "self", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
9966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9967 if (SWIG_arg_fail(1)) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= wxPyMake_wxGridTableBase(result
, 0);
9984 static PyObject
*_wrap_Grid_SetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxGrid
*arg1
= (wxGrid
*) 0 ;
9987 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
9988 bool arg3
= (bool) false ;
9989 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
9991 PyObject
* obj0
= 0 ;
9992 PyObject
* obj1
= 0 ;
9993 PyObject
* obj2
= 0 ;
9994 PyObject
* obj3
= 0 ;
9996 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10001 if (SWIG_arg_fail(1)) SWIG_fail
;
10002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
10003 if (SWIG_arg_fail(2)) SWIG_fail
;
10006 arg3
= (bool)(SWIG_As_bool(obj2
));
10007 if (SWIG_arg_fail(3)) SWIG_fail
;
10012 arg4
= (WXGRIDSELECTIONMODES
)(SWIG_As_int(obj3
));
10013 if (SWIG_arg_fail(4)) SWIG_fail
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10032 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
;
10034 wxGrid
*arg1
= (wxGrid
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
10041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10042 if (SWIG_arg_fail(1)) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 (arg1
)->ClearGrid();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 Py_INCREF(Py_None
); resultobj
= Py_None
;
10057 static PyObject
*_wrap_Grid_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxGrid
*arg1
= (wxGrid
*) 0 ;
10060 int arg2
= (int) 0 ;
10061 int arg3
= (int) 1 ;
10062 bool arg4
= (bool) true ;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 PyObject
* obj2
= 0 ;
10067 PyObject
* obj3
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10074 if (SWIG_arg_fail(1)) SWIG_fail
;
10077 arg2
= (int)(SWIG_As_int(obj1
));
10078 if (SWIG_arg_fail(2)) SWIG_fail
;
10083 arg3
= (int)(SWIG_As_int(obj2
));
10084 if (SWIG_arg_fail(3)) SWIG_fail
;
10089 arg4
= (bool)(SWIG_As_bool(obj3
));
10090 if (SWIG_arg_fail(4)) SWIG_fail
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10109 static PyObject
*_wrap_Grid_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxGrid
*arg1
= (wxGrid
*) 0 ;
10112 int arg2
= (int) 1 ;
10113 bool arg3
= (bool) true ;
10115 PyObject
* obj0
= 0 ;
10116 PyObject
* obj1
= 0 ;
10117 PyObject
* obj2
= 0 ;
10118 char *kwnames
[] = {
10119 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10124 if (SWIG_arg_fail(1)) SWIG_fail
;
10127 arg2
= (int)(SWIG_As_int(obj1
));
10128 if (SWIG_arg_fail(2)) SWIG_fail
;
10133 arg3
= (bool)(SWIG_As_bool(obj2
));
10134 if (SWIG_arg_fail(3)) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10153 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxGrid
*arg1
= (wxGrid
*) 0 ;
10156 int arg2
= (int) 0 ;
10157 int arg3
= (int) 1 ;
10158 bool arg4
= (bool) true ;
10160 PyObject
* obj0
= 0 ;
10161 PyObject
* obj1
= 0 ;
10162 PyObject
* obj2
= 0 ;
10163 PyObject
* obj3
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10170 if (SWIG_arg_fail(1)) SWIG_fail
;
10173 arg2
= (int)(SWIG_As_int(obj1
));
10174 if (SWIG_arg_fail(2)) SWIG_fail
;
10179 arg3
= (int)(SWIG_As_int(obj2
));
10180 if (SWIG_arg_fail(3)) SWIG_fail
;
10185 arg4
= (bool)(SWIG_As_bool(obj3
));
10186 if (SWIG_arg_fail(4)) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10205 static PyObject
*_wrap_Grid_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxGrid
*arg1
= (wxGrid
*) 0 ;
10208 int arg2
= (int) 0 ;
10209 int arg3
= (int) 1 ;
10210 bool arg4
= (bool) true ;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 PyObject
* obj2
= 0 ;
10215 PyObject
* obj3
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10222 if (SWIG_arg_fail(1)) SWIG_fail
;
10225 arg2
= (int)(SWIG_As_int(obj1
));
10226 if (SWIG_arg_fail(2)) SWIG_fail
;
10231 arg3
= (int)(SWIG_As_int(obj2
));
10232 if (SWIG_arg_fail(3)) SWIG_fail
;
10237 arg4
= (bool)(SWIG_As_bool(obj3
));
10238 if (SWIG_arg_fail(4)) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10257 static PyObject
*_wrap_Grid_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
;
10259 wxGrid
*arg1
= (wxGrid
*) 0 ;
10260 int arg2
= (int) 1 ;
10261 bool arg3
= (bool) true ;
10263 PyObject
* obj0
= 0 ;
10264 PyObject
* obj1
= 0 ;
10265 PyObject
* obj2
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10272 if (SWIG_arg_fail(1)) SWIG_fail
;
10275 arg2
= (int)(SWIG_As_int(obj1
));
10276 if (SWIG_arg_fail(2)) SWIG_fail
;
10281 arg3
= (bool)(SWIG_As_bool(obj2
));
10282 if (SWIG_arg_fail(3)) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10301 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
;
10303 wxGrid
*arg1
= (wxGrid
*) 0 ;
10304 int arg2
= (int) 0 ;
10305 int arg3
= (int) 1 ;
10306 bool arg4
= (bool) true ;
10308 PyObject
* obj0
= 0 ;
10309 PyObject
* obj1
= 0 ;
10310 PyObject
* obj2
= 0 ;
10311 PyObject
* obj3
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10318 if (SWIG_arg_fail(1)) SWIG_fail
;
10321 arg2
= (int)(SWIG_As_int(obj1
));
10322 if (SWIG_arg_fail(2)) SWIG_fail
;
10327 arg3
= (int)(SWIG_As_int(obj2
));
10328 if (SWIG_arg_fail(3)) SWIG_fail
;
10333 arg4
= (bool)(SWIG_As_bool(obj3
));
10334 if (SWIG_arg_fail(4)) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10353 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxGrid
*arg1
= (wxGrid
*) 0 ;
10357 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 PyObject
* obj2
= 0 ;
10361 char *kwnames
[] = {
10362 (char *) "self",(char *) "dc",(char *) "attr", NULL
10365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10367 if (SWIG_arg_fail(1)) SWIG_fail
;
10369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10370 if (SWIG_arg_fail(2)) SWIG_fail
;
10371 if (arg2
== NULL
) {
10372 SWIG_null_ref("wxDC");
10374 if (SWIG_arg_fail(2)) SWIG_fail
;
10376 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
10377 if (SWIG_arg_fail(3)) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 Py_INCREF(Py_None
); resultobj
= Py_None
;
10392 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxGrid
*arg1
= (wxGrid
*) 0 ;
10396 wxString
*arg3
= 0 ;
10398 int arg5
= (int) wxLEFT
;
10399 int arg6
= (int) wxTOP
;
10400 int arg7
= (int) wxHORIZONTAL
;
10401 bool temp3
= false ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 PyObject
* obj2
= 0 ;
10406 PyObject
* obj3
= 0 ;
10407 PyObject
* obj4
= 0 ;
10408 PyObject
* obj5
= 0 ;
10409 PyObject
* obj6
= 0 ;
10410 char *kwnames
[] = {
10411 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
10414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10416 if (SWIG_arg_fail(1)) SWIG_fail
;
10418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10419 if (SWIG_arg_fail(2)) SWIG_fail
;
10420 if (arg2
== NULL
) {
10421 SWIG_null_ref("wxDC");
10423 if (SWIG_arg_fail(2)) SWIG_fail
;
10426 arg3
= wxString_in_helper(obj2
);
10427 if (arg3
== NULL
) SWIG_fail
;
10432 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
10436 arg5
= (int)(SWIG_As_int(obj4
));
10437 if (SWIG_arg_fail(5)) SWIG_fail
;
10442 arg6
= (int)(SWIG_As_int(obj5
));
10443 if (SWIG_arg_fail(6)) SWIG_fail
;
10448 arg7
= (int)(SWIG_As_int(obj6
));
10449 if (SWIG_arg_fail(7)) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 Py_INCREF(Py_None
); resultobj
= Py_None
;
10474 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxGrid
*arg1
= (wxGrid
*) 0 ;
10478 wxArrayString
*arg3
= 0 ;
10479 long *arg4
= (long *) 0 ;
10480 long *arg5
= (long *) 0 ;
10481 bool temp3
= false ;
10486 PyObject
* obj0
= 0 ;
10487 PyObject
* obj1
= 0 ;
10488 PyObject
* obj2
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self",(char *) "dc",(char *) "lines", NULL
10493 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10494 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10497 if (SWIG_arg_fail(1)) SWIG_fail
;
10499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10500 if (SWIG_arg_fail(2)) SWIG_fail
;
10501 if (arg2
== NULL
) {
10502 SWIG_null_ref("wxDC");
10504 if (SWIG_arg_fail(2)) SWIG_fail
;
10507 if (! PySequence_Check(obj2
)) {
10508 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10511 arg3
= new wxArrayString
;
10513 int i
, len
=PySequence_Length(obj2
);
10514 for (i
=0; i
<len
; i
++) {
10515 PyObject
* item
= PySequence_GetItem(obj2
, i
);
10517 PyObject
* str
= PyObject_Unicode(item
);
10519 PyObject
* str
= PyObject_Str(item
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10522 arg3
->Add(Py2wxString(str
));
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 Py_INCREF(Py_None
); resultobj
= Py_None
;
10535 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10536 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10537 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
10538 SWIG_From_long((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, 0)));
10540 if (temp3
) delete arg3
;
10545 if (temp3
) delete arg3
;
10551 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxGrid
*arg1
= (wxGrid
*) 0 ;
10554 PyObject
* obj0
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
10560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10561 if (SWIG_arg_fail(1)) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 (arg1
)->BeginBatch();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 Py_INCREF(Py_None
); resultobj
= Py_None
;
10576 static PyObject
*_wrap_Grid_EndBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
;
10578 wxGrid
*arg1
= (wxGrid
*) 0 ;
10579 PyObject
* obj0
= 0 ;
10580 char *kwnames
[] = {
10581 (char *) "self", NULL
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
10585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10586 if (SWIG_arg_fail(1)) SWIG_fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 (arg1
)->EndBatch();
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10594 Py_INCREF(Py_None
); resultobj
= Py_None
;
10601 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10602 PyObject
*resultobj
;
10603 wxGrid
*arg1
= (wxGrid
*) 0 ;
10605 PyObject
* obj0
= 0 ;
10606 char *kwnames
[] = {
10607 (char *) "self", NULL
10610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
10611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10612 if (SWIG_arg_fail(1)) SWIG_fail
;
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 result
= (int)(arg1
)->GetBatchCount();
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= SWIG_From_int((int)(result
));
10629 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
;
10631 wxGrid
*arg1
= (wxGrid
*) 0 ;
10632 PyObject
* obj0
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
10638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10639 if (SWIG_arg_fail(1)) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 (arg1
)->ForceRefresh();
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 Py_INCREF(Py_None
); resultobj
= Py_None
;
10654 static PyObject
*_wrap_Grid_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
;
10656 wxGrid
*arg1
= (wxGrid
*) 0 ;
10658 PyObject
* obj0
= 0 ;
10659 char *kwnames
[] = {
10660 (char *) "self", NULL
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
10664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10665 if (SWIG_arg_fail(1)) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= (bool)(arg1
)->IsEditable();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10682 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxGrid
*arg1
= (wxGrid
*) 0 ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "edit", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
10693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail
;
10696 arg2
= (bool)(SWIG_As_bool(obj1
));
10697 if (SWIG_arg_fail(2)) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 (arg1
)->EnableEditing(arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 Py_INCREF(Py_None
); resultobj
= Py_None
;
10713 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxGrid
*arg1
= (wxGrid
*) 0 ;
10716 bool arg2
= (bool) true ;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self",(char *) "enable", NULL
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
10724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10725 if (SWIG_arg_fail(1)) SWIG_fail
;
10728 arg2
= (bool)(SWIG_As_bool(obj1
));
10729 if (SWIG_arg_fail(2)) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 (arg1
)->EnableCellEditControl(arg2
);
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 Py_INCREF(Py_None
); resultobj
= Py_None
;
10746 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxGrid
*arg1
= (wxGrid
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
10755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10756 if (SWIG_arg_fail(1)) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 (arg1
)->DisableCellEditControl();
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 Py_INCREF(Py_None
); resultobj
= Py_None
;
10771 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxGrid
*arg1
= (wxGrid
*) 0 ;
10775 PyObject
* obj0
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "self", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
10781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10782 if (SWIG_arg_fail(1)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10799 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxGrid
*arg1
= (wxGrid
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
10809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10810 if (SWIG_arg_fail(1)) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10827 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxGrid
*arg1
= (wxGrid
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
10837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10838 if (SWIG_arg_fail(1)) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10855 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10857 wxGrid
*arg1
= (wxGrid
*) 0 ;
10859 PyObject
* obj0
= 0 ;
10860 char *kwnames
[] = {
10861 (char *) "self", NULL
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
10865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10866 if (SWIG_arg_fail(1)) SWIG_fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10883 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxGrid
*arg1
= (wxGrid
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
10892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10893 if (SWIG_arg_fail(1)) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 (arg1
)->ShowCellEditControl();
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 Py_INCREF(Py_None
); resultobj
= Py_None
;
10908 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
;
10910 wxGrid
*arg1
= (wxGrid
*) 0 ;
10911 PyObject
* obj0
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
10917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10918 if (SWIG_arg_fail(1)) SWIG_fail
;
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 (arg1
)->HideCellEditControl();
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 Py_INCREF(Py_None
); resultobj
= Py_None
;
10933 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
;
10935 wxGrid
*arg1
= (wxGrid
*) 0 ;
10936 PyObject
* obj0
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "self", NULL
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
10942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10943 if (SWIG_arg_fail(1)) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 (arg1
)->SaveEditControlValue();
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 Py_INCREF(Py_None
); resultobj
= Py_None
;
10958 static PyObject
*_wrap_Grid_XYToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxGrid
*arg1
= (wxGrid
*) 0 ;
10963 wxGridCellCoords result
;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 PyObject
* obj2
= 0 ;
10967 char *kwnames
[] = {
10968 (char *) "self",(char *) "x",(char *) "y", NULL
10971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10973 if (SWIG_arg_fail(1)) SWIG_fail
;
10975 arg2
= (int)(SWIG_As_int(obj1
));
10976 if (SWIG_arg_fail(2)) SWIG_fail
;
10979 arg3
= (int)(SWIG_As_int(obj2
));
10980 if (SWIG_arg_fail(3)) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10990 wxGridCellCoords
* resultptr
;
10991 resultptr
= new wxGridCellCoords((wxGridCellCoords
&)(result
));
10992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
11000 static PyObject
*_wrap_Grid_YToRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
;
11002 wxGrid
*arg1
= (wxGrid
*) 0 ;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self",(char *) "y", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
11012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11013 if (SWIG_arg_fail(1)) SWIG_fail
;
11015 arg2
= (int)(SWIG_As_int(obj1
));
11016 if (SWIG_arg_fail(2)) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (int)(arg1
)->YToRow(arg2
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= SWIG_From_int((int)(result
));
11034 static PyObject
*_wrap_Grid_XToCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
*resultobj
;
11036 wxGrid
*arg1
= (wxGrid
*) 0 ;
11039 PyObject
* obj0
= 0 ;
11040 PyObject
* obj1
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self",(char *) "x", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
11046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11047 if (SWIG_arg_fail(1)) SWIG_fail
;
11049 arg2
= (int)(SWIG_As_int(obj1
));
11050 if (SWIG_arg_fail(2)) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= (int)(arg1
)->XToCol(arg2
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11060 resultobj
= SWIG_From_int((int)(result
));
11068 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxGrid
*arg1
= (wxGrid
*) 0 ;
11073 PyObject
* obj0
= 0 ;
11074 PyObject
* obj1
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self",(char *) "y", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
11080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11081 if (SWIG_arg_fail(1)) SWIG_fail
;
11083 arg2
= (int)(SWIG_As_int(obj1
));
11084 if (SWIG_arg_fail(2)) SWIG_fail
;
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11094 resultobj
= SWIG_From_int((int)(result
));
11102 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 wxGrid
*arg1
= (wxGrid
*) 0 ;
11107 PyObject
* obj0
= 0 ;
11108 PyObject
* obj1
= 0 ;
11109 char *kwnames
[] = {
11110 (char *) "self",(char *) "x", NULL
11113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
11114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11115 if (SWIG_arg_fail(1)) SWIG_fail
;
11117 arg2
= (int)(SWIG_As_int(obj1
));
11118 if (SWIG_arg_fail(2)) SWIG_fail
;
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= SWIG_From_int((int)(result
));
11136 static PyObject
*_wrap_Grid_CellToRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
*resultobj
;
11138 wxGrid
*arg1
= (wxGrid
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 PyObject
* obj1
= 0 ;
11144 PyObject
* obj2
= 0 ;
11145 char *kwnames
[] = {
11146 (char *) "self",(char *) "row",(char *) "col", NULL
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11151 if (SWIG_arg_fail(1)) SWIG_fail
;
11153 arg2
= (int)(SWIG_As_int(obj1
));
11154 if (SWIG_arg_fail(2)) SWIG_fail
;
11157 arg3
= (int)(SWIG_As_int(obj2
));
11158 if (SWIG_arg_fail(3)) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= (arg1
)->CellToRect(arg2
,arg3
);
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11168 wxRect
* resultptr
;
11169 resultptr
= new wxRect((wxRect
&)(result
));
11170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
11178 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxGrid
*arg1
= (wxGrid
*) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
11188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11189 if (SWIG_arg_fail(1)) SWIG_fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 result
= (int)(arg1
)->GetGridCursorRow();
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11198 resultobj
= SWIG_From_int((int)(result
));
11206 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
;
11208 wxGrid
*arg1
= (wxGrid
*) 0 ;
11210 PyObject
* obj0
= 0 ;
11211 char *kwnames
[] = {
11212 (char *) "self", NULL
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
11216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11217 if (SWIG_arg_fail(1)) SWIG_fail
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (int)(arg1
)->GetGridCursorCol();
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11226 resultobj
= SWIG_From_int((int)(result
));
11234 static PyObject
*_wrap_Grid_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxGrid
*arg1
= (wxGrid
*) 0 ;
11239 bool arg4
= (bool) true ;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 PyObject
* obj2
= 0 ;
11244 PyObject
* obj3
= 0 ;
11245 char *kwnames
[] = {
11246 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11251 if (SWIG_arg_fail(1)) SWIG_fail
;
11253 arg2
= (int)(SWIG_As_int(obj1
));
11254 if (SWIG_arg_fail(2)) SWIG_fail
;
11257 arg3
= (int)(SWIG_As_int(obj2
));
11258 if (SWIG_arg_fail(3)) SWIG_fail
;
11262 arg4
= (bool)(SWIG_As_bool(obj3
));
11263 if (SWIG_arg_fail(4)) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11282 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
;
11284 wxGrid
*arg1
= (wxGrid
*) 0 ;
11287 PyObject
* obj0
= 0 ;
11288 PyObject
* obj1
= 0 ;
11289 PyObject
* obj2
= 0 ;
11290 char *kwnames
[] = {
11291 (char *) "self",(char *) "row",(char *) "col", NULL
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11296 if (SWIG_arg_fail(1)) SWIG_fail
;
11298 arg2
= (int)(SWIG_As_int(obj1
));
11299 if (SWIG_arg_fail(2)) SWIG_fail
;
11302 arg3
= (int)(SWIG_As_int(obj2
));
11303 if (SWIG_arg_fail(3)) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 (arg1
)->MakeCellVisible(arg2
,arg3
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 Py_INCREF(Py_None
); resultobj
= Py_None
;
11319 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxGrid
*arg1
= (wxGrid
*) 0 ;
11324 PyObject
* obj0
= 0 ;
11325 PyObject
* obj1
= 0 ;
11326 PyObject
* obj2
= 0 ;
11327 char *kwnames
[] = {
11328 (char *) "self",(char *) "row",(char *) "col", NULL
11331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11333 if (SWIG_arg_fail(1)) SWIG_fail
;
11335 arg2
= (int)(SWIG_As_int(obj1
));
11336 if (SWIG_arg_fail(2)) SWIG_fail
;
11339 arg3
= (int)(SWIG_As_int(obj2
));
11340 if (SWIG_arg_fail(3)) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 (arg1
)->SetGridCursor(arg2
,arg3
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 Py_INCREF(Py_None
); resultobj
= Py_None
;
11356 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxGrid
*arg1
= (wxGrid
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self",(char *) "expandSelection", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11369 if (SWIG_arg_fail(1)) SWIG_fail
;
11371 arg2
= (bool)(SWIG_As_bool(obj1
));
11372 if (SWIG_arg_fail(2)) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11390 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxGrid
*arg1
= (wxGrid
*) 0 ;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 char *kwnames
[] = {
11398 (char *) "self",(char *) "expandSelection", NULL
11401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11403 if (SWIG_arg_fail(1)) SWIG_fail
;
11405 arg2
= (bool)(SWIG_As_bool(obj1
));
11406 if (SWIG_arg_fail(2)) SWIG_fail
;
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11424 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
;
11426 wxGrid
*arg1
= (wxGrid
*) 0 ;
11429 PyObject
* obj0
= 0 ;
11430 PyObject
* obj1
= 0 ;
11431 char *kwnames
[] = {
11432 (char *) "self",(char *) "expandSelection", NULL
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
11436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11437 if (SWIG_arg_fail(1)) SWIG_fail
;
11439 arg2
= (bool)(SWIG_As_bool(obj1
));
11440 if (SWIG_arg_fail(2)) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11458 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxGrid
*arg1
= (wxGrid
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "expandSelection", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
11470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11471 if (SWIG_arg_fail(1)) SWIG_fail
;
11473 arg2
= (bool)(SWIG_As_bool(obj1
));
11474 if (SWIG_arg_fail(2)) SWIG_fail
;
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11492 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 wxGrid
*arg1
= (wxGrid
*) 0 ;
11496 PyObject
* obj0
= 0 ;
11497 char *kwnames
[] = {
11498 (char *) "self", NULL
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
11502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11503 if (SWIG_arg_fail(1)) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= (bool)(arg1
)->MovePageDown();
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11520 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
;
11522 wxGrid
*arg1
= (wxGrid
*) 0 ;
11524 PyObject
* obj0
= 0 ;
11525 char *kwnames
[] = {
11526 (char *) "self", NULL
11529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
11530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11531 if (SWIG_arg_fail(1)) SWIG_fail
;
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (bool)(arg1
)->MovePageUp();
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11548 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
;
11550 wxGrid
*arg1
= (wxGrid
*) 0 ;
11553 PyObject
* obj0
= 0 ;
11554 PyObject
* obj1
= 0 ;
11555 char *kwnames
[] = {
11556 (char *) "self",(char *) "expandSelection", NULL
11559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11561 if (SWIG_arg_fail(1)) SWIG_fail
;
11563 arg2
= (bool)(SWIG_As_bool(obj1
));
11564 if (SWIG_arg_fail(2)) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11582 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxGrid
*arg1
= (wxGrid
*) 0 ;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 char *kwnames
[] = {
11590 (char *) "self",(char *) "expandSelection", NULL
11593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11595 if (SWIG_arg_fail(1)) SWIG_fail
;
11597 arg2
= (bool)(SWIG_As_bool(obj1
));
11598 if (SWIG_arg_fail(2)) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11616 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxGrid
*arg1
= (wxGrid
*) 0 ;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 char *kwnames
[] = {
11624 (char *) "self",(char *) "expandSelection", NULL
11627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11629 if (SWIG_arg_fail(1)) SWIG_fail
;
11631 arg2
= (bool)(SWIG_As_bool(obj1
));
11632 if (SWIG_arg_fail(2)) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11650 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxGrid
*arg1
= (wxGrid
*) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 PyObject
* obj1
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self",(char *) "expandSelection", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11663 if (SWIG_arg_fail(1)) SWIG_fail
;
11665 arg2
= (bool)(SWIG_As_bool(obj1
));
11666 if (SWIG_arg_fail(2)) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11684 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
;
11686 wxGrid
*arg1
= (wxGrid
*) 0 ;
11688 PyObject
* obj0
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "self", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
11694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11695 if (SWIG_arg_fail(1)) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= (int)(arg1
)->GetDefaultRowLabelSize();
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_From_int((int)(result
));
11712 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxGrid
*arg1
= (wxGrid
*) 0 ;
11716 PyObject
* obj0
= 0 ;
11717 char *kwnames
[] = {
11718 (char *) "self", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
11722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11723 if (SWIG_arg_fail(1)) SWIG_fail
;
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 result
= (int)(arg1
)->GetRowLabelSize();
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= SWIG_From_int((int)(result
));
11740 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 wxGrid
*arg1
= (wxGrid
*) 0 ;
11744 PyObject
* obj0
= 0 ;
11745 char *kwnames
[] = {
11746 (char *) "self", NULL
11749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
11750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11751 if (SWIG_arg_fail(1)) SWIG_fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 result
= (int)(arg1
)->GetDefaultColLabelSize();
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= SWIG_From_int((int)(result
));
11768 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11769 PyObject
*resultobj
;
11770 wxGrid
*arg1
= (wxGrid
*) 0 ;
11772 PyObject
* obj0
= 0 ;
11773 char *kwnames
[] = {
11774 (char *) "self", NULL
11777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
11778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11779 if (SWIG_arg_fail(1)) SWIG_fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (int)(arg1
)->GetColLabelSize();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_From_int((int)(result
));
11796 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11797 PyObject
*resultobj
;
11798 wxGrid
*arg1
= (wxGrid
*) 0 ;
11800 PyObject
* obj0
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "self", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
11806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11807 if (SWIG_arg_fail(1)) SWIG_fail
;
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (arg1
)->GetLabelBackgroundColour();
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11816 wxColour
* resultptr
;
11817 resultptr
= new wxColour((wxColour
&)(result
));
11818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11826 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
;
11828 wxGrid
*arg1
= (wxGrid
*) 0 ;
11830 PyObject
* obj0
= 0 ;
11831 char *kwnames
[] = {
11832 (char *) "self", NULL
11835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
11836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11837 if (SWIG_arg_fail(1)) SWIG_fail
;
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (arg1
)->GetLabelTextColour();
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11846 wxColour
* resultptr
;
11847 resultptr
= new wxColour((wxColour
&)(result
));
11848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11856 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxGrid
*arg1
= (wxGrid
*) 0 ;
11860 PyObject
* obj0
= 0 ;
11861 char *kwnames
[] = {
11862 (char *) "self", NULL
11865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
11866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11867 if (SWIG_arg_fail(1)) SWIG_fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 result
= (arg1
)->GetLabelFont();
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11876 wxFont
* resultptr
;
11877 resultptr
= new wxFont((wxFont
&)(result
));
11878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11886 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
;
11888 wxGrid
*arg1
= (wxGrid
*) 0 ;
11889 int *arg2
= (int *) 0 ;
11890 int *arg3
= (int *) 0 ;
11895 PyObject
* obj0
= 0 ;
11896 char *kwnames
[] = {
11897 (char *) "self", NULL
11900 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11901 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
11903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11904 if (SWIG_arg_fail(1)) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 Py_INCREF(Py_None
); resultobj
= Py_None
;
11913 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11914 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
11915 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11916 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
11923 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxGrid
*arg1
= (wxGrid
*) 0 ;
11926 int *arg2
= (int *) 0 ;
11927 int *arg3
= (int *) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self", NULL
11937 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11938 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
11940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11941 if (SWIG_arg_fail(1)) SWIG_fail
;
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11949 Py_INCREF(Py_None
); resultobj
= Py_None
;
11950 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11951 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
11952 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11953 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
11960 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
;
11962 wxGrid
*arg1
= (wxGrid
*) 0 ;
11964 PyObject
* obj0
= 0 ;
11965 char *kwnames
[] = {
11966 (char *) "self", NULL
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
11970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11971 if (SWIG_arg_fail(1)) SWIG_fail
;
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (int)(arg1
)->GetColLabelTextOrientation();
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_From_int((int)(result
));
11988 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxGrid
*arg1
= (wxGrid
*) 0 ;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self",(char *) "row", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12001 if (SWIG_arg_fail(1)) SWIG_fail
;
12003 arg2
= (int)(SWIG_As_int(obj1
));
12004 if (SWIG_arg_fail(2)) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (arg1
)->GetRowLabelValue(arg2
);
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12026 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12027 PyObject
*resultobj
;
12028 wxGrid
*arg1
= (wxGrid
*) 0 ;
12031 PyObject
* obj0
= 0 ;
12032 PyObject
* obj1
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "self",(char *) "col", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12039 if (SWIG_arg_fail(1)) SWIG_fail
;
12041 arg2
= (int)(SWIG_As_int(obj1
));
12042 if (SWIG_arg_fail(2)) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (arg1
)->GetColLabelValue(arg2
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12055 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12064 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxGrid
*arg1
= (wxGrid
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
12074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12075 if (SWIG_arg_fail(1)) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (arg1
)->GetGridLineColour();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12084 wxColour
* resultptr
;
12085 resultptr
= new wxColour((wxColour
&)(result
));
12086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12094 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxGrid
*arg1
= (wxGrid
*) 0 ;
12098 PyObject
* obj0
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
12104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12105 if (SWIG_arg_fail(1)) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (arg1
)->GetCellHighlightColour();
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 wxColour
* resultptr
;
12115 resultptr
= new wxColour((wxColour
&)(result
));
12116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12124 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxGrid
*arg1
= (wxGrid
*) 0 ;
12128 PyObject
* obj0
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
12134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12135 if (SWIG_arg_fail(1)) SWIG_fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (int)(arg1
)->GetCellHighlightPenWidth();
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= SWIG_From_int((int)(result
));
12152 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
;
12154 wxGrid
*arg1
= (wxGrid
*) 0 ;
12156 PyObject
* obj0
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
12162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12163 if (SWIG_arg_fail(1)) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= SWIG_From_int((int)(result
));
12180 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
;
12182 wxGrid
*arg1
= (wxGrid
*) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 PyObject
* obj1
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self",(char *) "width", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12192 if (SWIG_arg_fail(1)) SWIG_fail
;
12194 arg2
= (int)(SWIG_As_int(obj1
));
12195 if (SWIG_arg_fail(2)) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 (arg1
)->SetRowLabelSize(arg2
);
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 Py_INCREF(Py_None
); resultobj
= Py_None
;
12211 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12212 PyObject
*resultobj
;
12213 wxGrid
*arg1
= (wxGrid
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12216 PyObject
* obj1
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "self",(char *) "height", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12223 if (SWIG_arg_fail(1)) SWIG_fail
;
12225 arg2
= (int)(SWIG_As_int(obj1
));
12226 if (SWIG_arg_fail(2)) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 (arg1
)->SetColLabelSize(arg2
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 Py_INCREF(Py_None
); resultobj
= Py_None
;
12242 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
;
12244 wxGrid
*arg1
= (wxGrid
*) 0 ;
12245 wxColour
*arg2
= 0 ;
12247 PyObject
* obj0
= 0 ;
12248 PyObject
* obj1
= 0 ;
12249 char *kwnames
[] = {
12250 (char *) "self","arg2", NULL
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12255 if (SWIG_arg_fail(1)) SWIG_fail
;
12258 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 Py_INCREF(Py_None
); resultobj
= Py_None
;
12274 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxGrid
*arg1
= (wxGrid
*) 0 ;
12277 wxColour
*arg2
= 0 ;
12279 PyObject
* obj0
= 0 ;
12280 PyObject
* obj1
= 0 ;
12281 char *kwnames
[] = {
12282 (char *) "self","arg2", NULL
12285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12287 if (SWIG_arg_fail(1)) SWIG_fail
;
12290 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 Py_INCREF(Py_None
); resultobj
= Py_None
;
12306 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxGrid
*arg1
= (wxGrid
*) 0 ;
12310 PyObject
* obj0
= 0 ;
12311 PyObject
* obj1
= 0 ;
12312 char *kwnames
[] = {
12313 (char *) "self","arg2", NULL
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12318 if (SWIG_arg_fail(1)) SWIG_fail
;
12320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
12321 if (SWIG_arg_fail(2)) SWIG_fail
;
12322 if (arg2
== NULL
) {
12323 SWIG_null_ref("wxFont");
12325 if (SWIG_arg_fail(2)) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 Py_INCREF(Py_None
); resultobj
= Py_None
;
12341 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxGrid
*arg1
= (wxGrid
*) 0 ;
12346 PyObject
* obj0
= 0 ;
12347 PyObject
* obj1
= 0 ;
12348 PyObject
* obj2
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12355 if (SWIG_arg_fail(1)) SWIG_fail
;
12357 arg2
= (int)(SWIG_As_int(obj1
));
12358 if (SWIG_arg_fail(2)) SWIG_fail
;
12361 arg3
= (int)(SWIG_As_int(obj2
));
12362 if (SWIG_arg_fail(3)) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 Py_INCREF(Py_None
); resultobj
= Py_None
;
12378 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxGrid
*arg1
= (wxGrid
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 PyObject
* obj1
= 0 ;
12385 PyObject
* obj2
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12392 if (SWIG_arg_fail(1)) SWIG_fail
;
12394 arg2
= (int)(SWIG_As_int(obj1
));
12395 if (SWIG_arg_fail(2)) SWIG_fail
;
12398 arg3
= (int)(SWIG_As_int(obj2
));
12399 if (SWIG_arg_fail(3)) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 Py_INCREF(Py_None
); resultobj
= Py_None
;
12415 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxGrid
*arg1
= (wxGrid
*) 0 ;
12419 PyObject
* obj0
= 0 ;
12420 PyObject
* obj1
= 0 ;
12421 char *kwnames
[] = {
12422 (char *) "self",(char *) "textOrientation", NULL
12425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
12426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12427 if (SWIG_arg_fail(1)) SWIG_fail
;
12429 arg2
= (int)(SWIG_As_int(obj1
));
12430 if (SWIG_arg_fail(2)) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 (arg1
)->SetColLabelTextOrientation(arg2
);
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12439 Py_INCREF(Py_None
); resultobj
= Py_None
;
12446 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
;
12448 wxGrid
*arg1
= (wxGrid
*) 0 ;
12450 wxString
*arg3
= 0 ;
12451 bool temp3
= false ;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 PyObject
* obj2
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self",(char *) "row","arg3", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12461 if (SWIG_arg_fail(1)) SWIG_fail
;
12463 arg2
= (int)(SWIG_As_int(obj1
));
12464 if (SWIG_arg_fail(2)) SWIG_fail
;
12467 arg3
= wxString_in_helper(obj2
);
12468 if (arg3
== NULL
) SWIG_fail
;
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 Py_INCREF(Py_None
); resultobj
= Py_None
;
12493 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
;
12495 wxGrid
*arg1
= (wxGrid
*) 0 ;
12497 wxString
*arg3
= 0 ;
12498 bool temp3
= false ;
12499 PyObject
* obj0
= 0 ;
12500 PyObject
* obj1
= 0 ;
12501 PyObject
* obj2
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self",(char *) "col","arg3", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12508 if (SWIG_arg_fail(1)) SWIG_fail
;
12510 arg2
= (int)(SWIG_As_int(obj1
));
12511 if (SWIG_arg_fail(2)) SWIG_fail
;
12514 arg3
= wxString_in_helper(obj2
);
12515 if (arg3
== NULL
) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12525 Py_INCREF(Py_None
); resultobj
= Py_None
;
12540 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
*resultobj
;
12542 wxGrid
*arg1
= (wxGrid
*) 0 ;
12543 wxColour
*arg2
= 0 ;
12545 PyObject
* obj0
= 0 ;
12546 PyObject
* obj1
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self","arg2", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12553 if (SWIG_arg_fail(1)) SWIG_fail
;
12556 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 Py_INCREF(Py_None
); resultobj
= Py_None
;
12572 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
;
12574 wxGrid
*arg1
= (wxGrid
*) 0 ;
12575 wxColour
*arg2
= 0 ;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 char *kwnames
[] = {
12580 (char *) "self","arg2", NULL
12583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12585 if (SWIG_arg_fail(1)) SWIG_fail
;
12588 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 Py_INCREF(Py_None
); resultobj
= Py_None
;
12604 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxGrid
*arg1
= (wxGrid
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 char *kwnames
[] = {
12611 (char *) "self",(char *) "width", NULL
12614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12616 if (SWIG_arg_fail(1)) SWIG_fail
;
12618 arg2
= (int)(SWIG_As_int(obj1
));
12619 if (SWIG_arg_fail(2)) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 (arg1
)->SetCellHighlightPenWidth(arg2
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 Py_INCREF(Py_None
); resultobj
= Py_None
;
12635 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxGrid
*arg1
= (wxGrid
*) 0 ;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self",(char *) "width", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12647 if (SWIG_arg_fail(1)) SWIG_fail
;
12649 arg2
= (int)(SWIG_As_int(obj1
));
12650 if (SWIG_arg_fail(2)) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 (arg1
)->SetCellHighlightROPenWidth(arg2
);
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 Py_INCREF(Py_None
); resultobj
= Py_None
;
12666 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxGrid
*arg1
= (wxGrid
*) 0 ;
12669 bool arg2
= (bool) true ;
12670 PyObject
* obj0
= 0 ;
12671 PyObject
* obj1
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self",(char *) "enable", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12678 if (SWIG_arg_fail(1)) SWIG_fail
;
12681 arg2
= (bool)(SWIG_As_bool(obj1
));
12682 if (SWIG_arg_fail(2)) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->EnableDragRowSize(arg2
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 Py_INCREF(Py_None
); resultobj
= Py_None
;
12699 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxGrid
*arg1
= (wxGrid
*) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
12708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12709 if (SWIG_arg_fail(1)) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 (arg1
)->DisableDragRowSize();
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 Py_INCREF(Py_None
); resultobj
= Py_None
;
12724 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
;
12726 wxGrid
*arg1
= (wxGrid
*) 0 ;
12728 PyObject
* obj0
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "self", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
12734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12735 if (SWIG_arg_fail(1)) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (bool)(arg1
)->CanDragRowSize();
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12752 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
;
12754 wxGrid
*arg1
= (wxGrid
*) 0 ;
12755 bool arg2
= (bool) true ;
12756 PyObject
* obj0
= 0 ;
12757 PyObject
* obj1
= 0 ;
12758 char *kwnames
[] = {
12759 (char *) "self",(char *) "enable", NULL
12762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12764 if (SWIG_arg_fail(1)) SWIG_fail
;
12767 arg2
= (bool)(SWIG_As_bool(obj1
));
12768 if (SWIG_arg_fail(2)) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 (arg1
)->EnableDragColSize(arg2
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 Py_INCREF(Py_None
); resultobj
= Py_None
;
12785 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxGrid
*arg1
= (wxGrid
*) 0 ;
12788 PyObject
* obj0
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
12794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12795 if (SWIG_arg_fail(1)) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 (arg1
)->DisableDragColSize();
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 Py_INCREF(Py_None
); resultobj
= Py_None
;
12810 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxGrid
*arg1
= (wxGrid
*) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
12820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12821 if (SWIG_arg_fail(1)) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 result
= (bool)(arg1
)->CanDragColSize();
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12838 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxGrid
*arg1
= (wxGrid
*) 0 ;
12841 bool arg2
= (bool) true ;
12842 PyObject
* obj0
= 0 ;
12843 PyObject
* obj1
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self",(char *) "enable", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12850 if (SWIG_arg_fail(1)) SWIG_fail
;
12853 arg2
= (bool)(SWIG_As_bool(obj1
));
12854 if (SWIG_arg_fail(2)) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 (arg1
)->EnableDragGridSize(arg2
);
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 Py_INCREF(Py_None
); resultobj
= Py_None
;
12871 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxGrid
*arg1
= (wxGrid
*) 0 ;
12874 PyObject
* obj0
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
12880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12881 if (SWIG_arg_fail(1)) SWIG_fail
;
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 (arg1
)->DisableDragGridSize();
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12889 Py_INCREF(Py_None
); resultobj
= Py_None
;
12896 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
;
12898 wxGrid
*arg1
= (wxGrid
*) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 char *kwnames
[] = {
12902 (char *) "self", NULL
12905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
12906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12907 if (SWIG_arg_fail(1)) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= (bool)(arg1
)->CanDragGridSize();
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12924 static PyObject
*_wrap_Grid_EnableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxGrid
*arg1
= (wxGrid
*) 0 ;
12927 bool arg2
= (bool) true ;
12928 PyObject
* obj0
= 0 ;
12929 PyObject
* obj1
= 0 ;
12930 char *kwnames
[] = {
12931 (char *) "self",(char *) "enable", NULL
12934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) goto fail
;
12935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12936 if (SWIG_arg_fail(1)) SWIG_fail
;
12939 arg2
= (bool)(SWIG_As_bool(obj1
));
12940 if (SWIG_arg_fail(2)) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 (arg1
)->EnableDragCell(arg2
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 Py_INCREF(Py_None
); resultobj
= Py_None
;
12957 static PyObject
*_wrap_Grid_DisableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxGrid
*arg1
= (wxGrid
*) 0 ;
12960 PyObject
* obj0
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "self", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragCell",kwnames
,&obj0
)) goto fail
;
12966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12967 if (SWIG_arg_fail(1)) SWIG_fail
;
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 (arg1
)->DisableDragCell();
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12975 Py_INCREF(Py_None
); resultobj
= Py_None
;
12982 static PyObject
*_wrap_Grid_CanDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
;
12984 wxGrid
*arg1
= (wxGrid
*) 0 ;
12986 PyObject
* obj0
= 0 ;
12987 char *kwnames
[] = {
12988 (char *) "self", NULL
12991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragCell",kwnames
,&obj0
)) goto fail
;
12992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12993 if (SWIG_arg_fail(1)) SWIG_fail
;
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12996 result
= (bool)(arg1
)->CanDragCell();
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13010 static PyObject
*_wrap_Grid_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
;
13012 wxGrid
*arg1
= (wxGrid
*) 0 ;
13015 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
13016 PyObject
* obj0
= 0 ;
13017 PyObject
* obj1
= 0 ;
13018 PyObject
* obj2
= 0 ;
13019 PyObject
* obj3
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13026 if (SWIG_arg_fail(1)) SWIG_fail
;
13028 arg2
= (int)(SWIG_As_int(obj1
));
13029 if (SWIG_arg_fail(2)) SWIG_fail
;
13032 arg3
= (int)(SWIG_As_int(obj2
));
13033 if (SWIG_arg_fail(3)) SWIG_fail
;
13035 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13036 if (SWIG_arg_fail(4)) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 Py_INCREF(Py_None
); resultobj
= Py_None
;
13051 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxGrid
*arg1
= (wxGrid
*) 0 ;
13055 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 PyObject
* obj2
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self",(char *) "row",(char *) "attr", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13065 if (SWIG_arg_fail(1)) SWIG_fail
;
13067 arg2
= (int)(SWIG_As_int(obj1
));
13068 if (SWIG_arg_fail(2)) SWIG_fail
;
13070 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13071 if (SWIG_arg_fail(3)) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 (arg1
)->SetRowAttr(arg2
,arg3
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 Py_INCREF(Py_None
); resultobj
= Py_None
;
13086 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxGrid
*arg1
= (wxGrid
*) 0 ;
13090 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 PyObject
* obj2
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self",(char *) "col",(char *) "attr", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13100 if (SWIG_arg_fail(1)) SWIG_fail
;
13102 arg2
= (int)(SWIG_As_int(obj1
));
13103 if (SWIG_arg_fail(2)) SWIG_fail
;
13105 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13106 if (SWIG_arg_fail(3)) SWIG_fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 (arg1
)->SetColAttr(arg2
,arg3
);
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13114 Py_INCREF(Py_None
); resultobj
= Py_None
;
13121 static PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13122 PyObject
*resultobj
;
13123 wxGrid
*arg1
= (wxGrid
*) 0 ;
13126 wxGridCellAttr
*result
;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 PyObject
* obj2
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self",(char *) "row",(char *) "col", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13136 if (SWIG_arg_fail(1)) SWIG_fail
;
13138 arg2
= (int)(SWIG_As_int(obj1
));
13139 if (SWIG_arg_fail(2)) SWIG_fail
;
13142 arg3
= (int)(SWIG_As_int(obj2
));
13143 if (SWIG_arg_fail(3)) SWIG_fail
;
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
13161 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxGrid
*arg1
= (wxGrid
*) 0 ;
13165 PyObject
* obj0
= 0 ;
13166 PyObject
* obj1
= 0 ;
13167 char *kwnames
[] = {
13168 (char *) "self",(char *) "col", NULL
13171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
13172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13173 if (SWIG_arg_fail(1)) SWIG_fail
;
13175 arg2
= (int)(SWIG_As_int(obj1
));
13176 if (SWIG_arg_fail(2)) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 (arg1
)->SetColFormatBool(arg2
);
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 Py_INCREF(Py_None
); resultobj
= Py_None
;
13192 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxGrid
*arg1
= (wxGrid
*) 0 ;
13196 PyObject
* obj0
= 0 ;
13197 PyObject
* obj1
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self",(char *) "col", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
13203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13204 if (SWIG_arg_fail(1)) SWIG_fail
;
13206 arg2
= (int)(SWIG_As_int(obj1
));
13207 if (SWIG_arg_fail(2)) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 (arg1
)->SetColFormatNumber(arg2
);
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 Py_INCREF(Py_None
); resultobj
= Py_None
;
13223 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
;
13225 wxGrid
*arg1
= (wxGrid
*) 0 ;
13227 int arg3
= (int) -1 ;
13228 int arg4
= (int) -1 ;
13229 PyObject
* obj0
= 0 ;
13230 PyObject
* obj1
= 0 ;
13231 PyObject
* obj2
= 0 ;
13232 PyObject
* obj3
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13239 if (SWIG_arg_fail(1)) SWIG_fail
;
13241 arg2
= (int)(SWIG_As_int(obj1
));
13242 if (SWIG_arg_fail(2)) SWIG_fail
;
13246 arg3
= (int)(SWIG_As_int(obj2
));
13247 if (SWIG_arg_fail(3)) SWIG_fail
;
13252 arg4
= (int)(SWIG_As_int(obj3
));
13253 if (SWIG_arg_fail(4)) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 Py_INCREF(Py_None
); resultobj
= Py_None
;
13270 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxGrid
*arg1
= (wxGrid
*) 0 ;
13274 wxString
*arg3
= 0 ;
13275 bool temp3
= false ;
13276 PyObject
* obj0
= 0 ;
13277 PyObject
* obj1
= 0 ;
13278 PyObject
* obj2
= 0 ;
13279 char *kwnames
[] = {
13280 (char *) "self",(char *) "col",(char *) "typeName", NULL
13283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13285 if (SWIG_arg_fail(1)) SWIG_fail
;
13287 arg2
= (int)(SWIG_As_int(obj1
));
13288 if (SWIG_arg_fail(2)) SWIG_fail
;
13291 arg3
= wxString_in_helper(obj2
);
13292 if (arg3
== NULL
) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 Py_INCREF(Py_None
); resultobj
= Py_None
;
13317 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
;
13319 wxGrid
*arg1
= (wxGrid
*) 0 ;
13320 bool arg2
= (bool) true ;
13321 PyObject
* obj0
= 0 ;
13322 PyObject
* obj1
= 0 ;
13323 char *kwnames
[] = {
13324 (char *) "self",(char *) "enable", NULL
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
13328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13329 if (SWIG_arg_fail(1)) SWIG_fail
;
13332 arg2
= (bool)(SWIG_As_bool(obj1
));
13333 if (SWIG_arg_fail(2)) SWIG_fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 (arg1
)->EnableGridLines(arg2
);
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 Py_INCREF(Py_None
); resultobj
= Py_None
;
13350 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxGrid
*arg1
= (wxGrid
*) 0 ;
13354 PyObject
* obj0
= 0 ;
13355 char *kwnames
[] = {
13356 (char *) "self", NULL
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
13360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13361 if (SWIG_arg_fail(1)) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (bool)(arg1
)->GridLinesEnabled();
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13378 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
;
13380 wxGrid
*arg1
= (wxGrid
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "self", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
13388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13389 if (SWIG_arg_fail(1)) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 result
= (int)(arg1
)->GetDefaultRowSize();
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_From_int((int)(result
));
13406 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxGrid
*arg1
= (wxGrid
*) 0 ;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "self",(char *) "row", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13419 if (SWIG_arg_fail(1)) SWIG_fail
;
13421 arg2
= (int)(SWIG_As_int(obj1
));
13422 if (SWIG_arg_fail(2)) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (int)(arg1
)->GetRowSize(arg2
);
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= SWIG_From_int((int)(result
));
13440 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxGrid
*arg1
= (wxGrid
*) 0 ;
13444 PyObject
* obj0
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
13450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13451 if (SWIG_arg_fail(1)) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= (int)(arg1
)->GetDefaultColSize();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_From_int((int)(result
));
13468 static PyObject
*_wrap_Grid_GetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
;
13470 wxGrid
*arg1
= (wxGrid
*) 0 ;
13473 PyObject
* obj0
= 0 ;
13474 PyObject
* obj1
= 0 ;
13475 char *kwnames
[] = {
13476 (char *) "self",(char *) "col", NULL
13479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13481 if (SWIG_arg_fail(1)) SWIG_fail
;
13483 arg2
= (int)(SWIG_As_int(obj1
));
13484 if (SWIG_arg_fail(2)) SWIG_fail
;
13487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13488 result
= (int)(arg1
)->GetColSize(arg2
);
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= SWIG_From_int((int)(result
));
13502 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxGrid
*arg1
= (wxGrid
*) 0 ;
13506 PyObject
* obj0
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "self", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
13512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13513 if (SWIG_arg_fail(1)) SWIG_fail
;
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 result
= (arg1
)->GetDefaultCellBackgroundColour();
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13522 wxColour
* resultptr
;
13523 resultptr
= new wxColour((wxColour
&)(result
));
13524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13532 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxGrid
*arg1
= (wxGrid
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 PyObject
* obj1
= 0 ;
13540 PyObject
* obj2
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "self",(char *) "row",(char *) "col", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13547 if (SWIG_arg_fail(1)) SWIG_fail
;
13549 arg2
= (int)(SWIG_As_int(obj1
));
13550 if (SWIG_arg_fail(2)) SWIG_fail
;
13553 arg3
= (int)(SWIG_As_int(obj2
));
13554 if (SWIG_arg_fail(3)) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13564 wxColour
* resultptr
;
13565 resultptr
= new wxColour((wxColour
&)(result
));
13566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13574 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxGrid
*arg1
= (wxGrid
*) 0 ;
13578 PyObject
* obj0
= 0 ;
13579 char *kwnames
[] = {
13580 (char *) "self", NULL
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
13584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13585 if (SWIG_arg_fail(1)) SWIG_fail
;
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 result
= (arg1
)->GetDefaultCellTextColour();
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13594 wxColour
* resultptr
;
13595 resultptr
= new wxColour((wxColour
&)(result
));
13596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13604 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13605 PyObject
*resultobj
;
13606 wxGrid
*arg1
= (wxGrid
*) 0 ;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 PyObject
* obj2
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "self",(char *) "row",(char *) "col", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13619 if (SWIG_arg_fail(1)) SWIG_fail
;
13621 arg2
= (int)(SWIG_As_int(obj1
));
13622 if (SWIG_arg_fail(2)) SWIG_fail
;
13625 arg3
= (int)(SWIG_As_int(obj2
));
13626 if (SWIG_arg_fail(3)) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13636 wxColour
* resultptr
;
13637 resultptr
= new wxColour((wxColour
&)(result
));
13638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13646 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxGrid
*arg1
= (wxGrid
*) 0 ;
13650 PyObject
* obj0
= 0 ;
13651 char *kwnames
[] = {
13652 (char *) "self", NULL
13655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
13656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13657 if (SWIG_arg_fail(1)) SWIG_fail
;
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 result
= (arg1
)->GetDefaultCellFont();
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13666 wxFont
* resultptr
;
13667 resultptr
= new wxFont((wxFont
&)(result
));
13668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13676 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxGrid
*arg1
= (wxGrid
*) 0 ;
13682 PyObject
* obj0
= 0 ;
13683 PyObject
* obj1
= 0 ;
13684 PyObject
* obj2
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "self",(char *) "row",(char *) "col", NULL
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13691 if (SWIG_arg_fail(1)) SWIG_fail
;
13693 arg2
= (int)(SWIG_As_int(obj1
));
13694 if (SWIG_arg_fail(2)) SWIG_fail
;
13697 arg3
= (int)(SWIG_As_int(obj2
));
13698 if (SWIG_arg_fail(3)) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 result
= (arg1
)->GetCellFont(arg2
,arg3
);
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13708 wxFont
* resultptr
;
13709 resultptr
= new wxFont((wxFont
&)(result
));
13710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13718 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
;
13720 wxGrid
*arg1
= (wxGrid
*) 0 ;
13721 int *arg2
= (int *) 0 ;
13722 int *arg3
= (int *) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 char *kwnames
[] = {
13729 (char *) "self", NULL
13732 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13733 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
13735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13736 if (SWIG_arg_fail(1)) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13744 Py_INCREF(Py_None
); resultobj
= Py_None
;
13745 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13746 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13747 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13748 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13755 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 wxGrid
*arg1
= (wxGrid
*) 0 ;
13760 int *arg4
= (int *) 0 ;
13761 int *arg5
= (int *) 0 ;
13766 PyObject
* obj0
= 0 ;
13767 PyObject
* obj1
= 0 ;
13768 PyObject
* obj2
= 0 ;
13769 char *kwnames
[] = {
13770 (char *) "self",(char *) "row",(char *) "col", NULL
13773 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13774 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13777 if (SWIG_arg_fail(1)) SWIG_fail
;
13779 arg2
= (int)(SWIG_As_int(obj1
));
13780 if (SWIG_arg_fail(2)) SWIG_fail
;
13783 arg3
= (int)(SWIG_As_int(obj2
));
13784 if (SWIG_arg_fail(3)) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 Py_INCREF(Py_None
); resultobj
= Py_None
;
13794 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13795 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13796 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13797 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13804 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxGrid
*arg1
= (wxGrid
*) 0 ;
13808 PyObject
* obj0
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
13814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13815 if (SWIG_arg_fail(1)) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 result
= (bool)(arg1
)->GetDefaultCellOverflow();
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13832 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
;
13834 wxGrid
*arg1
= (wxGrid
*) 0 ;
13838 PyObject
* obj0
= 0 ;
13839 PyObject
* obj1
= 0 ;
13840 PyObject
* obj2
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self",(char *) "row",(char *) "col", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13847 if (SWIG_arg_fail(1)) SWIG_fail
;
13849 arg2
= (int)(SWIG_As_int(obj1
));
13850 if (SWIG_arg_fail(2)) SWIG_fail
;
13853 arg3
= (int)(SWIG_As_int(obj2
));
13854 if (SWIG_arg_fail(3)) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13872 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxGrid
*arg1
= (wxGrid
*) 0 ;
13877 int *arg4
= (int *) 0 ;
13878 int *arg5
= (int *) 0 ;
13883 PyObject
* obj0
= 0 ;
13884 PyObject
* obj1
= 0 ;
13885 PyObject
* obj2
= 0 ;
13886 char *kwnames
[] = {
13887 (char *) "self",(char *) "row",(char *) "col", NULL
13890 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13891 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13894 if (SWIG_arg_fail(1)) SWIG_fail
;
13896 arg2
= (int)(SWIG_As_int(obj1
));
13897 if (SWIG_arg_fail(2)) SWIG_fail
;
13900 arg3
= (int)(SWIG_As_int(obj2
));
13901 if (SWIG_arg_fail(3)) SWIG_fail
;
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 Py_INCREF(Py_None
); resultobj
= Py_None
;
13911 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13912 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13913 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13914 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13921 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxGrid
*arg1
= (wxGrid
*) 0 ;
13925 bool arg3
= (bool) false ;
13926 PyObject
* obj0
= 0 ;
13927 PyObject
* obj1
= 0 ;
13928 PyObject
* obj2
= 0 ;
13929 char *kwnames
[] = {
13930 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
13933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13935 if (SWIG_arg_fail(1)) SWIG_fail
;
13937 arg2
= (int)(SWIG_As_int(obj1
));
13938 if (SWIG_arg_fail(2)) SWIG_fail
;
13942 arg3
= (bool)(SWIG_As_bool(obj2
));
13943 if (SWIG_arg_fail(3)) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 Py_INCREF(Py_None
); resultobj
= Py_None
;
13960 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxGrid
*arg1
= (wxGrid
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 PyObject
* obj1
= 0 ;
13967 PyObject
* obj2
= 0 ;
13968 char *kwnames
[] = {
13969 (char *) "self",(char *) "row",(char *) "height", NULL
13972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13974 if (SWIG_arg_fail(1)) SWIG_fail
;
13976 arg2
= (int)(SWIG_As_int(obj1
));
13977 if (SWIG_arg_fail(2)) SWIG_fail
;
13980 arg3
= (int)(SWIG_As_int(obj2
));
13981 if (SWIG_arg_fail(3)) SWIG_fail
;
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 (arg1
)->SetRowSize(arg2
,arg3
);
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 Py_INCREF(Py_None
); resultobj
= Py_None
;
13997 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
;
13999 wxGrid
*arg1
= (wxGrid
*) 0 ;
14001 bool arg3
= (bool) false ;
14002 PyObject
* obj0
= 0 ;
14003 PyObject
* obj1
= 0 ;
14004 PyObject
* obj2
= 0 ;
14005 char *kwnames
[] = {
14006 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
14009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14011 if (SWIG_arg_fail(1)) SWIG_fail
;
14013 arg2
= (int)(SWIG_As_int(obj1
));
14014 if (SWIG_arg_fail(2)) SWIG_fail
;
14018 arg3
= (bool)(SWIG_As_bool(obj2
));
14019 if (SWIG_arg_fail(3)) SWIG_fail
;
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 (arg1
)->SetDefaultColSize(arg2
,arg3
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 Py_INCREF(Py_None
); resultobj
= Py_None
;
14036 static PyObject
*_wrap_Grid_SetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
;
14038 wxGrid
*arg1
= (wxGrid
*) 0 ;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 PyObject
* obj2
= 0 ;
14044 char *kwnames
[] = {
14045 (char *) "self",(char *) "col",(char *) "width", NULL
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14050 if (SWIG_arg_fail(1)) SWIG_fail
;
14052 arg2
= (int)(SWIG_As_int(obj1
));
14053 if (SWIG_arg_fail(2)) SWIG_fail
;
14056 arg3
= (int)(SWIG_As_int(obj2
));
14057 if (SWIG_arg_fail(3)) SWIG_fail
;
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 (arg1
)->SetColSize(arg2
,arg3
);
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 Py_INCREF(Py_None
); resultobj
= Py_None
;
14073 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
;
14075 wxGrid
*arg1
= (wxGrid
*) 0 ;
14077 bool arg3
= (bool) true ;
14078 PyObject
* obj0
= 0 ;
14079 PyObject
* obj1
= 0 ;
14080 PyObject
* obj2
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14087 if (SWIG_arg_fail(1)) SWIG_fail
;
14089 arg2
= (int)(SWIG_As_int(obj1
));
14090 if (SWIG_arg_fail(2)) SWIG_fail
;
14094 arg3
= (bool)(SWIG_As_bool(obj2
));
14095 if (SWIG_arg_fail(3)) SWIG_fail
;
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 (arg1
)->AutoSizeColumn(arg2
,arg3
);
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14105 Py_INCREF(Py_None
); resultobj
= Py_None
;
14112 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
;
14114 wxGrid
*arg1
= (wxGrid
*) 0 ;
14116 bool arg3
= (bool) true ;
14117 PyObject
* obj0
= 0 ;
14118 PyObject
* obj1
= 0 ;
14119 PyObject
* obj2
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14126 if (SWIG_arg_fail(1)) SWIG_fail
;
14128 arg2
= (int)(SWIG_As_int(obj1
));
14129 if (SWIG_arg_fail(2)) SWIG_fail
;
14133 arg3
= (bool)(SWIG_As_bool(obj2
));
14134 if (SWIG_arg_fail(3)) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 (arg1
)->AutoSizeRow(arg2
,arg3
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 Py_INCREF(Py_None
); resultobj
= Py_None
;
14151 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
;
14153 wxGrid
*arg1
= (wxGrid
*) 0 ;
14154 bool arg2
= (bool) true ;
14155 PyObject
* obj0
= 0 ;
14156 PyObject
* obj1
= 0 ;
14157 char *kwnames
[] = {
14158 (char *) "self",(char *) "setAsMin", NULL
14161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
14162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14163 if (SWIG_arg_fail(1)) SWIG_fail
;
14166 arg2
= (bool)(SWIG_As_bool(obj1
));
14167 if (SWIG_arg_fail(2)) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 (arg1
)->AutoSizeColumns(arg2
);
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 Py_INCREF(Py_None
); resultobj
= Py_None
;
14184 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxGrid
*arg1
= (wxGrid
*) 0 ;
14187 bool arg2
= (bool) true ;
14188 PyObject
* obj0
= 0 ;
14189 PyObject
* obj1
= 0 ;
14190 char *kwnames
[] = {
14191 (char *) "self",(char *) "setAsMin", NULL
14194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
14195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14196 if (SWIG_arg_fail(1)) SWIG_fail
;
14199 arg2
= (bool)(SWIG_As_bool(obj1
));
14200 if (SWIG_arg_fail(2)) SWIG_fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 (arg1
)->AutoSizeRows(arg2
);
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 Py_INCREF(Py_None
); resultobj
= Py_None
;
14217 static PyObject
*_wrap_Grid_AutoSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
;
14219 wxGrid
*arg1
= (wxGrid
*) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 char *kwnames
[] = {
14222 (char *) "self", NULL
14225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
14226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14227 if (SWIG_arg_fail(1)) SWIG_fail
;
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 (arg1
)->AutoSize();
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14235 Py_INCREF(Py_None
); resultobj
= Py_None
;
14242 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
;
14244 wxGrid
*arg1
= (wxGrid
*) 0 ;
14246 PyObject
* obj0
= 0 ;
14247 PyObject
* obj1
= 0 ;
14248 char *kwnames
[] = {
14249 (char *) "self",(char *) "row", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14254 if (SWIG_arg_fail(1)) SWIG_fail
;
14256 arg2
= (int)(SWIG_As_int(obj1
));
14257 if (SWIG_arg_fail(2)) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 (arg1
)->AutoSizeRowLabelSize(arg2
);
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 Py_INCREF(Py_None
); resultobj
= Py_None
;
14273 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
;
14275 wxGrid
*arg1
= (wxGrid
*) 0 ;
14277 PyObject
* obj0
= 0 ;
14278 PyObject
* obj1
= 0 ;
14279 char *kwnames
[] = {
14280 (char *) "self",(char *) "col", NULL
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14285 if (SWIG_arg_fail(1)) SWIG_fail
;
14287 arg2
= (int)(SWIG_As_int(obj1
));
14288 if (SWIG_arg_fail(2)) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 (arg1
)->AutoSizeColLabelSize(arg2
);
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 Py_INCREF(Py_None
); resultobj
= Py_None
;
14304 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxGrid
*arg1
= (wxGrid
*) 0 ;
14309 PyObject
* obj0
= 0 ;
14310 PyObject
* obj1
= 0 ;
14311 PyObject
* obj2
= 0 ;
14312 char *kwnames
[] = {
14313 (char *) "self",(char *) "col",(char *) "width", NULL
14316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14318 if (SWIG_arg_fail(1)) SWIG_fail
;
14320 arg2
= (int)(SWIG_As_int(obj1
));
14321 if (SWIG_arg_fail(2)) SWIG_fail
;
14324 arg3
= (int)(SWIG_As_int(obj2
));
14325 if (SWIG_arg_fail(3)) SWIG_fail
;
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14334 Py_INCREF(Py_None
); resultobj
= Py_None
;
14341 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxGrid
*arg1
= (wxGrid
*) 0 ;
14346 PyObject
* obj0
= 0 ;
14347 PyObject
* obj1
= 0 ;
14348 PyObject
* obj2
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self",(char *) "row",(char *) "width", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14355 if (SWIG_arg_fail(1)) SWIG_fail
;
14357 arg2
= (int)(SWIG_As_int(obj1
));
14358 if (SWIG_arg_fail(2)) SWIG_fail
;
14361 arg3
= (int)(SWIG_As_int(obj2
));
14362 if (SWIG_arg_fail(3)) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 Py_INCREF(Py_None
); resultobj
= Py_None
;
14378 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxGrid
*arg1
= (wxGrid
*) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self",(char *) "width", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
14389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail
;
14392 arg2
= (int)(SWIG_As_int(obj1
));
14393 if (SWIG_arg_fail(2)) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 Py_INCREF(Py_None
); resultobj
= Py_None
;
14409 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
;
14411 wxGrid
*arg1
= (wxGrid
*) 0 ;
14413 PyObject
* obj0
= 0 ;
14414 PyObject
* obj1
= 0 ;
14415 char *kwnames
[] = {
14416 (char *) "self",(char *) "width", NULL
14419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
14420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14421 if (SWIG_arg_fail(1)) SWIG_fail
;
14423 arg2
= (int)(SWIG_As_int(obj1
));
14424 if (SWIG_arg_fail(2)) SWIG_fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 Py_INCREF(Py_None
); resultobj
= Py_None
;
14440 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxGrid
*arg1
= (wxGrid
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
14450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14451 if (SWIG_arg_fail(1)) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= SWIG_From_int((int)(result
));
14468 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
;
14470 wxGrid
*arg1
= (wxGrid
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
14478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14479 if (SWIG_arg_fail(1)) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14488 resultobj
= SWIG_From_int((int)(result
));
14496 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxGrid
*arg1
= (wxGrid
*) 0 ;
14499 wxColour
*arg2
= 0 ;
14501 PyObject
* obj0
= 0 ;
14502 PyObject
* obj1
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self","arg2", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14509 if (SWIG_arg_fail(1)) SWIG_fail
;
14512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 Py_INCREF(Py_None
); resultobj
= Py_None
;
14528 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxGrid
*arg1
= (wxGrid
*) 0 ;
14533 wxColour
*arg4
= 0 ;
14535 PyObject
* obj0
= 0 ;
14536 PyObject
* obj1
= 0 ;
14537 PyObject
* obj2
= 0 ;
14538 PyObject
* obj3
= 0 ;
14539 char *kwnames
[] = {
14540 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14545 if (SWIG_arg_fail(1)) SWIG_fail
;
14547 arg2
= (int)(SWIG_As_int(obj1
));
14548 if (SWIG_arg_fail(2)) SWIG_fail
;
14551 arg3
= (int)(SWIG_As_int(obj2
));
14552 if (SWIG_arg_fail(3)) SWIG_fail
;
14556 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14565 Py_INCREF(Py_None
); resultobj
= Py_None
;
14572 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxGrid
*arg1
= (wxGrid
*) 0 ;
14575 wxColour
*arg2
= 0 ;
14577 PyObject
* obj0
= 0 ;
14578 PyObject
* obj1
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self","arg2", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail
;
14588 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 Py_INCREF(Py_None
); resultobj
= Py_None
;
14604 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxGrid
*arg1
= (wxGrid
*) 0 ;
14609 wxColour
*arg4
= 0 ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 PyObject
* obj2
= 0 ;
14614 PyObject
* obj3
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14621 if (SWIG_arg_fail(1)) SWIG_fail
;
14623 arg2
= (int)(SWIG_As_int(obj1
));
14624 if (SWIG_arg_fail(2)) SWIG_fail
;
14627 arg3
= (int)(SWIG_As_int(obj2
));
14628 if (SWIG_arg_fail(3)) SWIG_fail
;
14632 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14641 Py_INCREF(Py_None
); resultobj
= Py_None
;
14648 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14649 PyObject
*resultobj
;
14650 wxGrid
*arg1
= (wxGrid
*) 0 ;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self","arg2", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14660 if (SWIG_arg_fail(1)) SWIG_fail
;
14662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14663 if (SWIG_arg_fail(2)) SWIG_fail
;
14664 if (arg2
== NULL
) {
14665 SWIG_null_ref("wxFont");
14667 if (SWIG_arg_fail(2)) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14676 Py_INCREF(Py_None
); resultobj
= Py_None
;
14683 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
;
14685 wxGrid
*arg1
= (wxGrid
*) 0 ;
14689 PyObject
* obj0
= 0 ;
14690 PyObject
* obj1
= 0 ;
14691 PyObject
* obj2
= 0 ;
14692 PyObject
* obj3
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14699 if (SWIG_arg_fail(1)) SWIG_fail
;
14701 arg2
= (int)(SWIG_As_int(obj1
));
14702 if (SWIG_arg_fail(2)) SWIG_fail
;
14705 arg3
= (int)(SWIG_As_int(obj2
));
14706 if (SWIG_arg_fail(3)) SWIG_fail
;
14709 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14710 if (SWIG_arg_fail(4)) SWIG_fail
;
14711 if (arg4
== NULL
) {
14712 SWIG_null_ref("wxFont");
14714 if (SWIG_arg_fail(4)) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 Py_INCREF(Py_None
); resultobj
= Py_None
;
14730 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxGrid
*arg1
= (wxGrid
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 PyObject
* obj1
= 0 ;
14737 PyObject
* obj2
= 0 ;
14738 char *kwnames
[] = {
14739 (char *) "self",(char *) "horiz",(char *) "vert", NULL
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14744 if (SWIG_arg_fail(1)) SWIG_fail
;
14746 arg2
= (int)(SWIG_As_int(obj1
));
14747 if (SWIG_arg_fail(2)) SWIG_fail
;
14750 arg3
= (int)(SWIG_As_int(obj2
));
14751 if (SWIG_arg_fail(3)) SWIG_fail
;
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 Py_INCREF(Py_None
); resultobj
= Py_None
;
14767 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxGrid
*arg1
= (wxGrid
*) 0 ;
14774 PyObject
* obj0
= 0 ;
14775 PyObject
* obj1
= 0 ;
14776 PyObject
* obj2
= 0 ;
14777 PyObject
* obj3
= 0 ;
14778 PyObject
* obj4
= 0 ;
14779 char *kwnames
[] = {
14780 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14785 if (SWIG_arg_fail(1)) SWIG_fail
;
14787 arg2
= (int)(SWIG_As_int(obj1
));
14788 if (SWIG_arg_fail(2)) SWIG_fail
;
14791 arg3
= (int)(SWIG_As_int(obj2
));
14792 if (SWIG_arg_fail(3)) SWIG_fail
;
14795 arg4
= (int)(SWIG_As_int(obj3
));
14796 if (SWIG_arg_fail(4)) SWIG_fail
;
14799 arg5
= (int)(SWIG_As_int(obj4
));
14800 if (SWIG_arg_fail(5)) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 Py_INCREF(Py_None
); resultobj
= Py_None
;
14816 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxGrid
*arg1
= (wxGrid
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 PyObject
* obj1
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self",(char *) "allow", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
14827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14828 if (SWIG_arg_fail(1)) SWIG_fail
;
14830 arg2
= (bool)(SWIG_As_bool(obj1
));
14831 if (SWIG_arg_fail(2)) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 (arg1
)->SetDefaultCellOverflow(arg2
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 Py_INCREF(Py_None
); resultobj
= Py_None
;
14847 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxGrid
*arg1
= (wxGrid
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 PyObject
* obj2
= 0 ;
14856 PyObject
* obj3
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14863 if (SWIG_arg_fail(1)) SWIG_fail
;
14865 arg2
= (int)(SWIG_As_int(obj1
));
14866 if (SWIG_arg_fail(2)) SWIG_fail
;
14869 arg3
= (int)(SWIG_As_int(obj2
));
14870 if (SWIG_arg_fail(3)) SWIG_fail
;
14873 arg4
= (bool)(SWIG_As_bool(obj3
));
14874 if (SWIG_arg_fail(4)) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 Py_INCREF(Py_None
); resultobj
= Py_None
;
14890 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxGrid
*arg1
= (wxGrid
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 PyObject
* obj2
= 0 ;
14900 PyObject
* obj3
= 0 ;
14901 PyObject
* obj4
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14908 if (SWIG_arg_fail(1)) SWIG_fail
;
14910 arg2
= (int)(SWIG_As_int(obj1
));
14911 if (SWIG_arg_fail(2)) SWIG_fail
;
14914 arg3
= (int)(SWIG_As_int(obj2
));
14915 if (SWIG_arg_fail(3)) SWIG_fail
;
14918 arg4
= (int)(SWIG_As_int(obj3
));
14919 if (SWIG_arg_fail(4)) SWIG_fail
;
14922 arg5
= (int)(SWIG_As_int(obj4
));
14923 if (SWIG_arg_fail(5)) SWIG_fail
;
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 Py_INCREF(Py_None
); resultobj
= Py_None
;
14939 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
;
14941 wxGrid
*arg1
= (wxGrid
*) 0 ;
14942 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
14943 PyObject
* obj0
= 0 ;
14944 PyObject
* obj1
= 0 ;
14945 char *kwnames
[] = {
14946 (char *) "self",(char *) "renderer", NULL
14949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
14950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14951 if (SWIG_arg_fail(1)) SWIG_fail
;
14952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
14953 if (SWIG_arg_fail(2)) SWIG_fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 (arg1
)->SetDefaultRenderer(arg2
);
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 Py_INCREF(Py_None
); resultobj
= Py_None
;
14968 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14969 PyObject
*resultobj
;
14970 wxGrid
*arg1
= (wxGrid
*) 0 ;
14973 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 PyObject
* obj2
= 0 ;
14977 PyObject
* obj3
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14984 if (SWIG_arg_fail(1)) SWIG_fail
;
14986 arg2
= (int)(SWIG_As_int(obj1
));
14987 if (SWIG_arg_fail(2)) SWIG_fail
;
14990 arg3
= (int)(SWIG_As_int(obj2
));
14991 if (SWIG_arg_fail(3)) SWIG_fail
;
14993 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
14994 if (SWIG_arg_fail(4)) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 Py_INCREF(Py_None
); resultobj
= Py_None
;
15009 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
;
15011 wxGrid
*arg1
= (wxGrid
*) 0 ;
15012 wxGridCellRenderer
*result
;
15013 PyObject
* obj0
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
15019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15020 if (SWIG_arg_fail(1)) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
15037 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
;
15039 wxGrid
*arg1
= (wxGrid
*) 0 ;
15042 wxGridCellRenderer
*result
;
15043 PyObject
* obj0
= 0 ;
15044 PyObject
* obj1
= 0 ;
15045 PyObject
* obj2
= 0 ;
15046 char *kwnames
[] = {
15047 (char *) "self",(char *) "row",(char *) "col", NULL
15050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15052 if (SWIG_arg_fail(1)) SWIG_fail
;
15054 arg2
= (int)(SWIG_As_int(obj1
));
15055 if (SWIG_arg_fail(2)) SWIG_fail
;
15058 arg3
= (int)(SWIG_As_int(obj2
));
15059 if (SWIG_arg_fail(3)) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
15077 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
;
15079 wxGrid
*arg1
= (wxGrid
*) 0 ;
15080 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 PyObject
* obj1
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self",(char *) "editor", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
15088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15089 if (SWIG_arg_fail(1)) SWIG_fail
;
15090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
15091 if (SWIG_arg_fail(2)) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 (arg1
)->SetDefaultEditor(arg2
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 Py_INCREF(Py_None
); resultobj
= Py_None
;
15106 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
;
15108 wxGrid
*arg1
= (wxGrid
*) 0 ;
15111 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
15112 PyObject
* obj0
= 0 ;
15113 PyObject
* obj1
= 0 ;
15114 PyObject
* obj2
= 0 ;
15115 PyObject
* obj3
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15122 if (SWIG_arg_fail(1)) SWIG_fail
;
15124 arg2
= (int)(SWIG_As_int(obj1
));
15125 if (SWIG_arg_fail(2)) SWIG_fail
;
15128 arg3
= (int)(SWIG_As_int(obj2
));
15129 if (SWIG_arg_fail(3)) SWIG_fail
;
15131 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
15132 if (SWIG_arg_fail(4)) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxGrid
*arg1
= (wxGrid
*) 0 ;
15150 wxGridCellEditor
*result
;
15151 PyObject
* obj0
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
15157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15158 if (SWIG_arg_fail(1)) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
15175 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxGrid
*arg1
= (wxGrid
*) 0 ;
15180 wxGridCellEditor
*result
;
15181 PyObject
* obj0
= 0 ;
15182 PyObject
* obj1
= 0 ;
15183 PyObject
* obj2
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self",(char *) "row",(char *) "col", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15190 if (SWIG_arg_fail(1)) SWIG_fail
;
15192 arg2
= (int)(SWIG_As_int(obj1
));
15193 if (SWIG_arg_fail(2)) SWIG_fail
;
15196 arg3
= (int)(SWIG_As_int(obj2
));
15197 if (SWIG_arg_fail(3)) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15207 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
15215 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 wxGrid
*arg1
= (wxGrid
*) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 PyObject
* obj2
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self",(char *) "row",(char *) "col", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15230 if (SWIG_arg_fail(1)) SWIG_fail
;
15232 arg2
= (int)(SWIG_As_int(obj1
));
15233 if (SWIG_arg_fail(2)) SWIG_fail
;
15236 arg3
= (int)(SWIG_As_int(obj2
));
15237 if (SWIG_arg_fail(3)) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= (arg1
)->GetCellValue(arg2
,arg3
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15259 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
;
15261 wxGrid
*arg1
= (wxGrid
*) 0 ;
15264 wxString
*arg4
= 0 ;
15265 bool temp4
= false ;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 PyObject
* obj2
= 0 ;
15269 PyObject
* obj3
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15276 if (SWIG_arg_fail(1)) SWIG_fail
;
15278 arg2
= (int)(SWIG_As_int(obj1
));
15279 if (SWIG_arg_fail(2)) SWIG_fail
;
15282 arg3
= (int)(SWIG_As_int(obj2
));
15283 if (SWIG_arg_fail(3)) SWIG_fail
;
15286 arg4
= wxString_in_helper(obj3
);
15287 if (arg4
== NULL
) SWIG_fail
;
15291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15297 Py_INCREF(Py_None
); resultobj
= Py_None
;
15312 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxGrid
*arg1
= (wxGrid
*) 0 ;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 PyObject
* obj2
= 0 ;
15321 char *kwnames
[] = {
15322 (char *) "self",(char *) "row",(char *) "col", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15327 if (SWIG_arg_fail(1)) SWIG_fail
;
15329 arg2
= (int)(SWIG_As_int(obj1
));
15330 if (SWIG_arg_fail(2)) SWIG_fail
;
15333 arg3
= (int)(SWIG_As_int(obj2
));
15334 if (SWIG_arg_fail(3)) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15352 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
;
15354 wxGrid
*arg1
= (wxGrid
*) 0 ;
15357 bool arg4
= (bool) true ;
15358 PyObject
* obj0
= 0 ;
15359 PyObject
* obj1
= 0 ;
15360 PyObject
* obj2
= 0 ;
15361 PyObject
* obj3
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15368 if (SWIG_arg_fail(1)) SWIG_fail
;
15370 arg2
= (int)(SWIG_As_int(obj1
));
15371 if (SWIG_arg_fail(2)) SWIG_fail
;
15374 arg3
= (int)(SWIG_As_int(obj2
));
15375 if (SWIG_arg_fail(3)) SWIG_fail
;
15379 arg4
= (bool)(SWIG_As_bool(obj3
));
15380 if (SWIG_arg_fail(4)) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 Py_INCREF(Py_None
); resultobj
= Py_None
;
15397 static PyObject
*_wrap_Grid_SelectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
;
15399 wxGrid
*arg1
= (wxGrid
*) 0 ;
15401 bool arg3
= (bool) false ;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 PyObject
* obj2
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail
;
15413 arg2
= (int)(SWIG_As_int(obj1
));
15414 if (SWIG_arg_fail(2)) SWIG_fail
;
15418 arg3
= (bool)(SWIG_As_bool(obj2
));
15419 if (SWIG_arg_fail(3)) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 (arg1
)->SelectRow(arg2
,arg3
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 Py_INCREF(Py_None
); resultobj
= Py_None
;
15436 static PyObject
*_wrap_Grid_SelectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
;
15438 wxGrid
*arg1
= (wxGrid
*) 0 ;
15440 bool arg3
= (bool) false ;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 PyObject
* obj2
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15450 if (SWIG_arg_fail(1)) SWIG_fail
;
15452 arg2
= (int)(SWIG_As_int(obj1
));
15453 if (SWIG_arg_fail(2)) SWIG_fail
;
15457 arg3
= (bool)(SWIG_As_bool(obj2
));
15458 if (SWIG_arg_fail(3)) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 (arg1
)->SelectCol(arg2
,arg3
);
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 Py_INCREF(Py_None
); resultobj
= Py_None
;
15475 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
;
15477 wxGrid
*arg1
= (wxGrid
*) 0 ;
15482 bool arg6
= (bool) false ;
15483 PyObject
* obj0
= 0 ;
15484 PyObject
* obj1
= 0 ;
15485 PyObject
* obj2
= 0 ;
15486 PyObject
* obj3
= 0 ;
15487 PyObject
* obj4
= 0 ;
15488 PyObject
* obj5
= 0 ;
15489 char *kwnames
[] = {
15490 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
15493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15495 if (SWIG_arg_fail(1)) SWIG_fail
;
15497 arg2
= (int)(SWIG_As_int(obj1
));
15498 if (SWIG_arg_fail(2)) SWIG_fail
;
15501 arg3
= (int)(SWIG_As_int(obj2
));
15502 if (SWIG_arg_fail(3)) SWIG_fail
;
15505 arg4
= (int)(SWIG_As_int(obj3
));
15506 if (SWIG_arg_fail(4)) SWIG_fail
;
15509 arg5
= (int)(SWIG_As_int(obj4
));
15510 if (SWIG_arg_fail(5)) SWIG_fail
;
15514 arg6
= (bool)(SWIG_As_bool(obj5
));
15515 if (SWIG_arg_fail(6)) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15525 Py_INCREF(Py_None
); resultobj
= Py_None
;
15532 static PyObject
*_wrap_Grid_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
;
15534 wxGrid
*arg1
= (wxGrid
*) 0 ;
15535 PyObject
* obj0
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
15541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15542 if (SWIG_arg_fail(1)) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 (arg1
)->SelectAll();
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 Py_INCREF(Py_None
); resultobj
= Py_None
;
15557 static PyObject
*_wrap_Grid_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxGrid
*arg1
= (wxGrid
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 char *kwnames
[] = {
15563 (char *) "self", NULL
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
15567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15568 if (SWIG_arg_fail(1)) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= (bool)(arg1
)->IsSelection();
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15585 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
;
15587 wxGrid
*arg1
= (wxGrid
*) 0 ;
15588 PyObject
* obj0
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
15594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15595 if (SWIG_arg_fail(1)) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 (arg1
)->ClearSelection();
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 Py_INCREF(Py_None
); resultobj
= Py_None
;
15610 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
;
15612 wxGrid
*arg1
= (wxGrid
*) 0 ;
15616 PyObject
* obj0
= 0 ;
15617 PyObject
* obj1
= 0 ;
15618 PyObject
* obj2
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self",(char *) "row",(char *) "col", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15625 if (SWIG_arg_fail(1)) SWIG_fail
;
15627 arg2
= (int)(SWIG_As_int(obj1
));
15628 if (SWIG_arg_fail(2)) SWIG_fail
;
15631 arg3
= (int)(SWIG_As_int(obj2
));
15632 if (SWIG_arg_fail(3)) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15650 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxGrid
*arg1
= (wxGrid
*) 0 ;
15653 wxGridCellCoordsArray result
;
15654 PyObject
* obj0
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
15660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15661 if (SWIG_arg_fail(1)) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= wxGridCellCoordsArray_helper(result
);
15678 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxGrid
*arg1
= (wxGrid
*) 0 ;
15681 wxGridCellCoordsArray result
;
15682 PyObject
* obj0
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
15688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15689 if (SWIG_arg_fail(1)) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= wxGridCellCoordsArray_helper(result
);
15706 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxGrid
*arg1
= (wxGrid
*) 0 ;
15709 wxGridCellCoordsArray result
;
15710 PyObject
* obj0
= 0 ;
15711 char *kwnames
[] = {
15712 (char *) "self", NULL
15715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
15716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15717 if (SWIG_arg_fail(1)) SWIG_fail
;
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15726 resultobj
= wxGridCellCoordsArray_helper(result
);
15734 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxGrid
*arg1
= (wxGrid
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "self", NULL
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
15744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15745 if (SWIG_arg_fail(1)) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= PyList_New(0);
15756 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15757 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15758 PyList_Append(resultobj
, val
);
15768 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxGrid
*arg1
= (wxGrid
*) 0 ;
15772 PyObject
* obj0
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
15778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15779 if (SWIG_arg_fail(1)) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= PyList_New(0);
15790 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15791 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15792 PyList_Append(resultobj
, val
);
15802 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
;
15804 wxGrid
*arg1
= (wxGrid
*) 0 ;
15806 PyObject
* obj0
= 0 ;
15807 PyObject
* obj1
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self",(char *) "row", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15814 if (SWIG_arg_fail(1)) SWIG_fail
;
15816 arg2
= (int)(SWIG_As_int(obj1
));
15817 if (SWIG_arg_fail(2)) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 (arg1
)->DeselectRow(arg2
);
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15826 Py_INCREF(Py_None
); resultobj
= Py_None
;
15833 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
;
15835 wxGrid
*arg1
= (wxGrid
*) 0 ;
15837 PyObject
* obj0
= 0 ;
15838 PyObject
* obj1
= 0 ;
15839 char *kwnames
[] = {
15840 (char *) "self",(char *) "col", NULL
15843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15845 if (SWIG_arg_fail(1)) SWIG_fail
;
15847 arg2
= (int)(SWIG_As_int(obj1
));
15848 if (SWIG_arg_fail(2)) SWIG_fail
;
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 (arg1
)->DeselectCol(arg2
);
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15857 Py_INCREF(Py_None
); resultobj
= Py_None
;
15864 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
;
15866 wxGrid
*arg1
= (wxGrid
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 PyObject
* obj1
= 0 ;
15871 PyObject
* obj2
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self",(char *) "row",(char *) "col", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15878 if (SWIG_arg_fail(1)) SWIG_fail
;
15880 arg2
= (int)(SWIG_As_int(obj1
));
15881 if (SWIG_arg_fail(2)) SWIG_fail
;
15884 arg3
= (int)(SWIG_As_int(obj2
));
15885 if (SWIG_arg_fail(3)) SWIG_fail
;
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 (arg1
)->DeselectCell(arg2
,arg3
);
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15894 Py_INCREF(Py_None
); resultobj
= Py_None
;
15901 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxGrid
*arg1
= (wxGrid
*) 0 ;
15904 wxGridCellCoords
*arg2
= 0 ;
15905 wxGridCellCoords
*arg3
= 0 ;
15907 wxGridCellCoords temp2
;
15908 wxGridCellCoords temp3
;
15909 PyObject
* obj0
= 0 ;
15910 PyObject
* obj1
= 0 ;
15911 PyObject
* obj2
= 0 ;
15912 char *kwnames
[] = {
15913 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
15916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15918 if (SWIG_arg_fail(1)) SWIG_fail
;
15921 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
15925 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15935 wxRect
* resultptr
;
15936 resultptr
= new wxRect((wxRect
&)(result
));
15937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15945 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxGrid
*arg1
= (wxGrid
*) 0 ;
15949 PyObject
* obj0
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
15955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15956 if (SWIG_arg_fail(1)) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15965 wxColour
* resultptr
;
15966 resultptr
= new wxColour((wxColour
&)(result
));
15967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15975 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
;
15977 wxGrid
*arg1
= (wxGrid
*) 0 ;
15979 PyObject
* obj0
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
15985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15986 if (SWIG_arg_fail(1)) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15995 wxColour
* resultptr
;
15996 resultptr
= new wxColour((wxColour
&)(result
));
15997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
16005 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
;
16007 wxGrid
*arg1
= (wxGrid
*) 0 ;
16008 wxColour
*arg2
= 0 ;
16010 PyObject
* obj0
= 0 ;
16011 PyObject
* obj1
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self",(char *) "c", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16018 if (SWIG_arg_fail(1)) SWIG_fail
;
16021 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 Py_INCREF(Py_None
); resultobj
= Py_None
;
16037 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16039 wxGrid
*arg1
= (wxGrid
*) 0 ;
16040 wxColour
*arg2
= 0 ;
16042 PyObject
* obj0
= 0 ;
16043 PyObject
* obj1
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self",(char *) "c", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16050 if (SWIG_arg_fail(1)) SWIG_fail
;
16053 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16062 Py_INCREF(Py_None
); resultobj
= Py_None
;
16069 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
;
16071 wxGrid
*arg1
= (wxGrid
*) 0 ;
16072 wxString
*arg2
= 0 ;
16073 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
16074 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
16075 bool temp2
= false ;
16076 PyObject
* obj0
= 0 ;
16077 PyObject
* obj1
= 0 ;
16078 PyObject
* obj2
= 0 ;
16079 PyObject
* obj3
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16086 if (SWIG_arg_fail(1)) SWIG_fail
;
16088 arg2
= wxString_in_helper(obj1
);
16089 if (arg2
== NULL
) SWIG_fail
;
16092 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
16093 if (SWIG_arg_fail(3)) SWIG_fail
;
16094 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
16095 if (SWIG_arg_fail(4)) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16103 Py_INCREF(Py_None
); resultobj
= Py_None
;
16118 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxGrid
*arg1
= (wxGrid
*) 0 ;
16123 wxGridCellEditor
*result
;
16124 PyObject
* obj0
= 0 ;
16125 PyObject
* obj1
= 0 ;
16126 PyObject
* obj2
= 0 ;
16127 char *kwnames
[] = {
16128 (char *) "self",(char *) "row",(char *) "col", NULL
16131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16133 if (SWIG_arg_fail(1)) SWIG_fail
;
16135 arg2
= (int)(SWIG_As_int(obj1
));
16136 if (SWIG_arg_fail(2)) SWIG_fail
;
16139 arg3
= (int)(SWIG_As_int(obj2
));
16140 if (SWIG_arg_fail(3)) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
16158 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
;
16160 wxGrid
*arg1
= (wxGrid
*) 0 ;
16163 wxGridCellRenderer
*result
;
16164 PyObject
* obj0
= 0 ;
16165 PyObject
* obj1
= 0 ;
16166 PyObject
* obj2
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self",(char *) "row",(char *) "col", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16173 if (SWIG_arg_fail(1)) SWIG_fail
;
16175 arg2
= (int)(SWIG_As_int(obj1
));
16176 if (SWIG_arg_fail(2)) SWIG_fail
;
16179 arg3
= (int)(SWIG_As_int(obj2
));
16180 if (SWIG_arg_fail(3)) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
16198 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxGrid
*arg1
= (wxGrid
*) 0 ;
16201 wxString
*arg2
= 0 ;
16202 wxGridCellEditor
*result
;
16203 bool temp2
= false ;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "self",(char *) "typeName", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
16211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16212 if (SWIG_arg_fail(1)) SWIG_fail
;
16214 arg2
= wxString_in_helper(obj1
);
16215 if (arg2
== NULL
) SWIG_fail
;
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16226 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
16242 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
;
16244 wxGrid
*arg1
= (wxGrid
*) 0 ;
16245 wxString
*arg2
= 0 ;
16246 wxGridCellRenderer
*result
;
16247 bool temp2
= false ;
16248 PyObject
* obj0
= 0 ;
16249 PyObject
* obj1
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self",(char *) "typeName", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
16255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16256 if (SWIG_arg_fail(1)) SWIG_fail
;
16258 arg2
= wxString_in_helper(obj1
);
16259 if (arg2
== NULL
) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
16286 static PyObject
*_wrap_Grid_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxGrid
*arg1
= (wxGrid
*) 0 ;
16291 PyObject
* obj0
= 0 ;
16292 PyObject
* obj1
= 0 ;
16293 PyObject
* obj2
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16300 if (SWIG_arg_fail(1)) SWIG_fail
;
16302 arg2
= (int)(SWIG_As_int(obj1
));
16303 if (SWIG_arg_fail(2)) SWIG_fail
;
16306 arg3
= (int)(SWIG_As_int(obj2
));
16307 if (SWIG_arg_fail(3)) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 (arg1
)->SetMargins(arg2
,arg3
);
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 Py_INCREF(Py_None
); resultobj
= Py_None
;
16323 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxGrid
*arg1
= (wxGrid
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
16333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16334 if (SWIG_arg_fail(1)) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (wxWindow
*)(arg1
)->GetGridWindow();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= wxPyMake_wxObject(result
, 0);
16351 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxGrid
*arg1
= (wxGrid
*) 0 ;
16355 PyObject
* obj0
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
16361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16362 if (SWIG_arg_fail(1)) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16371 resultobj
= wxPyMake_wxObject(result
, 0);
16379 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxGrid
*arg1
= (wxGrid
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
16389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16390 if (SWIG_arg_fail(1)) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= wxPyMake_wxObject(result
, 0);
16407 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxGrid
*arg1
= (wxGrid
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
16417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16418 if (SWIG_arg_fail(1)) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= wxPyMake_wxObject(result
, 0);
16435 static PyObject
*_wrap_Grid_SetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxGrid
*arg1
= (wxGrid
*) 0 ;
16439 PyObject
* obj0
= 0 ;
16440 PyObject
* obj1
= 0 ;
16441 char *kwnames
[] = {
16442 (char *) "self",(char *) "x", NULL
16445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) goto fail
;
16446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16447 if (SWIG_arg_fail(1)) SWIG_fail
;
16449 arg2
= (int)(SWIG_As_int(obj1
));
16450 if (SWIG_arg_fail(2)) SWIG_fail
;
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 (arg1
)->SetScrollLineX(arg2
);
16456 wxPyEndAllowThreads(__tstate
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16459 Py_INCREF(Py_None
); resultobj
= Py_None
;
16466 static PyObject
*_wrap_Grid_SetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
;
16468 wxGrid
*arg1
= (wxGrid
*) 0 ;
16470 PyObject
* obj0
= 0 ;
16471 PyObject
* obj1
= 0 ;
16472 char *kwnames
[] = {
16473 (char *) "self",(char *) "y", NULL
16476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) goto fail
;
16477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16478 if (SWIG_arg_fail(1)) SWIG_fail
;
16480 arg2
= (int)(SWIG_As_int(obj1
));
16481 if (SWIG_arg_fail(2)) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 (arg1
)->SetScrollLineY(arg2
);
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16490 Py_INCREF(Py_None
); resultobj
= Py_None
;
16497 static PyObject
*_wrap_Grid_GetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
;
16499 wxGrid
*arg1
= (wxGrid
*) 0 ;
16501 PyObject
* obj0
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineX",kwnames
,&obj0
)) goto fail
;
16507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16508 if (SWIG_arg_fail(1)) SWIG_fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineX();
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16517 resultobj
= SWIG_From_int((int)(result
));
16525 static PyObject
*_wrap_Grid_GetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxGrid
*arg1
= (wxGrid
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "self", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineY",kwnames
,&obj0
)) goto fail
;
16535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16536 if (SWIG_arg_fail(1)) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineY();
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16545 resultobj
= SWIG_From_int((int)(result
));
16553 static PyObject
*_wrap_Grid_GetScrollX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxGrid
*arg1
= (wxGrid
*) 0 ;
16558 PyObject
* obj0
= 0 ;
16559 PyObject
* obj1
= 0 ;
16560 char *kwnames
[] = {
16561 (char *) "self",(char *) "x", NULL
16564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) goto fail
;
16565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16566 if (SWIG_arg_fail(1)) SWIG_fail
;
16568 arg2
= (int)(SWIG_As_int(obj1
));
16569 if (SWIG_arg_fail(2)) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (int)((wxGrid
const *)arg1
)->GetScrollX(arg2
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= SWIG_From_int((int)(result
));
16587 static PyObject
*_wrap_Grid_GetScrollY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxGrid
*arg1
= (wxGrid
*) 0 ;
16592 PyObject
* obj0
= 0 ;
16593 PyObject
* obj1
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "self",(char *) "y", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) goto fail
;
16599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16600 if (SWIG_arg_fail(1)) SWIG_fail
;
16602 arg2
= (int)(SWIG_As_int(obj1
));
16603 if (SWIG_arg_fail(2)) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 result
= (int)((wxGrid
const *)arg1
)->GetScrollY(arg2
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16613 resultobj
= SWIG_From_int((int)(result
));
16621 static PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16624 wxVisualAttributes result
;
16625 PyObject
* obj0
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "variant", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16633 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16634 if (SWIG_arg_fail(1)) SWIG_fail
;
16638 if (!wxPyCheckForApp()) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= wxGrid::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16646 wxVisualAttributes
* resultptr
;
16647 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16656 static PyObject
* Grid_swigregister(PyObject
*, PyObject
*args
) {
16658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16659 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
16661 return Py_BuildValue((char *)"");
16663 static PyObject
*_wrap_new_GridEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16664 PyObject
*resultobj
;
16667 wxGrid
*arg3
= (wxGrid
*) 0 ;
16668 int arg4
= (int) -1 ;
16669 int arg5
= (int) -1 ;
16670 int arg6
= (int) -1 ;
16671 int arg7
= (int) -1 ;
16672 bool arg8
= (bool) true ;
16673 bool arg9
= (bool) false ;
16674 bool arg10
= (bool) false ;
16675 bool arg11
= (bool) false ;
16676 bool arg12
= (bool) false ;
16677 wxGridEvent
*result
;
16678 PyObject
* obj0
= 0 ;
16679 PyObject
* obj1
= 0 ;
16680 PyObject
* obj2
= 0 ;
16681 PyObject
* obj3
= 0 ;
16682 PyObject
* obj4
= 0 ;
16683 PyObject
* obj5
= 0 ;
16684 PyObject
* obj6
= 0 ;
16685 PyObject
* obj7
= 0 ;
16686 PyObject
* obj8
= 0 ;
16687 PyObject
* obj9
= 0 ;
16688 PyObject
* obj10
= 0 ;
16689 PyObject
* obj11
= 0 ;
16690 char *kwnames
[] = {
16691 (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
16694 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
;
16696 arg1
= (int)(SWIG_As_int(obj0
));
16697 if (SWIG_arg_fail(1)) SWIG_fail
;
16700 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
16701 if (SWIG_arg_fail(2)) SWIG_fail
;
16703 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16704 if (SWIG_arg_fail(3)) SWIG_fail
;
16707 arg4
= (int)(SWIG_As_int(obj3
));
16708 if (SWIG_arg_fail(4)) SWIG_fail
;
16713 arg5
= (int)(SWIG_As_int(obj4
));
16714 if (SWIG_arg_fail(5)) SWIG_fail
;
16719 arg6
= (int)(SWIG_As_int(obj5
));
16720 if (SWIG_arg_fail(6)) SWIG_fail
;
16725 arg7
= (int)(SWIG_As_int(obj6
));
16726 if (SWIG_arg_fail(7)) SWIG_fail
;
16731 arg8
= (bool)(SWIG_As_bool(obj7
));
16732 if (SWIG_arg_fail(8)) SWIG_fail
;
16737 arg9
= (bool)(SWIG_As_bool(obj8
));
16738 if (SWIG_arg_fail(9)) SWIG_fail
;
16743 arg10
= (bool)(SWIG_As_bool(obj9
));
16744 if (SWIG_arg_fail(10)) SWIG_fail
;
16749 arg11
= (bool)(SWIG_As_bool(obj10
));
16750 if (SWIG_arg_fail(11)) SWIG_fail
;
16755 arg12
= (bool)(SWIG_As_bool(obj11
));
16756 if (SWIG_arg_fail(12)) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
16773 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
16783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16784 if (SWIG_arg_fail(1)) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (int)(arg1
)->GetRow();
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= SWIG_From_int((int)(result
));
16801 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16805 PyObject
* obj0
= 0 ;
16806 char *kwnames
[] = {
16807 (char *) "self", NULL
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
16811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16812 if (SWIG_arg_fail(1)) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (int)(arg1
)->GetCol();
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= SWIG_From_int((int)(result
));
16829 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16833 PyObject
* obj0
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "self", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16840 if (SWIG_arg_fail(1)) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= (arg1
)->GetPosition();
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 wxPoint
* resultptr
;
16850 resultptr
= new wxPoint((wxPoint
&)(result
));
16851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16859 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
;
16861 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16863 PyObject
* obj0
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "self", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
16869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16870 if (SWIG_arg_fail(1)) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (bool)(arg1
)->Selecting();
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16887 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "self", NULL
16896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16898 if (SWIG_arg_fail(1)) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (bool)(arg1
)->ControlDown();
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16915 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16919 PyObject
* obj0
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16926 if (SWIG_arg_fail(1)) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= (bool)(arg1
)->MetaDown();
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16943 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16947 PyObject
* obj0
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16954 if (SWIG_arg_fail(1)) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= (bool)(arg1
)->ShiftDown();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16971 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16973 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16975 PyObject
* obj0
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "self", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16982 if (SWIG_arg_fail(1)) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (bool)(arg1
)->AltDown();
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16999 static PyObject
* GridEvent_swigregister(PyObject
*, PyObject
*args
) {
17001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17002 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
17004 return Py_BuildValue((char *)"");
17006 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17010 wxGrid
*arg3
= (wxGrid
*) 0 ;
17011 int arg4
= (int) -1 ;
17012 int arg5
= (int) -1 ;
17013 int arg6
= (int) -1 ;
17014 bool arg7
= (bool) false ;
17015 bool arg8
= (bool) false ;
17016 bool arg9
= (bool) false ;
17017 bool arg10
= (bool) false ;
17018 wxGridSizeEvent
*result
;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 PyObject
* obj2
= 0 ;
17022 PyObject
* obj3
= 0 ;
17023 PyObject
* obj4
= 0 ;
17024 PyObject
* obj5
= 0 ;
17025 PyObject
* obj6
= 0 ;
17026 PyObject
* obj7
= 0 ;
17027 PyObject
* obj8
= 0 ;
17028 PyObject
* obj9
= 0 ;
17029 char *kwnames
[] = {
17030 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17035 arg1
= (int)(SWIG_As_int(obj0
));
17036 if (SWIG_arg_fail(1)) SWIG_fail
;
17039 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
17040 if (SWIG_arg_fail(2)) SWIG_fail
;
17042 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
17043 if (SWIG_arg_fail(3)) SWIG_fail
;
17046 arg4
= (int)(SWIG_As_int(obj3
));
17047 if (SWIG_arg_fail(4)) SWIG_fail
;
17052 arg5
= (int)(SWIG_As_int(obj4
));
17053 if (SWIG_arg_fail(5)) SWIG_fail
;
17058 arg6
= (int)(SWIG_As_int(obj5
));
17059 if (SWIG_arg_fail(6)) SWIG_fail
;
17064 arg7
= (bool)(SWIG_As_bool(obj6
));
17065 if (SWIG_arg_fail(7)) SWIG_fail
;
17070 arg8
= (bool)(SWIG_As_bool(obj7
));
17071 if (SWIG_arg_fail(8)) SWIG_fail
;
17076 arg9
= (bool)(SWIG_As_bool(obj8
));
17077 if (SWIG_arg_fail(9)) SWIG_fail
;
17082 arg10
= (bool)(SWIG_As_bool(obj9
));
17083 if (SWIG_arg_fail(10)) SWIG_fail
;
17087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
17100 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "self", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
17110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17111 if (SWIG_arg_fail(1)) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (int)(arg1
)->GetRowOrCol();
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= SWIG_From_int((int)(result
));
17128 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17132 PyObject
* obj0
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "self", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17139 if (SWIG_arg_fail(1)) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 result
= (arg1
)->GetPosition();
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 wxPoint
* resultptr
;
17149 resultptr
= new wxPoint((wxPoint
&)(result
));
17150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17158 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17162 PyObject
* obj0
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17169 if (SWIG_arg_fail(1)) SWIG_fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= (bool)(arg1
)->ControlDown();
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17186 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17190 PyObject
* obj0
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17197 if (SWIG_arg_fail(1)) SWIG_fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 result
= (bool)(arg1
)->MetaDown();
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17214 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
;
17216 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "self", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17225 if (SWIG_arg_fail(1)) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= (bool)(arg1
)->ShiftDown();
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17242 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17253 if (SWIG_arg_fail(1)) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (bool)(arg1
)->AltDown();
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17270 static PyObject
* GridSizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17273 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
17275 return Py_BuildValue((char *)"");
17277 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17281 wxGrid
*arg3
= (wxGrid
*) 0 ;
17282 wxGridCellCoords
*arg4
= 0 ;
17283 wxGridCellCoords
*arg5
= 0 ;
17284 bool arg6
= (bool) true ;
17285 bool arg7
= (bool) false ;
17286 bool arg8
= (bool) false ;
17287 bool arg9
= (bool) false ;
17288 bool arg10
= (bool) false ;
17289 wxGridRangeSelectEvent
*result
;
17290 wxGridCellCoords temp4
;
17291 wxGridCellCoords temp5
;
17292 PyObject
* obj0
= 0 ;
17293 PyObject
* obj1
= 0 ;
17294 PyObject
* obj2
= 0 ;
17295 PyObject
* obj3
= 0 ;
17296 PyObject
* obj4
= 0 ;
17297 PyObject
* obj5
= 0 ;
17298 PyObject
* obj6
= 0 ;
17299 PyObject
* obj7
= 0 ;
17300 PyObject
* obj8
= 0 ;
17301 PyObject
* obj9
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17308 arg1
= (int)(SWIG_As_int(obj0
));
17309 if (SWIG_arg_fail(1)) SWIG_fail
;
17312 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
17313 if (SWIG_arg_fail(2)) SWIG_fail
;
17315 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
17316 if (SWIG_arg_fail(3)) SWIG_fail
;
17319 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
17323 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
17327 arg6
= (bool)(SWIG_As_bool(obj5
));
17328 if (SWIG_arg_fail(6)) SWIG_fail
;
17333 arg7
= (bool)(SWIG_As_bool(obj6
));
17334 if (SWIG_arg_fail(7)) SWIG_fail
;
17339 arg8
= (bool)(SWIG_As_bool(obj7
));
17340 if (SWIG_arg_fail(8)) SWIG_fail
;
17345 arg9
= (bool)(SWIG_As_bool(obj8
));
17346 if (SWIG_arg_fail(9)) SWIG_fail
;
17351 arg10
= (bool)(SWIG_As_bool(obj9
));
17352 if (SWIG_arg_fail(10)) SWIG_fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
17359 wxPyEndAllowThreads(__tstate
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
17369 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
;
17371 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17372 wxGridCellCoords result
;
17373 PyObject
* obj0
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "self", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
17379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17380 if (SWIG_arg_fail(1)) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 result
= (arg1
)->GetTopLeftCoords();
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17389 wxGridCellCoords
* resultptr
;
17390 resultptr
= new wxGridCellCoords((wxGridCellCoords
&)(result
));
17391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
17399 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17402 wxGridCellCoords result
;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
17409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17410 if (SWIG_arg_fail(1)) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= (arg1
)->GetBottomRightCoords();
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17419 wxGridCellCoords
* resultptr
;
17420 resultptr
= new wxGridCellCoords((wxGridCellCoords
&)(result
));
17421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
17429 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
17439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17440 if (SWIG_arg_fail(1)) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (int)(arg1
)->GetTopRow();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= SWIG_From_int((int)(result
));
17457 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17461 PyObject
* obj0
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "self", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
17467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17468 if (SWIG_arg_fail(1)) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= (int)(arg1
)->GetBottomRow();
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= SWIG_From_int((int)(result
));
17485 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
17495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17496 if (SWIG_arg_fail(1)) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 result
= (int)(arg1
)->GetLeftCol();
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= SWIG_From_int((int)(result
));
17513 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17517 PyObject
* obj0
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
17523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17524 if (SWIG_arg_fail(1)) SWIG_fail
;
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 result
= (int)(arg1
)->GetRightCol();
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= SWIG_From_int((int)(result
));
17541 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17545 PyObject
* obj0
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
17551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17552 if (SWIG_arg_fail(1)) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (bool)(arg1
)->Selecting();
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17569 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17570 PyObject
*resultobj
;
17571 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17573 PyObject
* obj0
= 0 ;
17574 char *kwnames
[] = {
17575 (char *) "self", NULL
17578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17580 if (SWIG_arg_fail(1)) SWIG_fail
;
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 result
= (bool)(arg1
)->ControlDown();
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17597 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
;
17599 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17601 PyObject
* obj0
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17608 if (SWIG_arg_fail(1)) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 result
= (bool)(arg1
)->MetaDown();
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17625 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17627 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17629 PyObject
* obj0
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "self", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17636 if (SWIG_arg_fail(1)) SWIG_fail
;
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 result
= (bool)(arg1
)->ShiftDown();
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17653 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
;
17655 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17657 PyObject
* obj0
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17664 if (SWIG_arg_fail(1)) SWIG_fail
;
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 result
= (bool)(arg1
)->AltDown();
17669 wxPyEndAllowThreads(__tstate
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17681 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*, PyObject
*args
) {
17683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17684 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
17686 return Py_BuildValue((char *)"");
17688 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17692 wxObject
*arg3
= (wxObject
*) 0 ;
17695 wxControl
*arg6
= (wxControl
*) 0 ;
17696 wxGridEditorCreatedEvent
*result
;
17697 PyObject
* obj0
= 0 ;
17698 PyObject
* obj1
= 0 ;
17699 PyObject
* obj2
= 0 ;
17700 PyObject
* obj3
= 0 ;
17701 PyObject
* obj4
= 0 ;
17702 PyObject
* obj5
= 0 ;
17703 char *kwnames
[] = {
17704 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
17707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17709 arg1
= (int)(SWIG_As_int(obj0
));
17710 if (SWIG_arg_fail(1)) SWIG_fail
;
17713 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
17714 if (SWIG_arg_fail(2)) SWIG_fail
;
17716 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
17717 if (SWIG_arg_fail(3)) SWIG_fail
;
17719 arg4
= (int)(SWIG_As_int(obj3
));
17720 if (SWIG_arg_fail(4)) SWIG_fail
;
17723 arg5
= (int)(SWIG_As_int(obj4
));
17724 if (SWIG_arg_fail(5)) SWIG_fail
;
17726 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
17727 if (SWIG_arg_fail(6)) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
17742 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
;
17744 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17746 PyObject
* obj0
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "self", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
17752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17753 if (SWIG_arg_fail(1)) SWIG_fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 result
= (int)(arg1
)->GetRow();
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17762 resultobj
= SWIG_From_int((int)(result
));
17770 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17771 PyObject
*resultobj
;
17772 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17774 PyObject
* obj0
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
17780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail
;
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 result
= (int)(arg1
)->GetCol();
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= SWIG_From_int((int)(result
));
17798 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17802 PyObject
* obj0
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
17808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17809 if (SWIG_arg_fail(1)) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= (wxControl
*)(arg1
)->GetControl();
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= wxPyMake_wxObject(result
, 0);
17826 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
;
17828 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17830 PyObject
* obj0
= 0 ;
17831 PyObject
* obj1
= 0 ;
17832 char *kwnames
[] = {
17833 (char *) "self",(char *) "row", NULL
17836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
17837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17838 if (SWIG_arg_fail(1)) SWIG_fail
;
17840 arg2
= (int)(SWIG_As_int(obj1
));
17841 if (SWIG_arg_fail(2)) SWIG_fail
;
17844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17845 (arg1
)->SetRow(arg2
);
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 Py_INCREF(Py_None
); resultobj
= Py_None
;
17857 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
;
17859 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self",(char *) "col", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
17868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17869 if (SWIG_arg_fail(1)) SWIG_fail
;
17871 arg2
= (int)(SWIG_As_int(obj1
));
17872 if (SWIG_arg_fail(2)) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 (arg1
)->SetCol(arg2
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 Py_INCREF(Py_None
); resultobj
= Py_None
;
17888 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17891 wxControl
*arg2
= (wxControl
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self",(char *) "ctrl", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17900 if (SWIG_arg_fail(1)) SWIG_fail
;
17901 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
17902 if (SWIG_arg_fail(2)) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 (arg1
)->SetControl(arg2
);
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 Py_INCREF(Py_None
); resultobj
= Py_None
;
17917 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*, PyObject
*args
) {
17919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17920 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
17922 return Py_BuildValue((char *)"");
17924 static PyMethodDef SwigMethods
[] = {
17925 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17926 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17927 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17928 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17929 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17930 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17931 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17932 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
17933 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17934 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17935 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17936 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
17937 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17938 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
17939 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17940 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
17941 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17942 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17943 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17944 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17945 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17946 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
17947 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17948 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
17949 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17950 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
17951 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17952 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
17953 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17954 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
17955 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17956 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17957 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17958 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17959 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17960 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17961 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17962 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17963 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17964 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17965 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17966 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17967 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17968 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17969 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17970 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17971 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17972 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17973 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17974 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17975 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17976 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17977 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
17978 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17979 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17980 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17981 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17982 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17983 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17984 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17985 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17986 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17987 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17988 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17989 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
17990 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17991 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17992 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
17993 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17994 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17995 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
17996 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17997 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17998 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
17999 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18000 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18001 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
18002 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18003 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18004 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
18005 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18006 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18007 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
18008 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18009 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18010 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
18011 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18012 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18013 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18014 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18015 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18016 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18017 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18018 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18019 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18020 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18021 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18022 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18023 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18024 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18025 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18026 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18027 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18028 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18029 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18030 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18031 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18032 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18033 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18034 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18035 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18036 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18037 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18038 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18039 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18040 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18041 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18042 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18043 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18044 { (char *)"GridCellAttr_GetKind", (PyCFunction
) _wrap_GridCellAttr_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18045 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18046 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
18047 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18048 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18049 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18050 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18051 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18052 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18053 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18054 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18055 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
18056 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18057 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18058 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18059 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18060 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18061 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18062 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
18063 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18064 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18065 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18066 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18067 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18068 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18069 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18070 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18071 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18072 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18073 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18074 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18075 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18076 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18077 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18078 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18079 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18080 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18081 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18082 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18083 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18084 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18085 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18086 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18087 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18088 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18089 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18090 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18091 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18092 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18093 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18094 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18095 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18096 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18097 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18098 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
18099 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18100 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18101 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18102 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18103 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18104 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18105 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18106 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18107 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18108 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18109 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18110 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18111 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18112 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18113 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18114 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18115 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18116 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18117 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18118 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18119 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18120 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18121 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
18122 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18123 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
18124 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18125 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18126 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18127 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18128 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18129 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18130 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18131 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18132 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18133 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18134 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
18135 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18136 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18137 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18138 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18139 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18140 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18141 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18142 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18143 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18144 { (char *)"GridCellCoords_Get", (PyCFunction
) _wrap_GridCellCoords_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18145 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
18146 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18147 { (char *)"new_PreGrid", (PyCFunction
) _wrap_new_PreGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18148 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18149 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18150 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18151 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18152 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18153 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18154 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18155 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18156 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18157 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18158 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18159 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18160 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18161 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18162 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18163 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18164 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18165 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18166 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18167 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18168 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18169 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18170 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18171 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18172 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18173 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18174 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18175 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18176 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18177 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18178 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18179 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18180 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18181 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18182 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18183 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18184 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18185 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18186 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18187 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18188 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18189 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18190 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18191 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18192 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18193 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18194 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18195 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18196 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18197 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18198 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18199 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18200 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18201 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18202 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18203 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18204 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18205 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18206 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18207 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18208 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18209 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18210 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18211 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18212 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18213 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18214 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18215 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18216 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18217 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18218 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18219 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18220 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18221 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18222 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18223 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18224 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18225 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18226 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18227 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18228 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18229 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18230 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18231 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18232 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18233 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18234 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18235 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18236 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18237 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18238 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18239 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18240 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18241 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18242 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18243 { (char *)"Grid_DisableDragCell", (PyCFunction
) _wrap_Grid_DisableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18244 { (char *)"Grid_CanDragCell", (PyCFunction
) _wrap_Grid_CanDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18245 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18246 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18247 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18248 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18249 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18250 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18251 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18252 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18253 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18254 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18255 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18256 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18257 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18258 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18259 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18260 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18261 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18262 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18263 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18264 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18265 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18266 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18267 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18268 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18269 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18270 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18271 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18272 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18273 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18274 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18275 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18276 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18277 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18278 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18279 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18280 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18281 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18282 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18283 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18284 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18285 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18286 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18287 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18288 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18289 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18290 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18291 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18292 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18293 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18294 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18295 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18296 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18297 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18298 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18299 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18300 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18301 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18302 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18303 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18304 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18305 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18306 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18307 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18308 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18309 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18310 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18311 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18312 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18313 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18314 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18315 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18316 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18317 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18318 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18319 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18320 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18321 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18322 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18323 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18324 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18325 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18326 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18327 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18328 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18329 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18330 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18331 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18332 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18333 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18334 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18335 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18336 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18337 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18338 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18339 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18340 { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18341 { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18342 { (char *)"Grid_GetScrollLineX", (PyCFunction
) _wrap_Grid_GetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18343 { (char *)"Grid_GetScrollLineY", (PyCFunction
) _wrap_Grid_GetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18344 { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18345 { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18346 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18347 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
18348 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18349 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18350 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18351 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18352 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18353 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18354 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18355 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18356 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18357 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
18358 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18359 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18360 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18361 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18362 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18363 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18364 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18365 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
18366 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18367 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18368 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18369 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18370 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18371 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18372 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18373 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18374 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18375 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18376 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18377 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18378 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
18379 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18380 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18381 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18382 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18383 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18384 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18385 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18386 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
18387 { NULL
, NULL
, 0, NULL
}
18391 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18393 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
18394 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
18396 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
18397 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
18399 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
18400 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
18402 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
18403 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
18405 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
18406 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
18408 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
18409 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
18411 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
18412 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
18414 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
18415 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
18417 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
18418 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
18420 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
18421 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
18423 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
18424 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
18426 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
18427 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
18429 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
18430 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
18432 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
18433 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
18435 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
18436 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18438 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
18439 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18441 static void *_p_wxGridTo_p_wxPanel(void *x
) {
18442 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
18444 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
18445 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18447 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
18448 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18450 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
18451 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
18453 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
18454 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18456 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
18457 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
18459 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
18460 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18462 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
18463 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18465 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
18466 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18468 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
18469 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18471 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
18472 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
18474 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
18475 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18477 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
18478 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
18480 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
18481 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18483 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
18484 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18486 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
18487 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18489 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
18490 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
18492 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18493 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18495 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
18496 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18498 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
18499 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18501 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
18502 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18504 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
18505 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18507 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
18508 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18510 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
18511 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18513 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
18514 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18516 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
18517 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18519 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
18520 return (void *)((wxWindow
*) ((wxPanel
*) x
));
18522 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
18523 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
18525 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
18526 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18528 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
18529 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
18531 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
18532 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18534 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
18535 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
18537 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
18538 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18540 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
18541 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
18543 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
18544 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
18546 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
18547 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
18549 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
18550 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
18552 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
18553 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
18555 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
18556 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
18558 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
18559 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18561 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18562 return (void *)((wxWindow
*) ((wxControl
*) x
));
18564 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
18565 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18567 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
18568 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18570 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
18571 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18573 static void *_p_wxGridTo_p_wxWindow(void *x
) {
18574 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
18576 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18577 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18579 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
18580 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
18582 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
18583 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18585 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
18586 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18588 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
18589 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18591 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
18592 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
18594 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
18595 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18597 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
18598 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
18600 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
18601 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18603 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
18604 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18606 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
18607 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18609 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
18610 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
18612 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
18613 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18615 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
18616 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
18618 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
18619 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18621 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
18622 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
18624 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
18625 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
18627 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
18628 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
18630 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
18631 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
18633 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
18634 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
18636 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
18637 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18639 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
18640 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
18642 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
18643 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
18645 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
18646 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18648 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
18649 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
18651 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
18652 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18654 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
18655 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18657 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
18658 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18660 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
18661 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
18663 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
18664 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18666 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
18667 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18669 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
18670 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
18672 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
18673 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
18675 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
18676 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
18678 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
18679 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
18681 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
18682 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
18684 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
18685 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18687 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
18688 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
18690 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
18691 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
18693 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
18694 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18696 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
18697 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18699 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
18700 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18702 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
18703 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18705 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
18706 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18708 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
18709 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
18711 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
18712 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
18714 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
18715 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
18717 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
18718 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
18720 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
18721 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18723 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18724 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18726 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18727 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18729 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18730 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18732 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18733 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18735 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18736 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18738 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18739 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18741 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18742 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18744 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18745 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18747 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18748 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18750 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18751 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18753 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18754 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18756 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18757 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18759 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18762 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18765 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18766 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18768 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18769 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18771 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18772 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18774 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18775 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18777 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18778 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18780 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18781 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18783 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18784 return (void *)((wxObject
*) ((wxSizer
*) x
));
18786 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18787 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18789 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18790 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18792 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18795 static void *_p_wxEventTo_p_wxObject(void *x
) {
18796 return (void *)((wxObject
*) ((wxEvent
*) x
));
18798 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
18799 return (void *)((wxObject
*) ((wxFontData
*) x
));
18801 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
18802 return (void *)((wxObject
*) ((wxPrintData
*) x
));
18804 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18805 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18807 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18808 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18810 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18811 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18813 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
18814 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
18816 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
18817 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18819 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
18820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18822 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
18823 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
18825 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18826 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18828 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18829 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18831 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18832 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18834 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18835 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18837 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18838 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18840 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18841 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18843 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
18844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18846 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
18847 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
18849 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
18850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
18852 static void *_p_wxControlTo_p_wxObject(void *x
) {
18853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18855 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18856 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18858 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
18859 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18861 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18862 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18864 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
18865 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
18867 static void *_p_wxGridTo_p_wxObject(void *x
) {
18868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
18870 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18871 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18873 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
18874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18876 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
18877 return (void *)((wxObject
*) ((wxColourData
*) x
));
18879 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18880 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18882 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18883 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18885 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
18886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
18888 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
18889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18891 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
18892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18894 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
18895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18897 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
18898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18900 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
18901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18903 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
18904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18906 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
18907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18909 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
18910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18912 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
18913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18915 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18916 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18918 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
18919 return (void *)((wxObject
*) ((wxPrinter
*) x
));
18921 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18922 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18924 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18925 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18927 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18930 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18931 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18933 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18934 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18936 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18937 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18939 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18940 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18942 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18943 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18945 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18946 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18948 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
18949 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18951 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18952 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18954 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18955 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18957 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18958 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18960 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18961 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18963 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18964 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18966 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18967 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18969 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18970 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18972 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18973 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18975 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18976 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18978 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18979 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18981 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18982 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18984 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18985 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18987 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18988 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18990 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
18991 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18993 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
18994 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18996 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
18997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18999 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
19000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19002 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19003 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19005 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
19006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
19008 static void *_p_wxImageTo_p_wxObject(void *x
) {
19009 return (void *)((wxObject
*) ((wxImage
*) x
));
19011 static void *_p_wxFrameTo_p_wxObject(void *x
) {
19012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
19014 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
19015 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
19017 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19018 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19020 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
19021 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
19023 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
19024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
19026 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
19027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19029 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19030 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19032 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19033 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19035 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19036 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19038 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19039 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19041 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19042 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19044 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19047 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
19048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
19050 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
19051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
19053 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
19054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
19056 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
19057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
19059 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
19060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
19062 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
19063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19065 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
19066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
19068 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
19069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19071 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
19072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
19074 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
19075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19077 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
19078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
19080 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
19081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19083 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
19084 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
19086 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
19087 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
19089 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
19090 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
19092 static void *_p_wxPanelTo_p_wxObject(void *x
) {
19093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
19095 static void *_p_wxDialogTo_p_wxObject(void *x
) {
19096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
19098 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
19099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19101 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
19102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19104 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
19105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19107 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
19108 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
19110 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
19111 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
19113 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19114 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19116 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19117 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19119 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19120 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19122 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19123 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19125 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19126 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19128 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19129 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19131 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19132 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19134 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
19135 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
19137 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
19138 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
19140 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19141 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19143 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19144 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19146 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
19147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
19149 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
19150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19152 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19153 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19155 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19156 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19158 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19159 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19161 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19164 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
19165 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
19167 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
19168 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
19170 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19173 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19174 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19176 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
19177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
19179 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
19180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
19182 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
19183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
19185 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
19186 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
19188 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
19189 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
19191 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
19192 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
19194 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
19195 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
19197 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
19198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19200 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
19201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
19203 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
19204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19206 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
19207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19209 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
19210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
19212 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
19213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
19215 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
19216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
19218 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
19219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
19221 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
19222 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
19224 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
19225 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
19227 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
19228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19230 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
19231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
19233 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
19234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19236 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
19237 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
19239 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
19240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19242 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
19243 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
19245 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
19246 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
19248 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
19249 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
19251 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
19252 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
19254 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
19255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
19257 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
19258 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
19260 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
19261 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
19263 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
19264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19266 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
19267 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
19269 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
19270 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
19272 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
19273 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
19275 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
19276 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
19278 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
19279 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
19281 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
19282 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
19284 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
19285 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19287 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
19288 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
19290 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
19291 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19293 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
19294 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19296 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
19297 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19299 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
19300 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
19302 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
19303 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19305 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
19306 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
19308 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
19309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
19311 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
19312 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19314 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
19315 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19317 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
19318 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
19320 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
19321 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19323 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
19324 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19326 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
19327 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
19329 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
19330 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
19332 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
19333 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
19335 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
19336 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
19338 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
19339 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
19341 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
19342 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
19344 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
19345 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
19347 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
19348 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
19350 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
19351 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
19353 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
19354 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
19356 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
19357 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
19359 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
19360 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
19362 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
19363 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
19365 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19366 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19368 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19369 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19371 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19372 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19374 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19375 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19377 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19378 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19380 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19381 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19383 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19384 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19386 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
19387 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
19389 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
19390 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
19392 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19393 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19395 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
19396 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
19398 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
19399 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
19401 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19402 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19404 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19405 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19407 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19408 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19410 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
19411 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
19413 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
19414 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
19416 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}};
19417 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}};
19418 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}};
19419 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}};
19420 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}};
19421 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}};
19422 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}};
19423 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}};
19424 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}};
19425 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}};
19426 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}};
19427 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}};
19428 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}};
19429 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}};
19430 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}};
19431 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}};
19432 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}};
19433 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}};
19434 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}};
19435 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}};
19436 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}};
19437 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}};
19438 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}};
19439 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}};
19440 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}};
19441 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}};
19442 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}};
19443 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}};
19444 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_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}};
19445 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}};
19446 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}};
19447 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}};
19448 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}};
19449 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}};
19450 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}};
19451 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}};
19452 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}};
19453 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}};
19454 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}};
19455 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}};
19456 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}};
19457 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}};
19458 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}};
19459 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}};
19460 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}};
19461 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}};
19462 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}};
19463 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}};
19464 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}};
19465 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}};
19466 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}};
19467 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}};
19468 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}};
19469 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}};
19470 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}};
19471 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}};
19472 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}};
19473 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}};
19474 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}};
19475 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}};
19476 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}};
19477 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}};
19479 static swig_type_info
*swig_types_initial
[] = {
19480 _swigt__p_wxGridCellNumberRenderer
,
19481 _swigt__p_wxPyGridCellRenderer
,
19482 _swigt__p_wxGridCellRenderer
,
19483 _swigt__p_wxGridCellStringRenderer
,
19484 _swigt__p_wxGridCellAttr
,
19485 _swigt__p_wxGridCellFloatRenderer
,
19486 _swigt__p_wxGridCellBoolRenderer
,
19487 _swigt__p_wxGridCellDateTimeRenderer
,
19488 _swigt__p_wxGridCellEnumRenderer
,
19489 _swigt__p_wxGridCellAutoWrapStringRenderer
,
19490 _swigt__p_wxColour
,
19492 _swigt__p_form_ops_t
,
19493 _swigt__p_wxDuplexMode
,
19494 _swigt__p_wxGridTableMessage
,
19496 _swigt__p_wxVisualAttributes
,
19499 _swigt__p_wxNotifyEvent
,
19500 _swigt__p_wxGridRangeSelectEvent
,
19502 _swigt__p_wxGridCellCoords
,
19503 _swigt__p_wxScrolledWindow
,
19504 _swigt__p_wxWindow
,
19506 _swigt__p_wxControl
,
19508 _swigt__p_wxObject
,
19509 _swigt__p_wxGridSizeEvent
,
19512 _swigt__p_wxPaperSize
,
19513 _swigt__p_unsigned_int
,
19514 _swigt__unsigned_int
,
19515 _swigt__p_wxString
,
19516 _swigt__p_wxEvtHandler
,
19518 _swigt__p_wxGridEvent
,
19519 _swigt__p_wxGridEditorCreatedEvent
,
19520 _swigt__p_wxGridTableBase
,
19521 _swigt__p_wxGridCellEditor
,
19522 _swigt__p_wxGridCellTextEditor
,
19523 _swigt__p_wxPyGridCellEditor
,
19524 _swigt__p_wxGridCellNumberEditor
,
19525 _swigt__p_wxGridCellFloatEditor
,
19526 _swigt__p_wxGridCellBoolEditor
,
19527 _swigt__p_wxPyGridTableBase
,
19528 _swigt__p_wxGridStringTable
,
19529 _swigt__p_unsigned_char
,
19530 _swigt__std__ptrdiff_t
,
19532 _swigt__p_wxArrayString
,
19533 _swigt__p_wxCommandEvent
,
19535 _swigt__p_wxGridCellAttrProvider
,
19536 _swigt__p_wxGridCellChoiceEditor
,
19537 _swigt__p_wxKeyEvent
,
19538 _swigt__p_wxGridCellEnumEditor
,
19539 _swigt__p_wxGridCellAutoWrapStringEditor
,
19540 _swigt__p_wxPyGridCellAttrProvider
,
19541 _swigt__p_unsigned_long
,
19546 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19548 static swig_const_info swig_const_table
[] = {
19549 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
19550 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
19551 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
19552 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
19553 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
19554 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
19555 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
19556 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
19557 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
19558 {0, 0, 0, 0.0, 0, 0}};
19569 /* Python-specific SWIG API */
19570 #define SWIG_newvarlink() SWIG_Python_newvarlink()
19571 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
19572 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
19574 /* -----------------------------------------------------------------------------
19575 * global variable support code.
19576 * ----------------------------------------------------------------------------- */
19578 typedef struct swig_globalvar
{
19579 char *name
; /* Name of global variable */
19580 PyObject
*(*get_attr
)(); /* Return the current value */
19581 int (*set_attr
)(PyObject
*); /* Set the value */
19582 struct swig_globalvar
*next
;
19585 typedef struct swig_varlinkobject
{
19587 swig_globalvar
*vars
;
19588 } swig_varlinkobject
;
19591 swig_varlink_repr(swig_varlinkobject
*v
) {
19593 return PyString_FromString("<Swig global variables>");
19597 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
19598 swig_globalvar
*var
;
19600 fprintf(fp
,"Swig global variables { ");
19601 for (var
= v
->vars
; var
; var
=var
->next
) {
19602 fprintf(fp
,"%s", var
->name
);
19603 if (var
->next
) fprintf(fp
,", ");
19605 fprintf(fp
," }\n");
19610 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
19611 swig_globalvar
*var
= v
->vars
;
19613 if (strcmp(var
->name
,n
) == 0) {
19614 return (*var
->get_attr
)();
19618 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
19623 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
19624 swig_globalvar
*var
= v
->vars
;
19626 if (strcmp(var
->name
,n
) == 0) {
19627 return (*var
->set_attr
)(p
);
19631 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
19635 static PyTypeObject varlinktype
= {
19636 PyObject_HEAD_INIT(0)
19637 0, /* Number of items in variable part (ob_size) */
19638 (char *)"swigvarlink", /* Type name (tp_name) */
19639 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
19640 0, /* Itemsize (tp_itemsize) */
19641 0, /* Deallocator (tp_dealloc) */
19642 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
19643 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
19644 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
19645 0, /* tp_compare */
19646 (reprfunc
) swig_varlink_repr
, /* tp_repr */
19647 0, /* tp_as_number */
19648 0, /* tp_as_sequence */
19649 0, /* tp_as_mapping */
19653 0, /* tp_getattro */
19654 0, /* tp_setattro */
19655 0, /* tp_as_buffer */
19658 #if PY_VERSION_HEX >= 0x02000000
19659 0, /* tp_traverse */
19662 #if PY_VERSION_HEX >= 0x02010000
19663 0, /* tp_richcompare */
19664 0, /* tp_weaklistoffset */
19666 #if PY_VERSION_HEX >= 0x02020000
19667 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
19669 #if PY_VERSION_HEX >= 0x02030000
19672 #ifdef COUNT_ALLOCS
19673 0,0,0,0 /* tp_alloc -> tp_next */
19677 /* Create a variable linking object for use later */
19679 SWIG_Python_newvarlink(void) {
19680 swig_varlinkobject
*result
= 0;
19681 result
= PyMem_NEW(swig_varlinkobject
,1);
19682 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
19683 result
->ob_type
= &varlinktype
;
19685 result
->ob_refcnt
= 0;
19686 Py_XINCREF((PyObject
*) result
);
19687 return ((PyObject
*) result
);
19691 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
19692 swig_varlinkobject
*v
;
19693 swig_globalvar
*gv
;
19694 v
= (swig_varlinkobject
*) p
;
19695 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
19696 gv
->name
= (char *) malloc(strlen(name
)+1);
19697 strcpy(gv
->name
,name
);
19698 gv
->get_attr
= get_attr
;
19699 gv
->set_attr
= set_attr
;
19700 gv
->next
= v
->vars
;
19704 /* -----------------------------------------------------------------------------
19705 * constants/methods manipulation
19706 * ----------------------------------------------------------------------------- */
19708 /* Install Constants */
19710 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
19713 for (i
= 0; constants
[i
].type
; i
++) {
19714 switch(constants
[i
].type
) {
19716 obj
= PyInt_FromLong(constants
[i
].lvalue
);
19718 case SWIG_PY_FLOAT
:
19719 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
19721 case SWIG_PY_STRING
:
19722 if (constants
[i
].pvalue
) {
19723 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
19725 Py_INCREF(Py_None
);
19729 case SWIG_PY_POINTER
:
19730 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
19732 case SWIG_PY_BINARY
:
19733 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
19740 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
19746 /* -----------------------------------------------------------------------------*/
19747 /* Fix SwigMethods to carry the callback ptrs when needed */
19748 /* -----------------------------------------------------------------------------*/
19751 SWIG_Python_FixMethods(PyMethodDef
*methods
,
19752 swig_const_info
*const_table
,
19753 swig_type_info
**types
,
19754 swig_type_info
**types_initial
) {
19756 for (i
= 0; methods
[i
].ml_name
; ++i
) {
19757 char *c
= methods
[i
].ml_doc
;
19758 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
19760 swig_const_info
*ci
= 0;
19761 char *name
= c
+ 10;
19762 for (j
= 0; const_table
[j
].type
; j
++) {
19763 if (strncmp(const_table
[j
].name
, name
,
19764 strlen(const_table
[j
].name
)) == 0) {
19765 ci
= &(const_table
[j
]);
19770 size_t shift
= (ci
->ptype
) - types
;
19771 swig_type_info
*ty
= types_initial
[shift
];
19772 size_t ldoc
= (c
- methods
[i
].ml_doc
);
19773 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
19774 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
19776 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
19777 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
19779 strncpy(buff
, "swig_ptr: ", 10);
19781 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
19782 methods
[i
].ml_doc
= ndoc
;
19788 /* -----------------------------------------------------------------------------*
19789 * Initialize type list
19790 * -----------------------------------------------------------------------------*/
19792 #if PY_MAJOR_VERSION < 2
19793 /* PyModule_AddObject function was introduced in Python 2.0. The following function
19794 is copied out of Python/modsupport.c in python version 2.3.4 */
19796 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
19799 if (!PyModule_Check(m
)) {
19800 PyErr_SetString(PyExc_TypeError
,
19801 "PyModule_AddObject() needs module as first arg");
19805 PyErr_SetString(PyExc_TypeError
,
19806 "PyModule_AddObject() needs non-NULL value");
19810 dict
= PyModule_GetDict(m
);
19811 if (dict
== NULL
) {
19812 /* Internal error -- modules must have a dict! */
19813 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
19814 PyModule_GetName(m
));
19817 if (PyDict_SetItemString(dict
, name
, o
))
19824 static swig_type_info
**
19825 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
19826 static PyMethodDef swig_empty_runtime_method_table
[] = {
19828 NULL
, NULL
, 0, NULL
19832 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
19833 swig_empty_runtime_method_table
);
19834 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
19835 if (pointer
&& module) {
19836 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
19838 return type_list_handle
;
19841 static swig_type_info
**
19842 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
19843 swig_type_info
**type_pointer
;
19845 /* first check if module already created */
19846 type_pointer
= SWIG_Python_GetTypeListHandle();
19847 if (type_pointer
) {
19848 return type_pointer
;
19850 /* create a new module and variable */
19851 return SWIG_Python_SetTypeListHandle(type_list_handle
);
19859 /* -----------------------------------------------------------------------------*
19860 * Partial Init method
19861 * -----------------------------------------------------------------------------*/
19863 #ifdef SWIG_LINK_RUNTIME
19867 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
19873 SWIGEXPORT(void) SWIG_init(void) {
19874 static PyObject
*SWIG_globals
= 0;
19875 static int typeinit
= 0;
19878 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19880 /* Fix SwigMethods to carry the callback ptrs when needed */
19881 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
19883 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19884 d
= PyModule_GetDict(m
);
19887 #ifdef SWIG_LINK_RUNTIME
19888 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
19890 # ifndef SWIG_STATIC_RUNTIME
19891 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
19894 for (i
= 0; swig_types_initial
[i
]; i
++) {
19895 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19899 SWIG_InstallConstants(d
,swig_const_table
);
19901 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19902 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
19903 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
19904 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
19905 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
19906 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
19907 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
19908 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
19909 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
19910 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
19911 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
19912 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
19913 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
19915 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int((int)(wxGRID_DEFAULT_NUMBER_ROWS
)));
19918 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int((int)(wxGRID_DEFAULT_NUMBER_COLS
)));
19921 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int((int)(wxGRID_DEFAULT_ROW_HEIGHT
)));
19924 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_COL_WIDTH
)));
19927 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int((int)(wxGRID_DEFAULT_COL_LABEL_HEIGHT
)));
19930 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_ROW_LABEL_WIDTH
)));
19933 PyDict_SetItemString(d
,"GRID_LABEL_EDGE_ZONE", SWIG_From_int((int)(wxGRID_LABEL_EDGE_ZONE
)));
19936 PyDict_SetItemString(d
,"GRID_MIN_ROW_HEIGHT", SWIG_From_int((int)(wxGRID_MIN_ROW_HEIGHT
)));
19939 PyDict_SetItemString(d
,"GRID_MIN_COL_WIDTH", SWIG_From_int((int)(wxGRID_MIN_COL_WIDTH
)));
19942 PyDict_SetItemString(d
,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_SCROLLBAR_WIDTH
)));
19945 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_From_int((int)(wxGridCellAttr::Any
)));
19948 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_From_int((int)(wxGridCellAttr::Default
)));
19951 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_From_int((int)(wxGridCellAttr::Cell
)));
19954 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_From_int((int)(wxGridCellAttr::Row
)));
19957 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_From_int((int)(wxGridCellAttr::Col
)));
19960 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_From_int((int)(wxGridCellAttr::Merged
)));
19963 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int((int)(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)));
19966 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int((int)(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)));
19969 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)));
19972 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)));
19975 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_DELETED
)));
19978 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_INSERTED
)));
19981 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_APPENDED
)));
19984 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_DELETED
)));
19987 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_From_int((int)(wxGrid::wxGridSelectCells
)));
19990 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_From_int((int)(wxGrid::wxGridSelectRows
)));
19993 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_From_int((int)(wxGrid::wxGridSelectColumns
)));
19995 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
19996 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
19997 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
19998 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
19999 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
20000 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
20001 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
20002 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
20003 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
20004 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
20005 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
20006 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
20007 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
20008 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
20009 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
20010 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
20011 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));