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
);
29 /***********************************************************************
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
34 ************************************************************************/
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
45 /* inline attribute */
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
63 /* internal SWIG method */
65 # define SWIGINTERN static SWIGUNUSED
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
73 /* exporting methods for Windows DLLs */
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
79 # define SWIGEXPORT __declspec(dllexport)
86 /* calling conventions for Windows */
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
99 /***********************************************************************
102 * This file contains generic CAPI SWIG runtime support for pointer
105 ************************************************************************/
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 # define SWIG_TYPE_TABLE_NAME
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
130 # define SWIGRUNTIME SWIGINTERN
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
143 typedef void *(*swig_converter_func
)(void *);
144 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info
{
148 const char *name
; /* mangled name of this type */
149 const char *str
; /* human readable name of this type */
150 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
152 void *clientdata
; /* language specific type data */
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info
{
157 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter
; /* function to cast the void pointers */
159 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
160 struct swig_cast_info
*prev
; /* pointer to the previous cast */
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info
{
167 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size
; /* Number of types in this module */
169 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
170 swig_type_info
**type_initial
; /* Array of initially generated type structures */
171 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
172 void *clientdata
; /* Language specific module data */
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
184 SWIG_TypeNameComp(const char *f1
, const char *l1
,
185 const char *f2
, const char *l2
) {
186 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
187 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
188 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
189 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
191 return (l1
- f1
) - (l2
- f2
);
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
199 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
201 const char* te
= tb
+ strlen(tb
);
203 while (!equiv
&& *ne
) {
204 for (nb
= ne
; *ne
; ++ne
) {
205 if (*ne
== '|') break;
207 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
218 SWIG_TypeCompare(const char *nb
, const char *tb
) {
220 const char* te
= tb
+ strlen(tb
);
222 while (!equiv
&& *ne
) {
223 for (nb
= ne
; *ne
; ++ne
) {
224 if (*ne
== '|') break;
226 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
236 swig_cast_info *iter = ty->cast; \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
246 if (ty->cast) ty->cast->prev = iter; \
258 SWIGRUNTIME swig_cast_info
*
259 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
260 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info
*
265 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
266 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
270 Cast a pointer up an inheritance hierarchy
272 SWIGRUNTIMEINLINE
void *
273 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
274 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
278 Dynamic pointer casting. Down an inheritance hierarchy
280 SWIGRUNTIME swig_type_info
*
281 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
282 swig_type_info
*lastty
= ty
;
283 if (!ty
|| !ty
->dcast
) return ty
;
284 while (ty
&& (ty
->dcast
)) {
285 ty
= (*ty
->dcast
)(ptr
);
292 Return the name associated with this type
294 SWIGRUNTIMEINLINE
const char *
295 SWIG_TypeName(const swig_type_info
*ty
) {
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
303 SWIGRUNTIME
const char *
304 SWIG_TypePrettyName(const swig_type_info
*type
) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
309 if (type
->str
!= NULL
) {
310 const char *last_name
= type
->str
;
312 for (s
= type
->str
; *s
; s
++)
313 if (*s
== '|') last_name
= s
+1;
321 Set the clientdata field for a type
324 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
325 swig_cast_info
*cast
= ti
->cast
;
326 /* if (ti->clientdata == clientdata) return; */
327 ti
->clientdata
= clientdata
;
330 if (!cast
->converter
) {
331 swig_type_info
*tc
= cast
->type
;
332 if (!tc
->clientdata
) {
333 SWIG_TypeClientData(tc
, clientdata
);
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
348 SWIGRUNTIME swig_type_info
*
349 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
350 swig_module_info
*end
,
352 swig_module_info
*iter
= start
;
355 register size_t l
= 0;
356 register size_t r
= iter
->size
- 1;
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i
= (l
+ r
) >> 1;
360 const char *iname
= iter
->types
[i
]->name
;
362 register int compare
= strcmp(name
, iname
);
364 return iter
->types
[i
];
365 } else if (compare
< 0) {
371 } else if (compare
> 0) {
375 break; /* should never happen */
380 } while (iter
!= end
);
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
393 SWIGRUNTIME swig_type_info
*
394 SWIG_TypeQueryModule(swig_module_info
*start
,
395 swig_module_info
*end
,
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info
*iter
= start
;
406 register size_t i
= 0;
407 for (; i
< iter
->size
; ++i
) {
408 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
409 return iter
->types
[i
];
412 } while (iter
!= end
);
415 /* neither found a match */
421 Pack binary data into a string
424 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
425 static const char hex
[17] = "0123456789abcdef";
426 register const unsigned char *u
= (unsigned char *) ptr
;
427 register const unsigned char *eu
= u
+ sz
;
428 for (; u
!= eu
; ++u
) {
429 register unsigned char uu
= *u
;
430 *(c
++) = hex
[(uu
& 0xf0) >> 4];
431 *(c
++) = hex
[uu
& 0xf];
437 Unpack binary data from a string
439 SWIGRUNTIME
const char *
440 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
441 register unsigned char *u
= (unsigned char *) ptr
;
442 register const unsigned char *eu
= u
+ sz
;
443 for (; u
!= eu
; ++u
) {
444 register char d
= *(c
++);
445 register unsigned char uu
= 0;
446 if ((d
>= '0') && (d
<= '9'))
447 uu
= ((d
- '0') << 4);
448 else if ((d
>= 'a') && (d
<= 'f'))
449 uu
= ((d
- ('a'-10)) << 4);
453 if ((d
>= '0') && (d
<= '9'))
455 else if ((d
>= 'a') && (d
<= 'f'))
456 uu
|= (d
- ('a'-10));
465 Pack 'void *' into a string buffer.
468 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
470 if ((2*sizeof(void *) + 2) > bsz
) return 0;
472 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
473 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
478 SWIGRUNTIME
const char *
479 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
481 if (strcmp(c
,"NULL") == 0) {
488 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
492 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
494 size_t lname
= (name
? strlen(name
) : 0);
495 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
497 r
= SWIG_PackData(r
,ptr
,sz
);
499 strncpy(r
,name
,lname
+1);
506 SWIGRUNTIME
const char *
507 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
509 if (strcmp(c
,"NULL") == 0) {
516 return SWIG_UnpackData(++c
,ptr
,sz
);
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
536 # define SWIGINTERN static SWIGUNUSED
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
544 Exception handling in wrappers
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
570 /* Constant information structure */
571 typedef struct swig_const_info
{
577 swig_type_info
**ptype
;
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
593 /***********************************************************************
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
653 PyString_FromFormat(const char *fmt
, ...) {
655 char buf
[SWIG_BUFFER_SIZE
* 2];
658 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
660 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
680 /* Declarations for objects of type PySwigObject */
683 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
685 char result
[SWIG_BUFFER_SIZE
];
687 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
688 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
695 SWIGRUNTIME PyObject
*
696 PySwigObject_repr(PySwigObject
*v
)
698 char result
[SWIG_BUFFER_SIZE
];
699 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
700 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
703 SWIGRUNTIME PyObject
*
704 PySwigObject_str(PySwigObject
*v
)
706 char result
[SWIG_BUFFER_SIZE
];
707 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
708 PyString_FromString(result
) : 0;
711 SWIGRUNTIME PyObject
*
712 PySwigObject_long(PySwigObject
*v
)
714 return PyLong_FromVoidPtr(v
->ptr
);
717 SWIGRUNTIME PyObject
*
718 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
720 PyObject
*res
= NULL
;
721 PyObject
*args
= PyTuple_New(1);
722 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
723 PyObject
*ofmt
= PyString_FromString(fmt
);
725 res
= PyString_Format(ofmt
,args
);
733 SWIGRUNTIME PyObject
*
734 PySwigObject_oct(PySwigObject
*v
)
736 return PySwigObject_format("%o",v
);
739 SWIGRUNTIME PyObject
*
740 PySwigObject_hex(PySwigObject
*v
)
742 return PySwigObject_format("%x",v
);
746 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
748 int c
= strcmp(v
->desc
, w
->desc
);
750 return (c
> 0) ? 1 : -1;
754 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
759 PySwigObject_dealloc(PySwigObject
*self
)
764 SWIGRUNTIME PyTypeObject
*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__
[] =
767 "Swig object carries a C/C++ instance pointer";
769 static PyNumberMethods PySwigObject_as_number
= {
770 (binaryfunc
)0, /*nb_add*/
771 (binaryfunc
)0, /*nb_subtract*/
772 (binaryfunc
)0, /*nb_multiply*/
773 (binaryfunc
)0, /*nb_divide*/
774 (binaryfunc
)0, /*nb_remainder*/
775 (binaryfunc
)0, /*nb_divmod*/
776 (ternaryfunc
)0,/*nb_power*/
777 (unaryfunc
)0, /*nb_negative*/
778 (unaryfunc
)0, /*nb_positive*/
779 (unaryfunc
)0, /*nb_absolute*/
780 (inquiry
)0, /*nb_nonzero*/
787 (coercion
)0, /*nb_coerce*/
788 (unaryfunc
)PySwigObject_long
, /*nb_int*/
789 (unaryfunc
)PySwigObject_long
, /*nb_long*/
790 (unaryfunc
)0, /*nb_float*/
791 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
792 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
803 static int type_init
= 0;
808 PyObject_HEAD_INIT(&PyType_Type
)
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject
), /*tp_basicsize*/
814 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
815 (printfunc
)PySwigObject_print
, /*tp_print*/
816 (getattrfunc
)0, /*tp_getattr*/
817 (setattrfunc
)0, /*tp_setattr*/
818 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
819 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
820 &PySwigObject_as_number
, /*tp_as_number*/
821 0, /*tp_as_sequence*/
823 (hashfunc
)0, /*tp_hash*/
824 (ternaryfunc
)0, /*tp_call*/
825 (reprfunc
)PySwigObject_str
, /*tp_str*/
826 /* Space for future expansion */
828 pyswigobject_type__doc__
, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #if PY_VERSION_HEX >= 0x02030000
844 0,0,0,0 /* tp_alloc -> tp_next */
847 #if !defined(__cplusplus)
848 pyswigobject_type
= tmp
;
852 return &pyswigobject_type
;
855 SWIGRUNTIME PyObject
*
856 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
858 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
863 return (PyObject
*)self
;
866 SWIGRUNTIMEINLINE
void *
867 PySwigObject_AsVoidPtr(PyObject
*self
)
869 return ((PySwigObject
*)self
)->ptr
;
872 SWIGRUNTIMEINLINE
const char *
873 PySwigObject_GetDesc(PyObject
*self
)
875 return ((PySwigObject
*)self
)->desc
;
878 SWIGRUNTIMEINLINE
int
879 PySwigObject_Check(PyObject
*op
) {
880 return ((op
)->ob_type
== PySwigObject_type())
881 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
896 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
898 char result
[SWIG_BUFFER_SIZE
];
900 fputs("<Swig Packed ", fp
);
901 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
910 SWIGRUNTIME PyObject
*
911 PySwigPacked_repr(PySwigPacked
*v
)
913 char result
[SWIG_BUFFER_SIZE
];
914 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
917 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
921 SWIGRUNTIME PyObject
*
922 PySwigPacked_str(PySwigPacked
*v
)
924 char result
[SWIG_BUFFER_SIZE
];
925 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
926 return PyString_FromFormat("%s%s", result
, v
->desc
);
928 return PyString_FromString(v
->desc
);
933 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
935 int c
= strcmp(v
->desc
, w
->desc
);
937 return (c
> 0) ? 1 : -1;
941 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
942 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
947 PySwigPacked_dealloc(PySwigPacked
*self
)
953 SWIGRUNTIME PyTypeObject
*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__
[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
960 static int type_init
= 0;
965 PyObject_HEAD_INIT(&PyType_Type
)
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked
), /*tp_basicsize*/
971 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
972 (printfunc
)PySwigPacked_print
, /*tp_print*/
973 (getattrfunc
)0, /*tp_getattr*/
974 (setattrfunc
)0, /*tp_setattr*/
975 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
976 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
978 0, /*tp_as_sequence*/
980 (hashfunc
)0, /*tp_hash*/
981 (ternaryfunc
)0, /*tp_call*/
982 (reprfunc
)PySwigPacked_str
, /*tp_str*/
983 /* Space for future expansion */
985 pyswigpacked_type__doc__
, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #if PY_VERSION_HEX >= 0x02030000
1001 0,0,0,0 /* tp_alloc -> tp_next */
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type
= tmp
;
1009 return &pyswigpacked_type
;
1012 SWIGRUNTIME PyObject
*
1013 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1015 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1019 void *pack
= malloc(size
);
1021 memcpy(pack
, ptr
, size
);
1025 return (PyObject
*) self
;
1031 SWIGRUNTIMEINLINE
const char *
1032 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1034 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1035 if (self
->size
!= size
) return 0;
1036 memcpy(ptr
, self
->pack
, size
);
1040 SWIGRUNTIMEINLINE
const char *
1041 PySwigPacked_GetDesc(PyObject
*self
)
1043 return ((PySwigPacked
*)self
)->desc
;
1046 SWIGRUNTIMEINLINE
int
1047 PySwigPacked_Check(PyObject
*op
) {
1048 return ((op
)->ob_type
== PySwigPacked_type())
1049 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1071 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj
&& PySwigObject_Check(obj
)) {
1076 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1078 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1085 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1087 PyObject
*str
= PyObject_Str(obj
);
1088 const char *cstr
= str
? PyString_AsString(str
) : 0;
1090 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1093 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1100 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1102 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1106 SWIGRUNTIMEINLINE
void
1107 SWIG_Python_NullRef(const char *type
)
1110 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1112 PyErr_Format(PyExc_TypeError
, "null reference was received");
1117 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1119 if (PyErr_Occurred()) {
1121 PyObject
*value
= 0;
1122 PyObject
*traceback
= 0;
1123 PyErr_Fetch(&type
, &value
, &traceback
);
1125 PyObject
*old_str
= PyObject_Str(value
);
1129 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1131 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1142 SWIG_Python_ArgFail(int argnum
)
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1147 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1148 return SWIG_Python_AddErrMesg(mesg
, 1);
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1159 /* Convert a pointer value */
1161 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1164 static PyObject
*SWIG_this
= 0;
1166 PyObject
*pyobj
= 0;
1170 if (obj
== Py_None
) {
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj
))) {
1178 SWIG_this
= PyString_FromString("this");
1180 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1182 if (!obj
) goto type_error
;
1183 if (!PySwigObject_Check(obj
)) {
1188 vptr
= PySwigObject_AsVoidPtr(obj
);
1189 c
= (const char *) PySwigObject_GetDesc(obj
);
1190 if (newref
) { Py_DECREF(obj
); }
1193 if (!(PyString_Check(obj
))) {
1195 SWIG_this
= PyString_FromString("this");
1197 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1199 if (!obj
) goto type_error
;
1200 if (!PyString_Check(obj
)) {
1205 c
= PyString_AsString(obj
);
1206 /* Pointer values must start with leading underscore */
1207 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1208 if (newref
) { Py_DECREF(obj
); }
1209 if (!c
) goto type_error
;
1214 tc
= SWIG_TypeCheck(c
,ty
);
1215 if (!tc
) goto type_error
;
1216 *ptr
= SWIG_TypeCast(tc
,vptr
);
1220 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1221 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1227 if (pyobj
&& !obj
) {
1229 if (PyCFunction_Check(obj
)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1232 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1234 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1235 if (!c
) goto type_error
;
1240 if (flags
& SWIG_POINTER_EXCEPTION
) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1244 SWIG_Python_TypeError("C/C++ pointer", obj
);
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1254 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1256 if (flags
& SWIG_POINTER_EXCEPTION
) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1258 SWIG_Python_ArgFail(argnum
);
1264 /* Convert a packed value value */
1266 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1273 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1274 c
= PyString_AsString(obj
);
1275 /* Pointer values must start with leading underscore */
1276 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1278 if (!c
) goto type_error
;
1280 tc
= SWIG_TypeCheck(c
,ty
);
1281 if (!tc
) goto type_error
;
1287 if (flags
& SWIG_POINTER_EXCEPTION
) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1291 SWIG_Python_TypeError("C/C++ packed data", obj
);
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject
*
1299 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1315 char result
[SWIG_BUFFER_SIZE
];
1316 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1317 PyString_FromString(result
) : 0;
1320 if (!robj
|| (robj
== Py_None
)) return robj
;
1321 if (type
->clientdata
) {
1323 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1325 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1329 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1337 SWIGRUNTIME PyObject
*
1338 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1348 char result
[SWIG_BUFFER_SIZE
];
1349 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1350 PyString_FromString(result
) : 0;
1356 /* -----------------------------------------------------------------------------*
1358 * -----------------------------------------------------------------------------*/
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1364 SWIGRUNTIME swig_module_info
*
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer
= (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer
) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1372 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1374 if (PyErr_Occurred()) {
1376 type_pointer
= (void *)0;
1380 return (swig_module_info
*) type_pointer
;
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1390 if (!PyModule_Check(m
)) {
1391 PyErr_SetString(PyExc_TypeError
,
1392 "PyModule_AddObject() needs module as first arg");
1396 PyErr_SetString(PyExc_TypeError
,
1397 "PyModule_AddObject() needs non-NULL value");
1401 dict
= PyModule_GetDict(m
);
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1405 PyModule_GetName(m
));
1408 if (PyDict_SetItemString(dict
, name
, o
))
1416 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1417 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1419 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1420 swig_empty_runtime_method_table
);
1421 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1422 if (pointer
&& module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1434 #define SWIGTYPE_p_char swig_types[0]
1435 #define SWIGTYPE_p_form_ops_t swig_types[1]
1436 #define SWIGTYPE_p_int swig_types[2]
1437 #define SWIGTYPE_p_long swig_types[3]
1438 #define SWIGTYPE_p_unsigned_char swig_types[4]
1439 #define SWIGTYPE_p_unsigned_int swig_types[5]
1440 #define SWIGTYPE_p_unsigned_long swig_types[6]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1444 #define SWIGTYPE_p_wxArrayString swig_types[10]
1445 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
1446 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447 #define SWIGTYPE_p_wxCURHandler swig_types[13]
1448 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1449 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1450 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1451 #define SWIGTYPE_p_wxColour swig_types[17]
1452 #define SWIGTYPE_p_wxColourData swig_types[18]
1453 #define SWIGTYPE_p_wxColourDialog swig_types[19]
1454 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1455 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1456 #define SWIGTYPE_p_wxControl swig_types[22]
1457 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
1458 #define SWIGTYPE_p_wxDC swig_types[24]
1459 #define SWIGTYPE_p_wxDateEvent swig_types[25]
1460 #define SWIGTYPE_p_wxDialog swig_types[26]
1461 #define SWIGTYPE_p_wxDirDialog swig_types[27]
1462 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1464 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
1465 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
1466 #define SWIGTYPE_p_wxEvent swig_types[32]
1467 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
1468 #define SWIGTYPE_p_wxFSFile swig_types[34]
1469 #define SWIGTYPE_p_wxFileDialog swig_types[35]
1470 #define SWIGTYPE_p_wxFileSystem swig_types[36]
1471 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1472 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1473 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1474 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1475 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
1476 #define SWIGTYPE_p_wxFont swig_types[42]
1477 #define SWIGTYPE_p_wxFontData swig_types[43]
1478 #define SWIGTYPE_p_wxFontDialog swig_types[44]
1479 #define SWIGTYPE_p_wxFrame swig_types[45]
1480 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1481 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
1482 #define SWIGTYPE_p_wxGrid swig_types[48]
1483 #define SWIGTYPE_p_wxGridBagSizer swig_types[49]
1484 #define SWIGTYPE_p_wxGridCellAttr swig_types[50]
1485 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[51]
1486 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[52]
1487 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[53]
1488 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[54]
1489 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[55]
1490 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[56]
1491 #define SWIGTYPE_p_wxGridCellCoords swig_types[57]
1492 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[58]
1493 #define SWIGTYPE_p_wxGridCellEditor swig_types[59]
1494 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[60]
1495 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[61]
1496 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[62]
1497 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[63]
1498 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[64]
1499 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[65]
1500 #define SWIGTYPE_p_wxGridCellRenderer swig_types[66]
1501 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[67]
1502 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[68]
1503 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[69]
1504 #define SWIGTYPE_p_wxGridEvent swig_types[70]
1505 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[71]
1506 #define SWIGTYPE_p_wxGridSizeEvent swig_types[72]
1507 #define SWIGTYPE_p_wxGridSizer swig_types[73]
1508 #define SWIGTYPE_p_wxGridStringTable swig_types[74]
1509 #define SWIGTYPE_p_wxGridTableBase swig_types[75]
1510 #define SWIGTYPE_p_wxGridTableMessage swig_types[76]
1511 #define SWIGTYPE_p_wxICOHandler swig_types[77]
1512 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
1513 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
1514 #define SWIGTYPE_p_wxImage swig_types[80]
1515 #define SWIGTYPE_p_wxImageHandler swig_types[81]
1516 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
1517 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
1518 #define SWIGTYPE_p_wxJPEGHandler swig_types[84]
1519 #define SWIGTYPE_p_wxKeyEvent swig_types[85]
1520 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[86]
1521 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
1522 #define SWIGTYPE_p_wxMDIChildFrame swig_types[88]
1523 #define SWIGTYPE_p_wxMDIClientWindow swig_types[89]
1524 #define SWIGTYPE_p_wxMDIParentFrame swig_types[90]
1525 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
1526 #define SWIGTYPE_p_wxMenu swig_types[92]
1527 #define SWIGTYPE_p_wxMenuBar swig_types[93]
1528 #define SWIGTYPE_p_wxMenuEvent swig_types[94]
1529 #define SWIGTYPE_p_wxMenuItem swig_types[95]
1530 #define SWIGTYPE_p_wxMessageDialog swig_types[96]
1531 #define SWIGTYPE_p_wxMiniFrame swig_types[97]
1532 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[98]
1533 #define SWIGTYPE_p_wxMouseEvent swig_types[99]
1534 #define SWIGTYPE_p_wxMoveEvent swig_types[100]
1535 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[101]
1536 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
1537 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
1538 #define SWIGTYPE_p_wxNotifyEvent swig_types[104]
1539 #define SWIGTYPE_p_wxObject swig_types[105]
1540 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
1541 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
1542 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
1543 #define SWIGTYPE_p_wxPageSetupDialog swig_types[109]
1544 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[110]
1545 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
1546 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
1547 #define SWIGTYPE_p_wxPanel swig_types[113]
1548 #define SWIGTYPE_p_wxPaperSize swig_types[114]
1549 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[115]
1550 #define SWIGTYPE_p_wxPoint swig_types[116]
1551 #define SWIGTYPE_p_wxPopupWindow swig_types[117]
1552 #define SWIGTYPE_p_wxPreviewCanvas swig_types[118]
1553 #define SWIGTYPE_p_wxPreviewControlBar swig_types[119]
1554 #define SWIGTYPE_p_wxPreviewFrame swig_types[120]
1555 #define SWIGTYPE_p_wxPrintData swig_types[121]
1556 #define SWIGTYPE_p_wxPrintDialog swig_types[122]
1557 #define SWIGTYPE_p_wxPrintDialogData swig_types[123]
1558 #define SWIGTYPE_p_wxPrintPreview swig_types[124]
1559 #define SWIGTYPE_p_wxPrinter swig_types[125]
1560 #define SWIGTYPE_p_wxProgressDialog swig_types[126]
1561 #define SWIGTYPE_p_wxPyApp swig_types[127]
1562 #define SWIGTYPE_p_wxPyCommandEvent swig_types[128]
1563 #define SWIGTYPE_p_wxPyEvent swig_types[129]
1564 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[130]
1565 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[131]
1566 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[132]
1567 #define SWIGTYPE_p_wxPyGridTableBase swig_types[133]
1568 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[134]
1569 #define SWIGTYPE_p_wxPyImageHandler swig_types[135]
1570 #define SWIGTYPE_p_wxPyPanel swig_types[136]
1571 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[137]
1572 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[138]
1573 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[139]
1574 #define SWIGTYPE_p_wxPyPrintPreview swig_types[140]
1575 #define SWIGTYPE_p_wxPyPrintout swig_types[141]
1576 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[142]
1577 #define SWIGTYPE_p_wxPySizer swig_types[143]
1578 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[144]
1579 #define SWIGTYPE_p_wxPyVListBox swig_types[145]
1580 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[146]
1581 #define SWIGTYPE_p_wxPyValidator swig_types[147]
1582 #define SWIGTYPE_p_wxPyWindow swig_types[148]
1583 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[149]
1584 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[150]
1585 #define SWIGTYPE_p_wxRect swig_types[151]
1586 #define SWIGTYPE_p_wxSashEvent swig_types[152]
1587 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[153]
1588 #define SWIGTYPE_p_wxSashWindow swig_types[154]
1589 #define SWIGTYPE_p_wxScrollEvent swig_types[155]
1590 #define SWIGTYPE_p_wxScrollWinEvent swig_types[156]
1591 #define SWIGTYPE_p_wxScrolledWindow swig_types[157]
1592 #define SWIGTYPE_p_wxSetCursorEvent swig_types[158]
1593 #define SWIGTYPE_p_wxShowEvent swig_types[159]
1594 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[160]
1595 #define SWIGTYPE_p_wxSize swig_types[161]
1596 #define SWIGTYPE_p_wxSizeEvent swig_types[162]
1597 #define SWIGTYPE_p_wxSizer swig_types[163]
1598 #define SWIGTYPE_p_wxSizerItem swig_types[164]
1599 #define SWIGTYPE_p_wxSplashScreen swig_types[165]
1600 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[166]
1601 #define SWIGTYPE_p_wxSplitterEvent swig_types[167]
1602 #define SWIGTYPE_p_wxSplitterWindow swig_types[168]
1603 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[169]
1604 #define SWIGTYPE_p_wxStatusBar swig_types[170]
1605 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[171]
1606 #define SWIGTYPE_p_wxString swig_types[172]
1607 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[173]
1608 #define SWIGTYPE_p_wxTIFFHandler swig_types[174]
1609 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[175]
1610 #define SWIGTYPE_p_wxTextEntryDialog swig_types[176]
1611 #define SWIGTYPE_p_wxTipWindow swig_types[177]
1612 #define SWIGTYPE_p_wxTopLevelWindow swig_types[178]
1613 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[179]
1614 #define SWIGTYPE_p_wxValidator swig_types[180]
1615 #define SWIGTYPE_p_wxVisualAttributes swig_types[181]
1616 #define SWIGTYPE_p_wxWindow swig_types[182]
1617 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[183]
1618 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[184]
1619 #define SWIGTYPE_p_wxXPMHandler swig_types[185]
1620 #define SWIGTYPE_ptrdiff_t swig_types[186]
1621 #define SWIGTYPE_std__ptrdiff_t swig_types[187]
1622 #define SWIGTYPE_unsigned_int swig_types[188]
1623 static swig_type_info
*swig_types
[190];
1624 static swig_module_info swig_module
= {swig_types
, 189, 0, 0, 0, 0};
1625 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1626 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1628 /* -------- TYPES TABLE (END) -------- */
1631 /*-----------------------------------------------
1632 @(target):= _grid.so
1633 ------------------------------------------------*/
1634 #define SWIG_init init_grid
1636 #define SWIG_name "_grid"
1638 #include "wx/wxPython/wxPython.h"
1639 #include "wx/wxPython/pyclasses.h"
1640 #include "wx/wxPython/printfw.h"
1642 #include <wx/grid.h>
1643 #include <wx/generic/gridctrl.h>
1646 static const wxString
wxPyEmptyString(wxEmptyString
);
1647 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1648 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
1651 #define wxPyMake_TEMPLATE(TYPE) \
1652 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
1653 PyObject* target = NULL; \
1655 /* Check if there is already a pointer to a Python object in the \
1656 OOR data that we can use. */ \
1657 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
1659 target = data->m_obj; \
1661 Py_INCREF(target); \
1663 /* Otherwise make a new wrapper for it the old fashioned way and \
1664 give it the OOR treatment */ \
1666 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
1668 source->SetClientObject(new wxPyOORClientData(target)); \
1670 } else { /* source was NULL so return None. */ \
1671 Py_INCREF(Py_None); target = Py_None; \
1677 wxPyMake_TEMPLATE(wxGridCellRenderer)
1678 wxPyMake_TEMPLATE(wxGridCellEditor
)
1679 wxPyMake_TEMPLATE(wxGridCellAttr
)
1680 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
1681 wxPyMake_TEMPLATE(wxGridTableBase
)
1685 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
1686 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
1687 wxGridCellAttr* rval = NULL; \
1689 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1690 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1692 wxGridCellAttr* ptr; \
1693 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
1695 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
1700 wxPyEndBlockThreads(blocked); \
1702 rval = PCLASS::CBNAME(a, b, c); \
1707 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
1708 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
1709 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1711 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1712 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
1713 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
1716 wxPyEndBlockThreads(blocked); \
1718 PCLASS::CBNAME(attr, a, b); \
1723 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
1724 void CBNAME(wxGridCellAttr *attr, int val) { \
1725 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1727 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1728 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
1729 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
1732 wxPyEndBlockThreads(blocked); \
1734 PCLASS::CBNAME(attr, val); \
1739 #define PYCALLBACK_INT__pure(CBNAME) \
1741 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1743 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
1744 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1745 wxPyEndBlockThreads(blocked); \
1751 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
1752 bool CBNAME(int a, int b) { \
1753 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1755 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
1756 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
1757 wxPyEndBlockThreads(blocked); \
1762 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
1763 wxString CBNAME(int a, int b) { \
1764 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1766 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
1768 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1770 rval = Py2wxString(ro); \
1774 wxPyEndBlockThreads(blocked); \
1779 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
1780 void CBNAME(int a, int b, const wxString& c) { \
1781 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1782 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
1783 PyObject* s = wx2PyString(c); \
1784 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
1787 wxPyEndBlockThreads(blocked); \
1791 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
1792 wxString CBNAME(int a, int b) { \
1794 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1796 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1798 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1800 rval = Py2wxString(ro); \
1804 wxPyEndBlockThreads(blocked); \
1806 rval = PCLASS::CBNAME(a, b); \
1811 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
1812 bool CBNAME(int a, int b, const wxString& c) { \
1815 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1816 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1817 PyObject* s = wx2PyString(c); \
1818 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
1821 wxPyEndBlockThreads(blocked); \
1823 rval = PCLASS::CBNAME(a,b,c); \
1830 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
1831 long CBNAME(int a, int b) { \
1834 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1835 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1836 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1837 wxPyEndBlockThreads(blocked); \
1839 rval = PCLASS::CBNAME(a,b); \
1844 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
1845 bool CBNAME(int a, int b) { \
1848 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1849 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1850 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1851 wxPyEndBlockThreads(blocked); \
1853 rval = PCLASS::CBNAME(a,b); \
1859 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
1860 double CBNAME(int a, int b) { \
1862 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1864 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1866 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1868 PyObject* str = PyObject_Str(ro); \
1869 rval = PyFloat_AsDouble(str); \
1870 Py_DECREF(ro); Py_DECREF(str); \
1873 wxPyEndBlockThreads(blocked); \
1875 rval = PCLASS::CBNAME(a, b); \
1881 #define PYCALLBACK__(PCLASS, CBNAME) \
1884 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1885 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1886 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1887 wxPyEndBlockThreads(blocked); \
1894 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
1895 bool CBNAME(size_t a, size_t b) { \
1898 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1899 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1900 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1901 wxPyEndBlockThreads(blocked); \
1903 rval = PCLASS::CBNAME(a,b); \
1909 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
1910 bool CBNAME(size_t a) { \
1913 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1914 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1915 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
1916 wxPyEndBlockThreads(blocked); \
1918 rval = PCLASS::CBNAME(a); \
1923 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
1924 wxString CBNAME(int a) { \
1926 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1928 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1930 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
1932 rval = Py2wxString(ro); \
1936 wxPyEndBlockThreads(blocked); \
1938 rval = PCLASS::CBNAME(a); \
1943 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
1944 void CBNAME(int a, const wxString& c) { \
1946 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1947 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1948 PyObject* s = wx2PyString(c); \
1949 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
1952 wxPyEndBlockThreads(blocked); \
1954 PCLASS::CBNAME(a,c); \
1960 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
1964 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1965 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1966 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1967 wxPyEndBlockThreads(blocked); \
1969 rval = PCLASS::CBNAME(); \
1975 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
1976 void CBNAME(size_t a, int b) { \
1978 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1979 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1980 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1981 wxPyEndBlockThreads(blocked); \
1983 PCLASS::CBNAME(a,b); \
1989 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
1990 void CBNAME(int a, int b, long c) { \
1992 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1993 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1994 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
1995 wxPyEndBlockThreads(blocked); \
1997 PCLASS::CBNAME(a,b,c); \
2003 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
2004 void CBNAME(int a, int b, double c) { \
2006 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2007 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2008 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
2009 wxPyEndBlockThreads(blocked); \
2011 PCLASS::CBNAME(a,b,c); \
2016 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
2017 void CBNAME(int a, int b, bool c) { \
2019 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2020 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2021 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
2022 wxPyEndBlockThreads(blocked); \
2024 PCLASS::CBNAME(a,b,c); \
2031 SWIGINTERN PyObject
*
2032 SWIG_FromCharPtr(const char* cptr
)
2035 size_t size
= strlen(cptr
);
2036 if (size
> INT_MAX
) {
2037 return SWIG_NewPointerObj(const_cast<char* >(cptr
),
2038 SWIG_TypeQuery("char *"), 0);
2041 return PyString_FromStringAndSize(cptr
, size
);
2043 return PyString_FromString(cptr
);
2052 #define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
2053 #define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
2054 #define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
2055 #define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
2056 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
2057 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
2058 #define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
2059 #define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
2060 #define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
2061 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
2064 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2065 #define SWIG_From_int PyInt_FromLong
2068 static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
2069 if (!self
->GetClientObject())
2070 self
->SetClientObject(new wxPyOORClientData(_self
));
2077 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
2080 if (value
< min_value
) {
2082 PyErr_Format(PyExc_OverflowError
,
2083 "value %ld is less than '%s' minimum %ld",
2084 value
, errmsg
, min_value
);
2087 } else if (value
> max_value
) {
2089 PyErr_Format(PyExc_OverflowError
,
2090 "value %ld is greater than '%s' maximum %ld",
2091 value
, errmsg
, max_value
);
2100 SWIG_AsVal_long(PyObject
* obj
, long* val
)
2102 if (PyNumber_Check(obj
)) {
2103 if (val
) *val
= PyInt_AsLong(obj
);
2107 SWIG_Python_TypeError("number", obj
);
2113 #if INT_MAX != LONG_MAX
2115 SWIG_AsVal_int(PyObject
*obj
, int *val
)
2117 const char* errmsg
= val
? "int" : (char*)0;
2119 if (SWIG_AsVal_long(obj
, &v
)) {
2120 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
2121 if (val
) *val
= static_cast<int >(v
);
2130 SWIG_type_error(errmsg
, obj
);
2135 SWIGINTERNINLINE
int
2136 SWIG_AsVal_int(PyObject
*obj
, int *val
)
2138 return SWIG_AsVal_long(obj
,(long*)val
);
2143 SWIGINTERNINLINE
int
2144 SWIG_As_int(PyObject
* obj
)
2147 if (!SWIG_AsVal_int(obj
, &v
)) {
2149 this is needed to make valgrind/purify happier.
2151 memset((void*)&v
, 0, sizeof(int));
2158 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2160 if (obj
== Py_True
) {
2161 if (val
) *val
= true;
2164 if (obj
== Py_False
) {
2165 if (val
) *val
= false;
2169 if (SWIG_AsVal_int(obj
, &res
)) {
2170 if (val
) *val
= res
? true : false;
2176 SWIG_type_error("bool", obj
);
2182 SWIGINTERNINLINE
bool
2183 SWIG_As_bool(PyObject
* obj
)
2186 if (!SWIG_AsVal_bool(obj
, &v
)) {
2188 this is needed to make valgrind/purify happier.
2190 memset((void*)&v
, 0, sizeof(bool));
2196 SWIGINTERNINLINE
int
2197 SWIG_Check_int(PyObject
* obj
)
2199 return SWIG_AsVal_int(obj
, (int*)0);
2203 SWIGINTERNINLINE
int
2204 SWIG_Check_bool(PyObject
* obj
)
2206 return SWIG_AsVal_bool(obj
, (bool*)0);
2210 class wxPyGridCellRenderer
: public wxGridCellRenderer
2213 wxPyGridCellRenderer() : wxGridCellRenderer() {};
2215 // Implement Python callback aware virtual methods
2216 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
2217 wxDC
& dc
, const wxRect
& rect
,
2218 int row
, int col
, bool isSelected
) {
2219 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2220 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
2221 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
2222 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
2223 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
2224 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
2226 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
2227 row
, col
, isSelected
));
2233 wxPyEndBlockThreads(blocked
);
2236 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
2239 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2240 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
2243 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
2244 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
2245 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
2247 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
2255 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
2256 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
2259 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
2260 PyObject
* o1
= PySequence_GetItem(ro
, 0);
2261 PyObject
* o2
= PySequence_GetItem(ro
, 1);
2262 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
2263 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
2265 PyErr_SetString(PyExc_TypeError
, errmsg
);
2270 PyErr_SetString(PyExc_TypeError
, errmsg
);
2275 wxPyEndBlockThreads(blocked
);
2280 wxGridCellRenderer
*Clone() const {
2281 wxGridCellRenderer
* rval
= NULL
;
2282 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2283 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
2285 wxGridCellRenderer
* ptr
;
2286 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2288 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
2293 wxPyEndBlockThreads(blocked
);
2297 DEC_PYCALLBACK__STRING(SetParameters
);
2302 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
2305 static void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
2306 if (!self
->GetClientObject())
2307 self
->SetClientObject(new wxPyOORClientData(_self
));
2310 class wxPyGridCellEditor
: public wxGridCellEditor
2313 wxPyGridCellEditor() : wxGridCellEditor() {}
2315 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
2316 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2317 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
2318 PyObject
* po
= wxPyMake_wxObject(parent
,false);
2319 PyObject
* eo
= wxPyMake_wxObject(evtHandler
,false);
2321 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
2325 wxPyEndBlockThreads(blocked
);
2329 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
2330 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2331 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
2332 PyObject
* go
= wxPyMake_wxObject(grid
,false);
2333 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
2336 wxPyEndBlockThreads(blocked
);
2340 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
2342 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2343 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
2344 PyObject
* go
= wxPyMake_wxObject(grid
,false);
2345 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
2348 wxPyEndBlockThreads(blocked
);
2353 wxGridCellEditor
* Clone() const {
2354 wxGridCellEditor
* rval
= NULL
;
2355 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2356 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
2358 wxGridCellEditor
* ptr
;
2359 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2361 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
2366 wxPyEndBlockThreads(blocked
);
2371 void Show(bool show
, wxGridCellAttr
*attr
) {
2373 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2374 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
2375 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
2376 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
2379 wxPyEndBlockThreads(blocked
);
2381 wxGridCellEditor::Show(show
, attr
);
2385 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
2387 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2388 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
2389 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
2390 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
2392 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
2397 wxPyEndBlockThreads(blocked
);
2399 wxGridCellEditor::PaintBackground(rectCell
, attr
);
2403 DEC_PYCALLBACK___pure(Reset
);
2404 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
2405 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
2406 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
2407 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
2408 DEC_PYCALLBACK__(StartingClick
);
2409 DEC_PYCALLBACK__(Destroy
);
2410 DEC_PYCALLBACK__STRING(SetParameters
);
2411 DEC_PYCALLBACK_STRING__constpure(GetValue
);
2417 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
2418 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
2419 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
2420 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
2421 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
2422 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
2423 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
2424 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
2425 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
2428 static void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
2429 if (!self
->GetClientObject())
2430 self
->SetClientObject(new wxPyOORClientData(_self
));
2433 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
2439 } else if (result
== Py_None
) {
2443 if (!PyTuple_Check(result
)) {
2445 result
= PyTuple_New(1);
2446 PyTuple_SET_ITEM(result
, 0, o2
);
2448 o3
= PyTuple_New(1);
2449 PyTuple_SetItem(o3
, 0, obj
);
2451 result
= PySequence_Concat(o2
, o3
);
2459 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
2460 if (!self
->GetClientObject())
2461 self
->SetClientObject(new wxPyOORClientData(_self
));
2465 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2468 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2469 SWIG_Python_TypeError("unsigned number", obj
);
2472 *val
= (unsigned long)v
;
2477 SWIGINTERNINLINE
unsigned long
2478 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2481 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2483 this is needed to make valgrind/purify happier.
2485 memset((void*)&v
, 0, sizeof(unsigned long));
2491 SWIGINTERNINLINE
int
2492 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2494 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2498 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
2501 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
2503 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
2504 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
2505 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
2506 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
2511 static void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
2512 if (!self
->GetClientObject())
2513 self
->SetClientObject(new wxPyOORClientData(_self
));
2516 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2517 #define SWIG_From_long PyInt_FromLong
2521 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2522 #define SWIG_From_double PyFloat_FromDouble
2526 SWIGINTERNINLINE
long
2527 SWIG_As_long(PyObject
* obj
)
2530 if (!SWIG_AsVal_long(obj
, &v
)) {
2532 this is needed to make valgrind/purify happier.
2534 memset((void*)&v
, 0, sizeof(long));
2540 SWIGINTERNINLINE
int
2541 SWIG_Check_long(PyObject
* obj
)
2543 return SWIG_AsVal_long(obj
, (long*)0);
2548 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2550 if (PyNumber_Check(obj
)) {
2551 if (val
) *val
= PyFloat_AsDouble(obj
);
2555 SWIG_Python_TypeError("number", obj
);
2561 SWIGINTERNINLINE
double
2562 SWIG_As_double(PyObject
* obj
)
2565 if (!SWIG_AsVal_double(obj
, &v
)) {
2567 this is needed to make valgrind/purify happier.
2569 memset((void*)&v
, 0, sizeof(double));
2575 SWIGINTERNINLINE
int
2576 SWIG_Check_double(PyObject
* obj
)
2578 return SWIG_AsVal_double(obj
, (double*)0);
2582 class wxPyGridTableBase
: public wxGridTableBase
2585 wxPyGridTableBase() : wxGridTableBase() {}
2587 PYCALLBACK_INT__pure(GetNumberRows
);
2588 PYCALLBACK_INT__pure(GetNumberCols
);
2589 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
2590 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
2591 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
2592 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
2593 PYCALLBACK__(wxGridTableBase
, Clear
);
2594 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
2595 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
2596 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
2597 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
2598 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
2599 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
2600 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
2601 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
2602 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
2603 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
2604 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
2605 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
2606 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
2607 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
2608 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
2611 wxString
GetValue(int row
, int col
) {
2612 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2614 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2616 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
2618 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
2620 ro
= PyObject_Str(ro
);
2623 rval
= Py2wxString(ro
);
2627 wxPyEndBlockThreads(blocked
);
2631 void SetValue(int row
, int col
, const wxString
& val
) {
2632 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2633 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2634 PyObject
* s
= wx2PyString(val
);
2635 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
2638 wxPyEndBlockThreads(blocked
);
2642 // Map the Get/Set methods for the standard non-string types to
2643 // the GetValue and SetValue python methods.
2644 long GetValueAsLong( int row
, int col
) {
2646 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2647 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2650 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
2651 if (ro
&& PyNumber_Check(ro
)) {
2652 num
= PyNumber_Int(ro
);
2654 rval
= PyInt_AsLong(num
);
2660 wxPyEndBlockThreads(blocked
);
2664 double GetValueAsDouble( int row
, int col
) {
2666 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2667 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2670 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
2671 if (ro
&& PyNumber_Check(ro
)) {
2672 num
= PyNumber_Float(ro
);
2674 rval
= PyFloat_AsDouble(num
);
2680 wxPyEndBlockThreads(blocked
);
2684 bool GetValueAsBool( int row
, int col
) {
2685 return (bool)GetValueAsLong(row
, col
);
2688 void SetValueAsLong( int row
, int col
, long value
) {
2689 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2690 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2691 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
2693 wxPyEndBlockThreads(blocked
);
2696 void SetValueAsDouble( int row
, int col
, double value
) {
2697 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2698 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2699 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
2701 wxPyEndBlockThreads(blocked
);
2704 void SetValueAsBool( int row
, int col
, bool value
) {
2705 SetValueAsLong( row
, col
, (long)value
);
2712 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
2714 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
2716 if (source
== Py_None
) {
2717 **obj
= wxGridCellCoords(-1,-1);
2721 // If source is an object instance then it may already be the right type
2722 if (wxPySwigInstance_Check(source
)) {
2723 wxGridCellCoords
* ptr
;
2724 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
2729 // otherwise a 2-tuple of integers is expected
2730 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
2731 PyObject
* o1
= PySequence_GetItem(source
, 0);
2732 PyObject
* o2
= PySequence_GetItem(source
, 1);
2733 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
2738 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
2745 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
2750 bool wxGridCellCoords_typecheck(PyObject
* source
) {
2753 if (wxPySwigInstance_Check(source
) &&
2754 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
2758 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
2765 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
2767 PyObject
* list
= PyList_New(0);
2769 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
2770 wxGridCellCoords
& coord
= source
.Item(idx
);
2771 PyObject
* tup
= PyTuple_New(2);
2772 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
2773 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
2774 PyList_Append(list
, tup
);
2780 static PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
2781 PyObject
* tup
= PyTuple_New(2);
2782 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2783 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2787 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
2790 static wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
2791 wxGridCellCoords rv
;
2792 self
->XYToCell(x
, y
, rv
);
2798 static int _wrap_GridNoCellCoords_set(PyObject
*) {
2799 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
2804 static PyObject
*_wrap_GridNoCellCoords_get(void) {
2805 PyObject
*pyobj
= NULL
;
2807 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0);
2812 static int _wrap_GridNoCellRect_set(PyObject
*) {
2813 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
2818 static PyObject
*_wrap_GridNoCellRect_get(void) {
2819 PyObject
*pyobj
= NULL
;
2821 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0);
2826 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
= NULL
;
2828 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2829 PyObject
*arg2
= (PyObject
*) 0 ;
2830 PyObject
* obj0
= 0 ;
2831 PyObject
* obj1
= 0 ;
2833 (char *) "self",(char *) "_self", NULL
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2838 if (SWIG_arg_fail(1)) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2847 Py_INCREF(Py_None
); resultobj
= Py_None
;
2854 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
*resultobj
= NULL
;
2856 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2857 wxString
*arg2
= 0 ;
2858 bool temp2
= false ;
2859 PyObject
* obj0
= 0 ;
2860 PyObject
* obj1
= 0 ;
2862 (char *) "self",(char *) "params", NULL
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2867 if (SWIG_arg_fail(1)) SWIG_fail
;
2869 arg2
= wxString_in_helper(obj1
);
2870 if (arg2
== NULL
) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 (arg1
)->SetParameters((wxString
const &)*arg2
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2880 Py_INCREF(Py_None
); resultobj
= Py_None
;
2895 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
*resultobj
= NULL
;
2897 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2898 PyObject
* obj0
= 0 ;
2900 (char *) "self", NULL
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
2904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2905 if (SWIG_arg_fail(1)) SWIG_fail
;
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2913 Py_INCREF(Py_None
); resultobj
= Py_None
;
2920 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
= NULL
;
2922 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2923 PyObject
* obj0
= 0 ;
2925 (char *) "self", NULL
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
2929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2930 if (SWIG_arg_fail(1)) SWIG_fail
;
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) SWIG_fail
;
2938 Py_INCREF(Py_None
); resultobj
= Py_None
;
2945 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
*resultobj
= NULL
;
2947 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2949 wxGridCellAttr
*arg3
= 0 ;
2956 PyObject
* obj0
= 0 ;
2957 PyObject
* obj1
= 0 ;
2958 PyObject
* obj2
= 0 ;
2959 PyObject
* obj3
= 0 ;
2960 PyObject
* obj4
= 0 ;
2961 PyObject
* obj5
= 0 ;
2962 PyObject
* obj6
= 0 ;
2963 PyObject
* obj7
= 0 ;
2965 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
2973 if (SWIG_arg_fail(2)) SWIG_fail
;
2975 SWIG_null_ref("wxGrid");
2977 if (SWIG_arg_fail(2)) SWIG_fail
;
2980 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
2981 if (SWIG_arg_fail(3)) SWIG_fail
;
2983 SWIG_null_ref("wxGridCellAttr");
2985 if (SWIG_arg_fail(3)) SWIG_fail
;
2988 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
2989 if (SWIG_arg_fail(4)) SWIG_fail
;
2991 SWIG_null_ref("wxDC");
2993 if (SWIG_arg_fail(4)) SWIG_fail
;
2997 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
3000 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3001 if (SWIG_arg_fail(6)) SWIG_fail
;
3004 arg7
= static_cast<int >(SWIG_As_int(obj6
));
3005 if (SWIG_arg_fail(7)) SWIG_fail
;
3008 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
3009 if (SWIG_arg_fail(8)) SWIG_fail
;
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3018 Py_INCREF(Py_None
); resultobj
= Py_None
;
3025 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
= NULL
;
3027 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3029 wxGridCellAttr
*arg3
= 0 ;
3034 PyObject
* obj0
= 0 ;
3035 PyObject
* obj1
= 0 ;
3036 PyObject
* obj2
= 0 ;
3037 PyObject
* obj3
= 0 ;
3038 PyObject
* obj4
= 0 ;
3039 PyObject
* obj5
= 0 ;
3041 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3046 if (SWIG_arg_fail(1)) SWIG_fail
;
3048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3049 if (SWIG_arg_fail(2)) SWIG_fail
;
3051 SWIG_null_ref("wxGrid");
3053 if (SWIG_arg_fail(2)) SWIG_fail
;
3056 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3057 if (SWIG_arg_fail(3)) SWIG_fail
;
3059 SWIG_null_ref("wxGridCellAttr");
3061 if (SWIG_arg_fail(3)) SWIG_fail
;
3064 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3065 if (SWIG_arg_fail(4)) SWIG_fail
;
3067 SWIG_null_ref("wxDC");
3069 if (SWIG_arg_fail(4)) SWIG_fail
;
3072 arg5
= static_cast<int >(SWIG_As_int(obj4
));
3073 if (SWIG_arg_fail(5)) SWIG_fail
;
3076 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3077 if (SWIG_arg_fail(6)) SWIG_fail
;
3080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3081 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
3083 wxPyEndAllowThreads(__tstate
);
3084 if (PyErr_Occurred()) SWIG_fail
;
3088 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
3089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3097 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
= NULL
;
3099 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3100 wxGridCellRenderer
*result
;
3101 PyObject
* obj0
= 0 ;
3103 (char *) "self", NULL
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
3107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3108 if (SWIG_arg_fail(1)) SWIG_fail
;
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3117 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
3125 static PyObject
* GridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
3127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3128 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
3130 return Py_BuildValue((char *)"");
3132 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
*resultobj
= NULL
;
3134 wxPyGridCellRenderer
*result
;
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) SWIG_fail
;
3147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1);
3154 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
*resultobj
= NULL
;
3156 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
3157 PyObject
*arg2
= (PyObject
*) 0 ;
3158 PyObject
*arg3
= (PyObject
*) 0 ;
3159 PyObject
* obj0
= 0 ;
3160 PyObject
* obj1
= 0 ;
3161 PyObject
* obj2
= 0 ;
3163 (char *) "self",(char *) "self",(char *) "_class", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3168 if (SWIG_arg_fail(1)) SWIG_fail
;
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3178 Py_INCREF(Py_None
); resultobj
= Py_None
;
3185 static PyObject
*_wrap_PyGridCellRenderer_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
= NULL
;
3187 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
3188 wxString
*arg2
= 0 ;
3189 bool temp2
= false ;
3190 PyObject
* obj0
= 0 ;
3191 PyObject
* obj1
= 0 ;
3193 (char *) "self",(char *) "params", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3198 if (SWIG_arg_fail(1)) SWIG_fail
;
3200 arg2
= wxString_in_helper(obj1
);
3201 if (arg2
== NULL
) SWIG_fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 (arg1
)->SetParameters((wxString
const &)*arg2
);
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3211 Py_INCREF(Py_None
); resultobj
= Py_None
;
3226 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
3228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3229 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
3231 return Py_BuildValue((char *)"");
3233 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
*resultobj
= NULL
;
3235 wxGridCellStringRenderer
*result
;
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
3242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3243 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
3245 wxPyEndAllowThreads(__tstate
);
3246 if (PyErr_Occurred()) SWIG_fail
;
3248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1);
3255 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
3257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3258 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
3260 return Py_BuildValue((char *)"");
3262 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
*resultobj
= NULL
;
3264 wxGridCellNumberRenderer
*result
;
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
3284 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*, PyObject
*args
) {
3286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3287 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
3289 return Py_BuildValue((char *)"");
3291 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
= NULL
;
3293 int arg1
= (int) -1 ;
3294 int arg2
= (int) -1 ;
3295 wxGridCellFloatRenderer
*result
;
3296 PyObject
* obj0
= 0 ;
3297 PyObject
* obj1
= 0 ;
3299 (char *) "width",(char *) "precision", NULL
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3305 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3306 if (SWIG_arg_fail(1)) SWIG_fail
;
3311 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3312 if (SWIG_arg_fail(2)) SWIG_fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
3329 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
= NULL
;
3331 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3333 PyObject
* obj0
= 0 ;
3335 (char *) "self", NULL
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
3339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3340 if (SWIG_arg_fail(1)) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3349 resultobj
= SWIG_From_int(static_cast<int >(result
));
3357 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
*resultobj
= NULL
;
3359 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3361 PyObject
* obj0
= 0 ;
3362 PyObject
* obj1
= 0 ;
3364 (char *) "self",(char *) "width", NULL
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3369 if (SWIG_arg_fail(1)) SWIG_fail
;
3371 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3372 if (SWIG_arg_fail(2)) SWIG_fail
;
3375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3376 (arg1
)->SetWidth(arg2
);
3378 wxPyEndAllowThreads(__tstate
);
3379 if (PyErr_Occurred()) SWIG_fail
;
3381 Py_INCREF(Py_None
); resultobj
= Py_None
;
3388 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
*resultobj
= NULL
;
3390 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3392 PyObject
* obj0
= 0 ;
3394 (char *) "self", NULL
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
3398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3399 if (SWIG_arg_fail(1)) SWIG_fail
;
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3408 resultobj
= SWIG_From_int(static_cast<int >(result
));
3416 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
= NULL
;
3418 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3420 PyObject
* obj0
= 0 ;
3421 PyObject
* obj1
= 0 ;
3423 (char *) "self",(char *) "precision", NULL
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
3427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3428 if (SWIG_arg_fail(1)) SWIG_fail
;
3430 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3431 if (SWIG_arg_fail(2)) SWIG_fail
;
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 (arg1
)->SetPrecision(arg2
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3440 Py_INCREF(Py_None
); resultobj
= Py_None
;
3447 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*, PyObject
*args
) {
3449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3450 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
3452 return Py_BuildValue((char *)"");
3454 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
= NULL
;
3456 wxGridCellBoolRenderer
*result
;
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
3476 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*, PyObject
*args
) {
3478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3479 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
3481 return Py_BuildValue((char *)"");
3483 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
= NULL
;
3485 wxString arg1
= (wxString
) wxPyDefaultDateTimeFormat
;
3486 wxString arg2
= (wxString
) wxPyDefaultDateTimeFormat
;
3487 wxGridCellDateTimeRenderer
*result
;
3488 PyObject
* obj0
= 0 ;
3489 PyObject
* obj1
= 0 ;
3491 (char *) "outformat",(char *) "informat", NULL
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3497 wxString
* sptr
= wxString_in_helper(obj0
);
3498 if (sptr
== NULL
) SWIG_fail
;
3505 wxString
* sptr
= wxString_in_helper(obj1
);
3506 if (sptr
== NULL
) SWIG_fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
3525 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*, PyObject
*args
) {
3527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3528 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
3530 return Py_BuildValue((char *)"");
3532 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
= NULL
;
3534 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3535 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3536 wxGridCellEnumRenderer
*result
;
3537 bool temp1
= false ;
3538 PyObject
* obj0
= 0 ;
3540 (char *) "choices", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
3546 arg1
= wxString_in_helper(obj0
);
3547 if (arg1
== NULL
) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
3573 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*, PyObject
*args
) {
3575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3576 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
3578 return Py_BuildValue((char *)"");
3580 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
*resultobj
= NULL
;
3582 wxGridCellAutoWrapStringRenderer
*result
;
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
3602 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
3604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3605 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
3607 return Py_BuildValue((char *)"");
3609 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
= NULL
;
3611 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3612 PyObject
*arg2
= (PyObject
*) 0 ;
3613 PyObject
* obj0
= 0 ;
3614 PyObject
* obj1
= 0 ;
3616 (char *) "self",(char *) "_self", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3621 if (SWIG_arg_fail(1)) SWIG_fail
;
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 wxGridCellEditor__setOORInfo(arg1
,arg2
);
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3630 Py_INCREF(Py_None
); resultobj
= Py_None
;
3637 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
*resultobj
= NULL
;
3639 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3641 PyObject
* obj0
= 0 ;
3643 (char *) "self", NULL
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
3647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3648 if (SWIG_arg_fail(1)) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (bool)(arg1
)->IsCreated();
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3665 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
= NULL
;
3667 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3669 PyObject
* obj0
= 0 ;
3671 (char *) "self", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
3675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3676 if (SWIG_arg_fail(1)) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 result
= (wxControl
*)(arg1
)->GetControl();
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3685 resultobj
= wxPyMake_wxObject(result
, 0);
3693 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
= NULL
;
3695 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3696 wxControl
*arg2
= (wxControl
*) 0 ;
3697 PyObject
* obj0
= 0 ;
3698 PyObject
* obj1
= 0 ;
3700 (char *) "self",(char *) "control", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
3704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3705 if (SWIG_arg_fail(1)) SWIG_fail
;
3706 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
3707 if (SWIG_arg_fail(2)) SWIG_fail
;
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 (arg1
)->SetControl(arg2
);
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3715 Py_INCREF(Py_None
); resultobj
= Py_None
;
3722 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
= NULL
;
3724 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3725 wxGridCellAttr
*result
;
3726 PyObject
* obj0
= 0 ;
3728 (char *) "self", NULL
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
3732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3733 if (SWIG_arg_fail(1)) SWIG_fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3742 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
3750 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
= NULL
;
3752 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3753 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3754 PyObject
* obj0
= 0 ;
3755 PyObject
* obj1
= 0 ;
3757 (char *) "self",(char *) "attr", NULL
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
3761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3762 if (SWIG_arg_fail(1)) SWIG_fail
;
3763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3764 if (SWIG_arg_fail(2)) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 (arg1
)->SetCellAttr(arg2
);
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 Py_INCREF(Py_None
); resultobj
= Py_None
;
3779 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
= NULL
;
3781 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3782 wxString
*arg2
= 0 ;
3783 bool temp2
= false ;
3784 PyObject
* obj0
= 0 ;
3785 PyObject
* obj1
= 0 ;
3787 (char *) "self",(char *) "params", NULL
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3792 if (SWIG_arg_fail(1)) SWIG_fail
;
3794 arg2
= wxString_in_helper(obj1
);
3795 if (arg2
== NULL
) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 (arg1
)->SetParameters((wxString
const &)*arg2
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 Py_INCREF(Py_None
); resultobj
= Py_None
;
3820 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
= NULL
;
3822 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3823 PyObject
* obj0
= 0 ;
3825 (char *) "self", NULL
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
3829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3830 if (SWIG_arg_fail(1)) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 Py_INCREF(Py_None
); resultobj
= Py_None
;
3845 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
= NULL
;
3847 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3850 (char *) "self", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
3854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3855 if (SWIG_arg_fail(1)) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 Py_INCREF(Py_None
); resultobj
= Py_None
;
3870 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
= NULL
;
3872 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3873 wxWindow
*arg2
= (wxWindow
*) 0 ;
3875 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3878 PyObject
* obj2
= 0 ;
3879 PyObject
* obj3
= 0 ;
3881 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3886 if (SWIG_arg_fail(1)) SWIG_fail
;
3887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3888 if (SWIG_arg_fail(2)) SWIG_fail
;
3890 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3891 if (SWIG_arg_fail(3)) SWIG_fail
;
3893 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3894 if (SWIG_arg_fail(4)) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 (arg1
)->Create(arg2
,arg3
,arg4
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 Py_INCREF(Py_None
); resultobj
= Py_None
;
3909 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
= NULL
;
3911 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3914 wxGrid
*arg4
= (wxGrid
*) 0 ;
3915 PyObject
* obj0
= 0 ;
3916 PyObject
* obj1
= 0 ;
3917 PyObject
* obj2
= 0 ;
3918 PyObject
* obj3
= 0 ;
3920 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3925 if (SWIG_arg_fail(1)) SWIG_fail
;
3927 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3928 if (SWIG_arg_fail(2)) SWIG_fail
;
3931 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3932 if (SWIG_arg_fail(3)) SWIG_fail
;
3934 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3935 if (SWIG_arg_fail(4)) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 Py_INCREF(Py_None
); resultobj
= Py_None
;
3950 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
= NULL
;
3952 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3955 wxGrid
*arg4
= (wxGrid
*) 0 ;
3957 PyObject
* obj0
= 0 ;
3958 PyObject
* obj1
= 0 ;
3959 PyObject
* obj2
= 0 ;
3960 PyObject
* obj3
= 0 ;
3962 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3967 if (SWIG_arg_fail(1)) SWIG_fail
;
3969 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3970 if (SWIG_arg_fail(2)) SWIG_fail
;
3973 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3974 if (SWIG_arg_fail(3)) SWIG_fail
;
3976 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3977 if (SWIG_arg_fail(4)) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3994 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
= NULL
;
3996 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3997 PyObject
* obj0
= 0 ;
3999 (char *) "self", NULL
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
4003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4004 if (SWIG_arg_fail(1)) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 Py_INCREF(Py_None
); resultobj
= Py_None
;
4019 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
= NULL
;
4021 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4022 wxGridCellEditor
*result
;
4023 PyObject
* obj0
= 0 ;
4025 (char *) "self", NULL
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
4029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4030 if (SWIG_arg_fail(1)) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
4047 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
= NULL
;
4049 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4052 PyObject
* obj0
= 0 ;
4053 PyObject
* obj1
= 0 ;
4055 (char *) "self",(char *) "rect", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4060 if (SWIG_arg_fail(1)) SWIG_fail
;
4063 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 (arg1
)->SetSize((wxRect
const &)*arg2
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
= NULL
;
4081 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4083 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
4084 PyObject
* obj0
= 0 ;
4085 PyObject
* obj1
= 0 ;
4086 PyObject
* obj2
= 0 ;
4088 (char *) "self",(char *) "show",(char *) "attr", NULL
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4093 if (SWIG_arg_fail(1)) SWIG_fail
;
4095 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4096 if (SWIG_arg_fail(2)) SWIG_fail
;
4099 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4100 if (SWIG_arg_fail(3)) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 (arg1
)->Show(arg2
,arg3
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 Py_INCREF(Py_None
); resultobj
= Py_None
;
4116 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
= NULL
;
4118 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4120 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
4122 PyObject
* obj0
= 0 ;
4123 PyObject
* obj1
= 0 ;
4124 PyObject
* obj2
= 0 ;
4126 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4131 if (SWIG_arg_fail(1)) SWIG_fail
;
4134 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4136 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4137 if (SWIG_arg_fail(3)) SWIG_fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 Py_INCREF(Py_None
); resultobj
= Py_None
;
4152 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
*resultobj
= NULL
;
4154 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4155 wxKeyEvent
*arg2
= 0 ;
4157 PyObject
* obj0
= 0 ;
4158 PyObject
* obj1
= 0 ;
4160 (char *) "self",(char *) "event", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4165 if (SWIG_arg_fail(1)) SWIG_fail
;
4167 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4168 if (SWIG_arg_fail(2)) SWIG_fail
;
4170 SWIG_null_ref("wxKeyEvent");
4172 if (SWIG_arg_fail(2)) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4190 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
= NULL
;
4192 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4193 wxKeyEvent
*arg2
= 0 ;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4197 (char *) "self",(char *) "event", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4202 if (SWIG_arg_fail(1)) SWIG_fail
;
4204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4205 if (SWIG_arg_fail(2)) SWIG_fail
;
4207 SWIG_null_ref("wxKeyEvent");
4209 if (SWIG_arg_fail(2)) SWIG_fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 (arg1
)->StartingKey(*arg2
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 Py_INCREF(Py_None
); resultobj
= Py_None
;
4225 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
= NULL
;
4227 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4228 PyObject
* obj0
= 0 ;
4230 (char *) "self", NULL
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
4234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4235 if (SWIG_arg_fail(1)) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 (arg1
)->StartingClick();
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4243 Py_INCREF(Py_None
); resultobj
= Py_None
;
4250 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
= NULL
;
4252 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4253 wxKeyEvent
*arg2
= 0 ;
4254 PyObject
* obj0
= 0 ;
4255 PyObject
* obj1
= 0 ;
4257 (char *) "self",(char *) "event", NULL
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
4261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4262 if (SWIG_arg_fail(1)) SWIG_fail
;
4264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4265 if (SWIG_arg_fail(2)) SWIG_fail
;
4267 SWIG_null_ref("wxKeyEvent");
4269 if (SWIG_arg_fail(2)) SWIG_fail
;
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 (arg1
)->HandleReturn(*arg2
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 Py_INCREF(Py_None
); resultobj
= Py_None
;
4285 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
= NULL
;
4287 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4290 (char *) "self", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
4294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4295 if (SWIG_arg_fail(1)) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 Py_INCREF(Py_None
); resultobj
= Py_None
;
4310 static PyObject
* GridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
4312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4313 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
4315 return Py_BuildValue((char *)"");
4317 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
= NULL
;
4319 wxPyGridCellEditor
*result
;
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1);
4339 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
= NULL
;
4341 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4342 PyObject
*arg2
= (PyObject
*) 0 ;
4343 PyObject
*arg3
= (PyObject
*) 0 ;
4344 PyObject
* obj0
= 0 ;
4345 PyObject
* obj1
= 0 ;
4346 PyObject
* obj2
= 0 ;
4348 (char *) "self",(char *) "self",(char *) "_class", NULL
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4353 if (SWIG_arg_fail(1)) SWIG_fail
;
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4363 Py_INCREF(Py_None
); resultobj
= Py_None
;
4370 static PyObject
*_wrap_PyGridCellEditor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
= NULL
;
4372 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4375 PyObject
* obj0
= 0 ;
4376 PyObject
* obj1
= 0 ;
4378 (char *) "self",(char *) "rect", NULL
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4383 if (SWIG_arg_fail(1)) SWIG_fail
;
4386 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 (arg1
)->SetSize((wxRect
const &)*arg2
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 Py_INCREF(Py_None
); resultobj
= Py_None
;
4402 static PyObject
*_wrap_PyGridCellEditor_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
= NULL
;
4404 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4406 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
4407 PyObject
* obj0
= 0 ;
4408 PyObject
* obj1
= 0 ;
4409 PyObject
* obj2
= 0 ;
4411 (char *) "self",(char *) "show",(char *) "attr", NULL
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4416 if (SWIG_arg_fail(1)) SWIG_fail
;
4418 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4419 if (SWIG_arg_fail(2)) SWIG_fail
;
4422 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4423 if (SWIG_arg_fail(3)) SWIG_fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 (arg1
)->Show(arg2
,arg3
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 Py_INCREF(Py_None
); resultobj
= Py_None
;
4439 static PyObject
*_wrap_PyGridCellEditor_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
= NULL
;
4441 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4443 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
4445 PyObject
* obj0
= 0 ;
4446 PyObject
* obj1
= 0 ;
4447 PyObject
* obj2
= 0 ;
4449 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4454 if (SWIG_arg_fail(1)) SWIG_fail
;
4457 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4459 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4460 if (SWIG_arg_fail(3)) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 Py_INCREF(Py_None
); resultobj
= Py_None
;
4475 static PyObject
*_wrap_PyGridCellEditor_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
= NULL
;
4477 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4478 wxKeyEvent
*arg2
= 0 ;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4483 (char *) "self",(char *) "event", NULL
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4488 if (SWIG_arg_fail(1)) SWIG_fail
;
4490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4491 if (SWIG_arg_fail(2)) SWIG_fail
;
4493 SWIG_null_ref("wxKeyEvent");
4495 if (SWIG_arg_fail(2)) SWIG_fail
;
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4513 static PyObject
*_wrap_PyGridCellEditor_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
= NULL
;
4515 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4516 wxKeyEvent
*arg2
= 0 ;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4520 (char *) "self",(char *) "event", NULL
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4525 if (SWIG_arg_fail(1)) SWIG_fail
;
4527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4528 if (SWIG_arg_fail(2)) SWIG_fail
;
4530 SWIG_null_ref("wxKeyEvent");
4532 if (SWIG_arg_fail(2)) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 (arg1
)->StartingKey(*arg2
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 Py_INCREF(Py_None
); resultobj
= Py_None
;
4548 static PyObject
*_wrap_PyGridCellEditor_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
= NULL
;
4550 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4551 PyObject
* obj0
= 0 ;
4553 (char *) "self", NULL
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
4557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4558 if (SWIG_arg_fail(1)) SWIG_fail
;
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 (arg1
)->StartingClick();
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4566 Py_INCREF(Py_None
); resultobj
= Py_None
;
4573 static PyObject
*_wrap_PyGridCellEditor_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= NULL
;
4575 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4576 wxKeyEvent
*arg2
= 0 ;
4577 PyObject
* obj0
= 0 ;
4578 PyObject
* obj1
= 0 ;
4580 (char *) "self",(char *) "event", NULL
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
4584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4585 if (SWIG_arg_fail(1)) SWIG_fail
;
4587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4588 if (SWIG_arg_fail(2)) SWIG_fail
;
4590 SWIG_null_ref("wxKeyEvent");
4592 if (SWIG_arg_fail(2)) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 (arg1
)->HandleReturn(*arg2
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 Py_INCREF(Py_None
); resultobj
= Py_None
;
4608 static PyObject
*_wrap_PyGridCellEditor_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
= NULL
;
4610 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4611 PyObject
* obj0
= 0 ;
4613 (char *) "self", NULL
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
4617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4618 if (SWIG_arg_fail(1)) SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 Py_INCREF(Py_None
); resultobj
= Py_None
;
4633 static PyObject
*_wrap_PyGridCellEditor_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
= NULL
;
4635 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4636 wxString
*arg2
= 0 ;
4637 bool temp2
= false ;
4638 PyObject
* obj0
= 0 ;
4639 PyObject
* obj1
= 0 ;
4641 (char *) "self",(char *) "params", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
4645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4646 if (SWIG_arg_fail(1)) SWIG_fail
;
4648 arg2
= wxString_in_helper(obj1
);
4649 if (arg2
== NULL
) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 (arg1
)->SetParameters((wxString
const &)*arg2
);
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4659 Py_INCREF(Py_None
); resultobj
= Py_None
;
4674 static PyObject
* PyGridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
4676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4677 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
4679 return Py_BuildValue((char *)"");
4681 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
= NULL
;
4683 wxGridCellTextEditor
*result
;
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1);
4703 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
*resultobj
= NULL
;
4705 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
4707 PyObject
* obj0
= 0 ;
4709 (char *) "self", NULL
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_EXCEPTION
| 0);
4714 if (SWIG_arg_fail(1)) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 result
= (arg1
)->GetValue();
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4735 static PyObject
* GridCellTextEditor_swigregister(PyObject
*, PyObject
*args
) {
4737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4738 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
4740 return Py_BuildValue((char *)"");
4742 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
= NULL
;
4744 int arg1
= (int) -1 ;
4745 int arg2
= (int) -1 ;
4746 wxGridCellNumberEditor
*result
;
4747 PyObject
* obj0
= 0 ;
4748 PyObject
* obj1
= 0 ;
4750 (char *) "min",(char *) "max", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4756 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4757 if (SWIG_arg_fail(1)) SWIG_fail
;
4762 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4763 if (SWIG_arg_fail(2)) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1);
4780 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
= NULL
;
4782 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
4784 PyObject
* obj0
= 0 ;
4786 (char *) "self", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellNumberEditor
, 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
* GridCellNumberEditor_swigregister(PyObject
*, PyObject
*args
) {
4814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4815 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
4817 return Py_BuildValue((char *)"");
4819 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
*resultobj
= NULL
;
4821 int arg1
= (int) -1 ;
4822 int arg2
= (int) -1 ;
4823 wxGridCellFloatEditor
*result
;
4824 PyObject
* obj0
= 0 ;
4825 PyObject
* obj1
= 0 ;
4827 (char *) "width",(char *) "precision", NULL
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4833 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4834 if (SWIG_arg_fail(1)) SWIG_fail
;
4839 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4840 if (SWIG_arg_fail(2)) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1);
4857 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
= NULL
;
4859 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
4861 PyObject
* obj0
= 0 ;
4863 (char *) "self", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_EXCEPTION
| 0);
4868 if (SWIG_arg_fail(1)) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (arg1
)->GetValue();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4889 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*, PyObject
*args
) {
4891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4892 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
4894 return Py_BuildValue((char *)"");
4896 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
= NULL
;
4898 wxGridCellBoolEditor
*result
;
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1);
4918 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
= NULL
;
4920 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
4922 PyObject
* obj0
= 0 ;
4924 (char *) "self", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_EXCEPTION
| 0);
4929 if (SWIG_arg_fail(1)) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 result
= (arg1
)->GetValue();
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4950 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*, PyObject
*args
) {
4952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4953 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
4955 return Py_BuildValue((char *)"");
4957 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
= NULL
;
4959 int arg1
= (int) 0 ;
4960 wxString
*arg2
= (wxString
*) NULL
;
4961 bool arg3
= (bool) false ;
4962 wxGridCellChoiceEditor
*result
;
4963 PyObject
* obj0
= 0 ;
4964 PyObject
* obj1
= 0 ;
4966 (char *) "choices",(char *) "allowOthers", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4972 arg1
= PyList_Size(obj0
);
4973 arg2
= wxString_LIST_helper(obj0
);
4974 if (arg2
== NULL
) SWIG_fail
;
4979 arg3
= static_cast<bool >(SWIG_As_bool(obj1
));
4980 if (SWIG_arg_fail(3)) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
4992 if (arg2
) delete [] arg2
;
4997 if (arg2
) delete [] arg2
;
5003 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
= NULL
;
5005 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
5007 PyObject
* obj0
= 0 ;
5009 (char *) "self", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
5013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_EXCEPTION
| 0);
5014 if (SWIG_arg_fail(1)) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 result
= (arg1
)->GetValue();
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5035 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*, PyObject
*args
) {
5037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5038 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
5040 return Py_BuildValue((char *)"");
5042 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
= NULL
;
5044 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5045 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5046 wxGridCellEnumEditor
*result
;
5047 bool temp1
= false ;
5048 PyObject
* obj0
= 0 ;
5050 (char *) "choices", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
5056 arg1
= wxString_in_helper(obj0
);
5057 if (arg1
== NULL
) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1);
5083 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
= NULL
;
5085 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
5087 PyObject
* obj0
= 0 ;
5089 (char *) "self", NULL
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
5093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_EXCEPTION
| 0);
5094 if (SWIG_arg_fail(1)) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (arg1
)->GetValue();
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5115 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*, PyObject
*args
) {
5117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5118 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
5120 return Py_BuildValue((char *)"");
5122 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
= NULL
;
5124 wxGridCellAutoWrapStringEditor
*result
;
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
5144 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
= NULL
;
5146 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
5148 PyObject
* obj0
= 0 ;
5150 (char *) "self", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
5154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_EXCEPTION
| 0);
5155 if (SWIG_arg_fail(1)) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= (arg1
)->GetValue();
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5176 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*, PyObject
*args
) {
5178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5179 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
5181 return Py_BuildValue((char *)"");
5183 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
= NULL
;
5185 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5186 PyObject
*arg2
= (PyObject
*) 0 ;
5187 PyObject
* obj0
= 0 ;
5188 PyObject
* obj1
= 0 ;
5190 (char *) "self",(char *) "_self", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5195 if (SWIG_arg_fail(1)) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 wxGridCellAttr__setOORInfo(arg1
,arg2
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 Py_INCREF(Py_None
); resultobj
= Py_None
;
5211 static PyObject
*_wrap_new_GridCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
= NULL
;
5213 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
5214 wxGridCellAttr
*result
;
5215 PyObject
* obj0
= 0 ;
5217 (char *) "attrDefault", NULL
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)1);
5241 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
= NULL
;
5243 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5244 wxGridCellAttr
*result
;
5245 PyObject
* obj0
= 0 ;
5247 (char *) "self", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
5251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5252 if (SWIG_arg_fail(1)) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5261 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
5269 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
*resultobj
= NULL
;
5271 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5272 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5273 PyObject
* obj0
= 0 ;
5274 PyObject
* obj1
= 0 ;
5276 (char *) "self",(char *) "mergefrom", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
5280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5281 if (SWIG_arg_fail(1)) SWIG_fail
;
5282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5283 if (SWIG_arg_fail(2)) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 (arg1
)->MergeWith(arg2
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 Py_INCREF(Py_None
); resultobj
= Py_None
;
5298 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
= NULL
;
5300 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5301 PyObject
* obj0
= 0 ;
5303 (char *) "self", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
5307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5308 if (SWIG_arg_fail(1)) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 Py_INCREF(Py_None
); resultobj
= Py_None
;
5323 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
= NULL
;
5325 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5326 PyObject
* obj0
= 0 ;
5328 (char *) "self", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
5332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5333 if (SWIG_arg_fail(1)) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 Py_INCREF(Py_None
); resultobj
= Py_None
;
5348 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
= NULL
;
5350 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5351 wxColour
*arg2
= 0 ;
5353 PyObject
* obj0
= 0 ;
5354 PyObject
* obj1
= 0 ;
5356 (char *) "self",(char *) "colText", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5361 if (SWIG_arg_fail(1)) SWIG_fail
;
5364 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5373 Py_INCREF(Py_None
); resultobj
= Py_None
;
5380 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
= NULL
;
5382 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5383 wxColour
*arg2
= 0 ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5388 (char *) "self",(char *) "colBack", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5393 if (SWIG_arg_fail(1)) SWIG_fail
;
5396 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 Py_INCREF(Py_None
); resultobj
= Py_None
;
5412 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
= NULL
;
5414 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5416 PyObject
* obj0
= 0 ;
5417 PyObject
* obj1
= 0 ;
5419 (char *) "self",(char *) "font", NULL
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5424 if (SWIG_arg_fail(1)) SWIG_fail
;
5426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
5427 if (SWIG_arg_fail(2)) SWIG_fail
;
5429 SWIG_null_ref("wxFont");
5431 if (SWIG_arg_fail(2)) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 (arg1
)->SetFont((wxFont
const &)*arg2
);
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 Py_INCREF(Py_None
); resultobj
= Py_None
;
5447 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
= NULL
;
5449 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5452 PyObject
* obj0
= 0 ;
5453 PyObject
* obj1
= 0 ;
5454 PyObject
* obj2
= 0 ;
5456 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5461 if (SWIG_arg_fail(1)) SWIG_fail
;
5463 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5464 if (SWIG_arg_fail(2)) SWIG_fail
;
5467 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5468 if (SWIG_arg_fail(3)) SWIG_fail
;
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 (arg1
)->SetAlignment(arg2
,arg3
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5477 Py_INCREF(Py_None
); resultobj
= Py_None
;
5484 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
= NULL
;
5486 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5489 PyObject
* obj0
= 0 ;
5490 PyObject
* obj1
= 0 ;
5491 PyObject
* obj2
= 0 ;
5493 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5498 if (SWIG_arg_fail(1)) SWIG_fail
;
5500 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5501 if (SWIG_arg_fail(2)) SWIG_fail
;
5504 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5505 if (SWIG_arg_fail(3)) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 (arg1
)->SetSize(arg2
,arg3
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 Py_INCREF(Py_None
); resultobj
= Py_None
;
5521 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
= NULL
;
5523 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5524 bool arg2
= (bool) true ;
5525 PyObject
* obj0
= 0 ;
5526 PyObject
* obj1
= 0 ;
5528 (char *) "self",(char *) "allow", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
5532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5533 if (SWIG_arg_fail(1)) SWIG_fail
;
5536 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
5537 if (SWIG_arg_fail(2)) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 (arg1
)->SetOverflow(arg2
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 Py_INCREF(Py_None
); resultobj
= Py_None
;
5554 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
= NULL
;
5556 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5557 bool arg2
= (bool) true ;
5558 PyObject
* obj0
= 0 ;
5559 PyObject
* obj1
= 0 ;
5561 (char *) "self",(char *) "isReadOnly", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
5565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5566 if (SWIG_arg_fail(1)) SWIG_fail
;
5569 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
5570 if (SWIG_arg_fail(2)) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 (arg1
)->SetReadOnly(arg2
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 Py_INCREF(Py_None
); resultobj
= Py_None
;
5587 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
= NULL
;
5589 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5590 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
5591 PyObject
* obj0
= 0 ;
5592 PyObject
* obj1
= 0 ;
5594 (char *) "self",(char *) "renderer", NULL
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
5598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5599 if (SWIG_arg_fail(1)) SWIG_fail
;
5600 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
5601 if (SWIG_arg_fail(2)) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 (arg1
)->SetRenderer(arg2
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 Py_INCREF(Py_None
); resultobj
= Py_None
;
5616 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
= NULL
;
5618 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5619 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
5620 PyObject
* obj0
= 0 ;
5621 PyObject
* obj1
= 0 ;
5623 (char *) "self",(char *) "editor", NULL
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
5627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5628 if (SWIG_arg_fail(1)) SWIG_fail
;
5629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
5630 if (SWIG_arg_fail(2)) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 (arg1
)->SetEditor(arg2
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 Py_INCREF(Py_None
); resultobj
= Py_None
;
5645 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
= NULL
;
5647 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5648 wxGridCellAttr::wxAttrKind arg2
;
5649 PyObject
* obj0
= 0 ;
5650 PyObject
* obj1
= 0 ;
5652 (char *) "self",(char *) "kind", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
5656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5657 if (SWIG_arg_fail(1)) SWIG_fail
;
5659 arg2
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj1
));
5660 if (SWIG_arg_fail(2)) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 (arg1
)->SetKind(arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 Py_INCREF(Py_None
); resultobj
= Py_None
;
5676 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
= NULL
;
5678 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5680 PyObject
* obj0
= 0 ;
5682 (char *) "self", NULL
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5687 if (SWIG_arg_fail(1)) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5704 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
*resultobj
= NULL
;
5706 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5708 PyObject
* obj0
= 0 ;
5710 (char *) "self", NULL
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5715 if (SWIG_arg_fail(1)) SWIG_fail
;
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5718 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5732 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
= NULL
;
5734 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5736 PyObject
* obj0
= 0 ;
5738 (char *) "self", NULL
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
5742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5743 if (SWIG_arg_fail(1)) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5760 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
*resultobj
= NULL
;
5762 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5764 PyObject
* obj0
= 0 ;
5766 (char *) "self", NULL
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
5770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5771 if (SWIG_arg_fail(1)) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5788 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
= NULL
;
5790 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5794 (char *) "self", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
5798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5799 if (SWIG_arg_fail(1)) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5816 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
= NULL
;
5818 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5820 PyObject
* obj0
= 0 ;
5822 (char *) "self", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
5826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5827 if (SWIG_arg_fail(1)) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5844 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
= NULL
;
5846 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5848 PyObject
* obj0
= 0 ;
5850 (char *) "self", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
5854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5855 if (SWIG_arg_fail(1)) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5872 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
= NULL
;
5874 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5878 (char *) "self", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
5882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5883 if (SWIG_arg_fail(1)) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5900 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
= NULL
;
5902 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5904 PyObject
* obj0
= 0 ;
5906 (char *) "self", NULL
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
5910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5911 if (SWIG_arg_fail(1)) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5920 wxColour
* resultptr
;
5921 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
5922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5930 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
= NULL
;
5932 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5934 PyObject
* obj0
= 0 ;
5936 (char *) "self", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5941 if (SWIG_arg_fail(1)) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5950 wxColour
* resultptr
;
5951 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
5952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5960 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
= NULL
;
5962 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5966 (char *) "self", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
5970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5971 if (SWIG_arg_fail(1)) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5981 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
5982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
5990 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
= NULL
;
5992 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5993 int *arg2
= (int *) 0 ;
5994 int *arg3
= (int *) 0 ;
5999 PyObject
* obj0
= 0 ;
6001 (char *) "self", NULL
6004 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6005 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6008 if (SWIG_arg_fail(1)) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 Py_INCREF(Py_None
); resultobj
= Py_None
;
6017 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6018 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6019 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6020 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6027 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
= NULL
;
6029 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6030 int *arg2
= (int *) 0 ;
6031 int *arg3
= (int *) 0 ;
6036 PyObject
* obj0
= 0 ;
6038 (char *) "self", NULL
6041 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6042 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
6044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6045 if (SWIG_arg_fail(1)) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6053 Py_INCREF(Py_None
); resultobj
= Py_None
;
6054 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6055 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6056 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6057 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6064 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
= NULL
;
6066 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6068 PyObject
* obj0
= 0 ;
6070 (char *) "self", NULL
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
6074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6075 if (SWIG_arg_fail(1)) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6092 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
*resultobj
= NULL
;
6094 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6095 wxGrid
*arg2
= (wxGrid
*) 0 ;
6098 wxGridCellRenderer
*result
;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6101 PyObject
* obj2
= 0 ;
6102 PyObject
* obj3
= 0 ;
6104 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6109 if (SWIG_arg_fail(1)) SWIG_fail
;
6110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
6111 if (SWIG_arg_fail(2)) SWIG_fail
;
6113 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6114 if (SWIG_arg_fail(3)) SWIG_fail
;
6117 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6118 if (SWIG_arg_fail(4)) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
6136 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
= NULL
;
6138 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6139 wxGrid
*arg2
= (wxGrid
*) 0 ;
6142 wxGridCellEditor
*result
;
6143 PyObject
* obj0
= 0 ;
6144 PyObject
* obj1
= 0 ;
6145 PyObject
* obj2
= 0 ;
6146 PyObject
* obj3
= 0 ;
6148 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6153 if (SWIG_arg_fail(1)) SWIG_fail
;
6154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
6155 if (SWIG_arg_fail(2)) SWIG_fail
;
6157 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6158 if (SWIG_arg_fail(3)) SWIG_fail
;
6161 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6162 if (SWIG_arg_fail(4)) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
6180 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
= NULL
;
6182 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6184 PyObject
* obj0
= 0 ;
6186 (char *) "self", NULL
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
6190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6191 if (SWIG_arg_fail(1)) SWIG_fail
;
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6208 static PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
= NULL
;
6210 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6211 wxGridCellAttr::wxAttrKind result
;
6212 PyObject
* obj0
= 0 ;
6214 (char *) "self", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetKind",kwnames
,&obj0
)) goto fail
;
6218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6219 if (SWIG_arg_fail(1)) SWIG_fail
;
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 result
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind();
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6227 resultobj
= SWIG_From_int((result
));
6234 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
= NULL
;
6236 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6237 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6239 PyObject
* obj1
= 0 ;
6241 (char *) "self",(char *) "defAttr", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
6245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 (arg1
)->SetDefAttr(arg2
);
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6256 Py_INCREF(Py_None
); resultobj
= Py_None
;
6263 static PyObject
* GridCellAttr_swigregister(PyObject
*, PyObject
*args
) {
6265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6266 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
6268 return Py_BuildValue((char *)"");
6270 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
= NULL
;
6272 wxGridCellAttrProvider
*result
;
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)1);
6294 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
= NULL
;
6296 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6297 PyObject
*arg2
= (PyObject
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6299 PyObject
* obj1
= 0 ;
6301 (char *) "self",(char *) "_self", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
6305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6306 if (SWIG_arg_fail(1)) SWIG_fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 Py_INCREF(Py_None
); resultobj
= Py_None
;
6322 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
= NULL
;
6324 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6327 wxGridCellAttr::wxAttrKind arg4
;
6328 wxGridCellAttr
*result
;
6329 PyObject
* obj0
= 0 ;
6330 PyObject
* obj1
= 0 ;
6331 PyObject
* obj2
= 0 ;
6332 PyObject
* obj3
= 0 ;
6334 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6339 if (SWIG_arg_fail(1)) SWIG_fail
;
6341 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6342 if (SWIG_arg_fail(2)) SWIG_fail
;
6345 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6346 if (SWIG_arg_fail(3)) SWIG_fail
;
6349 arg4
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj3
));
6350 if (SWIG_arg_fail(4)) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,arg4
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
6368 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
= NULL
;
6370 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6371 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6376 PyObject
* obj2
= 0 ;
6377 PyObject
* obj3
= 0 ;
6379 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6384 if (SWIG_arg_fail(1)) SWIG_fail
;
6385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6386 if (SWIG_arg_fail(2)) SWIG_fail
;
6388 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6389 if (SWIG_arg_fail(3)) SWIG_fail
;
6392 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6393 if (SWIG_arg_fail(4)) SWIG_fail
;
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6402 Py_INCREF(Py_None
); resultobj
= Py_None
;
6409 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
= NULL
;
6411 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6412 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6414 PyObject
* obj0
= 0 ;
6415 PyObject
* obj1
= 0 ;
6416 PyObject
* obj2
= 0 ;
6418 (char *) "self",(char *) "attr",(char *) "row", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6423 if (SWIG_arg_fail(1)) SWIG_fail
;
6424 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6425 if (SWIG_arg_fail(2)) SWIG_fail
;
6427 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6428 if (SWIG_arg_fail(3)) SWIG_fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 (arg1
)->SetRowAttr(arg2
,arg3
);
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6437 Py_INCREF(Py_None
); resultobj
= Py_None
;
6444 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
= NULL
;
6446 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6447 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6449 PyObject
* obj0
= 0 ;
6450 PyObject
* obj1
= 0 ;
6451 PyObject
* obj2
= 0 ;
6453 (char *) "self",(char *) "attr",(char *) "col", NULL
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6458 if (SWIG_arg_fail(1)) SWIG_fail
;
6459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6460 if (SWIG_arg_fail(2)) SWIG_fail
;
6462 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6463 if (SWIG_arg_fail(3)) SWIG_fail
;
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 (arg1
)->SetColAttr(arg2
,arg3
);
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6472 Py_INCREF(Py_None
); resultobj
= Py_None
;
6479 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
*resultobj
= NULL
;
6481 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6484 PyObject
* obj0
= 0 ;
6485 PyObject
* obj1
= 0 ;
6486 PyObject
* obj2
= 0 ;
6488 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6493 if (SWIG_arg_fail(1)) SWIG_fail
;
6495 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
6496 if (SWIG_arg_fail(2)) SWIG_fail
;
6499 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6500 if (SWIG_arg_fail(3)) SWIG_fail
;
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 (arg1
)->UpdateAttrRows(arg2
,arg3
);
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6509 Py_INCREF(Py_None
); resultobj
= Py_None
;
6516 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
*resultobj
= NULL
;
6518 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6521 PyObject
* obj0
= 0 ;
6522 PyObject
* obj1
= 0 ;
6523 PyObject
* obj2
= 0 ;
6525 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6530 if (SWIG_arg_fail(1)) SWIG_fail
;
6532 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
6533 if (SWIG_arg_fail(2)) SWIG_fail
;
6536 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6537 if (SWIG_arg_fail(3)) SWIG_fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 (arg1
)->UpdateAttrCols(arg2
,arg3
);
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 Py_INCREF(Py_None
); resultobj
= Py_None
;
6553 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
6555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6556 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
6558 return Py_BuildValue((char *)"");
6560 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
= NULL
;
6562 wxPyGridCellAttrProvider
*result
;
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
6582 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
= NULL
;
6584 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6585 PyObject
*arg2
= (PyObject
*) 0 ;
6586 PyObject
*arg3
= (PyObject
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6588 PyObject
* obj1
= 0 ;
6589 PyObject
* obj2
= 0 ;
6591 (char *) "self",(char *) "self",(char *) "_class", NULL
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6596 if (SWIG_arg_fail(1)) SWIG_fail
;
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6606 Py_INCREF(Py_None
); resultobj
= Py_None
;
6613 static PyObject
*_wrap_PyGridCellAttrProvider_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
*resultobj
= NULL
;
6615 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6618 wxGridCellAttr::wxAttrKind arg4
;
6619 wxGridCellAttr
*result
;
6620 PyObject
* obj0
= 0 ;
6621 PyObject
* obj1
= 0 ;
6622 PyObject
* obj2
= 0 ;
6623 PyObject
* obj3
= 0 ;
6625 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6630 if (SWIG_arg_fail(1)) SWIG_fail
;
6632 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6633 if (SWIG_arg_fail(2)) SWIG_fail
;
6636 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6637 if (SWIG_arg_fail(3)) SWIG_fail
;
6640 arg4
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj3
));
6641 if (SWIG_arg_fail(4)) SWIG_fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
6659 static PyObject
*_wrap_PyGridCellAttrProvider_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
= NULL
;
6661 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6662 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6665 PyObject
* obj0
= 0 ;
6666 PyObject
* obj1
= 0 ;
6667 PyObject
* obj2
= 0 ;
6668 PyObject
* obj3
= 0 ;
6670 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6675 if (SWIG_arg_fail(1)) SWIG_fail
;
6676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6677 if (SWIG_arg_fail(2)) SWIG_fail
;
6679 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6680 if (SWIG_arg_fail(3)) SWIG_fail
;
6683 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6684 if (SWIG_arg_fail(4)) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 Py_INCREF(Py_None
); resultobj
= Py_None
;
6700 static PyObject
*_wrap_PyGridCellAttrProvider_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
= NULL
;
6702 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6703 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6705 PyObject
* obj0
= 0 ;
6706 PyObject
* obj1
= 0 ;
6707 PyObject
* obj2
= 0 ;
6709 (char *) "self",(char *) "attr",(char *) "row", NULL
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6714 if (SWIG_arg_fail(1)) SWIG_fail
;
6715 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6716 if (SWIG_arg_fail(2)) SWIG_fail
;
6718 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6719 if (SWIG_arg_fail(3)) SWIG_fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 (arg1
)->SetRowAttr(arg2
,arg3
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 Py_INCREF(Py_None
); resultobj
= Py_None
;
6735 static PyObject
*_wrap_PyGridCellAttrProvider_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
= NULL
;
6737 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6738 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6740 PyObject
* obj0
= 0 ;
6741 PyObject
* obj1
= 0 ;
6742 PyObject
* obj2
= 0 ;
6744 (char *) "self",(char *) "attr",(char *) "col", NULL
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6749 if (SWIG_arg_fail(1)) SWIG_fail
;
6750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6751 if (SWIG_arg_fail(2)) SWIG_fail
;
6753 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6754 if (SWIG_arg_fail(3)) SWIG_fail
;
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 (arg1
)->SetColAttr(arg2
,arg3
);
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 Py_INCREF(Py_None
); resultobj
= Py_None
;
6770 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
6772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6773 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
6775 return Py_BuildValue((char *)"");
6777 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
= NULL
;
6779 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6780 PyObject
*arg2
= (PyObject
*) 0 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6784 (char *) "self",(char *) "_self", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
6788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6789 if (SWIG_arg_fail(1)) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 wxGridTableBase__setOORInfo(arg1
,arg2
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 Py_INCREF(Py_None
); resultobj
= Py_None
;
6805 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
= NULL
;
6807 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6808 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
6809 PyObject
* obj0
= 0 ;
6810 PyObject
* obj1
= 0 ;
6812 (char *) "self",(char *) "attrProvider", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6817 if (SWIG_arg_fail(1)) SWIG_fail
;
6818 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6819 if (SWIG_arg_fail(2)) SWIG_fail
;
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 (arg1
)->SetAttrProvider(arg2
);
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 Py_INCREF(Py_None
); resultobj
= Py_None
;
6834 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
= NULL
;
6836 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6837 wxGridCellAttrProvider
*result
;
6838 PyObject
* obj0
= 0 ;
6840 (char *) "self", NULL
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
6844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6845 if (SWIG_arg_fail(1)) SWIG_fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)0);
6862 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
= NULL
;
6864 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6865 wxGrid
*arg2
= (wxGrid
*) 0 ;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6869 (char *) "self",(char *) "grid", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
6873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6874 if (SWIG_arg_fail(1)) SWIG_fail
;
6875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
6876 if (SWIG_arg_fail(2)) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 (arg1
)->SetView(arg2
);
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 Py_INCREF(Py_None
); resultobj
= Py_None
;
6891 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
= NULL
;
6893 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6895 PyObject
* obj0
= 0 ;
6897 (char *) "self", NULL
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
6901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6902 if (SWIG_arg_fail(1)) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6919 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
= NULL
;
6921 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6923 PyObject
* obj0
= 0 ;
6925 (char *) "self", NULL
6928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
6929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6930 if (SWIG_arg_fail(1)) SWIG_fail
;
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 result
= (int)(arg1
)->GetNumberRows();
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= SWIG_From_int(static_cast<int >(result
));
6947 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
= NULL
;
6949 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6951 PyObject
* obj0
= 0 ;
6953 (char *) "self", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
6957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6958 if (SWIG_arg_fail(1)) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (int)(arg1
)->GetNumberCols();
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= SWIG_From_int(static_cast<int >(result
));
6975 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
= NULL
;
6977 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6981 PyObject
* obj0
= 0 ;
6982 PyObject
* obj1
= 0 ;
6983 PyObject
* obj2
= 0 ;
6985 (char *) "self",(char *) "row",(char *) "col", NULL
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6990 if (SWIG_arg_fail(1)) SWIG_fail
;
6992 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6993 if (SWIG_arg_fail(2)) SWIG_fail
;
6996 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6997 if (SWIG_arg_fail(3)) SWIG_fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7015 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
= NULL
;
7017 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7022 PyObject
* obj1
= 0 ;
7023 PyObject
* obj2
= 0 ;
7025 (char *) "self",(char *) "row",(char *) "col", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7030 if (SWIG_arg_fail(1)) SWIG_fail
;
7032 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7033 if (SWIG_arg_fail(2)) SWIG_fail
;
7036 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7037 if (SWIG_arg_fail(3)) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 result
= (arg1
)->GetValue(arg2
,arg3
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7059 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
= NULL
;
7061 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7064 wxString
*arg4
= 0 ;
7065 bool temp4
= false ;
7066 PyObject
* obj0
= 0 ;
7067 PyObject
* obj1
= 0 ;
7068 PyObject
* obj2
= 0 ;
7069 PyObject
* obj3
= 0 ;
7071 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7076 if (SWIG_arg_fail(1)) SWIG_fail
;
7078 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7079 if (SWIG_arg_fail(2)) SWIG_fail
;
7082 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7083 if (SWIG_arg_fail(3)) SWIG_fail
;
7086 arg4
= wxString_in_helper(obj3
);
7087 if (arg4
== NULL
) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 Py_INCREF(Py_None
); resultobj
= Py_None
;
7112 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
= NULL
;
7114 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7118 PyObject
* obj0
= 0 ;
7119 PyObject
* obj1
= 0 ;
7120 PyObject
* obj2
= 0 ;
7122 (char *) "self",(char *) "row",(char *) "col", NULL
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7127 if (SWIG_arg_fail(1)) SWIG_fail
;
7129 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7130 if (SWIG_arg_fail(2)) SWIG_fail
;
7133 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7134 if (SWIG_arg_fail(3)) SWIG_fail
;
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (arg1
)->GetTypeName(arg2
,arg3
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7156 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
= NULL
;
7158 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7161 wxString
*arg4
= 0 ;
7163 bool temp4
= false ;
7164 PyObject
* obj0
= 0 ;
7165 PyObject
* obj1
= 0 ;
7166 PyObject
* obj2
= 0 ;
7167 PyObject
* obj3
= 0 ;
7169 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7174 if (SWIG_arg_fail(1)) SWIG_fail
;
7176 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7177 if (SWIG_arg_fail(2)) SWIG_fail
;
7180 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7181 if (SWIG_arg_fail(3)) SWIG_fail
;
7184 arg4
= wxString_in_helper(obj3
);
7185 if (arg4
== NULL
) SWIG_fail
;
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7212 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
= NULL
;
7214 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7217 wxString
*arg4
= 0 ;
7219 bool temp4
= false ;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7222 PyObject
* obj2
= 0 ;
7223 PyObject
* obj3
= 0 ;
7225 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7230 if (SWIG_arg_fail(1)) SWIG_fail
;
7232 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7233 if (SWIG_arg_fail(2)) SWIG_fail
;
7236 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7237 if (SWIG_arg_fail(3)) SWIG_fail
;
7240 arg4
= wxString_in_helper(obj3
);
7241 if (arg4
== NULL
) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7268 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
= NULL
;
7270 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7274 PyObject
* obj0
= 0 ;
7275 PyObject
* obj1
= 0 ;
7276 PyObject
* obj2
= 0 ;
7278 (char *) "self",(char *) "row",(char *) "col", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7283 if (SWIG_arg_fail(1)) SWIG_fail
;
7285 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7286 if (SWIG_arg_fail(2)) SWIG_fail
;
7289 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7290 if (SWIG_arg_fail(3)) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= SWIG_From_long(static_cast<long >(result
));
7308 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
= NULL
;
7310 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7314 PyObject
* obj0
= 0 ;
7315 PyObject
* obj1
= 0 ;
7316 PyObject
* obj2
= 0 ;
7318 (char *) "self",(char *) "row",(char *) "col", NULL
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7323 if (SWIG_arg_fail(1)) SWIG_fail
;
7325 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7326 if (SWIG_arg_fail(2)) SWIG_fail
;
7329 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7330 if (SWIG_arg_fail(3)) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7340 resultobj
= SWIG_From_double(static_cast<double >(result
));
7348 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
= NULL
;
7350 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7354 PyObject
* obj0
= 0 ;
7355 PyObject
* obj1
= 0 ;
7356 PyObject
* obj2
= 0 ;
7358 (char *) "self",(char *) "row",(char *) "col", NULL
7361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7363 if (SWIG_arg_fail(1)) SWIG_fail
;
7365 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7366 if (SWIG_arg_fail(2)) SWIG_fail
;
7369 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7370 if (SWIG_arg_fail(3)) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7388 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
= NULL
;
7390 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7394 PyObject
* obj0
= 0 ;
7395 PyObject
* obj1
= 0 ;
7396 PyObject
* obj2
= 0 ;
7397 PyObject
* obj3
= 0 ;
7399 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7404 if (SWIG_arg_fail(1)) SWIG_fail
;
7406 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7407 if (SWIG_arg_fail(2)) SWIG_fail
;
7410 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7411 if (SWIG_arg_fail(3)) SWIG_fail
;
7414 arg4
= static_cast<long >(SWIG_As_long(obj3
));
7415 if (SWIG_arg_fail(4)) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 Py_INCREF(Py_None
); resultobj
= Py_None
;
7431 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
= NULL
;
7433 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7437 PyObject
* obj0
= 0 ;
7438 PyObject
* obj1
= 0 ;
7439 PyObject
* obj2
= 0 ;
7440 PyObject
* obj3
= 0 ;
7442 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7447 if (SWIG_arg_fail(1)) SWIG_fail
;
7449 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7450 if (SWIG_arg_fail(2)) SWIG_fail
;
7453 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7454 if (SWIG_arg_fail(3)) SWIG_fail
;
7457 arg4
= static_cast<double >(SWIG_As_double(obj3
));
7458 if (SWIG_arg_fail(4)) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 Py_INCREF(Py_None
); resultobj
= Py_None
;
7474 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
= NULL
;
7476 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7480 PyObject
* obj0
= 0 ;
7481 PyObject
* obj1
= 0 ;
7482 PyObject
* obj2
= 0 ;
7483 PyObject
* obj3
= 0 ;
7485 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7490 if (SWIG_arg_fail(1)) SWIG_fail
;
7492 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7493 if (SWIG_arg_fail(2)) SWIG_fail
;
7496 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7497 if (SWIG_arg_fail(3)) SWIG_fail
;
7500 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
7501 if (SWIG_arg_fail(4)) SWIG_fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 Py_INCREF(Py_None
); resultobj
= Py_None
;
7517 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
= NULL
;
7519 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7520 PyObject
* obj0
= 0 ;
7522 (char *) "self", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
7526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7527 if (SWIG_arg_fail(1)) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 Py_INCREF(Py_None
); resultobj
= Py_None
;
7542 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
= NULL
;
7544 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7545 size_t arg2
= (size_t) 0 ;
7546 size_t arg3
= (size_t) 1 ;
7548 PyObject
* obj0
= 0 ;
7549 PyObject
* obj1
= 0 ;
7550 PyObject
* obj2
= 0 ;
7552 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7557 if (SWIG_arg_fail(1)) SWIG_fail
;
7560 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7561 if (SWIG_arg_fail(2)) SWIG_fail
;
7566 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
7567 if (SWIG_arg_fail(3)) SWIG_fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7586 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
= NULL
;
7588 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7589 size_t arg2
= (size_t) 1 ;
7591 PyObject
* obj0
= 0 ;
7592 PyObject
* obj1
= 0 ;
7594 (char *) "self",(char *) "numRows", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
7598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7599 if (SWIG_arg_fail(1)) SWIG_fail
;
7602 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7603 if (SWIG_arg_fail(2)) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (bool)(arg1
)->AppendRows(arg2
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7622 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
= NULL
;
7624 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7625 size_t arg2
= (size_t) 0 ;
7626 size_t arg3
= (size_t) 1 ;
7628 PyObject
* obj0
= 0 ;
7629 PyObject
* obj1
= 0 ;
7630 PyObject
* obj2
= 0 ;
7632 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7637 if (SWIG_arg_fail(1)) SWIG_fail
;
7640 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7641 if (SWIG_arg_fail(2)) SWIG_fail
;
7646 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
7647 if (SWIG_arg_fail(3)) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7666 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
= NULL
;
7668 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7669 size_t arg2
= (size_t) 0 ;
7670 size_t arg3
= (size_t) 1 ;
7672 PyObject
* obj0
= 0 ;
7673 PyObject
* obj1
= 0 ;
7674 PyObject
* obj2
= 0 ;
7676 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7681 if (SWIG_arg_fail(1)) SWIG_fail
;
7684 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7685 if (SWIG_arg_fail(2)) SWIG_fail
;
7690 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
7691 if (SWIG_arg_fail(3)) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7710 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
= NULL
;
7712 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7713 size_t arg2
= (size_t) 1 ;
7715 PyObject
* obj0
= 0 ;
7716 PyObject
* obj1
= 0 ;
7718 (char *) "self",(char *) "numCols", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
7722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail
;
7726 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7727 if (SWIG_arg_fail(2)) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 result
= (bool)(arg1
)->AppendCols(arg2
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7746 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
= NULL
;
7748 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7749 size_t arg2
= (size_t) 0 ;
7750 size_t arg3
= (size_t) 1 ;
7752 PyObject
* obj0
= 0 ;
7753 PyObject
* obj1
= 0 ;
7754 PyObject
* obj2
= 0 ;
7756 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7761 if (SWIG_arg_fail(1)) SWIG_fail
;
7764 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7765 if (SWIG_arg_fail(2)) SWIG_fail
;
7770 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
7771 if (SWIG_arg_fail(3)) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7790 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
= NULL
;
7792 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7798 (char *) "self",(char *) "row", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7803 if (SWIG_arg_fail(1)) SWIG_fail
;
7805 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7806 if (SWIG_arg_fail(2)) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (arg1
)->GetRowLabelValue(arg2
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7828 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
= NULL
;
7830 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7833 PyObject
* obj0
= 0 ;
7834 PyObject
* obj1
= 0 ;
7836 (char *) "self",(char *) "col", NULL
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7841 if (SWIG_arg_fail(1)) SWIG_fail
;
7843 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7844 if (SWIG_arg_fail(2)) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (arg1
)->GetColLabelValue(arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7866 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
= NULL
;
7868 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7870 wxString
*arg3
= 0 ;
7871 bool temp3
= false ;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7874 PyObject
* obj2
= 0 ;
7876 (char *) "self",(char *) "row",(char *) "value", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7881 if (SWIG_arg_fail(1)) SWIG_fail
;
7883 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7884 if (SWIG_arg_fail(2)) SWIG_fail
;
7887 arg3
= wxString_in_helper(obj2
);
7888 if (arg3
== NULL
) SWIG_fail
;
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7898 Py_INCREF(Py_None
); resultobj
= Py_None
;
7913 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
*resultobj
= NULL
;
7915 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7917 wxString
*arg3
= 0 ;
7918 bool temp3
= false ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7921 PyObject
* obj2
= 0 ;
7923 (char *) "self",(char *) "col",(char *) "value", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7928 if (SWIG_arg_fail(1)) SWIG_fail
;
7930 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7931 if (SWIG_arg_fail(2)) SWIG_fail
;
7934 arg3
= wxString_in_helper(obj2
);
7935 if (arg3
== NULL
) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 Py_INCREF(Py_None
); resultobj
= Py_None
;
7960 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
= NULL
;
7962 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7964 PyObject
* obj0
= 0 ;
7966 (char *) "self", NULL
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7971 if (SWIG_arg_fail(1)) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (bool)(arg1
)->CanHaveAttributes();
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7988 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
= NULL
;
7990 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7993 wxGridCellAttr::wxAttrKind arg4
;
7994 wxGridCellAttr
*result
;
7995 PyObject
* obj0
= 0 ;
7996 PyObject
* obj1
= 0 ;
7997 PyObject
* obj2
= 0 ;
7998 PyObject
* obj3
= 0 ;
8000 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8005 if (SWIG_arg_fail(1)) SWIG_fail
;
8007 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8008 if (SWIG_arg_fail(2)) SWIG_fail
;
8011 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8012 if (SWIG_arg_fail(3)) SWIG_fail
;
8015 arg4
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj3
));
8016 if (SWIG_arg_fail(4)) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
8034 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
= NULL
;
8036 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8037 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8040 PyObject
* obj0
= 0 ;
8041 PyObject
* obj1
= 0 ;
8042 PyObject
* obj2
= 0 ;
8043 PyObject
* obj3
= 0 ;
8045 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail
;
8051 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8052 if (SWIG_arg_fail(2)) SWIG_fail
;
8054 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8055 if (SWIG_arg_fail(3)) SWIG_fail
;
8058 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8059 if (SWIG_arg_fail(4)) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8068 Py_INCREF(Py_None
); resultobj
= Py_None
;
8075 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
= NULL
;
8077 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8078 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8080 PyObject
* obj0
= 0 ;
8081 PyObject
* obj1
= 0 ;
8082 PyObject
* obj2
= 0 ;
8084 (char *) "self",(char *) "attr",(char *) "row", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8089 if (SWIG_arg_fail(1)) SWIG_fail
;
8090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8091 if (SWIG_arg_fail(2)) SWIG_fail
;
8093 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8094 if (SWIG_arg_fail(3)) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 (arg1
)->SetRowAttr(arg2
,arg3
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 Py_INCREF(Py_None
); resultobj
= Py_None
;
8110 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
= NULL
;
8112 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8113 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8115 PyObject
* obj0
= 0 ;
8116 PyObject
* obj1
= 0 ;
8117 PyObject
* obj2
= 0 ;
8119 (char *) "self",(char *) "attr",(char *) "col", NULL
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8124 if (SWIG_arg_fail(1)) SWIG_fail
;
8125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8126 if (SWIG_arg_fail(2)) SWIG_fail
;
8128 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8129 if (SWIG_arg_fail(3)) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 (arg1
)->SetColAttr(arg2
,arg3
);
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 Py_INCREF(Py_None
); resultobj
= Py_None
;
8145 static PyObject
* GridTableBase_swigregister(PyObject
*, PyObject
*args
) {
8147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8148 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
8150 return Py_BuildValue((char *)"");
8152 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
= NULL
;
8154 wxPyGridTableBase
*result
;
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
8174 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
= NULL
;
8176 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8177 PyObject
*arg2
= (PyObject
*) 0 ;
8178 PyObject
*arg3
= (PyObject
*) 0 ;
8179 PyObject
* obj0
= 0 ;
8180 PyObject
* obj1
= 0 ;
8181 PyObject
* obj2
= 0 ;
8183 (char *) "self",(char *) "self",(char *) "_class", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8188 if (SWIG_arg_fail(1)) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 Py_INCREF(Py_None
); resultobj
= Py_None
;
8205 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
= NULL
;
8207 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8208 PyObject
* obj0
= 0 ;
8210 (char *) "self", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
8214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8215 if (SWIG_arg_fail(1)) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 wxPyGridTableBase_Destroy(arg1
);
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 Py_INCREF(Py_None
); resultobj
= Py_None
;
8230 static PyObject
*_wrap_PyGridTableBase_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
= NULL
;
8232 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8236 PyObject
* obj0
= 0 ;
8237 PyObject
* obj1
= 0 ;
8238 PyObject
* obj2
= 0 ;
8240 (char *) "self",(char *) "row",(char *) "col", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8245 if (SWIG_arg_fail(1)) SWIG_fail
;
8247 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8248 if (SWIG_arg_fail(2)) SWIG_fail
;
8251 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8252 if (SWIG_arg_fail(3)) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= (arg1
)->GetTypeName(arg2
,arg3
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8274 static PyObject
*_wrap_PyGridTableBase_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
= NULL
;
8276 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8279 wxString
*arg4
= 0 ;
8281 bool temp4
= false ;
8282 PyObject
* obj0
= 0 ;
8283 PyObject
* obj1
= 0 ;
8284 PyObject
* obj2
= 0 ;
8285 PyObject
* obj3
= 0 ;
8287 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8292 if (SWIG_arg_fail(1)) SWIG_fail
;
8294 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8295 if (SWIG_arg_fail(2)) SWIG_fail
;
8298 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8299 if (SWIG_arg_fail(3)) SWIG_fail
;
8302 arg4
= wxString_in_helper(obj3
);
8303 if (arg4
== NULL
) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8330 static PyObject
*_wrap_PyGridTableBase_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
*resultobj
= NULL
;
8332 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8335 wxString
*arg4
= 0 ;
8337 bool temp4
= false ;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8340 PyObject
* obj2
= 0 ;
8341 PyObject
* obj3
= 0 ;
8343 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8348 if (SWIG_arg_fail(1)) SWIG_fail
;
8350 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8351 if (SWIG_arg_fail(2)) SWIG_fail
;
8354 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8355 if (SWIG_arg_fail(3)) SWIG_fail
;
8358 arg4
= wxString_in_helper(obj3
);
8359 if (arg4
== NULL
) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8386 static PyObject
*_wrap_PyGridTableBase_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
*resultobj
= NULL
;
8388 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8389 PyObject
* obj0
= 0 ;
8391 (char *) "self", NULL
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
8395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8396 if (SWIG_arg_fail(1)) SWIG_fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 Py_INCREF(Py_None
); resultobj
= Py_None
;
8411 static PyObject
*_wrap_PyGridTableBase_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
= NULL
;
8413 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8414 size_t arg2
= (size_t) 0 ;
8415 size_t arg3
= (size_t) 1 ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8419 PyObject
* obj2
= 0 ;
8421 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8426 if (SWIG_arg_fail(1)) SWIG_fail
;
8429 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8430 if (SWIG_arg_fail(2)) SWIG_fail
;
8435 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
8436 if (SWIG_arg_fail(3)) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8455 static PyObject
*_wrap_PyGridTableBase_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
= NULL
;
8457 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8458 size_t arg2
= (size_t) 1 ;
8460 PyObject
* obj0
= 0 ;
8461 PyObject
* obj1
= 0 ;
8463 (char *) "self",(char *) "numRows", NULL
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
8467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8468 if (SWIG_arg_fail(1)) SWIG_fail
;
8471 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8472 if (SWIG_arg_fail(2)) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (bool)(arg1
)->AppendRows(arg2
);
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8491 static PyObject
*_wrap_PyGridTableBase_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
= NULL
;
8493 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8494 size_t arg2
= (size_t) 0 ;
8495 size_t arg3
= (size_t) 1 ;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8499 PyObject
* obj2
= 0 ;
8501 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8506 if (SWIG_arg_fail(1)) SWIG_fail
;
8509 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8510 if (SWIG_arg_fail(2)) SWIG_fail
;
8515 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
8516 if (SWIG_arg_fail(3)) SWIG_fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8535 static PyObject
*_wrap_PyGridTableBase_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
*resultobj
= NULL
;
8537 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8538 size_t arg2
= (size_t) 0 ;
8539 size_t arg3
= (size_t) 1 ;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8543 PyObject
* obj2
= 0 ;
8545 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8550 if (SWIG_arg_fail(1)) SWIG_fail
;
8553 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8554 if (SWIG_arg_fail(2)) SWIG_fail
;
8559 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
8560 if (SWIG_arg_fail(3)) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8579 static PyObject
*_wrap_PyGridTableBase_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
= NULL
;
8581 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8582 size_t arg2
= (size_t) 1 ;
8584 PyObject
* obj0
= 0 ;
8585 PyObject
* obj1
= 0 ;
8587 (char *) "self",(char *) "numCols", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
8591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8592 if (SWIG_arg_fail(1)) SWIG_fail
;
8595 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8596 if (SWIG_arg_fail(2)) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 result
= (bool)(arg1
)->AppendCols(arg2
);
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8615 static PyObject
*_wrap_PyGridTableBase_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
*resultobj
= NULL
;
8617 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8618 size_t arg2
= (size_t) 0 ;
8619 size_t arg3
= (size_t) 1 ;
8621 PyObject
* obj0
= 0 ;
8622 PyObject
* obj1
= 0 ;
8623 PyObject
* obj2
= 0 ;
8625 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8630 if (SWIG_arg_fail(1)) SWIG_fail
;
8633 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8634 if (SWIG_arg_fail(2)) SWIG_fail
;
8639 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
8640 if (SWIG_arg_fail(3)) SWIG_fail
;
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8659 static PyObject
*_wrap_PyGridTableBase_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
*resultobj
= NULL
;
8661 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8665 PyObject
* obj1
= 0 ;
8667 (char *) "self",(char *) "row", NULL
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8672 if (SWIG_arg_fail(1)) SWIG_fail
;
8674 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8675 if (SWIG_arg_fail(2)) SWIG_fail
;
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 result
= (arg1
)->GetRowLabelValue(arg2
);
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8697 static PyObject
*_wrap_PyGridTableBase_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
= NULL
;
8699 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8702 PyObject
* obj0
= 0 ;
8703 PyObject
* obj1
= 0 ;
8705 (char *) "self",(char *) "col", NULL
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8710 if (SWIG_arg_fail(1)) SWIG_fail
;
8712 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8713 if (SWIG_arg_fail(2)) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (arg1
)->GetColLabelValue(arg2
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8735 static PyObject
*_wrap_PyGridTableBase_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
= NULL
;
8737 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8739 wxString
*arg3
= 0 ;
8740 bool temp3
= false ;
8741 PyObject
* obj0
= 0 ;
8742 PyObject
* obj1
= 0 ;
8743 PyObject
* obj2
= 0 ;
8745 (char *) "self",(char *) "row",(char *) "value", NULL
8748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8750 if (SWIG_arg_fail(1)) SWIG_fail
;
8752 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8753 if (SWIG_arg_fail(2)) SWIG_fail
;
8756 arg3
= wxString_in_helper(obj2
);
8757 if (arg3
== NULL
) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 Py_INCREF(Py_None
); resultobj
= Py_None
;
8782 static PyObject
*_wrap_PyGridTableBase_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
= NULL
;
8784 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8786 wxString
*arg3
= 0 ;
8787 bool temp3
= false ;
8788 PyObject
* obj0
= 0 ;
8789 PyObject
* obj1
= 0 ;
8790 PyObject
* obj2
= 0 ;
8792 (char *) "self",(char *) "col",(char *) "value", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8797 if (SWIG_arg_fail(1)) SWIG_fail
;
8799 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8800 if (SWIG_arg_fail(2)) SWIG_fail
;
8803 arg3
= wxString_in_helper(obj2
);
8804 if (arg3
== NULL
) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 Py_INCREF(Py_None
); resultobj
= Py_None
;
8829 static PyObject
*_wrap_PyGridTableBase_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
= NULL
;
8831 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8833 PyObject
* obj0
= 0 ;
8835 (char *) "self", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
8839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 result
= (bool)(arg1
)->CanHaveAttributes();
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8857 static PyObject
*_wrap_PyGridTableBase_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
= NULL
;
8859 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8862 wxGridCellAttr::wxAttrKind arg4
;
8863 wxGridCellAttr
*result
;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8866 PyObject
* obj2
= 0 ;
8867 PyObject
* obj3
= 0 ;
8869 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail
;
8876 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8877 if (SWIG_arg_fail(2)) SWIG_fail
;
8880 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8881 if (SWIG_arg_fail(3)) SWIG_fail
;
8884 arg4
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj3
));
8885 if (SWIG_arg_fail(4)) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
8903 static PyObject
*_wrap_PyGridTableBase_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
= NULL
;
8905 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8906 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8909 PyObject
* obj0
= 0 ;
8910 PyObject
* obj1
= 0 ;
8911 PyObject
* obj2
= 0 ;
8912 PyObject
* obj3
= 0 ;
8914 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8919 if (SWIG_arg_fail(1)) SWIG_fail
;
8920 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8921 if (SWIG_arg_fail(2)) SWIG_fail
;
8923 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8924 if (SWIG_arg_fail(3)) SWIG_fail
;
8927 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8928 if (SWIG_arg_fail(4)) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 Py_INCREF(Py_None
); resultobj
= Py_None
;
8944 static PyObject
*_wrap_PyGridTableBase_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
= NULL
;
8946 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8947 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8950 PyObject
* obj1
= 0 ;
8951 PyObject
* obj2
= 0 ;
8953 (char *) "self",(char *) "attr",(char *) "row", NULL
8956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8958 if (SWIG_arg_fail(1)) SWIG_fail
;
8959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8960 if (SWIG_arg_fail(2)) SWIG_fail
;
8962 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8963 if (SWIG_arg_fail(3)) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 (arg1
)->SetRowAttr(arg2
,arg3
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 Py_INCREF(Py_None
); resultobj
= Py_None
;
8979 static PyObject
*_wrap_PyGridTableBase_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
= NULL
;
8981 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8982 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8984 PyObject
* obj0
= 0 ;
8985 PyObject
* obj1
= 0 ;
8986 PyObject
* obj2
= 0 ;
8988 (char *) "self",(char *) "attr",(char *) "col", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8993 if (SWIG_arg_fail(1)) SWIG_fail
;
8994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8995 if (SWIG_arg_fail(2)) SWIG_fail
;
8997 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8998 if (SWIG_arg_fail(3)) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 (arg1
)->SetColAttr(arg2
,arg3
);
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 Py_INCREF(Py_None
); resultobj
= Py_None
;
9014 static PyObject
* PyGridTableBase_swigregister(PyObject
*, PyObject
*args
) {
9016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9017 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
9019 return Py_BuildValue((char *)"");
9021 static PyObject
*_wrap_new_GridStringTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
= NULL
;
9023 int arg1
= (int) 0 ;
9024 int arg2
= (int) 0 ;
9025 wxGridStringTable
*result
;
9026 PyObject
* obj0
= 0 ;
9027 PyObject
* obj1
= 0 ;
9029 (char *) "numRows",(char *) "numCols", NULL
9032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
9035 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9036 if (SWIG_arg_fail(1)) SWIG_fail
;
9041 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9042 if (SWIG_arg_fail(2)) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
9059 static PyObject
* GridStringTable_swigregister(PyObject
*, PyObject
*args
) {
9061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9062 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
9064 return Py_BuildValue((char *)"");
9066 static PyObject
*_wrap_new_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
= NULL
;
9068 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9070 int arg3
= (int) -1 ;
9071 int arg4
= (int) -1 ;
9072 wxGridTableMessage
*result
;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9075 PyObject
* obj2
= 0 ;
9076 PyObject
* obj3
= 0 ;
9078 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
9083 if (SWIG_arg_fail(1)) SWIG_fail
;
9085 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9086 if (SWIG_arg_fail(2)) SWIG_fail
;
9090 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9091 if (SWIG_arg_fail(3)) SWIG_fail
;
9096 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9097 if (SWIG_arg_fail(4)) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
9114 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
= NULL
;
9116 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9117 PyObject
* obj0
= 0 ;
9119 (char *) "self", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
9123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9124 if (SWIG_arg_fail(1)) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 Py_INCREF(Py_None
); resultobj
= Py_None
;
9139 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
= NULL
;
9141 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9142 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj1
= 0 ;
9146 (char *) "self",(char *) "table", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
9150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail
;
9152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
9153 if (SWIG_arg_fail(2)) SWIG_fail
;
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 (arg1
)->SetTableObject(arg2
);
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9161 Py_INCREF(Py_None
); resultobj
= Py_None
;
9168 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
= NULL
;
9170 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9171 wxGridTableBase
*result
;
9172 PyObject
* obj0
= 0 ;
9174 (char *) "self", NULL
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
9178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9179 if (SWIG_arg_fail(1)) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
9196 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
= NULL
;
9198 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9200 PyObject
* obj0
= 0 ;
9201 PyObject
* obj1
= 0 ;
9203 (char *) "self",(char *) "id", NULL
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
9207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9208 if (SWIG_arg_fail(1)) SWIG_fail
;
9210 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9211 if (SWIG_arg_fail(2)) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 (arg1
)->SetId(arg2
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 Py_INCREF(Py_None
); resultobj
= Py_None
;
9227 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
*resultobj
= NULL
;
9229 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9231 PyObject
* obj0
= 0 ;
9233 (char *) "self", NULL
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
9237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9238 if (SWIG_arg_fail(1)) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= (int)(arg1
)->GetId();
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_From_int(static_cast<int >(result
));
9255 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
= NULL
;
9257 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9259 PyObject
* obj0
= 0 ;
9260 PyObject
* obj1
= 0 ;
9262 (char *) "self",(char *) "comInt1", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9267 if (SWIG_arg_fail(1)) SWIG_fail
;
9269 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9270 if (SWIG_arg_fail(2)) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 (arg1
)->SetCommandInt(arg2
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 Py_INCREF(Py_None
); resultobj
= Py_None
;
9286 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
= NULL
;
9288 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "self", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
9296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9297 if (SWIG_arg_fail(1)) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (int)(arg1
)->GetCommandInt();
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= SWIG_From_int(static_cast<int >(result
));
9314 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
= NULL
;
9316 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9318 PyObject
* obj0
= 0 ;
9319 PyObject
* obj1
= 0 ;
9321 (char *) "self",(char *) "comInt2", NULL
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
9325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9326 if (SWIG_arg_fail(1)) SWIG_fail
;
9328 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9329 if (SWIG_arg_fail(2)) SWIG_fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 (arg1
)->SetCommandInt2(arg2
);
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9338 Py_INCREF(Py_None
); resultobj
= Py_None
;
9345 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
= NULL
;
9347 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9349 PyObject
* obj0
= 0 ;
9351 (char *) "self", NULL
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
9355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9356 if (SWIG_arg_fail(1)) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (int)(arg1
)->GetCommandInt2();
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_From_int(static_cast<int >(result
));
9373 static PyObject
* GridTableMessage_swigregister(PyObject
*, PyObject
*args
) {
9375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9376 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
9378 return Py_BuildValue((char *)"");
9380 static PyObject
*_wrap_new_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
= NULL
;
9382 int arg1
= (int) -1 ;
9383 int arg2
= (int) -1 ;
9384 wxGridCellCoords
*result
;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9388 (char *) "r",(char *) "c", NULL
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
9394 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9395 if (SWIG_arg_fail(1)) SWIG_fail
;
9400 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9401 if (SWIG_arg_fail(2)) SWIG_fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
9418 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
= NULL
;
9420 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9423 (char *) "self", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
9427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9428 if (SWIG_arg_fail(1)) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 Py_INCREF(Py_None
); resultobj
= Py_None
;
9443 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
= NULL
;
9445 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9447 PyObject
* obj0
= 0 ;
9449 (char *) "self", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
9453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail
;
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_From_int(static_cast<int >(result
));
9471 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
= NULL
;
9473 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9475 PyObject
* obj0
= 0 ;
9476 PyObject
* obj1
= 0 ;
9478 (char *) "self",(char *) "n", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9483 if (SWIG_arg_fail(1)) SWIG_fail
;
9485 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9486 if (SWIG_arg_fail(2)) SWIG_fail
;
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 (arg1
)->SetRow(arg2
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9495 Py_INCREF(Py_None
); resultobj
= Py_None
;
9502 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
*resultobj
= NULL
;
9504 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9506 PyObject
* obj0
= 0 ;
9508 (char *) "self", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
9512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9513 if (SWIG_arg_fail(1)) SWIG_fail
;
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= SWIG_From_int(static_cast<int >(result
));
9530 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
= NULL
;
9532 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9534 PyObject
* obj0
= 0 ;
9535 PyObject
* obj1
= 0 ;
9537 (char *) "self",(char *) "n", NULL
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9542 if (SWIG_arg_fail(1)) SWIG_fail
;
9544 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9545 if (SWIG_arg_fail(2)) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 (arg1
)->SetCol(arg2
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9554 Py_INCREF(Py_None
); resultobj
= Py_None
;
9561 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
= NULL
;
9563 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9566 PyObject
* obj0
= 0 ;
9567 PyObject
* obj1
= 0 ;
9568 PyObject
* obj2
= 0 ;
9570 (char *) "self",(char *) "row",(char *) "col", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9575 if (SWIG_arg_fail(1)) SWIG_fail
;
9577 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9578 if (SWIG_arg_fail(2)) SWIG_fail
;
9581 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9582 if (SWIG_arg_fail(3)) SWIG_fail
;
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 (arg1
)->Set(arg2
,arg3
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 Py_INCREF(Py_None
); resultobj
= Py_None
;
9598 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
= NULL
;
9600 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9601 wxGridCellCoords
*arg2
= 0 ;
9603 wxGridCellCoords temp2
;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj1
= 0 ;
9607 (char *) "self",(char *) "other", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9612 if (SWIG_arg_fail(1)) SWIG_fail
;
9615 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9633 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
= NULL
;
9635 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9636 wxGridCellCoords
*arg2
= 0 ;
9638 wxGridCellCoords temp2
;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9642 (char *) "self",(char *) "other", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9647 if (SWIG_arg_fail(1)) SWIG_fail
;
9650 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9668 static PyObject
*_wrap_GridCellCoords_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
= NULL
;
9670 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9672 PyObject
* obj0
= 0 ;
9674 (char *) "self", NULL
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_Get",kwnames
,&obj0
)) goto fail
;
9678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9679 if (SWIG_arg_fail(1)) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9694 static PyObject
* GridCellCoords_swigregister(PyObject
*, PyObject
*args
) {
9696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9697 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
9699 return Py_BuildValue((char *)"");
9701 static PyObject
*_wrap_new_Grid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
= NULL
;
9703 wxWindow
*arg1
= (wxWindow
*) 0 ;
9704 int arg2
= (int) -1 ;
9705 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9706 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9707 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9708 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9709 long arg5
= (long) wxWANTS_CHARS
;
9710 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9711 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9715 bool temp6
= false ;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9718 PyObject
* obj2
= 0 ;
9719 PyObject
* obj3
= 0 ;
9720 PyObject
* obj4
= 0 ;
9721 PyObject
* obj5
= 0 ;
9723 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9728 if (SWIG_arg_fail(1)) SWIG_fail
;
9731 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9732 if (SWIG_arg_fail(2)) SWIG_fail
;
9738 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9744 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9749 arg5
= static_cast<long >(SWIG_As_long(obj4
));
9750 if (SWIG_arg_fail(5)) SWIG_fail
;
9755 arg6
= wxString_in_helper(obj5
);
9756 if (arg6
== NULL
) SWIG_fail
;
9761 if (!wxPyCheckForApp()) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
9783 static PyObject
*_wrap_new_PreGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
= NULL
;
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGrid",kwnames
)) goto fail
;
9792 if (!wxPyCheckForApp()) SWIG_fail
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (wxGrid
*)new wxGrid();
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
9806 static PyObject
*_wrap_Grid_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
*resultobj
= NULL
;
9808 wxGrid
*arg1
= (wxGrid
*) 0 ;
9809 wxWindow
*arg2
= (wxWindow
*) 0 ;
9810 int arg3
= (int) -1 ;
9811 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9812 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9813 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9814 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9815 long arg6
= (long) wxWANTS_CHARS
;
9816 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9817 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9821 bool temp7
= false ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9824 PyObject
* obj2
= 0 ;
9825 PyObject
* obj3
= 0 ;
9826 PyObject
* obj4
= 0 ;
9827 PyObject
* obj5
= 0 ;
9828 PyObject
* obj6
= 0 ;
9830 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9835 if (SWIG_arg_fail(1)) SWIG_fail
;
9836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9837 if (SWIG_arg_fail(2)) SWIG_fail
;
9840 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9841 if (SWIG_arg_fail(3)) SWIG_fail
;
9847 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9853 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9858 arg6
= static_cast<long >(SWIG_As_long(obj5
));
9859 if (SWIG_arg_fail(6)) SWIG_fail
;
9864 arg7
= wxString_in_helper(obj6
);
9865 if (arg7
== NULL
) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9893 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
= NULL
;
9895 wxGrid
*arg1
= (wxGrid
*) 0 ;
9898 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
9900 PyObject
* obj0
= 0 ;
9901 PyObject
* obj1
= 0 ;
9902 PyObject
* obj2
= 0 ;
9903 PyObject
* obj3
= 0 ;
9905 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9910 if (SWIG_arg_fail(1)) SWIG_fail
;
9912 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9913 if (SWIG_arg_fail(2)) SWIG_fail
;
9916 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9917 if (SWIG_arg_fail(3)) SWIG_fail
;
9921 arg4
= static_cast<WXGRIDSELECTIONMODES
>(SWIG_As_int(obj3
));
9922 if (SWIG_arg_fail(4)) SWIG_fail
;
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9927 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9941 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
= NULL
;
9943 wxGrid
*arg1
= (wxGrid
*) 0 ;
9944 WXGRIDSELECTIONMODES arg2
;
9945 PyObject
* obj0
= 0 ;
9946 PyObject
* obj1
= 0 ;
9948 (char *) "self",(char *) "selmode", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
9952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9953 if (SWIG_arg_fail(1)) SWIG_fail
;
9955 arg2
= static_cast<WXGRIDSELECTIONMODES
>(SWIG_As_int(obj1
));
9956 if (SWIG_arg_fail(2)) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 (arg1
)->SetSelectionMode(arg2
);
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 Py_INCREF(Py_None
); resultobj
= Py_None
;
9972 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
= NULL
;
9974 wxGrid
*arg1
= (wxGrid
*) 0 ;
9975 WXGRIDSELECTIONMODES result
;
9976 PyObject
* obj0
= 0 ;
9978 (char *) "self", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
9982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9983 if (SWIG_arg_fail(1)) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9992 resultobj
= SWIG_From_int(static_cast<int >(result
));
10000 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
= NULL
;
10002 wxGrid
*arg1
= (wxGrid
*) 0 ;
10004 PyObject
* obj0
= 0 ;
10005 char *kwnames
[] = {
10006 (char *) "self", NULL
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
10010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10011 if (SWIG_arg_fail(1)) SWIG_fail
;
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 result
= (int)(arg1
)->GetNumberRows();
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= SWIG_From_int(static_cast<int >(result
));
10028 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
= NULL
;
10030 wxGrid
*arg1
= (wxGrid
*) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
10038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10039 if (SWIG_arg_fail(1)) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (int)(arg1
)->GetNumberCols();
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= SWIG_From_int(static_cast<int >(result
));
10056 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
= NULL
;
10058 wxGrid
*arg1
= (wxGrid
*) 0 ;
10059 wxGridTableMessage
*arg2
= 0 ;
10061 PyObject
* obj0
= 0 ;
10062 PyObject
* obj1
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "self","arg2", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10069 if (SWIG_arg_fail(1)) SWIG_fail
;
10071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
10072 if (SWIG_arg_fail(2)) SWIG_fail
;
10073 if (arg2
== NULL
) {
10074 SWIG_null_ref("wxGridTableMessage");
10076 if (SWIG_arg_fail(2)) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10094 static PyObject
*_wrap_Grid_GetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
*resultobj
= NULL
;
10096 wxGrid
*arg1
= (wxGrid
*) 0 ;
10097 wxGridTableBase
*result
;
10098 PyObject
* obj0
= 0 ;
10099 char *kwnames
[] = {
10100 (char *) "self", NULL
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
10104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10105 if (SWIG_arg_fail(1)) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
10122 static PyObject
*_wrap_Grid_SetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
= NULL
;
10124 wxGrid
*arg1
= (wxGrid
*) 0 ;
10125 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
10126 bool arg3
= (bool) false ;
10127 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10129 PyObject
* obj0
= 0 ;
10130 PyObject
* obj1
= 0 ;
10131 PyObject
* obj2
= 0 ;
10132 PyObject
* obj3
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10139 if (SWIG_arg_fail(1)) SWIG_fail
;
10140 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
10141 if (SWIG_arg_fail(2)) SWIG_fail
;
10144 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10145 if (SWIG_arg_fail(3)) SWIG_fail
;
10150 arg4
= static_cast<WXGRIDSELECTIONMODES
>(SWIG_As_int(obj3
));
10151 if (SWIG_arg_fail(4)) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10170 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
= NULL
;
10172 wxGrid
*arg1
= (wxGrid
*) 0 ;
10173 PyObject
* obj0
= 0 ;
10174 char *kwnames
[] = {
10175 (char *) "self", NULL
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
10179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10180 if (SWIG_arg_fail(1)) SWIG_fail
;
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 (arg1
)->ClearGrid();
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 Py_INCREF(Py_None
); resultobj
= Py_None
;
10195 static PyObject
*_wrap_Grid_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
= NULL
;
10197 wxGrid
*arg1
= (wxGrid
*) 0 ;
10198 int arg2
= (int) 0 ;
10199 int arg3
= (int) 1 ;
10200 bool arg4
= (bool) true ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10204 PyObject
* obj2
= 0 ;
10205 PyObject
* obj3
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10212 if (SWIG_arg_fail(1)) SWIG_fail
;
10215 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10216 if (SWIG_arg_fail(2)) SWIG_fail
;
10221 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10222 if (SWIG_arg_fail(3)) SWIG_fail
;
10227 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10228 if (SWIG_arg_fail(4)) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10247 static PyObject
*_wrap_Grid_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
= NULL
;
10249 wxGrid
*arg1
= (wxGrid
*) 0 ;
10250 int arg2
= (int) 1 ;
10251 bool arg3
= (bool) true ;
10253 PyObject
* obj0
= 0 ;
10254 PyObject
* obj1
= 0 ;
10255 PyObject
* obj2
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10262 if (SWIG_arg_fail(1)) SWIG_fail
;
10265 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10266 if (SWIG_arg_fail(2)) SWIG_fail
;
10271 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10272 if (SWIG_arg_fail(3)) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10291 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
= NULL
;
10293 wxGrid
*arg1
= (wxGrid
*) 0 ;
10294 int arg2
= (int) 0 ;
10295 int arg3
= (int) 1 ;
10296 bool arg4
= (bool) true ;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj1
= 0 ;
10300 PyObject
* obj2
= 0 ;
10301 PyObject
* obj3
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10308 if (SWIG_arg_fail(1)) SWIG_fail
;
10311 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10312 if (SWIG_arg_fail(2)) SWIG_fail
;
10317 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10318 if (SWIG_arg_fail(3)) SWIG_fail
;
10323 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10324 if (SWIG_arg_fail(4)) SWIG_fail
;
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10343 static PyObject
*_wrap_Grid_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
= NULL
;
10345 wxGrid
*arg1
= (wxGrid
*) 0 ;
10346 int arg2
= (int) 0 ;
10347 int arg3
= (int) 1 ;
10348 bool arg4
= (bool) true ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 PyObject
* obj2
= 0 ;
10353 PyObject
* obj3
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10360 if (SWIG_arg_fail(1)) SWIG_fail
;
10363 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10364 if (SWIG_arg_fail(2)) SWIG_fail
;
10369 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10370 if (SWIG_arg_fail(3)) SWIG_fail
;
10375 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10376 if (SWIG_arg_fail(4)) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10395 static PyObject
*_wrap_Grid_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
= NULL
;
10397 wxGrid
*arg1
= (wxGrid
*) 0 ;
10398 int arg2
= (int) 1 ;
10399 bool arg3
= (bool) true ;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10403 PyObject
* obj2
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10410 if (SWIG_arg_fail(1)) SWIG_fail
;
10413 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10414 if (SWIG_arg_fail(2)) SWIG_fail
;
10419 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10420 if (SWIG_arg_fail(3)) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10439 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
= NULL
;
10441 wxGrid
*arg1
= (wxGrid
*) 0 ;
10442 int arg2
= (int) 0 ;
10443 int arg3
= (int) 1 ;
10444 bool arg4
= (bool) true ;
10446 PyObject
* obj0
= 0 ;
10447 PyObject
* obj1
= 0 ;
10448 PyObject
* obj2
= 0 ;
10449 PyObject
* obj3
= 0 ;
10450 char *kwnames
[] = {
10451 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10456 if (SWIG_arg_fail(1)) SWIG_fail
;
10459 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10460 if (SWIG_arg_fail(2)) SWIG_fail
;
10465 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10466 if (SWIG_arg_fail(3)) SWIG_fail
;
10471 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10472 if (SWIG_arg_fail(4)) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10491 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
= NULL
;
10493 wxGrid
*arg1
= (wxGrid
*) 0 ;
10495 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 PyObject
* obj1
= 0 ;
10498 PyObject
* obj2
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "self",(char *) "dc",(char *) "attr", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10505 if (SWIG_arg_fail(1)) SWIG_fail
;
10507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10508 if (SWIG_arg_fail(2)) SWIG_fail
;
10509 if (arg2
== NULL
) {
10510 SWIG_null_ref("wxDC");
10512 if (SWIG_arg_fail(2)) SWIG_fail
;
10514 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
10515 if (SWIG_arg_fail(3)) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 Py_INCREF(Py_None
); resultobj
= Py_None
;
10530 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
= NULL
;
10532 wxGrid
*arg1
= (wxGrid
*) 0 ;
10534 wxString
*arg3
= 0 ;
10536 int arg5
= (int) wxLEFT
;
10537 int arg6
= (int) wxTOP
;
10538 int arg7
= (int) wxHORIZONTAL
;
10539 bool temp3
= false ;
10541 PyObject
* obj0
= 0 ;
10542 PyObject
* obj1
= 0 ;
10543 PyObject
* obj2
= 0 ;
10544 PyObject
* obj3
= 0 ;
10545 PyObject
* obj4
= 0 ;
10546 PyObject
* obj5
= 0 ;
10547 PyObject
* obj6
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10554 if (SWIG_arg_fail(1)) SWIG_fail
;
10556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10557 if (SWIG_arg_fail(2)) SWIG_fail
;
10558 if (arg2
== NULL
) {
10559 SWIG_null_ref("wxDC");
10561 if (SWIG_arg_fail(2)) SWIG_fail
;
10564 arg3
= wxString_in_helper(obj2
);
10565 if (arg3
== NULL
) SWIG_fail
;
10570 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
10574 arg5
= static_cast<int >(SWIG_As_int(obj4
));
10575 if (SWIG_arg_fail(5)) SWIG_fail
;
10580 arg6
= static_cast<int >(SWIG_As_int(obj5
));
10581 if (SWIG_arg_fail(6)) SWIG_fail
;
10586 arg7
= static_cast<int >(SWIG_As_int(obj6
));
10587 if (SWIG_arg_fail(7)) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 Py_INCREF(Py_None
); resultobj
= Py_None
;
10612 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
= NULL
;
10614 wxGrid
*arg1
= (wxGrid
*) 0 ;
10616 wxArrayString
*arg3
= 0 ;
10617 long *arg4
= (long *) 0 ;
10618 long *arg5
= (long *) 0 ;
10619 bool temp3
= false ;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 PyObject
* obj2
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "self",(char *) "dc",(char *) "lines", NULL
10631 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10632 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10635 if (SWIG_arg_fail(1)) SWIG_fail
;
10637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10638 if (SWIG_arg_fail(2)) SWIG_fail
;
10639 if (arg2
== NULL
) {
10640 SWIG_null_ref("wxDC");
10642 if (SWIG_arg_fail(2)) SWIG_fail
;
10645 if (! PySequence_Check(obj2
)) {
10646 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10649 arg3
= new wxArrayString
;
10651 int i
, len
=PySequence_Length(obj2
);
10652 for (i
=0; i
<len
; i
++) {
10653 PyObject
* item
= PySequence_GetItem(obj2
, i
);
10654 wxString
* s
= wxString_in_helper(item
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 Py_INCREF(Py_None
); resultobj
= Py_None
;
10669 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10670 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10671 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
10672 SWIG_From_long((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, 0)));
10674 if (temp3
) delete arg3
;
10679 if (temp3
) delete arg3
;
10685 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
= NULL
;
10687 wxGrid
*arg1
= (wxGrid
*) 0 ;
10688 PyObject
* obj0
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
10694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10695 if (SWIG_arg_fail(1)) SWIG_fail
;
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 (arg1
)->BeginBatch();
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10703 Py_INCREF(Py_None
); resultobj
= Py_None
;
10710 static PyObject
*_wrap_Grid_EndBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
*resultobj
= NULL
;
10712 wxGrid
*arg1
= (wxGrid
*) 0 ;
10713 PyObject
* obj0
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "self", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
10719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10720 if (SWIG_arg_fail(1)) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 (arg1
)->EndBatch();
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 Py_INCREF(Py_None
); resultobj
= Py_None
;
10735 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
= NULL
;
10737 wxGrid
*arg1
= (wxGrid
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 char *kwnames
[] = {
10741 (char *) "self", NULL
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
10745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10746 if (SWIG_arg_fail(1)) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= (int)(arg1
)->GetBatchCount();
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= SWIG_From_int(static_cast<int >(result
));
10763 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
= NULL
;
10765 wxGrid
*arg1
= (wxGrid
*) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
10772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10773 if (SWIG_arg_fail(1)) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 (arg1
)->ForceRefresh();
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 Py_INCREF(Py_None
); resultobj
= Py_None
;
10788 static PyObject
*_wrap_Grid_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
= NULL
;
10790 wxGrid
*arg1
= (wxGrid
*) 0 ;
10792 PyObject
* obj0
= 0 ;
10793 char *kwnames
[] = {
10794 (char *) "self", NULL
10797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
10798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10799 if (SWIG_arg_fail(1)) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (bool)(arg1
)->IsEditable();
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10816 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
= NULL
;
10818 wxGrid
*arg1
= (wxGrid
*) 0 ;
10820 PyObject
* obj0
= 0 ;
10821 PyObject
* obj1
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "self",(char *) "edit", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
10827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10828 if (SWIG_arg_fail(1)) SWIG_fail
;
10830 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10831 if (SWIG_arg_fail(2)) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 (arg1
)->EnableEditing(arg2
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 Py_INCREF(Py_None
); resultobj
= Py_None
;
10847 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
= NULL
;
10849 wxGrid
*arg1
= (wxGrid
*) 0 ;
10850 bool arg2
= (bool) true ;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 char *kwnames
[] = {
10854 (char *) "self",(char *) "enable", NULL
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
10858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10859 if (SWIG_arg_fail(1)) SWIG_fail
;
10862 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10863 if (SWIG_arg_fail(2)) SWIG_fail
;
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 (arg1
)->EnableCellEditControl(arg2
);
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10873 Py_INCREF(Py_None
); resultobj
= Py_None
;
10880 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
= NULL
;
10882 wxGrid
*arg1
= (wxGrid
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "self", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
10889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10890 if (SWIG_arg_fail(1)) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 (arg1
)->DisableCellEditControl();
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 Py_INCREF(Py_None
); resultobj
= Py_None
;
10905 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
= NULL
;
10907 wxGrid
*arg1
= (wxGrid
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
10915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10916 if (SWIG_arg_fail(1)) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10933 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
= NULL
;
10935 wxGrid
*arg1
= (wxGrid
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
10943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10944 if (SWIG_arg_fail(1)) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10961 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
= NULL
;
10963 wxGrid
*arg1
= (wxGrid
*) 0 ;
10965 PyObject
* obj0
= 0 ;
10966 char *kwnames
[] = {
10967 (char *) "self", NULL
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
10971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10972 if (SWIG_arg_fail(1)) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10989 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10990 PyObject
*resultobj
= NULL
;
10991 wxGrid
*arg1
= (wxGrid
*) 0 ;
10993 PyObject
* obj0
= 0 ;
10994 char *kwnames
[] = {
10995 (char *) "self", NULL
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
10999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11000 if (SWIG_arg_fail(1)) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11017 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
= NULL
;
11019 wxGrid
*arg1
= (wxGrid
*) 0 ;
11020 PyObject
* obj0
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
11026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11027 if (SWIG_arg_fail(1)) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 (arg1
)->ShowCellEditControl();
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 Py_INCREF(Py_None
); resultobj
= Py_None
;
11042 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
= NULL
;
11044 wxGrid
*arg1
= (wxGrid
*) 0 ;
11045 PyObject
* obj0
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "self", NULL
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
11051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11052 if (SWIG_arg_fail(1)) SWIG_fail
;
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 (arg1
)->HideCellEditControl();
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11060 Py_INCREF(Py_None
); resultobj
= Py_None
;
11067 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
= NULL
;
11069 wxGrid
*arg1
= (wxGrid
*) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
11076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11077 if (SWIG_arg_fail(1)) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 (arg1
)->SaveEditControlValue();
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 Py_INCREF(Py_None
); resultobj
= Py_None
;
11092 static PyObject
*_wrap_Grid_XYToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
= NULL
;
11094 wxGrid
*arg1
= (wxGrid
*) 0 ;
11097 wxGridCellCoords result
;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 PyObject
* obj2
= 0 ;
11101 char *kwnames
[] = {
11102 (char *) "self",(char *) "x",(char *) "y", NULL
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11107 if (SWIG_arg_fail(1)) SWIG_fail
;
11109 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11110 if (SWIG_arg_fail(2)) SWIG_fail
;
11113 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11114 if (SWIG_arg_fail(3)) SWIG_fail
;
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11124 wxGridCellCoords
* resultptr
;
11125 resultptr
= new wxGridCellCoords(static_cast<wxGridCellCoords
& >(result
));
11126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
11134 static PyObject
*_wrap_Grid_YToRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
*resultobj
= NULL
;
11136 wxGrid
*arg1
= (wxGrid
*) 0 ;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "self",(char *) "y", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
11146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11147 if (SWIG_arg_fail(1)) SWIG_fail
;
11149 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11150 if (SWIG_arg_fail(2)) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 result
= (int)(arg1
)->YToRow(arg2
);
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11160 resultobj
= SWIG_From_int(static_cast<int >(result
));
11168 static PyObject
*_wrap_Grid_XToCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
= NULL
;
11170 wxGrid
*arg1
= (wxGrid
*) 0 ;
11173 PyObject
* obj0
= 0 ;
11174 PyObject
* obj1
= 0 ;
11175 char *kwnames
[] = {
11176 (char *) "self",(char *) "x", NULL
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
11180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11181 if (SWIG_arg_fail(1)) SWIG_fail
;
11183 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11184 if (SWIG_arg_fail(2)) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= (int)(arg1
)->XToCol(arg2
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11194 resultobj
= SWIG_From_int(static_cast<int >(result
));
11202 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
= NULL
;
11204 wxGrid
*arg1
= (wxGrid
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self",(char *) "y", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
11214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11215 if (SWIG_arg_fail(1)) SWIG_fail
;
11217 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11218 if (SWIG_arg_fail(2)) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11228 resultobj
= SWIG_From_int(static_cast<int >(result
));
11236 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
= NULL
;
11238 wxGrid
*arg1
= (wxGrid
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 char *kwnames
[] = {
11244 (char *) "self",(char *) "x", NULL
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
11248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11249 if (SWIG_arg_fail(1)) SWIG_fail
;
11251 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11252 if (SWIG_arg_fail(2)) SWIG_fail
;
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11262 resultobj
= SWIG_From_int(static_cast<int >(result
));
11270 static PyObject
*_wrap_Grid_CellToRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
= NULL
;
11272 wxGrid
*arg1
= (wxGrid
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 PyObject
* obj2
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self",(char *) "row",(char *) "col", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11285 if (SWIG_arg_fail(1)) SWIG_fail
;
11287 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11288 if (SWIG_arg_fail(2)) SWIG_fail
;
11291 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11292 if (SWIG_arg_fail(3)) SWIG_fail
;
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 result
= (arg1
)->CellToRect(arg2
,arg3
);
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11302 wxRect
* resultptr
;
11303 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
11304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
11312 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
= NULL
;
11314 wxGrid
*arg1
= (wxGrid
*) 0 ;
11316 PyObject
* obj0
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "self", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
11322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11323 if (SWIG_arg_fail(1)) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (int)(arg1
)->GetGridCursorRow();
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11332 resultobj
= SWIG_From_int(static_cast<int >(result
));
11340 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
= NULL
;
11342 wxGrid
*arg1
= (wxGrid
*) 0 ;
11344 PyObject
* obj0
= 0 ;
11345 char *kwnames
[] = {
11346 (char *) "self", NULL
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
11350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11351 if (SWIG_arg_fail(1)) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (int)(arg1
)->GetGridCursorCol();
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= SWIG_From_int(static_cast<int >(result
));
11368 static PyObject
*_wrap_Grid_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
= NULL
;
11370 wxGrid
*arg1
= (wxGrid
*) 0 ;
11373 bool arg4
= (bool) true ;
11375 PyObject
* obj0
= 0 ;
11376 PyObject
* obj1
= 0 ;
11377 PyObject
* obj2
= 0 ;
11378 PyObject
* obj3
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11385 if (SWIG_arg_fail(1)) SWIG_fail
;
11387 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11388 if (SWIG_arg_fail(2)) SWIG_fail
;
11391 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11392 if (SWIG_arg_fail(3)) SWIG_fail
;
11396 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
11397 if (SWIG_arg_fail(4)) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11416 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
*resultobj
= NULL
;
11418 wxGrid
*arg1
= (wxGrid
*) 0 ;
11421 PyObject
* obj0
= 0 ;
11422 PyObject
* obj1
= 0 ;
11423 PyObject
* obj2
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "self",(char *) "row",(char *) "col", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11430 if (SWIG_arg_fail(1)) SWIG_fail
;
11432 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11433 if (SWIG_arg_fail(2)) SWIG_fail
;
11436 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11437 if (SWIG_arg_fail(3)) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 (arg1
)->MakeCellVisible(arg2
,arg3
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 Py_INCREF(Py_None
); resultobj
= Py_None
;
11453 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
= NULL
;
11455 wxGrid
*arg1
= (wxGrid
*) 0 ;
11458 PyObject
* obj0
= 0 ;
11459 PyObject
* obj1
= 0 ;
11460 PyObject
* obj2
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self",(char *) "row",(char *) "col", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11467 if (SWIG_arg_fail(1)) SWIG_fail
;
11469 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11470 if (SWIG_arg_fail(2)) SWIG_fail
;
11473 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11474 if (SWIG_arg_fail(3)) SWIG_fail
;
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 (arg1
)->SetGridCursor(arg2
,arg3
);
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 Py_INCREF(Py_None
); resultobj
= Py_None
;
11490 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
= NULL
;
11492 wxGrid
*arg1
= (wxGrid
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 char *kwnames
[] = {
11498 (char *) "self",(char *) "expandSelection", NULL
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11506 if (SWIG_arg_fail(2)) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11524 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
= NULL
;
11526 wxGrid
*arg1
= (wxGrid
*) 0 ;
11529 PyObject
* obj0
= 0 ;
11530 PyObject
* obj1
= 0 ;
11531 char *kwnames
[] = {
11532 (char *) "self",(char *) "expandSelection", NULL
11535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11537 if (SWIG_arg_fail(1)) SWIG_fail
;
11539 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11540 if (SWIG_arg_fail(2)) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11558 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
= NULL
;
11560 wxGrid
*arg1
= (wxGrid
*) 0 ;
11563 PyObject
* obj0
= 0 ;
11564 PyObject
* obj1
= 0 ;
11565 char *kwnames
[] = {
11566 (char *) "self",(char *) "expandSelection", NULL
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
11570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11571 if (SWIG_arg_fail(1)) SWIG_fail
;
11573 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11574 if (SWIG_arg_fail(2)) SWIG_fail
;
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11592 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11593 PyObject
*resultobj
= NULL
;
11594 wxGrid
*arg1
= (wxGrid
*) 0 ;
11597 PyObject
* obj0
= 0 ;
11598 PyObject
* obj1
= 0 ;
11599 char *kwnames
[] = {
11600 (char *) "self",(char *) "expandSelection", NULL
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
11604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11605 if (SWIG_arg_fail(1)) SWIG_fail
;
11607 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11608 if (SWIG_arg_fail(2)) SWIG_fail
;
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11626 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
= NULL
;
11628 wxGrid
*arg1
= (wxGrid
*) 0 ;
11630 PyObject
* obj0
= 0 ;
11631 char *kwnames
[] = {
11632 (char *) "self", NULL
11635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
11636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11637 if (SWIG_arg_fail(1)) SWIG_fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 result
= (bool)(arg1
)->MovePageDown();
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11654 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
= NULL
;
11656 wxGrid
*arg1
= (wxGrid
*) 0 ;
11658 PyObject
* obj0
= 0 ;
11659 char *kwnames
[] = {
11660 (char *) "self", NULL
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
11664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11665 if (SWIG_arg_fail(1)) SWIG_fail
;
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (bool)(arg1
)->MovePageUp();
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11682 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
= NULL
;
11684 wxGrid
*arg1
= (wxGrid
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "self",(char *) "expandSelection", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11698 if (SWIG_arg_fail(2)) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11716 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
= NULL
;
11718 wxGrid
*arg1
= (wxGrid
*) 0 ;
11721 PyObject
* obj0
= 0 ;
11722 PyObject
* obj1
= 0 ;
11723 char *kwnames
[] = {
11724 (char *) "self",(char *) "expandSelection", NULL
11727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11729 if (SWIG_arg_fail(1)) SWIG_fail
;
11731 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11732 if (SWIG_arg_fail(2)) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11750 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
= NULL
;
11752 wxGrid
*arg1
= (wxGrid
*) 0 ;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 char *kwnames
[] = {
11758 (char *) "self",(char *) "expandSelection", NULL
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11763 if (SWIG_arg_fail(1)) SWIG_fail
;
11765 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11766 if (SWIG_arg_fail(2)) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11784 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
= NULL
;
11786 wxGrid
*arg1
= (wxGrid
*) 0 ;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 char *kwnames
[] = {
11792 (char *) "self",(char *) "expandSelection", NULL
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11797 if (SWIG_arg_fail(1)) SWIG_fail
;
11799 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11800 if (SWIG_arg_fail(2)) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11818 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
= NULL
;
11820 wxGrid
*arg1
= (wxGrid
*) 0 ;
11822 PyObject
* obj0
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "self", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
11828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11829 if (SWIG_arg_fail(1)) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 result
= (int)(arg1
)->GetDefaultRowLabelSize();
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11838 resultobj
= SWIG_From_int(static_cast<int >(result
));
11846 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
= NULL
;
11848 wxGrid
*arg1
= (wxGrid
*) 0 ;
11850 PyObject
* obj0
= 0 ;
11851 char *kwnames
[] = {
11852 (char *) "self", NULL
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
11856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11857 if (SWIG_arg_fail(1)) SWIG_fail
;
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 result
= (int)(arg1
)->GetRowLabelSize();
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11866 resultobj
= SWIG_From_int(static_cast<int >(result
));
11874 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
= NULL
;
11876 wxGrid
*arg1
= (wxGrid
*) 0 ;
11878 PyObject
* obj0
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "self", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
11884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11885 if (SWIG_arg_fail(1)) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (int)(arg1
)->GetDefaultColLabelSize();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11894 resultobj
= SWIG_From_int(static_cast<int >(result
));
11902 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
= NULL
;
11904 wxGrid
*arg1
= (wxGrid
*) 0 ;
11906 PyObject
* obj0
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
11912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11913 if (SWIG_arg_fail(1)) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= (int)(arg1
)->GetColLabelSize();
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11922 resultobj
= SWIG_From_int(static_cast<int >(result
));
11930 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
= NULL
;
11932 wxGrid
*arg1
= (wxGrid
*) 0 ;
11934 PyObject
* obj0
= 0 ;
11935 char *kwnames
[] = {
11936 (char *) "self", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",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 result
= (arg1
)->GetLabelBackgroundColour();
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11950 wxColour
* resultptr
;
11951 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
11952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11960 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
= NULL
;
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_GetLabelTextColour",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
= (arg1
)->GetLabelTextColour();
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11980 wxColour
* resultptr
;
11981 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
11982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11990 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
= NULL
;
11992 wxGrid
*arg1
= (wxGrid
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 result
= (arg1
)->GetLabelFont();
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12010 wxFont
* resultptr
;
12011 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
12012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12020 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
= NULL
;
12022 wxGrid
*arg1
= (wxGrid
*) 0 ;
12023 int *arg2
= (int *) 0 ;
12024 int *arg3
= (int *) 0 ;
12029 PyObject
* obj0
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self", NULL
12034 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12035 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
12037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12038 if (SWIG_arg_fail(1)) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 Py_INCREF(Py_None
); resultobj
= Py_None
;
12047 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12048 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
12049 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12050 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
12057 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
= NULL
;
12059 wxGrid
*arg1
= (wxGrid
*) 0 ;
12060 int *arg2
= (int *) 0 ;
12061 int *arg3
= (int *) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 char *kwnames
[] = {
12068 (char *) "self", NULL
12071 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12072 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",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 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 Py_INCREF(Py_None
); resultobj
= Py_None
;
12084 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12085 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
12086 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12087 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
12094 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
= NULL
;
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_GetColLabelTextOrientation",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
= (int)(arg1
)->GetColLabelTextOrientation();
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= SWIG_From_int(static_cast<int >(result
));
12122 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
= NULL
;
12124 wxGrid
*arg1
= (wxGrid
*) 0 ;
12127 PyObject
* obj0
= 0 ;
12128 PyObject
* obj1
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self",(char *) "row", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12138 if (SWIG_arg_fail(2)) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (arg1
)->GetRowLabelValue(arg2
);
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12160 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
= NULL
;
12162 wxGrid
*arg1
= (wxGrid
*) 0 ;
12165 PyObject
* obj0
= 0 ;
12166 PyObject
* obj1
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self",(char *) "col", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12173 if (SWIG_arg_fail(1)) SWIG_fail
;
12175 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12176 if (SWIG_arg_fail(2)) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (arg1
)->GetColLabelValue(arg2
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12198 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
= NULL
;
12200 wxGrid
*arg1
= (wxGrid
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
12208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12209 if (SWIG_arg_fail(1)) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 result
= (arg1
)->GetGridLineColour();
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12218 wxColour
* resultptr
;
12219 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
12220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12228 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
= NULL
;
12230 wxGrid
*arg1
= (wxGrid
*) 0 ;
12232 PyObject
* obj0
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
12238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12239 if (SWIG_arg_fail(1)) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 result
= (arg1
)->GetCellHighlightColour();
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12248 wxColour
* resultptr
;
12249 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
12250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12258 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= NULL
;
12260 wxGrid
*arg1
= (wxGrid
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
12268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12269 if (SWIG_arg_fail(1)) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (int)(arg1
)->GetCellHighlightPenWidth();
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= SWIG_From_int(static_cast<int >(result
));
12286 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
= NULL
;
12288 wxGrid
*arg1
= (wxGrid
*) 0 ;
12290 PyObject
* obj0
= 0 ;
12291 char *kwnames
[] = {
12292 (char *) "self", NULL
12295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
12296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12297 if (SWIG_arg_fail(1)) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= SWIG_From_int(static_cast<int >(result
));
12314 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
= NULL
;
12316 wxGrid
*arg1
= (wxGrid
*) 0 ;
12318 PyObject
* obj0
= 0 ;
12319 PyObject
* obj1
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self",(char *) "width", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12326 if (SWIG_arg_fail(1)) SWIG_fail
;
12328 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12329 if (SWIG_arg_fail(2)) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 (arg1
)->SetRowLabelSize(arg2
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 Py_INCREF(Py_None
); resultobj
= Py_None
;
12345 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
= NULL
;
12347 wxGrid
*arg1
= (wxGrid
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "self",(char *) "height", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12357 if (SWIG_arg_fail(1)) SWIG_fail
;
12359 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12360 if (SWIG_arg_fail(2)) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 (arg1
)->SetColLabelSize(arg2
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 Py_INCREF(Py_None
); resultobj
= Py_None
;
12376 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
= NULL
;
12378 wxGrid
*arg1
= (wxGrid
*) 0 ;
12379 wxColour
*arg2
= 0 ;
12381 PyObject
* obj0
= 0 ;
12382 PyObject
* obj1
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self","arg2", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail
;
12392 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 Py_INCREF(Py_None
); resultobj
= Py_None
;
12408 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
= NULL
;
12410 wxGrid
*arg1
= (wxGrid
*) 0 ;
12411 wxColour
*arg2
= 0 ;
12413 PyObject
* obj0
= 0 ;
12414 PyObject
* obj1
= 0 ;
12415 char *kwnames
[] = {
12416 (char *) "self","arg2", NULL
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12421 if (SWIG_arg_fail(1)) SWIG_fail
;
12424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 Py_INCREF(Py_None
); resultobj
= Py_None
;
12440 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
= NULL
;
12442 wxGrid
*arg1
= (wxGrid
*) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 PyObject
* obj1
= 0 ;
12446 char *kwnames
[] = {
12447 (char *) "self","arg2", NULL
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12452 if (SWIG_arg_fail(1)) SWIG_fail
;
12454 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
12455 if (SWIG_arg_fail(2)) SWIG_fail
;
12456 if (arg2
== NULL
) {
12457 SWIG_null_ref("wxFont");
12459 if (SWIG_arg_fail(2)) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 Py_INCREF(Py_None
); resultobj
= Py_None
;
12475 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
= NULL
;
12477 wxGrid
*arg1
= (wxGrid
*) 0 ;
12480 PyObject
* obj0
= 0 ;
12481 PyObject
* obj1
= 0 ;
12482 PyObject
* obj2
= 0 ;
12483 char *kwnames
[] = {
12484 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12489 if (SWIG_arg_fail(1)) SWIG_fail
;
12491 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12492 if (SWIG_arg_fail(2)) SWIG_fail
;
12495 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12496 if (SWIG_arg_fail(3)) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 Py_INCREF(Py_None
); resultobj
= Py_None
;
12512 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
= NULL
;
12514 wxGrid
*arg1
= (wxGrid
*) 0 ;
12517 PyObject
* obj0
= 0 ;
12518 PyObject
* obj1
= 0 ;
12519 PyObject
* obj2
= 0 ;
12520 char *kwnames
[] = {
12521 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12526 if (SWIG_arg_fail(1)) SWIG_fail
;
12528 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12529 if (SWIG_arg_fail(2)) SWIG_fail
;
12532 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12533 if (SWIG_arg_fail(3)) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 Py_INCREF(Py_None
); resultobj
= Py_None
;
12549 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
= NULL
;
12551 wxGrid
*arg1
= (wxGrid
*) 0 ;
12553 PyObject
* obj0
= 0 ;
12554 PyObject
* obj1
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self",(char *) "textOrientation", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
12560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12561 if (SWIG_arg_fail(1)) SWIG_fail
;
12563 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12564 if (SWIG_arg_fail(2)) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 (arg1
)->SetColLabelTextOrientation(arg2
);
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 Py_INCREF(Py_None
); resultobj
= Py_None
;
12580 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
= NULL
;
12582 wxGrid
*arg1
= (wxGrid
*) 0 ;
12584 wxString
*arg3
= 0 ;
12585 bool temp3
= false ;
12586 PyObject
* obj0
= 0 ;
12587 PyObject
* obj1
= 0 ;
12588 PyObject
* obj2
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "self",(char *) "row","arg3", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12595 if (SWIG_arg_fail(1)) SWIG_fail
;
12597 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12598 if (SWIG_arg_fail(2)) SWIG_fail
;
12601 arg3
= wxString_in_helper(obj2
);
12602 if (arg3
== NULL
) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 Py_INCREF(Py_None
); resultobj
= Py_None
;
12627 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
= NULL
;
12629 wxGrid
*arg1
= (wxGrid
*) 0 ;
12631 wxString
*arg3
= 0 ;
12632 bool temp3
= false ;
12633 PyObject
* obj0
= 0 ;
12634 PyObject
* obj1
= 0 ;
12635 PyObject
* obj2
= 0 ;
12636 char *kwnames
[] = {
12637 (char *) "self",(char *) "col","arg3", NULL
12640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12642 if (SWIG_arg_fail(1)) SWIG_fail
;
12644 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12645 if (SWIG_arg_fail(2)) SWIG_fail
;
12648 arg3
= wxString_in_helper(obj2
);
12649 if (arg3
== NULL
) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 Py_INCREF(Py_None
); resultobj
= Py_None
;
12674 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
= NULL
;
12676 wxGrid
*arg1
= (wxGrid
*) 0 ;
12677 wxColour
*arg2
= 0 ;
12679 PyObject
* obj0
= 0 ;
12680 PyObject
* obj1
= 0 ;
12681 char *kwnames
[] = {
12682 (char *) "self","arg2", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12687 if (SWIG_arg_fail(1)) SWIG_fail
;
12690 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 Py_INCREF(Py_None
); resultobj
= Py_None
;
12706 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
= NULL
;
12708 wxGrid
*arg1
= (wxGrid
*) 0 ;
12709 wxColour
*arg2
= 0 ;
12711 PyObject
* obj0
= 0 ;
12712 PyObject
* obj1
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self","arg2", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12719 if (SWIG_arg_fail(1)) SWIG_fail
;
12722 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 Py_INCREF(Py_None
); resultobj
= Py_None
;
12738 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
= NULL
;
12740 wxGrid
*arg1
= (wxGrid
*) 0 ;
12742 PyObject
* obj0
= 0 ;
12743 PyObject
* obj1
= 0 ;
12744 char *kwnames
[] = {
12745 (char *) "self",(char *) "width", NULL
12748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12750 if (SWIG_arg_fail(1)) SWIG_fail
;
12752 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12753 if (SWIG_arg_fail(2)) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 (arg1
)->SetCellHighlightPenWidth(arg2
);
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 Py_INCREF(Py_None
); resultobj
= Py_None
;
12769 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
= NULL
;
12771 wxGrid
*arg1
= (wxGrid
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 PyObject
* obj1
= 0 ;
12775 char *kwnames
[] = {
12776 (char *) "self",(char *) "width", NULL
12779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12781 if (SWIG_arg_fail(1)) SWIG_fail
;
12783 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12784 if (SWIG_arg_fail(2)) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 (arg1
)->SetCellHighlightROPenWidth(arg2
);
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 Py_INCREF(Py_None
); resultobj
= Py_None
;
12800 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12801 PyObject
*resultobj
= NULL
;
12802 wxGrid
*arg1
= (wxGrid
*) 0 ;
12803 bool arg2
= (bool) true ;
12804 PyObject
* obj0
= 0 ;
12805 PyObject
* obj1
= 0 ;
12806 char *kwnames
[] = {
12807 (char *) "self",(char *) "enable", NULL
12810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12812 if (SWIG_arg_fail(1)) SWIG_fail
;
12815 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
12816 if (SWIG_arg_fail(2)) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 (arg1
)->EnableDragRowSize(arg2
);
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 Py_INCREF(Py_None
); resultobj
= Py_None
;
12833 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
= NULL
;
12835 wxGrid
*arg1
= (wxGrid
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "self", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
12842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12843 if (SWIG_arg_fail(1)) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 (arg1
)->DisableDragRowSize();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 Py_INCREF(Py_None
); resultobj
= Py_None
;
12858 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= NULL
;
12860 wxGrid
*arg1
= (wxGrid
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
12868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12869 if (SWIG_arg_fail(1)) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 result
= (bool)(arg1
)->CanDragRowSize();
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12886 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
= NULL
;
12888 wxGrid
*arg1
= (wxGrid
*) 0 ;
12889 bool arg2
= (bool) true ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self",(char *) "enable", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12898 if (SWIG_arg_fail(1)) SWIG_fail
;
12901 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
12902 if (SWIG_arg_fail(2)) SWIG_fail
;
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12907 (arg1
)->EnableDragColSize(arg2
);
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12912 Py_INCREF(Py_None
); resultobj
= Py_None
;
12919 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
= NULL
;
12921 wxGrid
*arg1
= (wxGrid
*) 0 ;
12922 PyObject
* obj0
= 0 ;
12923 char *kwnames
[] = {
12924 (char *) "self", NULL
12927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
12928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12929 if (SWIG_arg_fail(1)) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 (arg1
)->DisableDragColSize();
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 Py_INCREF(Py_None
); resultobj
= Py_None
;
12944 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
= NULL
;
12946 wxGrid
*arg1
= (wxGrid
*) 0 ;
12948 PyObject
* obj0
= 0 ;
12949 char *kwnames
[] = {
12950 (char *) "self", NULL
12953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
12954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12955 if (SWIG_arg_fail(1)) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (bool)(arg1
)->CanDragColSize();
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12972 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12973 PyObject
*resultobj
= NULL
;
12974 wxGrid
*arg1
= (wxGrid
*) 0 ;
12975 bool arg2
= (bool) true ;
12976 PyObject
* obj0
= 0 ;
12977 PyObject
* obj1
= 0 ;
12978 char *kwnames
[] = {
12979 (char *) "self",(char *) "enable", NULL
12982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12984 if (SWIG_arg_fail(1)) SWIG_fail
;
12987 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
12988 if (SWIG_arg_fail(2)) SWIG_fail
;
12992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12993 (arg1
)->EnableDragGridSize(arg2
);
12995 wxPyEndAllowThreads(__tstate
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12998 Py_INCREF(Py_None
); resultobj
= Py_None
;
13005 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
= NULL
;
13007 wxGrid
*arg1
= (wxGrid
*) 0 ;
13008 PyObject
* obj0
= 0 ;
13009 char *kwnames
[] = {
13010 (char *) "self", NULL
13013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
13014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13015 if (SWIG_arg_fail(1)) SWIG_fail
;
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 (arg1
)->DisableDragGridSize();
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13023 Py_INCREF(Py_None
); resultobj
= Py_None
;
13030 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13031 PyObject
*resultobj
= NULL
;
13032 wxGrid
*arg1
= (wxGrid
*) 0 ;
13034 PyObject
* obj0
= 0 ;
13035 char *kwnames
[] = {
13036 (char *) "self", NULL
13039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
13040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13041 if (SWIG_arg_fail(1)) SWIG_fail
;
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 result
= (bool)(arg1
)->CanDragGridSize();
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13058 static PyObject
*_wrap_Grid_EnableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13059 PyObject
*resultobj
= NULL
;
13060 wxGrid
*arg1
= (wxGrid
*) 0 ;
13061 bool arg2
= (bool) true ;
13062 PyObject
* obj0
= 0 ;
13063 PyObject
* obj1
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "self",(char *) "enable", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) goto fail
;
13069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13070 if (SWIG_arg_fail(1)) SWIG_fail
;
13073 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
13074 if (SWIG_arg_fail(2)) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 (arg1
)->EnableDragCell(arg2
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 Py_INCREF(Py_None
); resultobj
= Py_None
;
13091 static PyObject
*_wrap_Grid_DisableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
= NULL
;
13093 wxGrid
*arg1
= (wxGrid
*) 0 ;
13094 PyObject
* obj0
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "self", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragCell",kwnames
,&obj0
)) goto fail
;
13100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13101 if (SWIG_arg_fail(1)) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 (arg1
)->DisableDragCell();
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 Py_INCREF(Py_None
); resultobj
= Py_None
;
13116 static PyObject
*_wrap_Grid_CanDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
= NULL
;
13118 wxGrid
*arg1
= (wxGrid
*) 0 ;
13120 PyObject
* obj0
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragCell",kwnames
,&obj0
)) goto fail
;
13126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13127 if (SWIG_arg_fail(1)) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 result
= (bool)(arg1
)->CanDragCell();
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13144 static PyObject
*_wrap_Grid_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
= NULL
;
13146 wxGrid
*arg1
= (wxGrid
*) 0 ;
13149 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 PyObject
* obj2
= 0 ;
13153 PyObject
* obj3
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13160 if (SWIG_arg_fail(1)) SWIG_fail
;
13162 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13163 if (SWIG_arg_fail(2)) SWIG_fail
;
13166 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13167 if (SWIG_arg_fail(3)) SWIG_fail
;
13169 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13170 if (SWIG_arg_fail(4)) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 Py_INCREF(Py_None
); resultobj
= Py_None
;
13185 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
= NULL
;
13187 wxGrid
*arg1
= (wxGrid
*) 0 ;
13189 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 PyObject
* obj2
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self",(char *) "row",(char *) "attr", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13199 if (SWIG_arg_fail(1)) SWIG_fail
;
13201 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13202 if (SWIG_arg_fail(2)) SWIG_fail
;
13204 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13205 if (SWIG_arg_fail(3)) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 (arg1
)->SetRowAttr(arg2
,arg3
);
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 Py_INCREF(Py_None
); resultobj
= Py_None
;
13220 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
= NULL
;
13222 wxGrid
*arg1
= (wxGrid
*) 0 ;
13224 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 PyObject
* obj1
= 0 ;
13227 PyObject
* obj2
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self",(char *) "col",(char *) "attr", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13234 if (SWIG_arg_fail(1)) SWIG_fail
;
13236 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13237 if (SWIG_arg_fail(2)) SWIG_fail
;
13239 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13240 if (SWIG_arg_fail(3)) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 (arg1
)->SetColAttr(arg2
,arg3
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 Py_INCREF(Py_None
); resultobj
= Py_None
;
13255 static PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
= NULL
;
13257 wxGrid
*arg1
= (wxGrid
*) 0 ;
13260 wxGridCellAttr
*result
;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 PyObject
* obj2
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self",(char *) "row",(char *) "col", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13270 if (SWIG_arg_fail(1)) SWIG_fail
;
13272 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13273 if (SWIG_arg_fail(2)) SWIG_fail
;
13276 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13277 if (SWIG_arg_fail(3)) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
13295 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
= NULL
;
13297 wxGrid
*arg1
= (wxGrid
*) 0 ;
13299 PyObject
* obj0
= 0 ;
13300 PyObject
* obj1
= 0 ;
13301 char *kwnames
[] = {
13302 (char *) "self",(char *) "col", NULL
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
13306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13307 if (SWIG_arg_fail(1)) SWIG_fail
;
13309 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13310 if (SWIG_arg_fail(2)) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 (arg1
)->SetColFormatBool(arg2
);
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 Py_INCREF(Py_None
); resultobj
= Py_None
;
13326 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
= NULL
;
13328 wxGrid
*arg1
= (wxGrid
*) 0 ;
13330 PyObject
* obj0
= 0 ;
13331 PyObject
* obj1
= 0 ;
13332 char *kwnames
[] = {
13333 (char *) "self",(char *) "col", NULL
13336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
13337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13338 if (SWIG_arg_fail(1)) SWIG_fail
;
13340 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13341 if (SWIG_arg_fail(2)) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 (arg1
)->SetColFormatNumber(arg2
);
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 Py_INCREF(Py_None
); resultobj
= Py_None
;
13357 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
= NULL
;
13359 wxGrid
*arg1
= (wxGrid
*) 0 ;
13361 int arg3
= (int) -1 ;
13362 int arg4
= (int) -1 ;
13363 PyObject
* obj0
= 0 ;
13364 PyObject
* obj1
= 0 ;
13365 PyObject
* obj2
= 0 ;
13366 PyObject
* obj3
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13373 if (SWIG_arg_fail(1)) SWIG_fail
;
13375 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13376 if (SWIG_arg_fail(2)) SWIG_fail
;
13380 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13381 if (SWIG_arg_fail(3)) SWIG_fail
;
13386 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13387 if (SWIG_arg_fail(4)) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 Py_INCREF(Py_None
); resultobj
= Py_None
;
13404 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
*resultobj
= NULL
;
13406 wxGrid
*arg1
= (wxGrid
*) 0 ;
13408 wxString
*arg3
= 0 ;
13409 bool temp3
= false ;
13410 PyObject
* obj0
= 0 ;
13411 PyObject
* obj1
= 0 ;
13412 PyObject
* obj2
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "self",(char *) "col",(char *) "typeName", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= static_cast<int >(SWIG_As_int(obj1
));
13422 if (SWIG_arg_fail(2)) SWIG_fail
;
13425 arg3
= wxString_in_helper(obj2
);
13426 if (arg3
== NULL
) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 Py_INCREF(Py_None
); resultobj
= Py_None
;
13451 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
= NULL
;
13453 wxGrid
*arg1
= (wxGrid
*) 0 ;
13454 bool arg2
= (bool) true ;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self",(char *) "enable", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
13462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13463 if (SWIG_arg_fail(1)) SWIG_fail
;
13466 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
13467 if (SWIG_arg_fail(2)) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 (arg1
)->EnableGridLines(arg2
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 Py_INCREF(Py_None
); resultobj
= Py_None
;
13484 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
= NULL
;
13486 wxGrid
*arg1
= (wxGrid
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
13494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13495 if (SWIG_arg_fail(1)) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (bool)(arg1
)->GridLinesEnabled();
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13512 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
= NULL
;
13514 wxGrid
*arg1
= (wxGrid
*) 0 ;
13516 PyObject
* obj0
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "self", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
13522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13523 if (SWIG_arg_fail(1)) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 result
= (int)(arg1
)->GetDefaultRowSize();
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= SWIG_From_int(static_cast<int >(result
));
13540 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13541 PyObject
*resultobj
= NULL
;
13542 wxGrid
*arg1
= (wxGrid
*) 0 ;
13545 PyObject
* obj0
= 0 ;
13546 PyObject
* obj1
= 0 ;
13547 char *kwnames
[] = {
13548 (char *) "self",(char *) "row", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13553 if (SWIG_arg_fail(1)) SWIG_fail
;
13555 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13556 if (SWIG_arg_fail(2)) SWIG_fail
;
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 result
= (int)(arg1
)->GetRowSize(arg2
);
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13566 resultobj
= SWIG_From_int(static_cast<int >(result
));
13574 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
= NULL
;
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_GetDefaultColSize",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
= (int)(arg1
)->GetDefaultColSize();
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= SWIG_From_int(static_cast<int >(result
));
13602 static PyObject
*_wrap_Grid_GetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
= NULL
;
13604 wxGrid
*arg1
= (wxGrid
*) 0 ;
13607 PyObject
* obj0
= 0 ;
13608 PyObject
* obj1
= 0 ;
13609 char *kwnames
[] = {
13610 (char *) "self",(char *) "col", NULL
13613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13615 if (SWIG_arg_fail(1)) SWIG_fail
;
13617 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13618 if (SWIG_arg_fail(2)) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (int)(arg1
)->GetColSize(arg2
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= SWIG_From_int(static_cast<int >(result
));
13636 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
= NULL
;
13638 wxGrid
*arg1
= (wxGrid
*) 0 ;
13640 PyObject
* obj0
= 0 ;
13641 char *kwnames
[] = {
13642 (char *) "self", NULL
13645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
13646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13647 if (SWIG_arg_fail(1)) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 result
= (arg1
)->GetDefaultCellBackgroundColour();
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13656 wxColour
* resultptr
;
13657 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13666 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
= NULL
;
13668 wxGrid
*arg1
= (wxGrid
*) 0 ;
13672 PyObject
* obj0
= 0 ;
13673 PyObject
* obj1
= 0 ;
13674 PyObject
* obj2
= 0 ;
13675 char *kwnames
[] = {
13676 (char *) "self",(char *) "row",(char *) "col", NULL
13679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13681 if (SWIG_arg_fail(1)) SWIG_fail
;
13683 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13684 if (SWIG_arg_fail(2)) SWIG_fail
;
13687 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13688 if (SWIG_arg_fail(3)) SWIG_fail
;
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13698 wxColour
* resultptr
;
13699 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13708 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13709 PyObject
*resultobj
= NULL
;
13710 wxGrid
*arg1
= (wxGrid
*) 0 ;
13712 PyObject
* obj0
= 0 ;
13713 char *kwnames
[] = {
13714 (char *) "self", NULL
13717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
13718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13719 if (SWIG_arg_fail(1)) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 result
= (arg1
)->GetDefaultCellTextColour();
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13728 wxColour
* resultptr
;
13729 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13738 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13739 PyObject
*resultobj
= NULL
;
13740 wxGrid
*arg1
= (wxGrid
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 PyObject
* obj1
= 0 ;
13746 PyObject
* obj2
= 0 ;
13747 char *kwnames
[] = {
13748 (char *) "self",(char *) "row",(char *) "col", NULL
13751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13753 if (SWIG_arg_fail(1)) SWIG_fail
;
13755 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13756 if (SWIG_arg_fail(2)) SWIG_fail
;
13759 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13760 if (SWIG_arg_fail(3)) SWIG_fail
;
13763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13764 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13770 wxColour
* resultptr
;
13771 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13780 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
= NULL
;
13782 wxGrid
*arg1
= (wxGrid
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 char *kwnames
[] = {
13786 (char *) "self", NULL
13789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
13790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13791 if (SWIG_arg_fail(1)) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 result
= (arg1
)->GetDefaultCellFont();
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13800 wxFont
* resultptr
;
13801 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
13802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13810 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
= NULL
;
13812 wxGrid
*arg1
= (wxGrid
*) 0 ;
13816 PyObject
* obj0
= 0 ;
13817 PyObject
* obj1
= 0 ;
13818 PyObject
* obj2
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self",(char *) "row",(char *) "col", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13825 if (SWIG_arg_fail(1)) SWIG_fail
;
13827 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13828 if (SWIG_arg_fail(2)) SWIG_fail
;
13831 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13832 if (SWIG_arg_fail(3)) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= (arg1
)->GetCellFont(arg2
,arg3
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13842 wxFont
* resultptr
;
13843 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
13844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13852 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
= NULL
;
13854 wxGrid
*arg1
= (wxGrid
*) 0 ;
13855 int *arg2
= (int *) 0 ;
13856 int *arg3
= (int *) 0 ;
13861 PyObject
* obj0
= 0 ;
13862 char *kwnames
[] = {
13863 (char *) "self", NULL
13866 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13867 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
13869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13870 if (SWIG_arg_fail(1)) SWIG_fail
;
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 Py_INCREF(Py_None
); resultobj
= Py_None
;
13879 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13880 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13881 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13882 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13889 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13890 PyObject
*resultobj
= NULL
;
13891 wxGrid
*arg1
= (wxGrid
*) 0 ;
13894 int *arg4
= (int *) 0 ;
13895 int *arg5
= (int *) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 PyObject
* obj1
= 0 ;
13902 PyObject
* obj2
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self",(char *) "row",(char *) "col", NULL
13907 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13908 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13911 if (SWIG_arg_fail(1)) SWIG_fail
;
13913 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13914 if (SWIG_arg_fail(2)) SWIG_fail
;
13917 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13918 if (SWIG_arg_fail(3)) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 Py_INCREF(Py_None
); resultobj
= Py_None
;
13928 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13929 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13930 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13931 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13938 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
= NULL
;
13940 wxGrid
*arg1
= (wxGrid
*) 0 ;
13942 PyObject
* obj0
= 0 ;
13943 char *kwnames
[] = {
13944 (char *) "self", NULL
13947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
13948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13949 if (SWIG_arg_fail(1)) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 result
= (bool)(arg1
)->GetDefaultCellOverflow();
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13966 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
= NULL
;
13968 wxGrid
*arg1
= (wxGrid
*) 0 ;
13972 PyObject
* obj0
= 0 ;
13973 PyObject
* obj1
= 0 ;
13974 PyObject
* obj2
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self",(char *) "row",(char *) "col", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13981 if (SWIG_arg_fail(1)) SWIG_fail
;
13983 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13984 if (SWIG_arg_fail(2)) SWIG_fail
;
13987 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13988 if (SWIG_arg_fail(3)) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14006 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
= NULL
;
14008 wxGrid
*arg1
= (wxGrid
*) 0 ;
14011 int *arg4
= (int *) 0 ;
14012 int *arg5
= (int *) 0 ;
14017 PyObject
* obj0
= 0 ;
14018 PyObject
* obj1
= 0 ;
14019 PyObject
* obj2
= 0 ;
14020 char *kwnames
[] = {
14021 (char *) "self",(char *) "row",(char *) "col", NULL
14024 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14025 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14028 if (SWIG_arg_fail(1)) SWIG_fail
;
14030 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14031 if (SWIG_arg_fail(2)) SWIG_fail
;
14034 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14035 if (SWIG_arg_fail(3)) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14044 Py_INCREF(Py_None
); resultobj
= Py_None
;
14045 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14046 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14047 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14048 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14055 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14056 PyObject
*resultobj
= NULL
;
14057 wxGrid
*arg1
= (wxGrid
*) 0 ;
14059 bool arg3
= (bool) false ;
14060 PyObject
* obj0
= 0 ;
14061 PyObject
* obj1
= 0 ;
14062 PyObject
* obj2
= 0 ;
14063 char *kwnames
[] = {
14064 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
14067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14069 if (SWIG_arg_fail(1)) SWIG_fail
;
14071 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14072 if (SWIG_arg_fail(2)) SWIG_fail
;
14076 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14077 if (SWIG_arg_fail(3)) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 Py_INCREF(Py_None
); resultobj
= Py_None
;
14094 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
= NULL
;
14096 wxGrid
*arg1
= (wxGrid
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 PyObject
* obj2
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "self",(char *) "row",(char *) "height", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14108 if (SWIG_arg_fail(1)) SWIG_fail
;
14110 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14111 if (SWIG_arg_fail(2)) SWIG_fail
;
14114 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14115 if (SWIG_arg_fail(3)) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 (arg1
)->SetRowSize(arg2
,arg3
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 Py_INCREF(Py_None
); resultobj
= Py_None
;
14131 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
= NULL
;
14133 wxGrid
*arg1
= (wxGrid
*) 0 ;
14135 bool arg3
= (bool) false ;
14136 PyObject
* obj0
= 0 ;
14137 PyObject
* obj1
= 0 ;
14138 PyObject
* obj2
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14145 if (SWIG_arg_fail(1)) SWIG_fail
;
14147 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14148 if (SWIG_arg_fail(2)) SWIG_fail
;
14152 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14153 if (SWIG_arg_fail(3)) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 (arg1
)->SetDefaultColSize(arg2
,arg3
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 Py_INCREF(Py_None
); resultobj
= Py_None
;
14170 static PyObject
*_wrap_Grid_SetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
= NULL
;
14172 wxGrid
*arg1
= (wxGrid
*) 0 ;
14175 PyObject
* obj0
= 0 ;
14176 PyObject
* obj1
= 0 ;
14177 PyObject
* obj2
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self",(char *) "col",(char *) "width", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14184 if (SWIG_arg_fail(1)) SWIG_fail
;
14186 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14187 if (SWIG_arg_fail(2)) SWIG_fail
;
14190 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14191 if (SWIG_arg_fail(3)) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 (arg1
)->SetColSize(arg2
,arg3
);
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 Py_INCREF(Py_None
); resultobj
= Py_None
;
14207 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
= NULL
;
14209 wxGrid
*arg1
= (wxGrid
*) 0 ;
14211 bool arg3
= (bool) true ;
14212 PyObject
* obj0
= 0 ;
14213 PyObject
* obj1
= 0 ;
14214 PyObject
* obj2
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14221 if (SWIG_arg_fail(1)) SWIG_fail
;
14223 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14224 if (SWIG_arg_fail(2)) SWIG_fail
;
14228 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14229 if (SWIG_arg_fail(3)) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 (arg1
)->AutoSizeColumn(arg2
,arg3
);
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 Py_INCREF(Py_None
); resultobj
= Py_None
;
14246 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
= NULL
;
14248 wxGrid
*arg1
= (wxGrid
*) 0 ;
14250 bool arg3
= (bool) true ;
14251 PyObject
* obj0
= 0 ;
14252 PyObject
* obj1
= 0 ;
14253 PyObject
* obj2
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14260 if (SWIG_arg_fail(1)) SWIG_fail
;
14262 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14263 if (SWIG_arg_fail(2)) SWIG_fail
;
14267 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14268 if (SWIG_arg_fail(3)) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 (arg1
)->AutoSizeRow(arg2
,arg3
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 Py_INCREF(Py_None
); resultobj
= Py_None
;
14285 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
= NULL
;
14287 wxGrid
*arg1
= (wxGrid
*) 0 ;
14288 bool arg2
= (bool) true ;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self",(char *) "setAsMin", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
14296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14297 if (SWIG_arg_fail(1)) SWIG_fail
;
14300 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14301 if (SWIG_arg_fail(2)) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 (arg1
)->AutoSizeColumns(arg2
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 Py_INCREF(Py_None
); resultobj
= Py_None
;
14318 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
= NULL
;
14320 wxGrid
*arg1
= (wxGrid
*) 0 ;
14321 bool arg2
= (bool) true ;
14322 PyObject
* obj0
= 0 ;
14323 PyObject
* obj1
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self",(char *) "setAsMin", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
14329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14330 if (SWIG_arg_fail(1)) SWIG_fail
;
14333 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14334 if (SWIG_arg_fail(2)) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 (arg1
)->AutoSizeRows(arg2
);
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 Py_INCREF(Py_None
); resultobj
= Py_None
;
14351 static PyObject
*_wrap_Grid_AutoSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
= NULL
;
14353 wxGrid
*arg1
= (wxGrid
*) 0 ;
14354 PyObject
* obj0
= 0 ;
14355 char *kwnames
[] = {
14356 (char *) "self", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
14360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14361 if (SWIG_arg_fail(1)) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 (arg1
)->AutoSize();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 Py_INCREF(Py_None
); resultobj
= Py_None
;
14376 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
= NULL
;
14378 wxGrid
*arg1
= (wxGrid
*) 0 ;
14380 PyObject
* obj0
= 0 ;
14381 PyObject
* obj1
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "self",(char *) "row", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14388 if (SWIG_arg_fail(1)) SWIG_fail
;
14390 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14391 if (SWIG_arg_fail(2)) SWIG_fail
;
14394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14395 (arg1
)->AutoSizeRowLabelSize(arg2
);
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14400 Py_INCREF(Py_None
); resultobj
= Py_None
;
14407 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
= NULL
;
14409 wxGrid
*arg1
= (wxGrid
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 PyObject
* obj1
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "self",(char *) "col", NULL
14417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14419 if (SWIG_arg_fail(1)) SWIG_fail
;
14421 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14422 if (SWIG_arg_fail(2)) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 (arg1
)->AutoSizeColLabelSize(arg2
);
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 Py_INCREF(Py_None
); resultobj
= Py_None
;
14438 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14439 PyObject
*resultobj
= NULL
;
14440 wxGrid
*arg1
= (wxGrid
*) 0 ;
14443 PyObject
* obj0
= 0 ;
14444 PyObject
* obj1
= 0 ;
14445 PyObject
* obj2
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "self",(char *) "col",(char *) "width", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14452 if (SWIG_arg_fail(1)) SWIG_fail
;
14454 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14455 if (SWIG_arg_fail(2)) SWIG_fail
;
14458 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14459 if (SWIG_arg_fail(3)) SWIG_fail
;
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 Py_INCREF(Py_None
); resultobj
= Py_None
;
14475 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
= NULL
;
14477 wxGrid
*arg1
= (wxGrid
*) 0 ;
14480 PyObject
* obj0
= 0 ;
14481 PyObject
* obj1
= 0 ;
14482 PyObject
* obj2
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self",(char *) "row",(char *) "width", NULL
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14489 if (SWIG_arg_fail(1)) SWIG_fail
;
14491 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14492 if (SWIG_arg_fail(2)) SWIG_fail
;
14495 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14496 if (SWIG_arg_fail(3)) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 Py_INCREF(Py_None
); resultobj
= Py_None
;
14512 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
= NULL
;
14514 wxGrid
*arg1
= (wxGrid
*) 0 ;
14516 PyObject
* obj0
= 0 ;
14517 PyObject
* obj1
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self",(char *) "width", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
14523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14524 if (SWIG_arg_fail(1)) SWIG_fail
;
14526 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14527 if (SWIG_arg_fail(2)) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 Py_INCREF(Py_None
); resultobj
= Py_None
;
14543 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
= NULL
;
14545 wxGrid
*arg1
= (wxGrid
*) 0 ;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self",(char *) "width", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
14554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14555 if (SWIG_arg_fail(1)) SWIG_fail
;
14557 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14558 if (SWIG_arg_fail(2)) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 Py_INCREF(Py_None
); resultobj
= Py_None
;
14574 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
= NULL
;
14576 wxGrid
*arg1
= (wxGrid
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
14584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= SWIG_From_int(static_cast<int >(result
));
14602 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
= NULL
;
14604 wxGrid
*arg1
= (wxGrid
*) 0 ;
14606 PyObject
* obj0
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self", NULL
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
14612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14613 if (SWIG_arg_fail(1)) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= SWIG_From_int(static_cast<int >(result
));
14630 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
= NULL
;
14632 wxGrid
*arg1
= (wxGrid
*) 0 ;
14633 wxColour
*arg2
= 0 ;
14635 PyObject
* obj0
= 0 ;
14636 PyObject
* obj1
= 0 ;
14637 char *kwnames
[] = {
14638 (char *) "self","arg2", NULL
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14643 if (SWIG_arg_fail(1)) SWIG_fail
;
14646 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 Py_INCREF(Py_None
); resultobj
= Py_None
;
14662 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
= NULL
;
14664 wxGrid
*arg1
= (wxGrid
*) 0 ;
14667 wxColour
*arg4
= 0 ;
14669 PyObject
* obj0
= 0 ;
14670 PyObject
* obj1
= 0 ;
14671 PyObject
* obj2
= 0 ;
14672 PyObject
* obj3
= 0 ;
14673 char *kwnames
[] = {
14674 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14679 if (SWIG_arg_fail(1)) SWIG_fail
;
14681 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14682 if (SWIG_arg_fail(2)) SWIG_fail
;
14685 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14686 if (SWIG_arg_fail(3)) SWIG_fail
;
14690 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 Py_INCREF(Py_None
); resultobj
= Py_None
;
14706 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
= NULL
;
14708 wxGrid
*arg1
= (wxGrid
*) 0 ;
14709 wxColour
*arg2
= 0 ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self","arg2", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14719 if (SWIG_arg_fail(1)) SWIG_fail
;
14722 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14731 Py_INCREF(Py_None
); resultobj
= Py_None
;
14738 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14739 PyObject
*resultobj
= NULL
;
14740 wxGrid
*arg1
= (wxGrid
*) 0 ;
14743 wxColour
*arg4
= 0 ;
14745 PyObject
* obj0
= 0 ;
14746 PyObject
* obj1
= 0 ;
14747 PyObject
* obj2
= 0 ;
14748 PyObject
* obj3
= 0 ;
14749 char *kwnames
[] = {
14750 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14755 if (SWIG_arg_fail(1)) SWIG_fail
;
14757 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14758 if (SWIG_arg_fail(2)) SWIG_fail
;
14761 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14762 if (SWIG_arg_fail(3)) SWIG_fail
;
14766 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 Py_INCREF(Py_None
); resultobj
= Py_None
;
14782 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
= NULL
;
14784 wxGrid
*arg1
= (wxGrid
*) 0 ;
14786 PyObject
* obj0
= 0 ;
14787 PyObject
* obj1
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "self","arg2", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14794 if (SWIG_arg_fail(1)) SWIG_fail
;
14796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14797 if (SWIG_arg_fail(2)) SWIG_fail
;
14798 if (arg2
== NULL
) {
14799 SWIG_null_ref("wxFont");
14801 if (SWIG_arg_fail(2)) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
= NULL
;
14819 wxGrid
*arg1
= (wxGrid
*) 0 ;
14823 PyObject
* obj0
= 0 ;
14824 PyObject
* obj1
= 0 ;
14825 PyObject
* obj2
= 0 ;
14826 PyObject
* obj3
= 0 ;
14827 char *kwnames
[] = {
14828 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14833 if (SWIG_arg_fail(1)) SWIG_fail
;
14835 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14836 if (SWIG_arg_fail(2)) SWIG_fail
;
14839 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14840 if (SWIG_arg_fail(3)) SWIG_fail
;
14843 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14844 if (SWIG_arg_fail(4)) SWIG_fail
;
14845 if (arg4
== NULL
) {
14846 SWIG_null_ref("wxFont");
14848 if (SWIG_arg_fail(4)) SWIG_fail
;
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14857 Py_INCREF(Py_None
); resultobj
= Py_None
;
14864 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
= NULL
;
14866 wxGrid
*arg1
= (wxGrid
*) 0 ;
14869 PyObject
* obj0
= 0 ;
14870 PyObject
* obj1
= 0 ;
14871 PyObject
* obj2
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self",(char *) "horiz",(char *) "vert", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14878 if (SWIG_arg_fail(1)) SWIG_fail
;
14880 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14881 if (SWIG_arg_fail(2)) SWIG_fail
;
14884 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14885 if (SWIG_arg_fail(3)) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 Py_INCREF(Py_None
); resultobj
= Py_None
;
14901 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
= NULL
;
14903 wxGrid
*arg1
= (wxGrid
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 PyObject
* obj2
= 0 ;
14911 PyObject
* obj3
= 0 ;
14912 PyObject
* obj4
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14919 if (SWIG_arg_fail(1)) SWIG_fail
;
14921 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14922 if (SWIG_arg_fail(2)) SWIG_fail
;
14925 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14926 if (SWIG_arg_fail(3)) SWIG_fail
;
14929 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14930 if (SWIG_arg_fail(4)) SWIG_fail
;
14933 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14934 if (SWIG_arg_fail(5)) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 Py_INCREF(Py_None
); resultobj
= Py_None
;
14950 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14951 PyObject
*resultobj
= NULL
;
14952 wxGrid
*arg1
= (wxGrid
*) 0 ;
14954 PyObject
* obj0
= 0 ;
14955 PyObject
* obj1
= 0 ;
14956 char *kwnames
[] = {
14957 (char *) "self",(char *) "allow", NULL
14960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
14961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14962 if (SWIG_arg_fail(1)) SWIG_fail
;
14964 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14965 if (SWIG_arg_fail(2)) SWIG_fail
;
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 (arg1
)->SetDefaultCellOverflow(arg2
);
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14974 Py_INCREF(Py_None
); resultobj
= Py_None
;
14981 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
= NULL
;
14983 wxGrid
*arg1
= (wxGrid
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 PyObject
* obj1
= 0 ;
14989 PyObject
* obj2
= 0 ;
14990 PyObject
* obj3
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14997 if (SWIG_arg_fail(1)) SWIG_fail
;
14999 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15000 if (SWIG_arg_fail(2)) SWIG_fail
;
15003 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15004 if (SWIG_arg_fail(3)) SWIG_fail
;
15007 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15008 if (SWIG_arg_fail(4)) SWIG_fail
;
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
15014 wxPyEndAllowThreads(__tstate
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15017 Py_INCREF(Py_None
); resultobj
= Py_None
;
15024 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15025 PyObject
*resultobj
= NULL
;
15026 wxGrid
*arg1
= (wxGrid
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 PyObject
* obj2
= 0 ;
15034 PyObject
* obj3
= 0 ;
15035 PyObject
* obj4
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15042 if (SWIG_arg_fail(1)) SWIG_fail
;
15044 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15045 if (SWIG_arg_fail(2)) SWIG_fail
;
15048 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15049 if (SWIG_arg_fail(3)) SWIG_fail
;
15052 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15053 if (SWIG_arg_fail(4)) SWIG_fail
;
15056 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15057 if (SWIG_arg_fail(5)) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15066 Py_INCREF(Py_None
); resultobj
= Py_None
;
15073 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
= NULL
;
15075 wxGrid
*arg1
= (wxGrid
*) 0 ;
15076 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self",(char *) "renderer", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
15084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15085 if (SWIG_arg_fail(1)) SWIG_fail
;
15086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
15087 if (SWIG_arg_fail(2)) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 (arg1
)->SetDefaultRenderer(arg2
);
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 Py_INCREF(Py_None
); resultobj
= Py_None
;
15102 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
= NULL
;
15104 wxGrid
*arg1
= (wxGrid
*) 0 ;
15107 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
15108 PyObject
* obj0
= 0 ;
15109 PyObject
* obj1
= 0 ;
15110 PyObject
* obj2
= 0 ;
15111 PyObject
* obj3
= 0 ;
15112 char *kwnames
[] = {
15113 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15118 if (SWIG_arg_fail(1)) SWIG_fail
;
15120 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15121 if (SWIG_arg_fail(2)) SWIG_fail
;
15124 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15125 if (SWIG_arg_fail(3)) SWIG_fail
;
15127 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
15128 if (SWIG_arg_fail(4)) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 Py_INCREF(Py_None
); resultobj
= Py_None
;
15143 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
= NULL
;
15145 wxGrid
*arg1
= (wxGrid
*) 0 ;
15146 wxGridCellRenderer
*result
;
15147 PyObject
* obj0
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
15153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15154 if (SWIG_arg_fail(1)) SWIG_fail
;
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
15171 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
= NULL
;
15173 wxGrid
*arg1
= (wxGrid
*) 0 ;
15176 wxGridCellRenderer
*result
;
15177 PyObject
* obj0
= 0 ;
15178 PyObject
* obj1
= 0 ;
15179 PyObject
* obj2
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self",(char *) "row",(char *) "col", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15186 if (SWIG_arg_fail(1)) SWIG_fail
;
15188 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15189 if (SWIG_arg_fail(2)) SWIG_fail
;
15192 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15193 if (SWIG_arg_fail(3)) SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
15211 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
= NULL
;
15213 wxGrid
*arg1
= (wxGrid
*) 0 ;
15214 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
15215 PyObject
* obj0
= 0 ;
15216 PyObject
* obj1
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self",(char *) "editor", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
15222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15223 if (SWIG_arg_fail(1)) SWIG_fail
;
15224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
15225 if (SWIG_arg_fail(2)) SWIG_fail
;
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 (arg1
)->SetDefaultEditor(arg2
);
15230 wxPyEndAllowThreads(__tstate
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15233 Py_INCREF(Py_None
); resultobj
= Py_None
;
15240 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
= NULL
;
15242 wxGrid
*arg1
= (wxGrid
*) 0 ;
15245 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 PyObject
* obj2
= 0 ;
15249 PyObject
* obj3
= 0 ;
15250 char *kwnames
[] = {
15251 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
15254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15256 if (SWIG_arg_fail(1)) SWIG_fail
;
15258 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15259 if (SWIG_arg_fail(2)) SWIG_fail
;
15262 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15263 if (SWIG_arg_fail(3)) SWIG_fail
;
15265 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
15266 if (SWIG_arg_fail(4)) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 Py_INCREF(Py_None
); resultobj
= Py_None
;
15281 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
= NULL
;
15283 wxGrid
*arg1
= (wxGrid
*) 0 ;
15284 wxGridCellEditor
*result
;
15285 PyObject
* obj0
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
15291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15292 if (SWIG_arg_fail(1)) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
15309 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
= NULL
;
15311 wxGrid
*arg1
= (wxGrid
*) 0 ;
15314 wxGridCellEditor
*result
;
15315 PyObject
* obj0
= 0 ;
15316 PyObject
* obj1
= 0 ;
15317 PyObject
* obj2
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self",(char *) "row",(char *) "col", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15324 if (SWIG_arg_fail(1)) SWIG_fail
;
15326 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15327 if (SWIG_arg_fail(2)) SWIG_fail
;
15330 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15331 if (SWIG_arg_fail(3)) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
15349 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
= NULL
;
15351 wxGrid
*arg1
= (wxGrid
*) 0 ;
15355 PyObject
* obj0
= 0 ;
15356 PyObject
* obj1
= 0 ;
15357 PyObject
* obj2
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self",(char *) "row",(char *) "col", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15364 if (SWIG_arg_fail(1)) SWIG_fail
;
15366 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15367 if (SWIG_arg_fail(2)) SWIG_fail
;
15370 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15371 if (SWIG_arg_fail(3)) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 result
= (arg1
)->GetCellValue(arg2
,arg3
);
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15393 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
= NULL
;
15395 wxGrid
*arg1
= (wxGrid
*) 0 ;
15398 wxString
*arg4
= 0 ;
15399 bool temp4
= false ;
15400 PyObject
* obj0
= 0 ;
15401 PyObject
* obj1
= 0 ;
15402 PyObject
* obj2
= 0 ;
15403 PyObject
* obj3
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15410 if (SWIG_arg_fail(1)) SWIG_fail
;
15412 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15413 if (SWIG_arg_fail(2)) SWIG_fail
;
15416 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15417 if (SWIG_arg_fail(3)) SWIG_fail
;
15420 arg4
= wxString_in_helper(obj3
);
15421 if (arg4
== NULL
) SWIG_fail
;
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 Py_INCREF(Py_None
); resultobj
= Py_None
;
15446 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
= NULL
;
15448 wxGrid
*arg1
= (wxGrid
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 PyObject
* obj2
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "self",(char *) "row",(char *) "col", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15461 if (SWIG_arg_fail(1)) SWIG_fail
;
15463 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15464 if (SWIG_arg_fail(2)) SWIG_fail
;
15467 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15468 if (SWIG_arg_fail(3)) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15486 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
= NULL
;
15488 wxGrid
*arg1
= (wxGrid
*) 0 ;
15491 bool arg4
= (bool) true ;
15492 PyObject
* obj0
= 0 ;
15493 PyObject
* obj1
= 0 ;
15494 PyObject
* obj2
= 0 ;
15495 PyObject
* obj3
= 0 ;
15496 char *kwnames
[] = {
15497 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
15500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15502 if (SWIG_arg_fail(1)) SWIG_fail
;
15504 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15505 if (SWIG_arg_fail(2)) SWIG_fail
;
15508 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15509 if (SWIG_arg_fail(3)) SWIG_fail
;
15513 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15514 if (SWIG_arg_fail(4)) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 Py_INCREF(Py_None
); resultobj
= Py_None
;
15531 static PyObject
*_wrap_Grid_SelectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
= NULL
;
15533 wxGrid
*arg1
= (wxGrid
*) 0 ;
15535 bool arg3
= (bool) false ;
15536 PyObject
* obj0
= 0 ;
15537 PyObject
* obj1
= 0 ;
15538 PyObject
* obj2
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15545 if (SWIG_arg_fail(1)) SWIG_fail
;
15547 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15548 if (SWIG_arg_fail(2)) SWIG_fail
;
15552 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
15553 if (SWIG_arg_fail(3)) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 (arg1
)->SelectRow(arg2
,arg3
);
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 Py_INCREF(Py_None
); resultobj
= Py_None
;
15570 static PyObject
*_wrap_Grid_SelectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
= NULL
;
15572 wxGrid
*arg1
= (wxGrid
*) 0 ;
15574 bool arg3
= (bool) false ;
15575 PyObject
* obj0
= 0 ;
15576 PyObject
* obj1
= 0 ;
15577 PyObject
* obj2
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15584 if (SWIG_arg_fail(1)) SWIG_fail
;
15586 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15587 if (SWIG_arg_fail(2)) SWIG_fail
;
15591 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
15592 if (SWIG_arg_fail(3)) SWIG_fail
;
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15597 (arg1
)->SelectCol(arg2
,arg3
);
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 Py_INCREF(Py_None
); resultobj
= Py_None
;
15609 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
= NULL
;
15611 wxGrid
*arg1
= (wxGrid
*) 0 ;
15616 bool arg6
= (bool) false ;
15617 PyObject
* obj0
= 0 ;
15618 PyObject
* obj1
= 0 ;
15619 PyObject
* obj2
= 0 ;
15620 PyObject
* obj3
= 0 ;
15621 PyObject
* obj4
= 0 ;
15622 PyObject
* obj5
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15629 if (SWIG_arg_fail(1)) SWIG_fail
;
15631 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15632 if (SWIG_arg_fail(2)) SWIG_fail
;
15635 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15636 if (SWIG_arg_fail(3)) SWIG_fail
;
15639 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15640 if (SWIG_arg_fail(4)) SWIG_fail
;
15643 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15644 if (SWIG_arg_fail(5)) SWIG_fail
;
15648 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
15649 if (SWIG_arg_fail(6)) SWIG_fail
;
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 Py_INCREF(Py_None
); resultobj
= Py_None
;
15666 static PyObject
*_wrap_Grid_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
= NULL
;
15668 wxGrid
*arg1
= (wxGrid
*) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
15675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15676 if (SWIG_arg_fail(1)) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 (arg1
)->SelectAll();
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15684 Py_INCREF(Py_None
); resultobj
= Py_None
;
15691 static PyObject
*_wrap_Grid_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
= NULL
;
15693 wxGrid
*arg1
= (wxGrid
*) 0 ;
15695 PyObject
* obj0
= 0 ;
15696 char *kwnames
[] = {
15697 (char *) "self", NULL
15700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
15701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15702 if (SWIG_arg_fail(1)) SWIG_fail
;
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 result
= (bool)(arg1
)->IsSelection();
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15719 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
= NULL
;
15721 wxGrid
*arg1
= (wxGrid
*) 0 ;
15722 PyObject
* obj0
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
15728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15729 if (SWIG_arg_fail(1)) SWIG_fail
;
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 (arg1
)->ClearSelection();
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 Py_INCREF(Py_None
); resultobj
= Py_None
;
15744 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
= NULL
;
15746 wxGrid
*arg1
= (wxGrid
*) 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 PyObject
* obj2
= 0 ;
15753 char *kwnames
[] = {
15754 (char *) "self",(char *) "row",(char *) "col", NULL
15757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15759 if (SWIG_arg_fail(1)) SWIG_fail
;
15761 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15762 if (SWIG_arg_fail(2)) SWIG_fail
;
15765 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15766 if (SWIG_arg_fail(3)) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15784 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
= NULL
;
15786 wxGrid
*arg1
= (wxGrid
*) 0 ;
15787 wxGridCellCoordsArray result
;
15788 PyObject
* obj0
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
15794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15795 if (SWIG_arg_fail(1)) SWIG_fail
;
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15804 resultobj
= wxGridCellCoordsArray_helper(result
);
15812 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
= NULL
;
15814 wxGrid
*arg1
= (wxGrid
*) 0 ;
15815 wxGridCellCoordsArray result
;
15816 PyObject
* obj0
= 0 ;
15817 char *kwnames
[] = {
15818 (char *) "self", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
15822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15823 if (SWIG_arg_fail(1)) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= wxGridCellCoordsArray_helper(result
);
15840 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
= NULL
;
15842 wxGrid
*arg1
= (wxGrid
*) 0 ;
15843 wxGridCellCoordsArray result
;
15844 PyObject
* obj0
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "self", NULL
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
15850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15851 if (SWIG_arg_fail(1)) SWIG_fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15860 resultobj
= wxGridCellCoordsArray_helper(result
);
15868 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
= NULL
;
15870 wxGrid
*arg1
= (wxGrid
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
15878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15879 if (SWIG_arg_fail(1)) SWIG_fail
;
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15888 resultobj
= PyList_New(0);
15890 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15891 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15892 PyList_Append(resultobj
, val
);
15902 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
= NULL
;
15904 wxGrid
*arg1
= (wxGrid
*) 0 ;
15906 PyObject
* obj0
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
15912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15913 if (SWIG_arg_fail(1)) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= PyList_New(0);
15924 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15925 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15926 PyList_Append(resultobj
, val
);
15936 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
= NULL
;
15938 wxGrid
*arg1
= (wxGrid
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 PyObject
* obj1
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self",(char *) "row", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15948 if (SWIG_arg_fail(1)) SWIG_fail
;
15950 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15951 if (SWIG_arg_fail(2)) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 (arg1
)->DeselectRow(arg2
);
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 Py_INCREF(Py_None
); resultobj
= Py_None
;
15967 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
= NULL
;
15969 wxGrid
*arg1
= (wxGrid
*) 0 ;
15971 PyObject
* obj0
= 0 ;
15972 PyObject
* obj1
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self",(char *) "col", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15979 if (SWIG_arg_fail(1)) SWIG_fail
;
15981 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15982 if (SWIG_arg_fail(2)) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 (arg1
)->DeselectCol(arg2
);
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15991 Py_INCREF(Py_None
); resultobj
= Py_None
;
15998 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
= NULL
;
16000 wxGrid
*arg1
= (wxGrid
*) 0 ;
16003 PyObject
* obj0
= 0 ;
16004 PyObject
* obj1
= 0 ;
16005 PyObject
* obj2
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self",(char *) "row",(char *) "col", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16012 if (SWIG_arg_fail(1)) SWIG_fail
;
16014 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16015 if (SWIG_arg_fail(2)) SWIG_fail
;
16018 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16019 if (SWIG_arg_fail(3)) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 (arg1
)->DeselectCell(arg2
,arg3
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 Py_INCREF(Py_None
); resultobj
= Py_None
;
16035 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
= NULL
;
16037 wxGrid
*arg1
= (wxGrid
*) 0 ;
16038 wxGridCellCoords
*arg2
= 0 ;
16039 wxGridCellCoords
*arg3
= 0 ;
16041 wxGridCellCoords temp2
;
16042 wxGridCellCoords temp3
;
16043 PyObject
* obj0
= 0 ;
16044 PyObject
* obj1
= 0 ;
16045 PyObject
* obj2
= 0 ;
16046 char *kwnames
[] = {
16047 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16052 if (SWIG_arg_fail(1)) SWIG_fail
;
16055 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
16059 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16069 wxRect
* resultptr
;
16070 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
16071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16079 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
= NULL
;
16081 wxGrid
*arg1
= (wxGrid
*) 0 ;
16083 PyObject
* obj0
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
16089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16090 if (SWIG_arg_fail(1)) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16099 wxColour
* resultptr
;
16100 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
16101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
16109 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
= NULL
;
16111 wxGrid
*arg1
= (wxGrid
*) 0 ;
16113 PyObject
* obj0
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
16119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16120 if (SWIG_arg_fail(1)) SWIG_fail
;
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
16125 wxPyEndAllowThreads(__tstate
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16129 wxColour
* resultptr
;
16130 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
16131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
16139 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
= NULL
;
16141 wxGrid
*arg1
= (wxGrid
*) 0 ;
16142 wxColour
*arg2
= 0 ;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self",(char *) "c", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16152 if (SWIG_arg_fail(1)) SWIG_fail
;
16155 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16164 Py_INCREF(Py_None
); resultobj
= Py_None
;
16171 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
= NULL
;
16173 wxGrid
*arg1
= (wxGrid
*) 0 ;
16174 wxColour
*arg2
= 0 ;
16176 PyObject
* obj0
= 0 ;
16177 PyObject
* obj1
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self",(char *) "c", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16184 if (SWIG_arg_fail(1)) SWIG_fail
;
16187 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
16193 wxPyEndAllowThreads(__tstate
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16196 Py_INCREF(Py_None
); resultobj
= Py_None
;
16203 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
= NULL
;
16205 wxGrid
*arg1
= (wxGrid
*) 0 ;
16206 wxString
*arg2
= 0 ;
16207 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
16208 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
16209 bool temp2
= false ;
16210 PyObject
* obj0
= 0 ;
16211 PyObject
* obj1
= 0 ;
16212 PyObject
* obj2
= 0 ;
16213 PyObject
* obj3
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16220 if (SWIG_arg_fail(1)) SWIG_fail
;
16222 arg2
= wxString_in_helper(obj1
);
16223 if (arg2
== NULL
) SWIG_fail
;
16226 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
16227 if (SWIG_arg_fail(3)) SWIG_fail
;
16228 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
16229 if (SWIG_arg_fail(4)) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16237 Py_INCREF(Py_None
); resultobj
= Py_None
;
16252 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16253 PyObject
*resultobj
= NULL
;
16254 wxGrid
*arg1
= (wxGrid
*) 0 ;
16257 wxGridCellEditor
*result
;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 PyObject
* obj2
= 0 ;
16261 char *kwnames
[] = {
16262 (char *) "self",(char *) "row",(char *) "col", NULL
16265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16267 if (SWIG_arg_fail(1)) SWIG_fail
;
16269 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16270 if (SWIG_arg_fail(2)) SWIG_fail
;
16273 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16274 if (SWIG_arg_fail(3)) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
16292 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
= NULL
;
16294 wxGrid
*arg1
= (wxGrid
*) 0 ;
16297 wxGridCellRenderer
*result
;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 PyObject
* obj2
= 0 ;
16301 char *kwnames
[] = {
16302 (char *) "self",(char *) "row",(char *) "col", NULL
16305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16307 if (SWIG_arg_fail(1)) SWIG_fail
;
16309 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16310 if (SWIG_arg_fail(2)) SWIG_fail
;
16313 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16314 if (SWIG_arg_fail(3)) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
16332 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
= NULL
;
16334 wxGrid
*arg1
= (wxGrid
*) 0 ;
16335 wxString
*arg2
= 0 ;
16336 wxGridCellEditor
*result
;
16337 bool temp2
= false ;
16338 PyObject
* obj0
= 0 ;
16339 PyObject
* obj1
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self",(char *) "typeName", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
16345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16346 if (SWIG_arg_fail(1)) SWIG_fail
;
16348 arg2
= wxString_in_helper(obj1
);
16349 if (arg2
== NULL
) SWIG_fail
;
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
16376 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
= NULL
;
16378 wxGrid
*arg1
= (wxGrid
*) 0 ;
16379 wxString
*arg2
= 0 ;
16380 wxGridCellRenderer
*result
;
16381 bool temp2
= false ;
16382 PyObject
* obj0
= 0 ;
16383 PyObject
* obj1
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self",(char *) "typeName", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
16393 if (arg2
== NULL
) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
16420 static PyObject
*_wrap_Grid_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
= NULL
;
16422 wxGrid
*arg1
= (wxGrid
*) 0 ;
16425 PyObject
* obj0
= 0 ;
16426 PyObject
* obj1
= 0 ;
16427 PyObject
* obj2
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
16432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16434 if (SWIG_arg_fail(1)) SWIG_fail
;
16436 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16437 if (SWIG_arg_fail(2)) SWIG_fail
;
16440 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16441 if (SWIG_arg_fail(3)) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 (arg1
)->SetMargins(arg2
,arg3
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 Py_INCREF(Py_None
); resultobj
= Py_None
;
16457 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
= NULL
;
16459 wxGrid
*arg1
= (wxGrid
*) 0 ;
16461 PyObject
* obj0
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
16467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16468 if (SWIG_arg_fail(1)) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 result
= (wxWindow
*)(arg1
)->GetGridWindow();
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= wxPyMake_wxObject(result
, 0);
16485 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
= NULL
;
16487 wxGrid
*arg1
= (wxGrid
*) 0 ;
16489 PyObject
* obj0
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "self", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
16495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16496 if (SWIG_arg_fail(1)) SWIG_fail
;
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= wxPyMake_wxObject(result
, 0);
16513 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16514 PyObject
*resultobj
= NULL
;
16515 wxGrid
*arg1
= (wxGrid
*) 0 ;
16517 PyObject
* obj0
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "self", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
16523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16524 if (SWIG_arg_fail(1)) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= wxPyMake_wxObject(result
, 0);
16541 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
= NULL
;
16543 wxGrid
*arg1
= (wxGrid
*) 0 ;
16545 PyObject
* obj0
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
16551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16552 if (SWIG_arg_fail(1)) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= wxPyMake_wxObject(result
, 0);
16569 static PyObject
*_wrap_Grid_SetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
= NULL
;
16571 wxGrid
*arg1
= (wxGrid
*) 0 ;
16573 PyObject
* obj0
= 0 ;
16574 PyObject
* obj1
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self",(char *) "x", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) goto fail
;
16580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16581 if (SWIG_arg_fail(1)) SWIG_fail
;
16583 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16584 if (SWIG_arg_fail(2)) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 (arg1
)->SetScrollLineX(arg2
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 Py_INCREF(Py_None
); resultobj
= Py_None
;
16600 static PyObject
*_wrap_Grid_SetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
= NULL
;
16602 wxGrid
*arg1
= (wxGrid
*) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 PyObject
* obj1
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self",(char *) "y", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) goto fail
;
16611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16612 if (SWIG_arg_fail(1)) SWIG_fail
;
16614 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16615 if (SWIG_arg_fail(2)) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 (arg1
)->SetScrollLineY(arg2
);
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16624 Py_INCREF(Py_None
); resultobj
= Py_None
;
16631 static PyObject
*_wrap_Grid_GetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
= NULL
;
16633 wxGrid
*arg1
= (wxGrid
*) 0 ;
16635 PyObject
* obj0
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineX",kwnames
,&obj0
)) goto fail
;
16641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16642 if (SWIG_arg_fail(1)) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineX();
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= SWIG_From_int(static_cast<int >(result
));
16659 static PyObject
*_wrap_Grid_GetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
= NULL
;
16661 wxGrid
*arg1
= (wxGrid
*) 0 ;
16663 PyObject
* obj0
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "self", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineY",kwnames
,&obj0
)) goto fail
;
16669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16670 if (SWIG_arg_fail(1)) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineY();
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= SWIG_From_int(static_cast<int >(result
));
16687 static PyObject
*_wrap_Grid_GetScrollX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
= NULL
;
16689 wxGrid
*arg1
= (wxGrid
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 PyObject
* obj1
= 0 ;
16694 char *kwnames
[] = {
16695 (char *) "self",(char *) "x", NULL
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) goto fail
;
16699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail
;
16702 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16703 if (SWIG_arg_fail(2)) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 result
= (int)((wxGrid
const *)arg1
)->GetScrollX(arg2
);
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_From_int(static_cast<int >(result
));
16721 static PyObject
*_wrap_Grid_GetScrollY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
= NULL
;
16723 wxGrid
*arg1
= (wxGrid
*) 0 ;
16726 PyObject
* obj0
= 0 ;
16727 PyObject
* obj1
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "self",(char *) "y", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) goto fail
;
16733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16734 if (SWIG_arg_fail(1)) SWIG_fail
;
16736 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16737 if (SWIG_arg_fail(2)) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (int)((wxGrid
const *)arg1
)->GetScrollY(arg2
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= SWIG_From_int(static_cast<int >(result
));
16755 static PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
= NULL
;
16757 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16758 wxVisualAttributes result
;
16759 PyObject
* obj0
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "variant", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16767 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
16768 if (SWIG_arg_fail(1)) SWIG_fail
;
16772 if (!wxPyCheckForApp()) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 result
= wxGrid::GetClassDefaultAttributes(arg1
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16780 wxVisualAttributes
* resultptr
;
16781 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
16782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16790 static PyObject
* Grid_swigregister(PyObject
*, PyObject
*args
) {
16792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16793 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
16795 return Py_BuildValue((char *)"");
16797 static PyObject
*_wrap_new_GridEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
= NULL
;
16801 wxGrid
*arg3
= (wxGrid
*) 0 ;
16802 int arg4
= (int) -1 ;
16803 int arg5
= (int) -1 ;
16804 int arg6
= (int) -1 ;
16805 int arg7
= (int) -1 ;
16806 bool arg8
= (bool) true ;
16807 bool arg9
= (bool) false ;
16808 bool arg10
= (bool) false ;
16809 bool arg11
= (bool) false ;
16810 bool arg12
= (bool) false ;
16811 wxGridEvent
*result
;
16812 PyObject
* obj0
= 0 ;
16813 PyObject
* obj1
= 0 ;
16814 PyObject
* obj2
= 0 ;
16815 PyObject
* obj3
= 0 ;
16816 PyObject
* obj4
= 0 ;
16817 PyObject
* obj5
= 0 ;
16818 PyObject
* obj6
= 0 ;
16819 PyObject
* obj7
= 0 ;
16820 PyObject
* obj8
= 0 ;
16821 PyObject
* obj9
= 0 ;
16822 PyObject
* obj10
= 0 ;
16823 PyObject
* obj11
= 0 ;
16824 char *kwnames
[] = {
16825 (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
16828 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
;
16830 arg1
= static_cast<int >(SWIG_As_int(obj0
));
16831 if (SWIG_arg_fail(1)) SWIG_fail
;
16834 arg2
= static_cast<wxEventType
>(SWIG_As_int(obj1
));
16835 if (SWIG_arg_fail(2)) SWIG_fail
;
16837 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16838 if (SWIG_arg_fail(3)) SWIG_fail
;
16841 arg4
= static_cast<int >(SWIG_As_int(obj3
));
16842 if (SWIG_arg_fail(4)) SWIG_fail
;
16847 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16848 if (SWIG_arg_fail(5)) SWIG_fail
;
16853 arg6
= static_cast<int >(SWIG_As_int(obj5
));
16854 if (SWIG_arg_fail(6)) SWIG_fail
;
16859 arg7
= static_cast<int >(SWIG_As_int(obj6
));
16860 if (SWIG_arg_fail(7)) SWIG_fail
;
16865 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
16866 if (SWIG_arg_fail(8)) SWIG_fail
;
16871 arg9
= static_cast<bool >(SWIG_As_bool(obj8
));
16872 if (SWIG_arg_fail(9)) SWIG_fail
;
16877 arg10
= static_cast<bool >(SWIG_As_bool(obj9
));
16878 if (SWIG_arg_fail(10)) SWIG_fail
;
16883 arg11
= static_cast<bool >(SWIG_As_bool(obj10
));
16884 if (SWIG_arg_fail(11)) SWIG_fail
;
16889 arg12
= static_cast<bool >(SWIG_As_bool(obj11
));
16890 if (SWIG_arg_fail(12)) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
16907 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
= NULL
;
16909 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16911 PyObject
* obj0
= 0 ;
16912 char *kwnames
[] = {
16913 (char *) "self", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
16917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16918 if (SWIG_arg_fail(1)) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (int)(arg1
)->GetRow();
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= SWIG_From_int(static_cast<int >(result
));
16935 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
= NULL
;
16937 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16939 PyObject
* obj0
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
16945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16946 if (SWIG_arg_fail(1)) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (int)(arg1
)->GetCol();
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= SWIG_From_int(static_cast<int >(result
));
16963 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
= NULL
;
16965 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16967 PyObject
* obj0
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16974 if (SWIG_arg_fail(1)) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= (arg1
)->GetPosition();
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16983 wxPoint
* resultptr
;
16984 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
16985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16993 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
= NULL
;
16995 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16997 PyObject
* obj0
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "self", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
17003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17004 if (SWIG_arg_fail(1)) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 result
= (bool)(arg1
)->Selecting();
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17021 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
= NULL
;
17023 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17025 PyObject
* obj0
= 0 ;
17026 char *kwnames
[] = {
17027 (char *) "self", NULL
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17032 if (SWIG_arg_fail(1)) SWIG_fail
;
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 result
= (bool)(arg1
)->ControlDown();
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17049 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
= NULL
;
17051 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17053 PyObject
* obj0
= 0 ;
17054 char *kwnames
[] = {
17055 (char *) "self", NULL
17058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17060 if (SWIG_arg_fail(1)) SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 result
= (bool)(arg1
)->MetaDown();
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17077 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
= NULL
;
17079 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17081 PyObject
* obj0
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17088 if (SWIG_arg_fail(1)) SWIG_fail
;
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= (bool)(arg1
)->ShiftDown();
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17105 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
= NULL
;
17107 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17109 PyObject
* obj0
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "self", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17116 if (SWIG_arg_fail(1)) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 result
= (bool)(arg1
)->AltDown();
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17133 static PyObject
* GridEvent_swigregister(PyObject
*, PyObject
*args
) {
17135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17136 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
17138 return Py_BuildValue((char *)"");
17140 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
= NULL
;
17144 wxGrid
*arg3
= (wxGrid
*) 0 ;
17145 int arg4
= (int) -1 ;
17146 int arg5
= (int) -1 ;
17147 int arg6
= (int) -1 ;
17148 bool arg7
= (bool) false ;
17149 bool arg8
= (bool) false ;
17150 bool arg9
= (bool) false ;
17151 bool arg10
= (bool) false ;
17152 wxGridSizeEvent
*result
;
17153 PyObject
* obj0
= 0 ;
17154 PyObject
* obj1
= 0 ;
17155 PyObject
* obj2
= 0 ;
17156 PyObject
* obj3
= 0 ;
17157 PyObject
* obj4
= 0 ;
17158 PyObject
* obj5
= 0 ;
17159 PyObject
* obj6
= 0 ;
17160 PyObject
* obj7
= 0 ;
17161 PyObject
* obj8
= 0 ;
17162 PyObject
* obj9
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17169 arg1
= static_cast<int >(SWIG_As_int(obj0
));
17170 if (SWIG_arg_fail(1)) SWIG_fail
;
17173 arg2
= static_cast<wxEventType
>(SWIG_As_int(obj1
));
17174 if (SWIG_arg_fail(2)) SWIG_fail
;
17176 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
17177 if (SWIG_arg_fail(3)) SWIG_fail
;
17180 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17181 if (SWIG_arg_fail(4)) SWIG_fail
;
17186 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17187 if (SWIG_arg_fail(5)) SWIG_fail
;
17192 arg6
= static_cast<int >(SWIG_As_int(obj5
));
17193 if (SWIG_arg_fail(6)) SWIG_fail
;
17198 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
17199 if (SWIG_arg_fail(7)) SWIG_fail
;
17204 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
17205 if (SWIG_arg_fail(8)) SWIG_fail
;
17210 arg9
= static_cast<bool >(SWIG_As_bool(obj8
));
17211 if (SWIG_arg_fail(9)) SWIG_fail
;
17216 arg10
= static_cast<bool >(SWIG_As_bool(obj9
));
17217 if (SWIG_arg_fail(10)) SWIG_fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
17234 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
= NULL
;
17236 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17238 PyObject
* obj0
= 0 ;
17239 char *kwnames
[] = {
17240 (char *) "self", NULL
17243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
17244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17245 if (SWIG_arg_fail(1)) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= (int)(arg1
)->GetRowOrCol();
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17254 resultobj
= SWIG_From_int(static_cast<int >(result
));
17262 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
= NULL
;
17264 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17266 PyObject
* obj0
= 0 ;
17267 char *kwnames
[] = {
17268 (char *) "self", NULL
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17273 if (SWIG_arg_fail(1)) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 result
= (arg1
)->GetPosition();
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17282 wxPoint
* resultptr
;
17283 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
17284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17292 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
= NULL
;
17294 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17296 PyObject
* obj0
= 0 ;
17297 char *kwnames
[] = {
17298 (char *) "self", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17303 if (SWIG_arg_fail(1)) SWIG_fail
;
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 result
= (bool)(arg1
)->ControlDown();
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17320 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
= NULL
;
17322 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (bool)(arg1
)->MetaDown();
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17348 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
= NULL
;
17350 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17352 PyObject
* obj0
= 0 ;
17353 char *kwnames
[] = {
17354 (char *) "self", NULL
17357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17359 if (SWIG_arg_fail(1)) SWIG_fail
;
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 result
= (bool)(arg1
)->ShiftDown();
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17376 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
= NULL
;
17378 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17380 PyObject
* obj0
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "self", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17387 if (SWIG_arg_fail(1)) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= (bool)(arg1
)->AltDown();
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17404 static PyObject
* GridSizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17407 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
17409 return Py_BuildValue((char *)"");
17411 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
= NULL
;
17415 wxGrid
*arg3
= (wxGrid
*) 0 ;
17416 wxGridCellCoords
*arg4
= 0 ;
17417 wxGridCellCoords
*arg5
= 0 ;
17418 bool arg6
= (bool) true ;
17419 bool arg7
= (bool) false ;
17420 bool arg8
= (bool) false ;
17421 bool arg9
= (bool) false ;
17422 bool arg10
= (bool) false ;
17423 wxGridRangeSelectEvent
*result
;
17424 wxGridCellCoords temp4
;
17425 wxGridCellCoords temp5
;
17426 PyObject
* obj0
= 0 ;
17427 PyObject
* obj1
= 0 ;
17428 PyObject
* obj2
= 0 ;
17429 PyObject
* obj3
= 0 ;
17430 PyObject
* obj4
= 0 ;
17431 PyObject
* obj5
= 0 ;
17432 PyObject
* obj6
= 0 ;
17433 PyObject
* obj7
= 0 ;
17434 PyObject
* obj8
= 0 ;
17435 PyObject
* obj9
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17442 arg1
= static_cast<int >(SWIG_As_int(obj0
));
17443 if (SWIG_arg_fail(1)) SWIG_fail
;
17446 arg2
= static_cast<wxEventType
>(SWIG_As_int(obj1
));
17447 if (SWIG_arg_fail(2)) SWIG_fail
;
17449 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
17450 if (SWIG_arg_fail(3)) SWIG_fail
;
17453 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
17457 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
17461 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
17462 if (SWIG_arg_fail(6)) SWIG_fail
;
17467 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
17468 if (SWIG_arg_fail(7)) SWIG_fail
;
17473 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
17474 if (SWIG_arg_fail(8)) SWIG_fail
;
17479 arg9
= static_cast<bool >(SWIG_As_bool(obj8
));
17480 if (SWIG_arg_fail(9)) SWIG_fail
;
17485 arg10
= static_cast<bool >(SWIG_As_bool(obj9
));
17486 if (SWIG_arg_fail(10)) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
17503 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
= NULL
;
17505 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17506 wxGridCellCoords result
;
17507 PyObject
* obj0
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "self", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
17513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17514 if (SWIG_arg_fail(1)) SWIG_fail
;
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 result
= (arg1
)->GetTopLeftCoords();
17519 wxPyEndAllowThreads(__tstate
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17523 wxGridCellCoords
* resultptr
;
17524 resultptr
= new wxGridCellCoords(static_cast<wxGridCellCoords
& >(result
));
17525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
17533 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
= NULL
;
17535 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17536 wxGridCellCoords result
;
17537 PyObject
* obj0
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "self", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
17543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17544 if (SWIG_arg_fail(1)) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 result
= (arg1
)->GetBottomRightCoords();
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17553 wxGridCellCoords
* resultptr
;
17554 resultptr
= new wxGridCellCoords(static_cast<wxGridCellCoords
& >(result
));
17555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
17563 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
= NULL
;
17565 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17567 PyObject
* obj0
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
17573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17574 if (SWIG_arg_fail(1)) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= (int)(arg1
)->GetTopRow();
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_From_int(static_cast<int >(result
));
17591 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
= NULL
;
17593 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17595 PyObject
* obj0
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
17601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17602 if (SWIG_arg_fail(1)) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 result
= (int)(arg1
)->GetBottomRow();
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17611 resultobj
= SWIG_From_int(static_cast<int >(result
));
17619 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
= NULL
;
17621 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "self", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
17629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17630 if (SWIG_arg_fail(1)) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (int)(arg1
)->GetLeftCol();
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= SWIG_From_int(static_cast<int >(result
));
17647 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
= NULL
;
17649 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17651 PyObject
* obj0
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
17657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17658 if (SWIG_arg_fail(1)) SWIG_fail
;
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 result
= (int)(arg1
)->GetRightCol();
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= SWIG_From_int(static_cast<int >(result
));
17675 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
= NULL
;
17677 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
17685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17686 if (SWIG_arg_fail(1)) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (bool)(arg1
)->Selecting();
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17703 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
= NULL
;
17705 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17714 if (SWIG_arg_fail(1)) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= (bool)(arg1
)->ControlDown();
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17731 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
= NULL
;
17733 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17735 PyObject
* obj0
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17742 if (SWIG_arg_fail(1)) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (bool)(arg1
)->MetaDown();
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17759 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
= NULL
;
17761 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17770 if (SWIG_arg_fail(1)) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (bool)(arg1
)->ShiftDown();
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17787 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
= NULL
;
17789 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17798 if (SWIG_arg_fail(1)) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 result
= (bool)(arg1
)->AltDown();
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17815 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*, PyObject
*args
) {
17817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17818 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
17820 return Py_BuildValue((char *)"");
17822 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
= NULL
;
17826 wxObject
*arg3
= (wxObject
*) 0 ;
17829 wxControl
*arg6
= (wxControl
*) 0 ;
17830 wxGridEditorCreatedEvent
*result
;
17831 PyObject
* obj0
= 0 ;
17832 PyObject
* obj1
= 0 ;
17833 PyObject
* obj2
= 0 ;
17834 PyObject
* obj3
= 0 ;
17835 PyObject
* obj4
= 0 ;
17836 PyObject
* obj5
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17843 arg1
= static_cast<int >(SWIG_As_int(obj0
));
17844 if (SWIG_arg_fail(1)) SWIG_fail
;
17847 arg2
= static_cast<wxEventType
>(SWIG_As_int(obj1
));
17848 if (SWIG_arg_fail(2)) SWIG_fail
;
17850 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
17851 if (SWIG_arg_fail(3)) SWIG_fail
;
17853 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17854 if (SWIG_arg_fail(4)) SWIG_fail
;
17857 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17858 if (SWIG_arg_fail(5)) SWIG_fail
;
17860 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
17861 if (SWIG_arg_fail(6)) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
17876 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
= NULL
;
17878 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
17886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17887 if (SWIG_arg_fail(1)) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= (int)(arg1
)->GetRow();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= SWIG_From_int(static_cast<int >(result
));
17904 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
= NULL
;
17906 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17908 PyObject
* obj0
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
17914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17915 if (SWIG_arg_fail(1)) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 result
= (int)(arg1
)->GetCol();
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= SWIG_From_int(static_cast<int >(result
));
17932 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
= NULL
;
17934 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17936 PyObject
* obj0
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
17942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17943 if (SWIG_arg_fail(1)) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 result
= (wxControl
*)(arg1
)->GetControl();
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= wxPyMake_wxObject(result
, 0);
17960 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17961 PyObject
*resultobj
= NULL
;
17962 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 char *kwnames
[] = {
17967 (char *) "self",(char *) "row", NULL
17970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
17971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17972 if (SWIG_arg_fail(1)) SWIG_fail
;
17974 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17975 if (SWIG_arg_fail(2)) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 (arg1
)->SetRow(arg2
);
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 Py_INCREF(Py_None
); resultobj
= Py_None
;
17991 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
= NULL
;
17993 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 PyObject
* obj1
= 0 ;
17997 char *kwnames
[] = {
17998 (char *) "self",(char *) "col", NULL
18001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
18002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
18003 if (SWIG_arg_fail(1)) SWIG_fail
;
18005 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18006 if (SWIG_arg_fail(2)) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 (arg1
)->SetCol(arg2
);
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 Py_INCREF(Py_None
); resultobj
= Py_None
;
18022 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
= NULL
;
18024 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
18025 wxControl
*arg2
= (wxControl
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self",(char *) "ctrl", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
18033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
18034 if (SWIG_arg_fail(1)) SWIG_fail
;
18035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
18036 if (SWIG_arg_fail(2)) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 (arg1
)->SetControl(arg2
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 Py_INCREF(Py_None
); resultobj
= Py_None
;
18051 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*, PyObject
*args
) {
18053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18054 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
18056 return Py_BuildValue((char *)"");
18058 static PyMethodDef SwigMethods
[] = {
18059 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18060 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18061 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18062 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18063 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18064 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18065 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18066 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
18067 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18068 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18069 { (char *)"PyGridCellRenderer_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18070 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
18071 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18072 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
18073 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18074 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
18075 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18076 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18077 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18078 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18079 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18080 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
18081 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18082 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
18083 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18084 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
18085 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18086 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
18087 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18088 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
18089 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18090 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18091 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18092 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18093 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18094 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18095 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18096 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18097 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18098 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18099 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18100 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18101 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18102 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18103 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18104 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18105 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18106 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18107 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18108 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18109 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18110 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18111 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
18112 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18113 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18114 { (char *)"PyGridCellEditor_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18115 { (char *)"PyGridCellEditor_Show", (PyCFunction
) _wrap_PyGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18116 { (char *)"PyGridCellEditor_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18117 { (char *)"PyGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18118 { (char *)"PyGridCellEditor_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18119 { (char *)"PyGridCellEditor_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18120 { (char *)"PyGridCellEditor_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18121 { (char *)"PyGridCellEditor_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18122 { (char *)"PyGridCellEditor_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18123 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
18124 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18125 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18126 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
18127 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18128 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18129 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
18130 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18131 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18132 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
18133 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18134 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18135 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
18136 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18137 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18138 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
18139 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18140 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18141 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
18142 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18143 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18144 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
18145 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18146 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18147 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18148 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18149 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18150 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18151 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18152 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18153 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18154 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18155 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18156 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18157 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18158 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18159 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18160 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18161 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18162 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18163 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18164 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18165 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18166 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18167 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18168 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18169 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18170 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18171 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18172 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18173 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18174 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18175 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18176 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18177 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18178 { (char *)"GridCellAttr_GetKind", (PyCFunction
) _wrap_GridCellAttr_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18179 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18180 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
18181 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18182 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18183 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18184 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18185 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18186 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18187 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18188 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18189 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
18190 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18191 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18192 { (char *)"PyGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18193 { (char *)"PyGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18194 { (char *)"PyGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18195 { (char *)"PyGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18196 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
18197 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18198 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18199 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18200 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18201 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18202 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18203 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18204 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18205 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18206 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18207 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18208 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18209 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18210 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18211 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18212 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18213 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18214 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18215 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18216 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18217 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18218 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18219 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18220 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18221 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18222 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18223 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18224 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18225 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18226 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18227 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18228 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18229 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18230 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18231 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18232 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
18233 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18234 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18235 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18236 { (char *)"PyGridTableBase_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18237 { (char *)"PyGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18238 { (char *)"PyGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18239 { (char *)"PyGridTableBase_Clear", (PyCFunction
) _wrap_PyGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18240 { (char *)"PyGridTableBase_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18241 { (char *)"PyGridTableBase_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18242 { (char *)"PyGridTableBase_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18243 { (char *)"PyGridTableBase_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18244 { (char *)"PyGridTableBase_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18245 { (char *)"PyGridTableBase_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18246 { (char *)"PyGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18247 { (char *)"PyGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18248 { (char *)"PyGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18249 { (char *)"PyGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18250 { (char *)"PyGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18251 { (char *)"PyGridTableBase_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18252 { (char *)"PyGridTableBase_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18253 { (char *)"PyGridTableBase_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18254 { (char *)"PyGridTableBase_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18255 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
18256 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18257 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
18258 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18259 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18260 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18261 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18262 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18263 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18264 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18265 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18266 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18267 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18268 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
18269 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18270 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18271 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18272 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18273 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18274 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18275 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18276 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18277 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18278 { (char *)"GridCellCoords_Get", (PyCFunction
) _wrap_GridCellCoords_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18279 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
18280 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18281 { (char *)"new_PreGrid", (PyCFunction
) _wrap_new_PreGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18282 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18283 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18284 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18285 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18286 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18287 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18288 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18289 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18290 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18291 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18292 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18293 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18294 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18295 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18296 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18297 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18298 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18299 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18300 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18301 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18302 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18303 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18304 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18305 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18306 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18307 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18308 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18309 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18310 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18311 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18312 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18313 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18314 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18315 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18316 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18317 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18318 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18319 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18320 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18321 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18322 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18323 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18324 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18325 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18326 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18327 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18328 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18329 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18330 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18331 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18332 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18333 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18334 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18335 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18336 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18337 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18338 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18339 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18340 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18341 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18342 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18343 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18344 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18345 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18346 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18347 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18348 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18349 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18350 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18351 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18352 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18353 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18354 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18355 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18356 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18357 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18358 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18359 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18360 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18361 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18362 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18363 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18364 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18365 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18366 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18367 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18368 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18369 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18370 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18371 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18372 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18373 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18374 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18375 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18376 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18377 { (char *)"Grid_DisableDragCell", (PyCFunction
) _wrap_Grid_DisableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18378 { (char *)"Grid_CanDragCell", (PyCFunction
) _wrap_Grid_CanDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18379 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18380 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18381 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18382 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18383 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18384 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18385 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18386 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18387 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18388 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18389 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18390 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18391 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18392 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18393 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18394 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18395 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18396 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18397 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18398 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18399 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18400 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18401 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18402 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18403 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18404 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18405 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18406 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18407 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18408 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18409 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18410 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18411 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18412 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18413 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18414 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18415 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18416 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18417 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18418 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18419 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18420 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18421 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18422 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18423 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18424 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18425 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18426 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18427 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18428 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18429 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18430 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18431 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18432 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18433 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18434 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18435 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18436 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18437 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18438 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18439 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18440 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18441 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18442 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18443 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18444 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18445 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18446 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18447 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18448 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18449 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18450 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18451 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18452 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18453 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18454 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18455 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18456 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18457 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18458 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18459 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18460 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18461 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18462 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18463 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18464 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18465 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18466 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18467 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18468 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18469 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18470 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18471 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18472 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18473 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18474 { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18475 { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18476 { (char *)"Grid_GetScrollLineX", (PyCFunction
) _wrap_Grid_GetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18477 { (char *)"Grid_GetScrollLineY", (PyCFunction
) _wrap_Grid_GetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18478 { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18479 { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18480 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18481 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
18482 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18483 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18484 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18485 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18486 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18487 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18488 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18489 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18490 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18491 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
18492 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18493 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18494 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18495 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18496 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18497 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18498 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18499 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
18500 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18501 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18502 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18503 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18504 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18505 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18506 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18507 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18508 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18509 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18510 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18511 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18512 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
18513 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18514 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18515 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18516 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18517 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18518 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18519 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18520 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
18521 { NULL
, NULL
, 0, NULL
}
18525 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18527 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
18528 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
18530 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
18531 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
18533 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
18534 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
18536 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
18537 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
18539 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
18540 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
18542 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
18543 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
18545 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
18546 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
18548 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
18549 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
18551 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
18552 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
18554 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
18555 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
18557 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
18558 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
18560 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
18561 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
18563 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
18564 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
18566 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
18567 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
18569 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
18570 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18572 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
18573 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18575 static void *_p_wxGridTo_p_wxPanel(void *x
) {
18576 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
18578 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
18579 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18581 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
18582 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18584 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
18585 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
18587 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
18588 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18590 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
18591 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
18593 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
18594 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18596 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
18597 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18599 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
18600 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18602 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
18603 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18605 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
18606 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
18608 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
18609 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18611 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
18612 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
18614 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
18615 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18617 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
18618 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18620 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
18621 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18623 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
18624 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
18626 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18627 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18629 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
18630 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18632 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
18633 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18635 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
18636 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18638 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
18639 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18641 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
18642 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18644 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
18645 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18647 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
18648 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18650 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
18651 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18653 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
18654 return (void *)((wxWindow
*) ((wxPanel
*) x
));
18656 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
18657 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
18659 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
18660 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18662 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
18663 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18665 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
18666 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18668 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
18669 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
18671 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
18672 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18674 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
18675 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
18677 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
18678 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
18680 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
18681 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
18683 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
18684 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
18686 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
18687 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
18689 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
18690 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
18692 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
18693 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18695 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18696 return (void *)((wxWindow
*) ((wxControl
*) x
));
18698 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
18699 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18701 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
18702 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18704 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
18705 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18707 static void *_p_wxGridTo_p_wxWindow(void *x
) {
18708 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
18710 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18711 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18713 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
18714 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
18716 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
18717 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18719 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
18720 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18722 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
18723 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18725 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
18726 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
18728 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
18729 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18731 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
18732 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
18734 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
18735 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18737 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
18738 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18740 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
18741 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18743 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
18744 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
18746 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
18747 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18749 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
18750 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
18752 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
18753 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18755 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
18756 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
18758 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
18759 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
18761 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
18762 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
18764 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
18765 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
18767 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
18768 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
18770 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
18771 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18773 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
18774 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
18776 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
18777 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
18779 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
18780 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18782 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
18783 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
18785 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
18786 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18788 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
18789 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18791 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
18792 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18794 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
18795 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
18797 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
18798 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18800 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
18801 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18803 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
18804 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
18806 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
18807 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
18809 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
18810 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
18812 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
18813 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
18815 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
18816 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
18818 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
18819 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
18821 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
18822 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18824 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
18825 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
18827 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
18828 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
18830 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
18831 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18833 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
18834 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18836 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
18837 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18839 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
18840 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18842 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
18843 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18845 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
18846 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
18848 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
18849 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
18851 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
18852 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
18854 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
18855 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
18857 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
18858 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18860 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18861 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18863 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18864 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18866 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18867 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18869 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18870 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18872 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18873 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18875 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18878 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18879 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18881 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18882 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18884 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18885 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18887 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18888 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18890 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18891 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18893 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18894 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18896 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18899 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18902 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18903 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18905 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18906 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18908 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18909 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18911 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18912 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18914 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18915 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18917 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18918 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18920 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18921 return (void *)((wxObject
*) ((wxSizer
*) x
));
18923 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18924 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18926 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18927 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18929 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18932 static void *_p_wxEventTo_p_wxObject(void *x
) {
18933 return (void *)((wxObject
*) ((wxEvent
*) x
));
18935 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
18936 return (void *)((wxObject
*) ((wxFontData
*) x
));
18938 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
18939 return (void *)((wxObject
*) ((wxPrintData
*) x
));
18941 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18942 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18944 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18945 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18947 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18948 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18950 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
18951 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
18953 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
18954 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18956 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
18957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18959 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
18960 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
18962 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18963 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18965 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18966 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18968 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18969 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18971 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18972 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18974 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18975 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18977 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18978 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18980 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
18981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18983 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
18984 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
18986 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
18987 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
18989 static void *_p_wxControlTo_p_wxObject(void *x
) {
18990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18992 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18993 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18995 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
18996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18998 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18999 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19001 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
19002 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
19004 static void *_p_wxGridTo_p_wxObject(void *x
) {
19005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
19007 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19008 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19010 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
19011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
19013 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
19014 return (void *)((wxObject
*) ((wxColourData
*) x
));
19016 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19017 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19019 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19020 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19022 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
19023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
19025 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
19026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
19028 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
19029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
19031 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
19032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19034 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
19035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19037 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
19038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
19040 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
19041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19043 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
19044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
19046 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
19047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
19049 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
19050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
19052 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19053 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19055 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
19056 return (void *)((wxObject
*) ((wxPrinter
*) x
));
19058 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19059 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19061 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
19062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
19064 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19065 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19067 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19068 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19070 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19071 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19073 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19074 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19076 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19077 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19079 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19080 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19082 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19083 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19085 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19086 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19088 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
19089 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
19091 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19092 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19094 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19095 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19097 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19098 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19100 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19101 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19103 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19104 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19106 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19107 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19109 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19110 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19112 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19113 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19115 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19116 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19118 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
19119 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
19121 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19122 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19124 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19125 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19127 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19128 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19130 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19131 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19133 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
19134 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
19136 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
19137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
19139 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
19140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19142 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
19143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19145 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
19146 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
19148 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19149 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19151 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
19152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
19154 static void *_p_wxImageTo_p_wxObject(void *x
) {
19155 return (void *)((wxObject
*) ((wxImage
*) x
));
19157 static void *_p_wxFrameTo_p_wxObject(void *x
) {
19158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
19160 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
19161 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
19163 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19164 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19166 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
19167 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
19169 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
19170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
19172 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
19173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19175 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19176 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19178 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19179 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19181 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19182 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19184 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19185 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19187 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19188 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19190 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19193 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
19194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
19196 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
19197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
19199 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
19200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
19202 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
19203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
19205 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
19206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
19208 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
19209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19211 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
19212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
19214 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
19215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19217 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
19218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
19220 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
19221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19223 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
19224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
19226 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
19227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19229 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
19230 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
19232 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
19233 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
19235 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
19236 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
19238 static void *_p_wxPanelTo_p_wxObject(void *x
) {
19239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
19241 static void *_p_wxDialogTo_p_wxObject(void *x
) {
19242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
19244 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
19245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19247 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
19248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19250 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
19251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19253 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
19254 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
19256 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
19257 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
19259 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19260 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19262 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19263 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19265 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19266 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19268 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19269 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19271 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19272 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19274 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19275 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19277 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19278 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19280 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
19281 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
19283 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
19284 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
19286 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19287 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19289 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19290 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19292 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
19293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
19295 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
19296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19298 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19299 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19301 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19302 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19304 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19307 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19310 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
19311 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
19313 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
19314 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
19316 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19319 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19320 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19322 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
19323 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
19325 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
19326 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
19328 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
19329 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
19331 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
19332 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
19334 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
19335 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
19337 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
19338 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
19340 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
19341 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
19343 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
19344 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19346 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
19347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
19349 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
19350 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19352 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
19353 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19355 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
19356 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
19358 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
19359 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
19361 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
19362 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
19364 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
19365 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
19367 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
19368 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
19370 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
19371 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
19373 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
19374 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19376 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
19377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
19379 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
19380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19382 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
19383 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
19385 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
19386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19388 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
19389 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
19391 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
19392 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
19394 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
19395 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
19397 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
19398 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
19400 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
19401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
19403 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
19404 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
19406 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
19407 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
19409 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
19410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19412 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
19413 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
19415 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
19416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
19418 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
19419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
19421 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
19422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
19424 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
19425 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
19427 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
19428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
19430 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
19431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19433 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
19434 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
19436 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
19437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19439 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
19440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19442 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
19443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19445 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
19446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
19448 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
19449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19451 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
19452 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
19454 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
19455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
19457 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
19458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19460 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
19461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19463 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
19464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
19466 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
19467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19469 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
19470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19472 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
19473 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
19475 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
19476 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
19478 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
19479 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
19481 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
19482 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
19484 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
19485 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
19487 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
19488 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
19490 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
19491 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
19493 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
19494 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
19496 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
19497 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
19499 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
19500 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
19502 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
19503 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
19505 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
19506 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
19508 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
19509 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
19511 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19512 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19514 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19515 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19517 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19518 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19520 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19521 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19523 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19524 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19526 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19527 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19529 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19530 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19532 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
19533 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
19535 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
19536 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
19538 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19539 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19541 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
19542 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
19544 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
19545 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
19547 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
19548 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
19550 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19551 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19553 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19554 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19556 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19557 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19559 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
19560 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
19562 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
19563 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
19565 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
19566 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
19567 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
19568 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, 0};
19569 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
19570 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
19571 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
19572 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
19573 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
19574 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
19575 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0};
19576 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
19577 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0};
19578 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
19579 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
19580 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
19581 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
19582 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
19583 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
19584 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0};
19585 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
19586 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, 0};
19587 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
19588 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
19589 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
19590 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
19591 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
19592 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
19593 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
19594 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
19595 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
19596 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
19597 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
19598 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
19599 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
19600 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
19601 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
19602 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
19603 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
19604 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
19605 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
19606 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
19607 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
19608 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
19609 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
19610 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
19611 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
19612 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
19613 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
19614 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
19615 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
19616 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
19617 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
19618 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
19619 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
19620 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0};
19621 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0};
19622 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0};
19623 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
19624 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
19625 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
19626 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0};
19627 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0};
19628 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
19629 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0};
19630 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
19631 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0};
19632 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
19633 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
19634 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0};
19635 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0};
19636 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
19637 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
19638 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0};
19639 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0};
19640 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0};
19641 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0};
19642 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
19643 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
19644 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
19645 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0};
19646 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
19647 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0};
19648 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0};
19649 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
19650 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0};
19651 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0};
19652 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
19653 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0};
19654 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
19655 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0};
19656 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
19657 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0};
19658 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0};
19659 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0};
19660 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0};
19661 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0};
19662 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
19663 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0};
19664 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
19665 static swig_type_info _swigt__p_wxGrid
= {"_p_wxGrid", "wxGrid *", 0, 0, 0};
19666 static swig_type_info _swigt__p_wxGridCellAttr
= {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, 0};
19667 static swig_type_info _swigt__p_wxGridCellAttrProvider
= {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, 0};
19668 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
= {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, 0};
19669 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
= {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, 0};
19670 static swig_type_info _swigt__p_wxGridCellBoolEditor
= {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, 0};
19671 static swig_type_info _swigt__p_wxGridCellBoolRenderer
= {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, 0};
19672 static swig_type_info _swigt__p_wxGridCellChoiceEditor
= {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, 0};
19673 static swig_type_info _swigt__p_wxGridCellCoords
= {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, 0};
19674 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
= {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, 0};
19675 static swig_type_info _swigt__p_wxGridCellEditor
= {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, 0};
19676 static swig_type_info _swigt__p_wxGridCellEnumEditor
= {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, 0};
19677 static swig_type_info _swigt__p_wxGridCellEnumRenderer
= {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, 0};
19678 static swig_type_info _swigt__p_wxGridCellFloatEditor
= {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, 0};
19679 static swig_type_info _swigt__p_wxGridCellFloatRenderer
= {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, 0};
19680 static swig_type_info _swigt__p_wxGridCellNumberEditor
= {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, 0};
19681 static swig_type_info _swigt__p_wxGridCellNumberRenderer
= {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, 0};
19682 static swig_type_info _swigt__p_wxGridCellRenderer
= {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, 0};
19683 static swig_type_info _swigt__p_wxGridCellStringRenderer
= {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, 0};
19684 static swig_type_info _swigt__p_wxGridCellTextEditor
= {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, 0};
19685 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
= {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, 0};
19686 static swig_type_info _swigt__p_wxGridEvent
= {"_p_wxGridEvent", "wxGridEvent *", 0, 0, 0};
19687 static swig_type_info _swigt__p_wxGridRangeSelectEvent
= {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, 0};
19688 static swig_type_info _swigt__p_wxGridSizeEvent
= {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, 0};
19689 static swig_type_info _swigt__p_wxGridStringTable
= {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, 0};
19690 static swig_type_info _swigt__p_wxGridTableBase
= {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, 0};
19691 static swig_type_info _swigt__p_wxGridTableMessage
= {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, 0};
19692 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
19693 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
19694 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
19695 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
19696 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
19697 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
19698 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
19699 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
19700 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
19701 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
19702 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
19703 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0};
19704 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0};
19705 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
19706 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
19707 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
19708 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
19709 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0};
19710 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
19711 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0};
19712 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0};
19713 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
19714 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
19715 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
19716 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
19717 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
19718 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
19719 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
19720 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
19721 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
19722 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
19723 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
19724 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
19725 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
19726 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
19727 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
19728 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
19729 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
19730 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0};
19731 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0};
19732 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0};
19733 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0};
19734 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0};
19735 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
19736 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0};
19737 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0};
19738 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, 0};
19739 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
19740 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
19741 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
= {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, 0};
19742 static swig_type_info _swigt__p_wxPyGridCellEditor
= {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, 0};
19743 static swig_type_info _swigt__p_wxPyGridCellRenderer
= {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, 0};
19744 static swig_type_info _swigt__p_wxPyGridTableBase
= {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, 0};
19745 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
19746 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
19747 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
19748 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
19749 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
19750 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
19751 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
19752 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
19753 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
19755 static swig_type_info
*swig_type_initial
[] = {
19757 &_swigt__p_form_ops_t
,
19760 &_swigt__p_unsigned_char
,
19761 &_swigt__p_unsigned_int
,
19762 &_swigt__p_unsigned_long
,
19763 &_swigt__p_wxANIHandler
,
19764 &_swigt__p_wxAcceleratorTable
,
19765 &_swigt__p_wxActivateEvent
,
19766 &_swigt__p_wxArrayString
,
19767 &_swigt__p_wxBMPHandler
,
19768 &_swigt__p_wxBoxSizer
,
19769 &_swigt__p_wxCURHandler
,
19770 &_swigt__p_wxCalculateLayoutEvent
,
19771 &_swigt__p_wxChildFocusEvent
,
19772 &_swigt__p_wxCloseEvent
,
19773 &_swigt__p_wxColour
,
19774 &_swigt__p_wxColourData
,
19775 &_swigt__p_wxColourDialog
,
19776 &_swigt__p_wxCommandEvent
,
19777 &_swigt__p_wxContextMenuEvent
,
19778 &_swigt__p_wxControl
,
19779 &_swigt__p_wxControlWithItems
,
19781 &_swigt__p_wxDateEvent
,
19782 &_swigt__p_wxDialog
,
19783 &_swigt__p_wxDirDialog
,
19784 &_swigt__p_wxDisplayChangedEvent
,
19785 &_swigt__p_wxDropFilesEvent
,
19786 &_swigt__p_wxDuplexMode
,
19787 &_swigt__p_wxEraseEvent
,
19788 &_swigt__p_wxEvent
,
19789 &_swigt__p_wxEvtHandler
,
19790 &_swigt__p_wxFSFile
,
19791 &_swigt__p_wxFileDialog
,
19792 &_swigt__p_wxFileSystem
,
19793 &_swigt__p_wxFindDialogEvent
,
19794 &_swigt__p_wxFindReplaceData
,
19795 &_swigt__p_wxFindReplaceDialog
,
19796 &_swigt__p_wxFlexGridSizer
,
19797 &_swigt__p_wxFocusEvent
,
19799 &_swigt__p_wxFontData
,
19800 &_swigt__p_wxFontDialog
,
19801 &_swigt__p_wxFrame
,
19802 &_swigt__p_wxGBSizerItem
,
19803 &_swigt__p_wxGIFHandler
,
19805 &_swigt__p_wxGridBagSizer
,
19806 &_swigt__p_wxGridCellAttr
,
19807 &_swigt__p_wxGridCellAttrProvider
,
19808 &_swigt__p_wxGridCellAutoWrapStringEditor
,
19809 &_swigt__p_wxGridCellAutoWrapStringRenderer
,
19810 &_swigt__p_wxGridCellBoolEditor
,
19811 &_swigt__p_wxGridCellBoolRenderer
,
19812 &_swigt__p_wxGridCellChoiceEditor
,
19813 &_swigt__p_wxGridCellCoords
,
19814 &_swigt__p_wxGridCellDateTimeRenderer
,
19815 &_swigt__p_wxGridCellEditor
,
19816 &_swigt__p_wxGridCellEnumEditor
,
19817 &_swigt__p_wxGridCellEnumRenderer
,
19818 &_swigt__p_wxGridCellFloatEditor
,
19819 &_swigt__p_wxGridCellFloatRenderer
,
19820 &_swigt__p_wxGridCellNumberEditor
,
19821 &_swigt__p_wxGridCellNumberRenderer
,
19822 &_swigt__p_wxGridCellRenderer
,
19823 &_swigt__p_wxGridCellStringRenderer
,
19824 &_swigt__p_wxGridCellTextEditor
,
19825 &_swigt__p_wxGridEditorCreatedEvent
,
19826 &_swigt__p_wxGridEvent
,
19827 &_swigt__p_wxGridRangeSelectEvent
,
19828 &_swigt__p_wxGridSizeEvent
,
19829 &_swigt__p_wxGridSizer
,
19830 &_swigt__p_wxGridStringTable
,
19831 &_swigt__p_wxGridTableBase
,
19832 &_swigt__p_wxGridTableMessage
,
19833 &_swigt__p_wxICOHandler
,
19834 &_swigt__p_wxIconizeEvent
,
19835 &_swigt__p_wxIdleEvent
,
19836 &_swigt__p_wxImage
,
19837 &_swigt__p_wxImageHandler
,
19838 &_swigt__p_wxIndividualLayoutConstraint
,
19839 &_swigt__p_wxInitDialogEvent
,
19840 &_swigt__p_wxJPEGHandler
,
19841 &_swigt__p_wxKeyEvent
,
19842 &_swigt__p_wxLayoutAlgorithm
,
19843 &_swigt__p_wxLayoutConstraints
,
19844 &_swigt__p_wxMDIChildFrame
,
19845 &_swigt__p_wxMDIClientWindow
,
19846 &_swigt__p_wxMDIParentFrame
,
19847 &_swigt__p_wxMaximizeEvent
,
19849 &_swigt__p_wxMenuBar
,
19850 &_swigt__p_wxMenuEvent
,
19851 &_swigt__p_wxMenuItem
,
19852 &_swigt__p_wxMessageDialog
,
19853 &_swigt__p_wxMiniFrame
,
19854 &_swigt__p_wxMouseCaptureChangedEvent
,
19855 &_swigt__p_wxMouseEvent
,
19856 &_swigt__p_wxMoveEvent
,
19857 &_swigt__p_wxMultiChoiceDialog
,
19858 &_swigt__p_wxNavigationKeyEvent
,
19859 &_swigt__p_wxNcPaintEvent
,
19860 &_swigt__p_wxNotifyEvent
,
19861 &_swigt__p_wxObject
,
19862 &_swigt__p_wxPCXHandler
,
19863 &_swigt__p_wxPNGHandler
,
19864 &_swigt__p_wxPNMHandler
,
19865 &_swigt__p_wxPageSetupDialog
,
19866 &_swigt__p_wxPageSetupDialogData
,
19867 &_swigt__p_wxPaintEvent
,
19868 &_swigt__p_wxPaletteChangedEvent
,
19869 &_swigt__p_wxPanel
,
19870 &_swigt__p_wxPaperSize
,
19871 &_swigt__p_wxPasswordEntryDialog
,
19872 &_swigt__p_wxPoint
,
19873 &_swigt__p_wxPopupWindow
,
19874 &_swigt__p_wxPreviewCanvas
,
19875 &_swigt__p_wxPreviewControlBar
,
19876 &_swigt__p_wxPreviewFrame
,
19877 &_swigt__p_wxPrintData
,
19878 &_swigt__p_wxPrintDialog
,
19879 &_swigt__p_wxPrintDialogData
,
19880 &_swigt__p_wxPrintPreview
,
19881 &_swigt__p_wxPrinter
,
19882 &_swigt__p_wxProgressDialog
,
19883 &_swigt__p_wxPyApp
,
19884 &_swigt__p_wxPyCommandEvent
,
19885 &_swigt__p_wxPyEvent
,
19886 &_swigt__p_wxPyGridCellAttrProvider
,
19887 &_swigt__p_wxPyGridCellEditor
,
19888 &_swigt__p_wxPyGridCellRenderer
,
19889 &_swigt__p_wxPyGridTableBase
,
19890 &_swigt__p_wxPyHtmlListBox
,
19891 &_swigt__p_wxPyImageHandler
,
19892 &_swigt__p_wxPyPanel
,
19893 &_swigt__p_wxPyPopupTransientWindow
,
19894 &_swigt__p_wxPyPreviewControlBar
,
19895 &_swigt__p_wxPyPreviewFrame
,
19896 &_swigt__p_wxPyPrintPreview
,
19897 &_swigt__p_wxPyPrintout
,
19898 &_swigt__p_wxPyScrolledWindow
,
19899 &_swigt__p_wxPySizer
,
19900 &_swigt__p_wxPyTaskBarIcon
,
19901 &_swigt__p_wxPyVListBox
,
19902 &_swigt__p_wxPyVScrolledWindow
,
19903 &_swigt__p_wxPyValidator
,
19904 &_swigt__p_wxPyWindow
,
19905 &_swigt__p_wxQueryLayoutInfoEvent
,
19906 &_swigt__p_wxQueryNewPaletteEvent
,
19908 &_swigt__p_wxSashEvent
,
19909 &_swigt__p_wxSashLayoutWindow
,
19910 &_swigt__p_wxSashWindow
,
19911 &_swigt__p_wxScrollEvent
,
19912 &_swigt__p_wxScrollWinEvent
,
19913 &_swigt__p_wxScrolledWindow
,
19914 &_swigt__p_wxSetCursorEvent
,
19915 &_swigt__p_wxShowEvent
,
19916 &_swigt__p_wxSingleChoiceDialog
,
19918 &_swigt__p_wxSizeEvent
,
19919 &_swigt__p_wxSizer
,
19920 &_swigt__p_wxSizerItem
,
19921 &_swigt__p_wxSplashScreen
,
19922 &_swigt__p_wxSplashScreenWindow
,
19923 &_swigt__p_wxSplitterEvent
,
19924 &_swigt__p_wxSplitterWindow
,
19925 &_swigt__p_wxStaticBoxSizer
,
19926 &_swigt__p_wxStatusBar
,
19927 &_swigt__p_wxStdDialogButtonSizer
,
19928 &_swigt__p_wxString
,
19929 &_swigt__p_wxSysColourChangedEvent
,
19930 &_swigt__p_wxTIFFHandler
,
19931 &_swigt__p_wxTaskBarIconEvent
,
19932 &_swigt__p_wxTextEntryDialog
,
19933 &_swigt__p_wxTipWindow
,
19934 &_swigt__p_wxTopLevelWindow
,
19935 &_swigt__p_wxUpdateUIEvent
,
19936 &_swigt__p_wxValidator
,
19937 &_swigt__p_wxVisualAttributes
,
19938 &_swigt__p_wxWindow
,
19939 &_swigt__p_wxWindowCreateEvent
,
19940 &_swigt__p_wxWindowDestroyEvent
,
19941 &_swigt__p_wxXPMHandler
,
19942 &_swigt__ptrdiff_t
,
19943 &_swigt__std__ptrdiff_t
,
19944 &_swigt__unsigned_int
,
19947 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
19948 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
19949 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
19950 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
19951 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
19952 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
19953 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
19954 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
19955 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
19956 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
19957 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19958 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
19959 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
19960 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
19961 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19962 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19963 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19964 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19965 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19966 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
19967 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
19968 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
19969 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
19970 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
19971 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
19972 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19973 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19974 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19975 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19976 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
19977 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19978 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19979 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
19980 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
19981 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
19982 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19983 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19984 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19985 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19986 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
19987 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19988 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19989 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19990 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19991 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19992 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19993 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
19994 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19995 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
19996 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19997 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19998 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
19999 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
20000 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
20001 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
20002 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
20003 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
20004 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
20005 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
20006 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
20007 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
20008 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
20009 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
20010 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
20011 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
20012 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
20013 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
20014 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
20015 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
20016 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
20017 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
20018 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
20019 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
20020 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
20021 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
20022 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
20023 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
20024 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
20025 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
20026 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
20027 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
20028 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
20029 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
20030 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
20031 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
20032 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
20033 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
20034 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
20035 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
20036 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
20037 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
20038 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
20039 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
20040 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
20041 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
20042 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
20043 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
20044 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
20045 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
20046 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
20047 static swig_cast_info _swigc__p_wxGrid
[] = { {&_swigt__p_wxGrid
, 0, 0, 0},{0, 0, 0, 0}};
20048 static swig_cast_info _swigc__p_wxGridCellAttr
[] = { {&_swigt__p_wxGridCellAttr
, 0, 0, 0},{0, 0, 0, 0}};
20049 static swig_cast_info _swigc__p_wxGridCellAttrProvider
[] = { {&_swigt__p_wxGridCellAttrProvider
, 0, 0, 0}, {&_swigt__p_wxPyGridCellAttrProvider
, _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
, 0, 0},{0, 0, 0, 0}};
20050 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor
[] = { {&_swigt__p_wxGridCellAutoWrapStringEditor
, 0, 0, 0},{0, 0, 0, 0}};
20051 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer
[] = { {&_swigt__p_wxGridCellAutoWrapStringRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20052 static swig_cast_info _swigc__p_wxGridCellBoolEditor
[] = { {&_swigt__p_wxGridCellBoolEditor
, 0, 0, 0},{0, 0, 0, 0}};
20053 static swig_cast_info _swigc__p_wxGridCellBoolRenderer
[] = { {&_swigt__p_wxGridCellBoolRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20054 static swig_cast_info _swigc__p_wxGridCellChoiceEditor
[] = { {&_swigt__p_wxGridCellChoiceEditor
, 0, 0, 0}, {&_swigt__p_wxGridCellEnumEditor
, _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
, 0, 0},{0, 0, 0, 0}};
20055 static swig_cast_info _swigc__p_wxGridCellCoords
[] = { {&_swigt__p_wxGridCellCoords
, 0, 0, 0},{0, 0, 0, 0}};
20056 static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer
[] = { {&_swigt__p_wxGridCellDateTimeRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20057 static swig_cast_info _swigc__p_wxGridCellEditor
[] = { {&_swigt__p_wxGridCellEditor
, 0, 0, 0}, {&_swigt__p_wxPyGridCellEditor
, _p_wxPyGridCellEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellTextEditor
, _p_wxGridCellTextEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellNumberEditor
, _p_wxGridCellNumberEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellFloatEditor
, _p_wxGridCellFloatEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellBoolEditor
, _p_wxGridCellBoolEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringEditor
, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellChoiceEditor
, _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellEnumEditor
, _p_wxGridCellEnumEditorTo_p_wxGridCellEditor
, 0, 0},{0, 0, 0, 0}};
20058 static swig_cast_info _swigc__p_wxGridCellEnumEditor
[] = { {&_swigt__p_wxGridCellEnumEditor
, 0, 0, 0},{0, 0, 0, 0}};
20059 static swig_cast_info _swigc__p_wxGridCellEnumRenderer
[] = { {&_swigt__p_wxGridCellEnumRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20060 static swig_cast_info _swigc__p_wxGridCellFloatEditor
[] = { {&_swigt__p_wxGridCellFloatEditor
, 0, 0, 0},{0, 0, 0, 0}};
20061 static swig_cast_info _swigc__p_wxGridCellFloatRenderer
[] = { {&_swigt__p_wxGridCellFloatRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20062 static swig_cast_info _swigc__p_wxGridCellNumberEditor
[] = { {&_swigt__p_wxGridCellNumberEditor
, 0, 0, 0},{0, 0, 0, 0}};
20063 static swig_cast_info _swigc__p_wxGridCellNumberRenderer
[] = { {&_swigt__p_wxGridCellNumberRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20064 static swig_cast_info _swigc__p_wxGridCellRenderer
[] = { {&_swigt__p_wxGridCellRenderer
, 0, 0, 0}, {&_swigt__p_wxPyGridCellRenderer
, _p_wxPyGridCellRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellStringRenderer
, _p_wxGridCellStringRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellNumberRenderer
, _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellFloatRenderer
, _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellDateTimeRenderer
, _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellEnumRenderer
, _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringRenderer
, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellBoolRenderer
, _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer
, 0, 0},{0, 0, 0, 0}};
20065 static swig_cast_info _swigc__p_wxGridCellStringRenderer
[] = { {&_swigt__p_wxGridCellStringRenderer
, 0, 0, 0}, {&_swigt__p_wxGridCellNumberRenderer
, _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer
, 0, 0}, {&_swigt__p_wxGridCellFloatRenderer
, _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer
, 0, 0}, {&_swigt__p_wxGridCellDateTimeRenderer
, _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer
, 0, 0}, {&_swigt__p_wxGridCellEnumRenderer
, _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringRenderer
, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer
, 0, 0},{0, 0, 0, 0}};
20066 static swig_cast_info _swigc__p_wxGridCellTextEditor
[] = { {&_swigt__p_wxGridCellTextEditor
, 0, 0, 0}, {&_swigt__p_wxGridCellNumberEditor
, _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor
, 0, 0}, {&_swigt__p_wxGridCellFloatEditor
, _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringEditor
, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor
, 0, 0},{0, 0, 0, 0}};
20067 static swig_cast_info _swigc__p_wxGridEditorCreatedEvent
[] = { {&_swigt__p_wxGridEditorCreatedEvent
, 0, 0, 0},{0, 0, 0, 0}};
20068 static swig_cast_info _swigc__p_wxGridEvent
[] = { {&_swigt__p_wxGridEvent
, 0, 0, 0},{0, 0, 0, 0}};
20069 static swig_cast_info _swigc__p_wxGridRangeSelectEvent
[] = { {&_swigt__p_wxGridRangeSelectEvent
, 0, 0, 0},{0, 0, 0, 0}};
20070 static swig_cast_info _swigc__p_wxGridSizeEvent
[] = { {&_swigt__p_wxGridSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
20071 static swig_cast_info _swigc__p_wxGridStringTable
[] = { {&_swigt__p_wxGridStringTable
, 0, 0, 0},{0, 0, 0, 0}};
20072 static swig_cast_info _swigc__p_wxGridTableBase
[] = { {&_swigt__p_wxGridStringTable
, _p_wxGridStringTableTo_p_wxGridTableBase
, 0, 0}, {&_swigt__p_wxGridTableBase
, 0, 0, 0}, {&_swigt__p_wxPyGridTableBase
, _p_wxPyGridTableBaseTo_p_wxGridTableBase
, 0, 0},{0, 0, 0, 0}};
20073 static swig_cast_info _swigc__p_wxGridTableMessage
[] = { {&_swigt__p_wxGridTableMessage
, 0, 0, 0},{0, 0, 0, 0}};
20074 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
20075 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
20076 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
20077 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
20078 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
20079 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
20080 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
20081 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
20082 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
20083 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
20084 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
20085 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
20086 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
20087 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
20088 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
20089 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
20090 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
20091 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
20092 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
20093 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
20094 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
20095 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
20096 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
20097 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
20098 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
20099 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
20100 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
20101 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
20102 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
20103 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
20104 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
20105 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
20106 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
20107 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
20108 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
20109 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
20110 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
20111 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
20112 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
20113 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
20114 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
20115 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
20116 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
20117 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
20118 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
20119 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridStringTable
, _p_wxGridStringTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridTableBase
, _p_wxGridTableBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyGridTableBase
, _p_wxPyGridTableBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
20120 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
20121 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
20122 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
20123 static swig_cast_info _swigc__p_wxPyGridCellAttrProvider
[] = { {&_swigt__p_wxPyGridCellAttrProvider
, 0, 0, 0},{0, 0, 0, 0}};
20124 static swig_cast_info _swigc__p_wxPyGridCellEditor
[] = { {&_swigt__p_wxPyGridCellEditor
, 0, 0, 0},{0, 0, 0, 0}};
20125 static swig_cast_info _swigc__p_wxPyGridCellRenderer
[] = { {&_swigt__p_wxPyGridCellRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20126 static swig_cast_info _swigc__p_wxPyGridTableBase
[] = { {&_swigt__p_wxPyGridTableBase
, 0, 0, 0},{0, 0, 0, 0}};
20127 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
20128 static swig_cast_info _swigc__p_wxScrolledWindow
[] = { {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxScrolledWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0},{0, 0, 0, 0}};
20129 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
20130 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
20131 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
20132 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
20133 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
20134 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
20135 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
20137 static swig_cast_info
*swig_cast_initial
[] = {
20139 _swigc__p_form_ops_t
,
20142 _swigc__p_unsigned_char
,
20143 _swigc__p_unsigned_int
,
20144 _swigc__p_unsigned_long
,
20145 _swigc__p_wxANIHandler
,
20146 _swigc__p_wxAcceleratorTable
,
20147 _swigc__p_wxActivateEvent
,
20148 _swigc__p_wxArrayString
,
20149 _swigc__p_wxBMPHandler
,
20150 _swigc__p_wxBoxSizer
,
20151 _swigc__p_wxCURHandler
,
20152 _swigc__p_wxCalculateLayoutEvent
,
20153 _swigc__p_wxChildFocusEvent
,
20154 _swigc__p_wxCloseEvent
,
20155 _swigc__p_wxColour
,
20156 _swigc__p_wxColourData
,
20157 _swigc__p_wxColourDialog
,
20158 _swigc__p_wxCommandEvent
,
20159 _swigc__p_wxContextMenuEvent
,
20160 _swigc__p_wxControl
,
20161 _swigc__p_wxControlWithItems
,
20163 _swigc__p_wxDateEvent
,
20164 _swigc__p_wxDialog
,
20165 _swigc__p_wxDirDialog
,
20166 _swigc__p_wxDisplayChangedEvent
,
20167 _swigc__p_wxDropFilesEvent
,
20168 _swigc__p_wxDuplexMode
,
20169 _swigc__p_wxEraseEvent
,
20171 _swigc__p_wxEvtHandler
,
20172 _swigc__p_wxFSFile
,
20173 _swigc__p_wxFileDialog
,
20174 _swigc__p_wxFileSystem
,
20175 _swigc__p_wxFindDialogEvent
,
20176 _swigc__p_wxFindReplaceData
,
20177 _swigc__p_wxFindReplaceDialog
,
20178 _swigc__p_wxFlexGridSizer
,
20179 _swigc__p_wxFocusEvent
,
20181 _swigc__p_wxFontData
,
20182 _swigc__p_wxFontDialog
,
20184 _swigc__p_wxGBSizerItem
,
20185 _swigc__p_wxGIFHandler
,
20187 _swigc__p_wxGridBagSizer
,
20188 _swigc__p_wxGridCellAttr
,
20189 _swigc__p_wxGridCellAttrProvider
,
20190 _swigc__p_wxGridCellAutoWrapStringEditor
,
20191 _swigc__p_wxGridCellAutoWrapStringRenderer
,
20192 _swigc__p_wxGridCellBoolEditor
,
20193 _swigc__p_wxGridCellBoolRenderer
,
20194 _swigc__p_wxGridCellChoiceEditor
,
20195 _swigc__p_wxGridCellCoords
,
20196 _swigc__p_wxGridCellDateTimeRenderer
,
20197 _swigc__p_wxGridCellEditor
,
20198 _swigc__p_wxGridCellEnumEditor
,
20199 _swigc__p_wxGridCellEnumRenderer
,
20200 _swigc__p_wxGridCellFloatEditor
,
20201 _swigc__p_wxGridCellFloatRenderer
,
20202 _swigc__p_wxGridCellNumberEditor
,
20203 _swigc__p_wxGridCellNumberRenderer
,
20204 _swigc__p_wxGridCellRenderer
,
20205 _swigc__p_wxGridCellStringRenderer
,
20206 _swigc__p_wxGridCellTextEditor
,
20207 _swigc__p_wxGridEditorCreatedEvent
,
20208 _swigc__p_wxGridEvent
,
20209 _swigc__p_wxGridRangeSelectEvent
,
20210 _swigc__p_wxGridSizeEvent
,
20211 _swigc__p_wxGridSizer
,
20212 _swigc__p_wxGridStringTable
,
20213 _swigc__p_wxGridTableBase
,
20214 _swigc__p_wxGridTableMessage
,
20215 _swigc__p_wxICOHandler
,
20216 _swigc__p_wxIconizeEvent
,
20217 _swigc__p_wxIdleEvent
,
20219 _swigc__p_wxImageHandler
,
20220 _swigc__p_wxIndividualLayoutConstraint
,
20221 _swigc__p_wxInitDialogEvent
,
20222 _swigc__p_wxJPEGHandler
,
20223 _swigc__p_wxKeyEvent
,
20224 _swigc__p_wxLayoutAlgorithm
,
20225 _swigc__p_wxLayoutConstraints
,
20226 _swigc__p_wxMDIChildFrame
,
20227 _swigc__p_wxMDIClientWindow
,
20228 _swigc__p_wxMDIParentFrame
,
20229 _swigc__p_wxMaximizeEvent
,
20231 _swigc__p_wxMenuBar
,
20232 _swigc__p_wxMenuEvent
,
20233 _swigc__p_wxMenuItem
,
20234 _swigc__p_wxMessageDialog
,
20235 _swigc__p_wxMiniFrame
,
20236 _swigc__p_wxMouseCaptureChangedEvent
,
20237 _swigc__p_wxMouseEvent
,
20238 _swigc__p_wxMoveEvent
,
20239 _swigc__p_wxMultiChoiceDialog
,
20240 _swigc__p_wxNavigationKeyEvent
,
20241 _swigc__p_wxNcPaintEvent
,
20242 _swigc__p_wxNotifyEvent
,
20243 _swigc__p_wxObject
,
20244 _swigc__p_wxPCXHandler
,
20245 _swigc__p_wxPNGHandler
,
20246 _swigc__p_wxPNMHandler
,
20247 _swigc__p_wxPageSetupDialog
,
20248 _swigc__p_wxPageSetupDialogData
,
20249 _swigc__p_wxPaintEvent
,
20250 _swigc__p_wxPaletteChangedEvent
,
20252 _swigc__p_wxPaperSize
,
20253 _swigc__p_wxPasswordEntryDialog
,
20255 _swigc__p_wxPopupWindow
,
20256 _swigc__p_wxPreviewCanvas
,
20257 _swigc__p_wxPreviewControlBar
,
20258 _swigc__p_wxPreviewFrame
,
20259 _swigc__p_wxPrintData
,
20260 _swigc__p_wxPrintDialog
,
20261 _swigc__p_wxPrintDialogData
,
20262 _swigc__p_wxPrintPreview
,
20263 _swigc__p_wxPrinter
,
20264 _swigc__p_wxProgressDialog
,
20266 _swigc__p_wxPyCommandEvent
,
20267 _swigc__p_wxPyEvent
,
20268 _swigc__p_wxPyGridCellAttrProvider
,
20269 _swigc__p_wxPyGridCellEditor
,
20270 _swigc__p_wxPyGridCellRenderer
,
20271 _swigc__p_wxPyGridTableBase
,
20272 _swigc__p_wxPyHtmlListBox
,
20273 _swigc__p_wxPyImageHandler
,
20274 _swigc__p_wxPyPanel
,
20275 _swigc__p_wxPyPopupTransientWindow
,
20276 _swigc__p_wxPyPreviewControlBar
,
20277 _swigc__p_wxPyPreviewFrame
,
20278 _swigc__p_wxPyPrintPreview
,
20279 _swigc__p_wxPyPrintout
,
20280 _swigc__p_wxPyScrolledWindow
,
20281 _swigc__p_wxPySizer
,
20282 _swigc__p_wxPyTaskBarIcon
,
20283 _swigc__p_wxPyVListBox
,
20284 _swigc__p_wxPyVScrolledWindow
,
20285 _swigc__p_wxPyValidator
,
20286 _swigc__p_wxPyWindow
,
20287 _swigc__p_wxQueryLayoutInfoEvent
,
20288 _swigc__p_wxQueryNewPaletteEvent
,
20290 _swigc__p_wxSashEvent
,
20291 _swigc__p_wxSashLayoutWindow
,
20292 _swigc__p_wxSashWindow
,
20293 _swigc__p_wxScrollEvent
,
20294 _swigc__p_wxScrollWinEvent
,
20295 _swigc__p_wxScrolledWindow
,
20296 _swigc__p_wxSetCursorEvent
,
20297 _swigc__p_wxShowEvent
,
20298 _swigc__p_wxSingleChoiceDialog
,
20300 _swigc__p_wxSizeEvent
,
20302 _swigc__p_wxSizerItem
,
20303 _swigc__p_wxSplashScreen
,
20304 _swigc__p_wxSplashScreenWindow
,
20305 _swigc__p_wxSplitterEvent
,
20306 _swigc__p_wxSplitterWindow
,
20307 _swigc__p_wxStaticBoxSizer
,
20308 _swigc__p_wxStatusBar
,
20309 _swigc__p_wxStdDialogButtonSizer
,
20310 _swigc__p_wxString
,
20311 _swigc__p_wxSysColourChangedEvent
,
20312 _swigc__p_wxTIFFHandler
,
20313 _swigc__p_wxTaskBarIconEvent
,
20314 _swigc__p_wxTextEntryDialog
,
20315 _swigc__p_wxTipWindow
,
20316 _swigc__p_wxTopLevelWindow
,
20317 _swigc__p_wxUpdateUIEvent
,
20318 _swigc__p_wxValidator
,
20319 _swigc__p_wxVisualAttributes
,
20320 _swigc__p_wxWindow
,
20321 _swigc__p_wxWindowCreateEvent
,
20322 _swigc__p_wxWindowDestroyEvent
,
20323 _swigc__p_wxXPMHandler
,
20325 _swigc__std__ptrdiff_t
,
20326 _swigc__unsigned_int
,
20330 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20332 static swig_const_info swig_const_table
[] = {
20333 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
20334 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
20335 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
20336 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
20337 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
20338 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
20339 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
20340 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
20341 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
20342 {0, 0, 0, 0.0, 0, 0}};
20347 /*************************************************************************
20348 * Type initialization:
20349 * This problem is tough by the requirement that no dynamic
20350 * memory is used. Also, since swig_type_info structures store pointers to
20351 * swig_cast_info structures and swig_cast_info structures store pointers back
20352 * to swig_type_info structures, we need some lookup code at initialization.
20353 * The idea is that swig generates all the structures that are needed.
20354 * The runtime then collects these partially filled structures.
20355 * The SWIG_InitializeModule function takes these initial arrays out of
20356 * swig_module, and does all the lookup, filling in the swig_module.types
20357 * array with the correct data and linking the correct swig_cast_info
20358 * structures together.
20360 * The generated swig_type_info structures are assigned staticly to an initial
20361 * array. We just loop though that array, and handle each type individually.
20362 * First we lookup if this type has been already loaded, and if so, use the
20363 * loaded structure instead of the generated one. Then we have to fill in the
20364 * cast linked list. The cast data is initially stored in something like a
20365 * two-dimensional array. Each row corresponds to a type (there are the same
20366 * number of rows as there are in the swig_type_initial array). Each entry in
20367 * a column is one of the swig_cast_info structures for that type.
20368 * The cast_initial array is actually an array of arrays, because each row has
20369 * a variable number of columns. So to actually build the cast linked list,
20370 * we find the array of casts associated with the type, and loop through it
20371 * adding the casts to the list. The one last trick we need to do is making
20372 * sure the type pointer in the swig_cast_info struct is correct.
20374 * First off, we lookup the cast->type name to see if it is already loaded.
20375 * There are three cases to handle:
20376 * 1) If the cast->type has already been loaded AND the type we are adding
20377 * casting info to has not been loaded (it is in this module), THEN we
20378 * replace the cast->type pointer with the type pointer that has already
20380 * 2) If BOTH types (the one we are adding casting info to, and the
20381 * cast->type) are loaded, THEN the cast info has already been loaded by
20382 * the previous module so we just ignore it.
20383 * 3) Finally, if cast->type has not already been loaded, then we add that
20384 * swig_cast_info to the linked list (because the cast->type) pointer will
20396 #define SWIGRUNTIME_DEBUG
20400 SWIG_InitializeModule(void *clientdata
) {
20402 swig_module_info
*module_head
;
20403 static int init_run
= 0;
20405 clientdata
= clientdata
;
20407 if (init_run
) return;
20410 /* Initialize the swig_module */
20411 swig_module
.type_initial
= swig_type_initial
;
20412 swig_module
.cast_initial
= swig_cast_initial
;
20414 /* Try and load any already created modules */
20415 module_head
= SWIG_GetModule(clientdata
);
20417 swig_module
.next
= module_head
->next
;
20418 module_head
->next
= &swig_module
;
20420 /* This is the first module loaded */
20421 swig_module
.next
= &swig_module
;
20422 SWIG_SetModule(clientdata
, &swig_module
);
20425 /* Now work on filling in swig_module.types */
20426 #ifdef SWIGRUNTIME_DEBUG
20427 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
20429 for (i
= 0; i
< swig_module
.size
; ++i
) {
20430 swig_type_info
*type
= 0;
20431 swig_type_info
*ret
;
20432 swig_cast_info
*cast
;
20434 #ifdef SWIGRUNTIME_DEBUG
20435 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20438 /* if there is another module already loaded */
20439 if (swig_module
.next
!= &swig_module
) {
20440 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
20443 /* Overwrite clientdata field */
20444 #ifdef SWIGRUNTIME_DEBUG
20445 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
20447 if (swig_module
.type_initial
[i
]->clientdata
) {
20448 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
20449 #ifdef SWIGRUNTIME_DEBUG
20450 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
20454 type
= swig_module
.type_initial
[i
];
20457 /* Insert casting types */
20458 cast
= swig_module
.cast_initial
[i
];
20459 while (cast
->type
) {
20460 /* Don't need to add information already in the list */
20462 #ifdef SWIGRUNTIME_DEBUG
20463 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
20465 if (swig_module
.next
!= &swig_module
) {
20466 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
20467 #ifdef SWIGRUNTIME_DEBUG
20468 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
20472 if (type
== swig_module
.type_initial
[i
]) {
20473 #ifdef SWIGRUNTIME_DEBUG
20474 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
20479 /* Check for casting already in the list */
20480 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
20481 #ifdef SWIGRUNTIME_DEBUG
20482 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
20484 if (!ocast
) ret
= 0;
20489 #ifdef SWIGRUNTIME_DEBUG
20490 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
20493 type
->cast
->prev
= cast
;
20494 cast
->next
= type
->cast
;
20500 /* Set entry in modules->types array equal to the type */
20501 swig_module
.types
[i
] = type
;
20503 swig_module
.types
[i
] = 0;
20505 #ifdef SWIGRUNTIME_DEBUG
20506 printf("**** SWIG_InitializeModule: Cast List ******\n");
20507 for (i
= 0; i
< swig_module
.size
; ++i
) {
20509 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
20510 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20511 while (cast
->type
) {
20512 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
20516 printf("---- Total casts: %d\n",j
);
20518 printf("**** SWIG_InitializeModule: Cast List ******\n");
20522 /* This function will propagate the clientdata field of type to
20523 * any new swig_type_info structures that have been added into the list
20524 * of equivalent types. It is like calling
20525 * SWIG_TypeClientData(type, clientdata) a second time.
20528 SWIG_PropagateClientData(void) {
20530 swig_cast_info
*equiv
;
20531 static int init_run
= 0;
20533 if (init_run
) return;
20536 for (i
= 0; i
< swig_module
.size
; i
++) {
20537 if (swig_module
.types
[i
]->clientdata
) {
20538 equiv
= swig_module
.types
[i
]->cast
;
20540 if (!equiv
->converter
) {
20541 if (equiv
->type
&& !equiv
->type
->clientdata
)
20542 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
20544 equiv
= equiv
->next
;
20564 /* Python-specific SWIG API */
20565 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20566 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20567 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20569 /* -----------------------------------------------------------------------------
20570 * global variable support code.
20571 * ----------------------------------------------------------------------------- */
20573 typedef struct swig_globalvar
{
20574 char *name
; /* Name of global variable */
20575 PyObject
*(*get_attr
)(void); /* Return the current value */
20576 int (*set_attr
)(PyObject
*); /* Set the value */
20577 struct swig_globalvar
*next
;
20580 typedef struct swig_varlinkobject
{
20582 swig_globalvar
*vars
;
20583 } swig_varlinkobject
;
20585 SWIGINTERN PyObject
*
20586 swig_varlink_repr(swig_varlinkobject
*v
) {
20588 return PyString_FromString("<Swig global variables>");
20592 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
20593 swig_globalvar
*var
;
20595 fprintf(fp
,"Swig global variables { ");
20596 for (var
= v
->vars
; var
; var
=var
->next
) {
20597 fprintf(fp
,"%s", var
->name
);
20598 if (var
->next
) fprintf(fp
,", ");
20600 fprintf(fp
," }\n");
20604 SWIGINTERN PyObject
*
20605 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
20606 swig_globalvar
*var
= v
->vars
;
20608 if (strcmp(var
->name
,n
) == 0) {
20609 return (*var
->get_attr
)();
20613 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20618 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
20619 swig_globalvar
*var
= v
->vars
;
20621 if (strcmp(var
->name
,n
) == 0) {
20622 return (*var
->set_attr
)(p
);
20626 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20630 SWIGINTERN PyTypeObject
*
20631 swig_varlink_type(void) {
20632 static char varlink__doc__
[] = "Swig var link object";
20633 static PyTypeObject varlink_type
20634 #if !defined(__cplusplus)
20636 static int type_init
= 0;
20641 PyObject_HEAD_INIT(&PyType_Type
)
20642 0, /* Number of items in variable part (ob_size) */
20643 (char *)"swigvarlink", /* Type name (tp_name) */
20644 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
20645 0, /* Itemsize (tp_itemsize) */
20646 0, /* Deallocator (tp_dealloc) */
20647 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
20648 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
20649 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
20650 0, /* tp_compare */
20651 (reprfunc
) swig_varlink_repr
, /* tp_repr */
20652 0, /* tp_as_number */
20653 0, /* tp_as_sequence */
20654 0, /* tp_as_mapping */
20658 0, /* tp_getattro */
20659 0, /* tp_setattro */
20660 0, /* tp_as_buffer */
20662 varlink__doc__
, /* tp_doc */
20663 #if PY_VERSION_HEX >= 0x02000000
20664 0, /* tp_traverse */
20667 #if PY_VERSION_HEX >= 0x02010000
20668 0, /* tp_richcompare */
20669 0, /* tp_weaklistoffset */
20671 #if PY_VERSION_HEX >= 0x02020000
20672 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20674 #if PY_VERSION_HEX >= 0x02030000
20677 #ifdef COUNT_ALLOCS
20678 0,0,0,0 /* tp_alloc -> tp_next */
20681 #if !defined(__cplusplus)
20682 varlink_type
= tmp
;
20686 return &varlink_type
;
20689 /* Create a variable linking object for use later */
20690 SWIGINTERN PyObject
*
20691 SWIG_Python_newvarlink(void) {
20692 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
20696 return ((PyObject
*) result
);
20700 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
20701 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
20702 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
20704 size_t size
= strlen(name
)+1;
20705 gv
->name
= (char *)malloc(size
);
20707 strncpy(gv
->name
,name
,size
);
20708 gv
->get_attr
= get_attr
;
20709 gv
->set_attr
= set_attr
;
20710 gv
->next
= v
->vars
;
20716 /* -----------------------------------------------------------------------------
20717 * constants/methods manipulation
20718 * ----------------------------------------------------------------------------- */
20720 /* Install Constants */
20722 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
20725 for (i
= 0; constants
[i
].type
; ++i
) {
20726 switch(constants
[i
].type
) {
20728 obj
= PyInt_FromLong(constants
[i
].lvalue
);
20730 case SWIG_PY_FLOAT
:
20731 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
20733 case SWIG_PY_STRING
:
20734 if (constants
[i
].pvalue
) {
20735 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
20737 Py_INCREF(Py_None
);
20741 case SWIG_PY_POINTER
:
20742 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
20744 case SWIG_PY_BINARY
:
20745 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
20752 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
20758 /* -----------------------------------------------------------------------------*/
20759 /* Fix SwigMethods to carry the callback ptrs when needed */
20760 /* -----------------------------------------------------------------------------*/
20763 SWIG_Python_FixMethods(PyMethodDef
*methods
,
20764 swig_const_info
*const_table
,
20765 swig_type_info
**types
,
20766 swig_type_info
**types_initial
) {
20768 for (i
= 0; methods
[i
].ml_name
; ++i
) {
20769 char *c
= methods
[i
].ml_doc
;
20770 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
20772 swig_const_info
*ci
= 0;
20773 char *name
= c
+ 10;
20774 for (j
= 0; const_table
[j
].type
; ++j
) {
20775 if (strncmp(const_table
[j
].name
, name
,
20776 strlen(const_table
[j
].name
)) == 0) {
20777 ci
= &(const_table
[j
]);
20782 size_t shift
= (ci
->ptype
) - types
;
20783 swig_type_info
*ty
= types_initial
[shift
];
20784 size_t ldoc
= (c
- methods
[i
].ml_doc
);
20785 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
20786 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
20789 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
20791 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
20793 strncpy(buff
, "swig_ptr: ", 10);
20795 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
20796 methods
[i
].ml_doc
= ndoc
;
20804 /* -----------------------------------------------------------------------------*
20805 * Initialize type list
20806 * -----------------------------------------------------------------------------*/
20812 /* -----------------------------------------------------------------------------*
20813 * Partial Init method
20814 * -----------------------------------------------------------------------------*/
20819 SWIGEXPORT
void SWIG_init(void) {
20820 static PyObject
*SWIG_globals
= 0;
20822 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
20824 /* Fix SwigMethods to carry the callback ptrs when needed */
20825 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
20827 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20828 d
= PyModule_GetDict(m
);
20830 SWIG_InitializeModule(0);
20831 SWIG_InstallConstants(d
,swig_const_table
);
20833 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
20834 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
20835 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
20836 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
20837 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
20838 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
20839 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
20840 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
20841 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
20842 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20843 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
20844 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
20846 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_NUMBER_ROWS
)));
20849 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_NUMBER_COLS
)));
20852 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_ROW_HEIGHT
)));
20855 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_COL_WIDTH
)));
20858 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_COL_LABEL_HEIGHT
)));
20861 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_ROW_LABEL_WIDTH
)));
20864 PyDict_SetItemString(d
,"GRID_LABEL_EDGE_ZONE", SWIG_From_int(static_cast<int >(wxGRID_LABEL_EDGE_ZONE
)));
20867 PyDict_SetItemString(d
,"GRID_MIN_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxGRID_MIN_ROW_HEIGHT
)));
20870 PyDict_SetItemString(d
,"GRID_MIN_COL_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_MIN_COL_WIDTH
)));
20873 PyDict_SetItemString(d
,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_SCROLLBAR_WIDTH
)));
20876 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_From_int(static_cast<int >(wxGridCellAttr::Any
)));
20879 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_From_int(static_cast<int >(wxGridCellAttr::Default
)));
20882 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_From_int(static_cast<int >(wxGridCellAttr::Cell
)));
20885 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_From_int(static_cast<int >(wxGridCellAttr::Row
)));
20888 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_From_int(static_cast<int >(wxGridCellAttr::Col
)));
20891 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_From_int(static_cast<int >(wxGridCellAttr::Merged
)));
20894 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int(static_cast<int >(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)));
20897 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int(static_cast<int >(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)));
20900 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)));
20903 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)));
20906 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_ROWS_DELETED
)));
20909 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED
)));
20912 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED
)));
20915 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_COLS_DELETED
)));
20918 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_From_int(static_cast<int >(wxGrid::wxGridSelectCells
)));
20921 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_From_int(static_cast<int >(wxGrid::wxGridSelectRows
)));
20924 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_From_int(static_cast<int >(wxGrid::wxGridSelectColumns
)));
20926 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
20927 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
20928 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
20929 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
20930 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
20931 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
20932 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
20933 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
20934 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
20935 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
20936 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
20937 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
20938 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
20939 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
20940 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
20941 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
20942 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));