1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_VERSION 0x010327
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /***********************************************************************
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
35 ************************************************************************/
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
42 # define SWIGTEMPLATEDISAMBIGUATOR
46 /* inline attribute */
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
64 /* internal SWIG method */
66 # define SWIGINTERN static SWIGUNUSED
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
74 /* exporting methods for Windows DLLs */
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
80 # define SWIGEXPORT __declspec(dllexport)
87 /* calling conventions for Windows */
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
100 /***********************************************************************
103 * This file contains generic CAPI SWIG runtime support for pointer
106 ************************************************************************/
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
118 # define SWIG_TYPE_TABLE_NAME
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
131 # define SWIGRUNTIME SWIGINTERN
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
144 typedef void *(*swig_converter_func
)(void *);
145 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info
{
149 const char *name
; /* mangled name of this type */
150 const char *str
; /* human readable name of this type */
151 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
153 void *clientdata
; /* language specific type data */
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info
{
158 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter
; /* function to cast the void pointers */
160 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
161 struct swig_cast_info
*prev
; /* pointer to the previous cast */
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info
{
168 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size
; /* Number of types in this module */
170 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
171 swig_type_info
**type_initial
; /* Array of initially generated type structures */
172 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
173 void *clientdata
; /* Language specific module data */
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
185 SWIG_TypeNameComp(const char *f1
, const char *l1
,
186 const char *f2
, const char *l2
) {
187 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
188 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
189 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
190 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
192 return (l1
- f1
) - (l2
- f2
);
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
200 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
202 const char* te
= tb
+ strlen(tb
);
204 while (!equiv
&& *ne
) {
205 for (nb
= ne
; *ne
; ++ne
) {
206 if (*ne
== '|') break;
208 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
219 SWIG_TypeCompare(const char *nb
, const char *tb
) {
221 const char* te
= tb
+ strlen(tb
);
223 while (!equiv
&& *ne
) {
224 for (nb
= ne
; *ne
; ++ne
) {
225 if (*ne
== '|') break;
227 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
237 swig_cast_info *iter = ty->cast; \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
247 if (ty->cast) ty->cast->prev = iter; \
259 SWIGRUNTIME swig_cast_info
*
260 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
261 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info
*
266 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
267 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
271 Cast a pointer up an inheritance hierarchy
273 SWIGRUNTIMEINLINE
void *
274 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
275 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
279 Dynamic pointer casting. Down an inheritance hierarchy
281 SWIGRUNTIME swig_type_info
*
282 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
283 swig_type_info
*lastty
= ty
;
284 if (!ty
|| !ty
->dcast
) return ty
;
285 while (ty
&& (ty
->dcast
)) {
286 ty
= (*ty
->dcast
)(ptr
);
293 Return the name associated with this type
295 SWIGRUNTIMEINLINE
const char *
296 SWIG_TypeName(const swig_type_info
*ty
) {
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
304 SWIGRUNTIME
const char *
305 SWIG_TypePrettyName(const swig_type_info
*type
) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
310 if (type
->str
!= NULL
) {
311 const char *last_name
= type
->str
;
313 for (s
= type
->str
; *s
; s
++)
314 if (*s
== '|') last_name
= s
+1;
322 Set the clientdata field for a type
325 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
326 swig_cast_info
*cast
= ti
->cast
;
327 /* if (ti->clientdata == clientdata) return; */
328 ti
->clientdata
= clientdata
;
331 if (!cast
->converter
) {
332 swig_type_info
*tc
= cast
->type
;
333 if (!tc
->clientdata
) {
334 SWIG_TypeClientData(tc
, clientdata
);
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
349 SWIGRUNTIME swig_type_info
*
350 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
351 swig_module_info
*end
,
353 swig_module_info
*iter
= start
;
356 register size_t l
= 0;
357 register size_t r
= iter
->size
- 1;
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i
= (l
+ r
) >> 1;
361 const char *iname
= iter
->types
[i
]->name
;
363 register int compare
= strcmp(name
, iname
);
365 return iter
->types
[i
];
366 } else if (compare
< 0) {
372 } else if (compare
> 0) {
376 break; /* should never happen */
381 } while (iter
!= end
);
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
394 SWIGRUNTIME swig_type_info
*
395 SWIG_TypeQueryModule(swig_module_info
*start
,
396 swig_module_info
*end
,
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info
*iter
= start
;
407 register size_t i
= 0;
408 for (; i
< iter
->size
; ++i
) {
409 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
410 return iter
->types
[i
];
413 } while (iter
!= end
);
416 /* neither found a match */
422 Pack binary data into a string
425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
426 static const char hex
[17] = "0123456789abcdef";
427 register const unsigned char *u
= (unsigned char *) ptr
;
428 register const unsigned char *eu
= u
+ sz
;
429 for (; u
!= eu
; ++u
) {
430 register unsigned char uu
= *u
;
431 *(c
++) = hex
[(uu
& 0xf0) >> 4];
432 *(c
++) = hex
[uu
& 0xf];
438 Unpack binary data from a string
440 SWIGRUNTIME
const char *
441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
442 register unsigned char *u
= (unsigned char *) ptr
;
443 register const unsigned char *eu
= u
+ sz
;
444 for (; u
!= eu
; ++u
) {
445 register char d
= *(c
++);
446 register unsigned char uu
= 0;
447 if ((d
>= '0') && (d
<= '9'))
448 uu
= ((d
- '0') << 4);
449 else if ((d
>= 'a') && (d
<= 'f'))
450 uu
= ((d
- ('a'-10)) << 4);
454 if ((d
>= '0') && (d
<= '9'))
456 else if ((d
>= 'a') && (d
<= 'f'))
457 uu
|= (d
- ('a'-10));
466 Pack 'void *' into a string buffer.
469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
471 if ((2*sizeof(void *) + 2) > bsz
) return 0;
473 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
474 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
479 SWIGRUNTIME
const char *
480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
482 if (strcmp(c
,"NULL") == 0) {
489 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
495 size_t lname
= (name
? strlen(name
) : 0);
496 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
498 r
= SWIG_PackData(r
,ptr
,sz
);
500 strncpy(r
,name
,lname
+1);
507 SWIGRUNTIME
const char *
508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
510 if (strcmp(c
,"NULL") == 0) {
517 return SWIG_UnpackData(++c
,ptr
,sz
);
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
537 # define SWIGINTERN static SWIGUNUSED
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
545 Exception handling in wrappers
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
571 /* Constant information structure */
572 typedef struct swig_const_info
{
578 swig_type_info
**ptype
;
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
594 /***********************************************************************
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
654 PyString_FromFormat(const char *fmt
, ...) {
656 char buf
[SWIG_BUFFER_SIZE
* 2];
659 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
661 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
681 /* Declarations for objects of type PySwigObject */
684 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
686 char result
[SWIG_BUFFER_SIZE
];
688 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
689 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
696 SWIGRUNTIME PyObject
*
697 PySwigObject_repr(PySwigObject
*v
)
699 char result
[SWIG_BUFFER_SIZE
];
700 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
701 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
704 SWIGRUNTIME PyObject
*
705 PySwigObject_str(PySwigObject
*v
)
707 char result
[SWIG_BUFFER_SIZE
];
708 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
709 PyString_FromString(result
) : 0;
712 SWIGRUNTIME PyObject
*
713 PySwigObject_long(PySwigObject
*v
)
715 return PyLong_FromVoidPtr(v
->ptr
);
718 SWIGRUNTIME PyObject
*
719 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
721 PyObject
*res
= NULL
;
722 PyObject
*args
= PyTuple_New(1);
723 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
724 PyObject
*ofmt
= PyString_FromString(fmt
);
726 res
= PyString_Format(ofmt
,args
);
734 SWIGRUNTIME PyObject
*
735 PySwigObject_oct(PySwigObject
*v
)
737 return PySwigObject_format("%o",v
);
740 SWIGRUNTIME PyObject
*
741 PySwigObject_hex(PySwigObject
*v
)
743 return PySwigObject_format("%x",v
);
747 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
749 int c
= strcmp(v
->desc
, w
->desc
);
751 return (c
> 0) ? 1 : -1;
755 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
760 PySwigObject_dealloc(PySwigObject
*self
)
765 SWIGRUNTIME PyTypeObject
*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__
[] =
768 "Swig object carries a C/C++ instance pointer";
770 static PyNumberMethods PySwigObject_as_number
= {
771 (binaryfunc
)0, /*nb_add*/
772 (binaryfunc
)0, /*nb_subtract*/
773 (binaryfunc
)0, /*nb_multiply*/
774 (binaryfunc
)0, /*nb_divide*/
775 (binaryfunc
)0, /*nb_remainder*/
776 (binaryfunc
)0, /*nb_divmod*/
777 (ternaryfunc
)0,/*nb_power*/
778 (unaryfunc
)0, /*nb_negative*/
779 (unaryfunc
)0, /*nb_positive*/
780 (unaryfunc
)0, /*nb_absolute*/
781 (inquiry
)0, /*nb_nonzero*/
788 (coercion
)0, /*nb_coerce*/
789 (unaryfunc
)PySwigObject_long
, /*nb_int*/
790 (unaryfunc
)PySwigObject_long
, /*nb_long*/
791 (unaryfunc
)0, /*nb_float*/
792 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
793 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
804 static int type_init
= 0;
809 PyObject_HEAD_INIT(&PyType_Type
)
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject
), /*tp_basicsize*/
815 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
816 (printfunc
)PySwigObject_print
, /*tp_print*/
817 (getattrfunc
)0, /*tp_getattr*/
818 (setattrfunc
)0, /*tp_setattr*/
819 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
820 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
821 &PySwigObject_as_number
, /*tp_as_number*/
822 0, /*tp_as_sequence*/
824 (hashfunc
)0, /*tp_hash*/
825 (ternaryfunc
)0, /*tp_call*/
826 (reprfunc
)PySwigObject_str
, /*tp_str*/
827 /* Space for future expansion */
829 pyswigobject_type__doc__
, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
841 #if PY_VERSION_HEX >= 0x02030000
845 0,0,0,0 /* tp_alloc -> tp_next */
848 #if !defined(__cplusplus)
849 pyswigobject_type
= tmp
;
853 return &pyswigobject_type
;
856 SWIGRUNTIME PyObject
*
857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
859 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
864 return (PyObject
*)self
;
867 SWIGRUNTIMEINLINE
void *
868 PySwigObject_AsVoidPtr(PyObject
*self
)
870 return ((PySwigObject
*)self
)->ptr
;
873 SWIGRUNTIMEINLINE
const char *
874 PySwigObject_GetDesc(PyObject
*self
)
876 return ((PySwigObject
*)self
)->desc
;
879 SWIGRUNTIMEINLINE
int
880 PySwigObject_Check(PyObject
*op
) {
881 return ((op
)->ob_type
== PySwigObject_type())
882 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
897 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
899 char result
[SWIG_BUFFER_SIZE
];
901 fputs("<Swig Packed ", fp
);
902 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
911 SWIGRUNTIME PyObject
*
912 PySwigPacked_repr(PySwigPacked
*v
)
914 char result
[SWIG_BUFFER_SIZE
];
915 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
918 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
922 SWIGRUNTIME PyObject
*
923 PySwigPacked_str(PySwigPacked
*v
)
925 char result
[SWIG_BUFFER_SIZE
];
926 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
927 return PyString_FromFormat("%s%s", result
, v
->desc
);
929 return PyString_FromString(v
->desc
);
934 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
936 int c
= strcmp(v
->desc
, w
->desc
);
938 return (c
> 0) ? 1 : -1;
942 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
943 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
948 PySwigPacked_dealloc(PySwigPacked
*self
)
954 SWIGRUNTIME PyTypeObject
*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__
[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
961 static int type_init
= 0;
966 PyObject_HEAD_INIT(&PyType_Type
)
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked
), /*tp_basicsize*/
972 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
973 (printfunc
)PySwigPacked_print
, /*tp_print*/
974 (getattrfunc
)0, /*tp_getattr*/
975 (setattrfunc
)0, /*tp_setattr*/
976 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
977 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
979 0, /*tp_as_sequence*/
981 (hashfunc
)0, /*tp_hash*/
982 (ternaryfunc
)0, /*tp_call*/
983 (reprfunc
)PySwigPacked_str
, /*tp_str*/
984 /* Space for future expansion */
986 pyswigpacked_type__doc__
, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
998 #if PY_VERSION_HEX >= 0x02030000
1002 0,0,0,0 /* tp_alloc -> tp_next */
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type
= tmp
;
1010 return &pyswigpacked_type
;
1013 SWIGRUNTIME PyObject
*
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1016 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1020 void *pack
= malloc(size
);
1022 memcpy(pack
, ptr
, size
);
1026 return (PyObject
*) self
;
1032 SWIGRUNTIMEINLINE
const char *
1033 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1035 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1036 if (self
->size
!= size
) return 0;
1037 memcpy(ptr
, self
->pack
, size
);
1041 SWIGRUNTIMEINLINE
const char *
1042 PySwigPacked_GetDesc(PyObject
*self
)
1044 return ((PySwigPacked
*)self
)->desc
;
1047 SWIGRUNTIMEINLINE
int
1048 PySwigPacked_Check(PyObject
*op
) {
1049 return ((op
)->ob_type
== PySwigPacked_type())
1050 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1072 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj
&& PySwigObject_Check(obj
)) {
1077 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1079 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1086 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1088 PyObject
*str
= PyObject_Str(obj
);
1089 const char *cstr
= str
? PyString_AsString(str
) : 0;
1091 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1094 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1101 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1103 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1107 SWIGRUNTIMEINLINE
void
1108 SWIG_Python_NullRef(const char *type
)
1111 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1113 PyErr_Format(PyExc_TypeError
, "null reference was received");
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1120 if (PyErr_Occurred()) {
1122 PyObject
*value
= 0;
1123 PyObject
*traceback
= 0;
1124 PyErr_Fetch(&type
, &value
, &traceback
);
1126 PyObject
*old_str
= PyObject_Str(value
);
1130 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1132 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1143 SWIG_Python_ArgFail(int argnum
)
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1148 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1149 return SWIG_Python_AddErrMesg(mesg
, 1);
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1160 /* Convert a pointer value */
1162 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1165 static PyObject
*SWIG_this
= 0;
1167 PyObject
*pyobj
= 0;
1171 if (obj
== Py_None
) {
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj
))) {
1179 SWIG_this
= PyString_FromString("this");
1181 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1183 if (!obj
) goto type_error
;
1184 if (!PySwigObject_Check(obj
)) {
1189 vptr
= PySwigObject_AsVoidPtr(obj
);
1190 c
= (const char *) PySwigObject_GetDesc(obj
);
1191 if (newref
) { Py_DECREF(obj
); }
1194 if (!(PyString_Check(obj
))) {
1196 SWIG_this
= PyString_FromString("this");
1198 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1200 if (!obj
) goto type_error
;
1201 if (!PyString_Check(obj
)) {
1206 c
= PyString_AsString(obj
);
1207 /* Pointer values must start with leading underscore */
1208 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1209 if (newref
) { Py_DECREF(obj
); }
1210 if (!c
) goto type_error
;
1215 tc
= SWIG_TypeCheck(c
,ty
);
1216 if (!tc
) goto type_error
;
1217 *ptr
= SWIG_TypeCast(tc
,vptr
);
1221 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1222 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1228 if (pyobj
&& !obj
) {
1230 if (PyCFunction_Check(obj
)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1233 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1235 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1236 if (!c
) goto type_error
;
1241 if (flags
& SWIG_POINTER_EXCEPTION
) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1245 SWIG_Python_TypeError("C/C++ pointer", obj
);
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1253 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1255 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1257 if (flags
& SWIG_POINTER_EXCEPTION
) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1259 SWIG_Python_ArgFail(argnum
);
1265 /* Convert a packed value value */
1267 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1274 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1275 c
= PyString_AsString(obj
);
1276 /* Pointer values must start with leading underscore */
1277 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1279 if (!c
) goto type_error
;
1281 tc
= SWIG_TypeCheck(c
,ty
);
1282 if (!tc
) goto type_error
;
1288 if (flags
& SWIG_POINTER_EXCEPTION
) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1292 SWIG_Python_TypeError("C/C++ packed data", obj
);
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject
*
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1316 char result
[SWIG_BUFFER_SIZE
];
1317 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1318 PyString_FromString(result
) : 0;
1321 if (!robj
|| (robj
== Py_None
)) return robj
;
1322 if (type
->clientdata
) {
1324 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1326 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1330 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1338 SWIGRUNTIME PyObject
*
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1349 char result
[SWIG_BUFFER_SIZE
];
1350 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1351 PyString_FromString(result
) : 0;
1357 /* -----------------------------------------------------------------------------*
1359 * -----------------------------------------------------------------------------*/
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1365 SWIGRUNTIME swig_module_info
*
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer
= (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer
) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1373 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1375 if (PyErr_Occurred()) {
1377 type_pointer
= (void *)0;
1381 return (swig_module_info
*) type_pointer
;
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1388 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1391 if (!PyModule_Check(m
)) {
1392 PyErr_SetString(PyExc_TypeError
,
1393 "PyModule_AddObject() needs module as first arg");
1397 PyErr_SetString(PyExc_TypeError
,
1398 "PyModule_AddObject() needs non-NULL value");
1402 dict
= PyModule_GetDict(m
);
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1406 PyModule_GetName(m
));
1409 if (PyDict_SetItemString(dict
, name
, o
))
1417 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1418 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1420 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1421 swig_empty_runtime_method_table
);
1422 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1423 if (pointer
&& module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_form_ops_t swig_types[1]
1437 #define SWIGTYPE_p_int swig_types[2]
1438 #define SWIGTYPE_p_long swig_types[3]
1439 #define SWIGTYPE_p_unsigned_char swig_types[4]
1440 #define SWIGTYPE_p_unsigned_int swig_types[5]
1441 #define SWIGTYPE_p_unsigned_long swig_types[6]
1442 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1443 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1444 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1445 #define SWIGTYPE_p_wxArrayString swig_types[10]
1446 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
1447 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1448 #define SWIGTYPE_p_wxCURHandler swig_types[13]
1449 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1450 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1451 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1452 #define SWIGTYPE_p_wxColour swig_types[17]
1453 #define SWIGTYPE_p_wxColourData swig_types[18]
1454 #define SWIGTYPE_p_wxColourDialog swig_types[19]
1455 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1456 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1457 #define SWIGTYPE_p_wxControl swig_types[22]
1458 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
1459 #define SWIGTYPE_p_wxDC swig_types[24]
1460 #define SWIGTYPE_p_wxDateEvent swig_types[25]
1461 #define SWIGTYPE_p_wxDialog swig_types[26]
1462 #define SWIGTYPE_p_wxDirDialog swig_types[27]
1463 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1464 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1465 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
1466 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
1467 #define SWIGTYPE_p_wxEvent swig_types[32]
1468 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
1469 #define SWIGTYPE_p_wxFSFile swig_types[34]
1470 #define SWIGTYPE_p_wxFileDialog swig_types[35]
1471 #define SWIGTYPE_p_wxFileSystem swig_types[36]
1472 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1473 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1474 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1475 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1476 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
1477 #define SWIGTYPE_p_wxFont swig_types[42]
1478 #define SWIGTYPE_p_wxFontData swig_types[43]
1479 #define SWIGTYPE_p_wxFontDialog swig_types[44]
1480 #define SWIGTYPE_p_wxFrame swig_types[45]
1481 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1482 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
1483 #define SWIGTYPE_p_wxGrid swig_types[48]
1484 #define SWIGTYPE_p_wxGridBagSizer swig_types[49]
1485 #define SWIGTYPE_p_wxGridCellAttr swig_types[50]
1486 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[51]
1487 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[52]
1488 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[53]
1489 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[54]
1490 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[55]
1491 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[56]
1492 #define SWIGTYPE_p_wxGridCellCoords swig_types[57]
1493 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[58]
1494 #define SWIGTYPE_p_wxGridCellEditor swig_types[59]
1495 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[60]
1496 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[61]
1497 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[62]
1498 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[63]
1499 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[64]
1500 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[65]
1501 #define SWIGTYPE_p_wxGridCellRenderer swig_types[66]
1502 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[67]
1503 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[68]
1504 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[69]
1505 #define SWIGTYPE_p_wxGridEvent swig_types[70]
1506 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[71]
1507 #define SWIGTYPE_p_wxGridSizeEvent swig_types[72]
1508 #define SWIGTYPE_p_wxGridSizer swig_types[73]
1509 #define SWIGTYPE_p_wxGridStringTable swig_types[74]
1510 #define SWIGTYPE_p_wxGridTableBase swig_types[75]
1511 #define SWIGTYPE_p_wxGridTableMessage swig_types[76]
1512 #define SWIGTYPE_p_wxICOHandler swig_types[77]
1513 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
1514 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
1515 #define SWIGTYPE_p_wxImage swig_types[80]
1516 #define SWIGTYPE_p_wxImageHandler swig_types[81]
1517 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
1518 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
1519 #define SWIGTYPE_p_wxJPEGHandler swig_types[84]
1520 #define SWIGTYPE_p_wxKeyEvent swig_types[85]
1521 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[86]
1522 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
1523 #define SWIGTYPE_p_wxMDIChildFrame swig_types[88]
1524 #define SWIGTYPE_p_wxMDIClientWindow swig_types[89]
1525 #define SWIGTYPE_p_wxMDIParentFrame swig_types[90]
1526 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
1527 #define SWIGTYPE_p_wxMenu swig_types[92]
1528 #define SWIGTYPE_p_wxMenuBar swig_types[93]
1529 #define SWIGTYPE_p_wxMenuEvent swig_types[94]
1530 #define SWIGTYPE_p_wxMenuItem swig_types[95]
1531 #define SWIGTYPE_p_wxMessageDialog swig_types[96]
1532 #define SWIGTYPE_p_wxMiniFrame swig_types[97]
1533 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[98]
1534 #define SWIGTYPE_p_wxMouseEvent swig_types[99]
1535 #define SWIGTYPE_p_wxMoveEvent swig_types[100]
1536 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[101]
1537 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
1538 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
1539 #define SWIGTYPE_p_wxNotifyEvent swig_types[104]
1540 #define SWIGTYPE_p_wxObject swig_types[105]
1541 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
1542 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
1543 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
1544 #define SWIGTYPE_p_wxPageSetupDialog swig_types[109]
1545 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[110]
1546 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
1547 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
1548 #define SWIGTYPE_p_wxPanel swig_types[113]
1549 #define SWIGTYPE_p_wxPaperSize swig_types[114]
1550 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[115]
1551 #define SWIGTYPE_p_wxPoint swig_types[116]
1552 #define SWIGTYPE_p_wxPopupWindow swig_types[117]
1553 #define SWIGTYPE_p_wxPreviewCanvas swig_types[118]
1554 #define SWIGTYPE_p_wxPreviewControlBar swig_types[119]
1555 #define SWIGTYPE_p_wxPreviewFrame swig_types[120]
1556 #define SWIGTYPE_p_wxPrintData swig_types[121]
1557 #define SWIGTYPE_p_wxPrintDialog swig_types[122]
1558 #define SWIGTYPE_p_wxPrintDialogData swig_types[123]
1559 #define SWIGTYPE_p_wxPrintPreview swig_types[124]
1560 #define SWIGTYPE_p_wxPrinter swig_types[125]
1561 #define SWIGTYPE_p_wxProgressDialog swig_types[126]
1562 #define SWIGTYPE_p_wxPyApp swig_types[127]
1563 #define SWIGTYPE_p_wxPyCommandEvent swig_types[128]
1564 #define SWIGTYPE_p_wxPyEvent swig_types[129]
1565 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[130]
1566 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[131]
1567 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[132]
1568 #define SWIGTYPE_p_wxPyGridTableBase swig_types[133]
1569 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[134]
1570 #define SWIGTYPE_p_wxPyImageHandler swig_types[135]
1571 #define SWIGTYPE_p_wxPyPanel swig_types[136]
1572 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[137]
1573 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[138]
1574 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[139]
1575 #define SWIGTYPE_p_wxPyPrintPreview swig_types[140]
1576 #define SWIGTYPE_p_wxPyPrintout swig_types[141]
1577 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[142]
1578 #define SWIGTYPE_p_wxPySizer swig_types[143]
1579 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[144]
1580 #define SWIGTYPE_p_wxPyVListBox swig_types[145]
1581 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[146]
1582 #define SWIGTYPE_p_wxPyValidator swig_types[147]
1583 #define SWIGTYPE_p_wxPyWindow swig_types[148]
1584 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[149]
1585 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[150]
1586 #define SWIGTYPE_p_wxRect swig_types[151]
1587 #define SWIGTYPE_p_wxSashEvent swig_types[152]
1588 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[153]
1589 #define SWIGTYPE_p_wxSashWindow swig_types[154]
1590 #define SWIGTYPE_p_wxScrollEvent swig_types[155]
1591 #define SWIGTYPE_p_wxScrollWinEvent swig_types[156]
1592 #define SWIGTYPE_p_wxScrolledWindow swig_types[157]
1593 #define SWIGTYPE_p_wxSetCursorEvent swig_types[158]
1594 #define SWIGTYPE_p_wxShowEvent swig_types[159]
1595 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[160]
1596 #define SWIGTYPE_p_wxSize swig_types[161]
1597 #define SWIGTYPE_p_wxSizeEvent swig_types[162]
1598 #define SWIGTYPE_p_wxSizer swig_types[163]
1599 #define SWIGTYPE_p_wxSizerItem swig_types[164]
1600 #define SWIGTYPE_p_wxSplashScreen swig_types[165]
1601 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[166]
1602 #define SWIGTYPE_p_wxSplitterEvent swig_types[167]
1603 #define SWIGTYPE_p_wxSplitterWindow swig_types[168]
1604 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[169]
1605 #define SWIGTYPE_p_wxStatusBar swig_types[170]
1606 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[171]
1607 #define SWIGTYPE_p_wxString swig_types[172]
1608 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[173]
1609 #define SWIGTYPE_p_wxTIFFHandler swig_types[174]
1610 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[175]
1611 #define SWIGTYPE_p_wxTextEntryDialog swig_types[176]
1612 #define SWIGTYPE_p_wxTipWindow swig_types[177]
1613 #define SWIGTYPE_p_wxTopLevelWindow swig_types[178]
1614 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[179]
1615 #define SWIGTYPE_p_wxValidator swig_types[180]
1616 #define SWIGTYPE_p_wxVisualAttributes swig_types[181]
1617 #define SWIGTYPE_p_wxWindow swig_types[182]
1618 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[183]
1619 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[184]
1620 #define SWIGTYPE_p_wxXPMHandler swig_types[185]
1621 #define SWIGTYPE_ptrdiff_t swig_types[186]
1622 #define SWIGTYPE_std__ptrdiff_t swig_types[187]
1623 #define SWIGTYPE_unsigned_int swig_types[188]
1624 static swig_type_info
*swig_types
[190];
1625 static swig_module_info swig_module
= {swig_types
, 189, 0, 0, 0, 0};
1626 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1627 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1629 /* -------- TYPES TABLE (END) -------- */
1632 /*-----------------------------------------------
1633 @(target):= _grid.so
1634 ------------------------------------------------*/
1635 #define SWIG_init init_grid
1637 #define SWIG_name "_grid"
1639 #include "wx/wxPython/wxPython.h"
1640 #include "wx/wxPython/pyclasses.h"
1641 #include "wx/wxPython/printfw.h"
1643 #include <wx/grid.h>
1644 #include <wx/generic/gridctrl.h>
1647 static const wxString
wxPyEmptyString(wxEmptyString
);
1648 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1649 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
1652 #define wxPyMake_TEMPLATE(TYPE) \
1653 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
1654 PyObject* target = NULL; \
1656 /* Check if there is already a pointer to a Python object in the \
1657 OOR data that we can use. */ \
1658 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
1660 target = data->m_obj; \
1662 Py_INCREF(target); \
1664 /* Otherwise make a new wrapper for it the old fashioned way and \
1665 give it the OOR treatment */ \
1667 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
1669 source->SetClientObject(new wxPyOORClientData(target)); \
1671 } else { /* source was NULL so return None. */ \
1672 Py_INCREF(Py_None); target = Py_None; \
1678 wxPyMake_TEMPLATE(wxGridCellRenderer)
1679 wxPyMake_TEMPLATE(wxGridCellEditor
)
1680 wxPyMake_TEMPLATE(wxGridCellAttr
)
1681 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
1682 wxPyMake_TEMPLATE(wxGridTableBase
)
1686 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
1687 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
1688 wxGridCellAttr* rval = NULL; \
1690 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1691 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1693 wxGridCellAttr* ptr; \
1694 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
1696 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
1701 wxPyEndBlockThreads(blocked); \
1703 rval = PCLASS::CBNAME(a, b, c); \
1708 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
1709 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
1710 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1712 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1713 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
1714 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
1717 wxPyEndBlockThreads(blocked); \
1719 PCLASS::CBNAME(attr, a, b); \
1724 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
1725 void CBNAME(wxGridCellAttr *attr, int val) { \
1726 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1728 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1729 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
1730 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
1733 wxPyEndBlockThreads(blocked); \
1735 PCLASS::CBNAME(attr, val); \
1740 #define PYCALLBACK_INT__pure(CBNAME) \
1742 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1744 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
1745 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1746 wxPyEndBlockThreads(blocked); \
1752 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
1753 bool CBNAME(int a, int b) { \
1754 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1756 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
1757 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
1758 wxPyEndBlockThreads(blocked); \
1763 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
1764 wxString CBNAME(int a, int b) { \
1765 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1767 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
1769 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1771 rval = Py2wxString(ro); \
1775 wxPyEndBlockThreads(blocked); \
1780 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
1781 void CBNAME(int a, int b, const wxString& c) { \
1782 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1783 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
1784 PyObject* s = wx2PyString(c); \
1785 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
1788 wxPyEndBlockThreads(blocked); \
1792 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
1793 wxString CBNAME(int a, int b) { \
1795 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1797 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1799 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1801 rval = Py2wxString(ro); \
1805 wxPyEndBlockThreads(blocked); \
1807 rval = PCLASS::CBNAME(a, b); \
1812 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
1813 bool CBNAME(int a, int b, const wxString& c) { \
1816 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1817 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1818 PyObject* s = wx2PyString(c); \
1819 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
1822 wxPyEndBlockThreads(blocked); \
1824 rval = PCLASS::CBNAME(a,b,c); \
1831 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
1832 long CBNAME(int a, int b) { \
1835 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1836 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1837 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1838 wxPyEndBlockThreads(blocked); \
1840 rval = PCLASS::CBNAME(a,b); \
1845 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
1846 bool CBNAME(int a, int b) { \
1849 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1850 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1851 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1852 wxPyEndBlockThreads(blocked); \
1854 rval = PCLASS::CBNAME(a,b); \
1860 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
1861 double CBNAME(int a, int b) { \
1863 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1865 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1867 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1869 PyObject* str = PyObject_Str(ro); \
1870 rval = PyFloat_AsDouble(str); \
1871 Py_DECREF(ro); Py_DECREF(str); \
1874 wxPyEndBlockThreads(blocked); \
1876 rval = PCLASS::CBNAME(a, b); \
1882 #define PYCALLBACK__(PCLASS, CBNAME) \
1885 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1886 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1887 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1888 wxPyEndBlockThreads(blocked); \
1895 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
1896 bool CBNAME(size_t a, size_t b) { \
1899 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1900 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1901 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1902 wxPyEndBlockThreads(blocked); \
1904 rval = PCLASS::CBNAME(a,b); \
1910 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
1911 bool CBNAME(size_t a) { \
1914 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1915 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1916 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
1917 wxPyEndBlockThreads(blocked); \
1919 rval = PCLASS::CBNAME(a); \
1924 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
1925 wxString CBNAME(int a) { \
1927 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1929 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1931 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
1933 rval = Py2wxString(ro); \
1937 wxPyEndBlockThreads(blocked); \
1939 rval = PCLASS::CBNAME(a); \
1944 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
1945 void CBNAME(int a, const wxString& c) { \
1947 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1948 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1949 PyObject* s = wx2PyString(c); \
1950 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
1953 wxPyEndBlockThreads(blocked); \
1955 PCLASS::CBNAME(a,c); \
1961 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
1965 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1966 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1967 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
1968 wxPyEndBlockThreads(blocked); \
1970 rval = PCLASS::CBNAME(); \
1976 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
1977 void CBNAME(size_t a, int b) { \
1979 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1980 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1981 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
1982 wxPyEndBlockThreads(blocked); \
1984 PCLASS::CBNAME(a,b); \
1990 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
1991 void CBNAME(int a, int b, long c) { \
1993 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
1994 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1995 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
1996 wxPyEndBlockThreads(blocked); \
1998 PCLASS::CBNAME(a,b,c); \
2004 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
2005 void CBNAME(int a, int b, double c) { \
2007 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2008 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2009 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
2010 wxPyEndBlockThreads(blocked); \
2012 PCLASS::CBNAME(a,b,c); \
2017 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
2018 void CBNAME(int a, int b, bool c) { \
2020 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2021 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2022 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
2023 wxPyEndBlockThreads(blocked); \
2025 PCLASS::CBNAME(a,b,c); \
2032 SWIGINTERN PyObject
*
2033 SWIG_FromCharPtr(const char* cptr
)
2036 size_t size
= strlen(cptr
);
2037 if (size
> INT_MAX
) {
2038 return SWIG_NewPointerObj(const_cast<char* >(cptr
),
2039 SWIG_TypeQuery("char *"), 0);
2042 return PyString_FromStringAndSize(cptr
, size
);
2044 return PyString_FromString(cptr
);
2053 #define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
2054 #define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
2055 #define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
2056 #define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
2057 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
2058 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
2059 #define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
2060 #define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
2061 #define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
2062 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
2065 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2066 #define SWIG_From_int PyInt_FromLong
2069 static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
2070 if (!self
->GetClientObject())
2071 self
->SetClientObject(new wxPyOORClientData(_self
));
2078 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
2081 if (value
< min_value
) {
2083 PyErr_Format(PyExc_OverflowError
,
2084 "value %ld is less than '%s' minimum %ld",
2085 value
, errmsg
, min_value
);
2088 } else if (value
> max_value
) {
2090 PyErr_Format(PyExc_OverflowError
,
2091 "value %ld is greater than '%s' maximum %ld",
2092 value
, errmsg
, max_value
);
2101 SWIG_AsVal_long(PyObject
* obj
, long* val
)
2103 if (PyNumber_Check(obj
)) {
2104 if (val
) *val
= PyInt_AsLong(obj
);
2108 SWIG_Python_TypeError("number", obj
);
2114 #if INT_MAX != LONG_MAX
2116 SWIG_AsVal_int(PyObject
*obj
, int *val
)
2118 const char* errmsg
= val
? "int" : (char*)0;
2120 if (SWIG_AsVal_long(obj
, &v
)) {
2121 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
2122 if (val
) *val
= static_cast<int >(v
);
2131 SWIG_type_error(errmsg
, obj
);
2136 SWIGINTERNINLINE
int
2137 SWIG_AsVal_int(PyObject
*obj
, int *val
)
2139 return SWIG_AsVal_long(obj
,(long*)val
);
2144 SWIGINTERNINLINE
int
2145 SWIG_As_int(PyObject
* obj
)
2148 if (!SWIG_AsVal_int(obj
, &v
)) {
2150 this is needed to make valgrind/purify happier.
2152 memset((void*)&v
, 0, sizeof(int));
2159 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2161 if (obj
== Py_True
) {
2162 if (val
) *val
= true;
2165 if (obj
== Py_False
) {
2166 if (val
) *val
= false;
2170 if (SWIG_AsVal_int(obj
, &res
)) {
2171 if (val
) *val
= res
? true : false;
2177 SWIG_type_error("bool", obj
);
2183 SWIGINTERNINLINE
bool
2184 SWIG_As_bool(PyObject
* obj
)
2187 if (!SWIG_AsVal_bool(obj
, &v
)) {
2189 this is needed to make valgrind/purify happier.
2191 memset((void*)&v
, 0, sizeof(bool));
2197 SWIGINTERNINLINE
int
2198 SWIG_Check_int(PyObject
* obj
)
2200 return SWIG_AsVal_int(obj
, (int*)0);
2204 SWIGINTERNINLINE
int
2205 SWIG_Check_bool(PyObject
* obj
)
2207 return SWIG_AsVal_bool(obj
, (bool*)0);
2211 class wxPyGridCellRenderer
: public wxGridCellRenderer
2214 wxPyGridCellRenderer() : wxGridCellRenderer() {};
2216 // Implement Python callback aware virtual methods
2217 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
2218 wxDC
& dc
, const wxRect
& rect
,
2219 int row
, int col
, bool isSelected
) {
2220 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2221 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
2222 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
2223 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
2224 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
2225 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
2227 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
2228 row
, col
, isSelected
));
2234 wxPyEndBlockThreads(blocked
);
2237 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
2240 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2241 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
2244 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
2245 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
2246 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
2248 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
2256 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
2257 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
2260 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
2261 PyObject
* o1
= PySequence_GetItem(ro
, 0);
2262 PyObject
* o2
= PySequence_GetItem(ro
, 1);
2263 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
2264 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
2266 PyErr_SetString(PyExc_TypeError
, errmsg
);
2271 PyErr_SetString(PyExc_TypeError
, errmsg
);
2276 wxPyEndBlockThreads(blocked
);
2281 wxGridCellRenderer
*Clone() const {
2282 wxGridCellRenderer
* rval
= NULL
;
2283 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2284 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
2286 wxGridCellRenderer
* ptr
;
2287 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2289 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
2294 wxPyEndBlockThreads(blocked
);
2298 DEC_PYCALLBACK__STRING(SetParameters
);
2303 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
2306 static void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
2307 if (!self
->GetClientObject())
2308 self
->SetClientObject(new wxPyOORClientData(_self
));
2311 class wxPyGridCellEditor
: public wxGridCellEditor
2314 wxPyGridCellEditor() : wxGridCellEditor() {}
2316 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
2317 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2318 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
2319 PyObject
* po
= wxPyMake_wxObject(parent
,false);
2320 PyObject
* eo
= wxPyMake_wxObject(evtHandler
,false);
2322 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
2326 wxPyEndBlockThreads(blocked
);
2330 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
2331 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2332 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
2333 PyObject
* go
= wxPyMake_wxObject(grid
,false);
2334 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
2337 wxPyEndBlockThreads(blocked
);
2341 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
2343 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2344 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
2345 PyObject
* go
= wxPyMake_wxObject(grid
,false);
2346 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
2349 wxPyEndBlockThreads(blocked
);
2354 wxGridCellEditor
* Clone() const {
2355 wxGridCellEditor
* rval
= NULL
;
2356 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2357 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
2359 wxGridCellEditor
* ptr
;
2360 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2362 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
2367 wxPyEndBlockThreads(blocked
);
2372 void Show(bool show
, wxGridCellAttr
*attr
) {
2374 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2375 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
2376 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
2377 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
2380 wxPyEndBlockThreads(blocked
);
2382 wxGridCellEditor::Show(show
, attr
);
2386 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
2388 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2389 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
2390 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
2391 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
2393 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
2398 wxPyEndBlockThreads(blocked
);
2400 wxGridCellEditor::PaintBackground(rectCell
, attr
);
2404 DEC_PYCALLBACK___pure(Reset
);
2405 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
2406 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
2407 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
2408 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
2409 DEC_PYCALLBACK__(StartingClick
);
2410 DEC_PYCALLBACK__(Destroy
);
2411 DEC_PYCALLBACK__STRING(SetParameters
);
2412 DEC_PYCALLBACK_STRING__constpure(GetValue
);
2418 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
2419 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
2420 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
2421 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
2422 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
2423 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
2424 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
2425 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
2426 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
2429 static void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
2430 if (!self
->GetClientObject())
2431 self
->SetClientObject(new wxPyOORClientData(_self
));
2434 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
2440 } else if (result
== Py_None
) {
2444 if (!PyTuple_Check(result
)) {
2446 result
= PyTuple_New(1);
2447 PyTuple_SET_ITEM(result
, 0, o2
);
2449 o3
= PyTuple_New(1);
2450 PyTuple_SetItem(o3
, 0, obj
);
2452 result
= PySequence_Concat(o2
, o3
);
2460 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
2461 if (!self
->GetClientObject())
2462 self
->SetClientObject(new wxPyOORClientData(_self
));
2466 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2469 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2470 SWIG_Python_TypeError("unsigned number", obj
);
2473 *val
= (unsigned long)v
;
2478 SWIGINTERNINLINE
unsigned long
2479 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2482 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2484 this is needed to make valgrind/purify happier.
2486 memset((void*)&v
, 0, sizeof(unsigned long));
2492 SWIGINTERNINLINE
int
2493 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2495 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2499 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
2502 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
2504 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
2505 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
2506 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
2507 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
2512 static void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
2513 if (!self
->GetClientObject())
2514 self
->SetClientObject(new wxPyOORClientData(_self
));
2517 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2518 #define SWIG_From_long PyInt_FromLong
2522 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2523 #define SWIG_From_double PyFloat_FromDouble
2527 SWIGINTERNINLINE
long
2528 SWIG_As_long(PyObject
* obj
)
2531 if (!SWIG_AsVal_long(obj
, &v
)) {
2533 this is needed to make valgrind/purify happier.
2535 memset((void*)&v
, 0, sizeof(long));
2541 SWIGINTERNINLINE
int
2542 SWIG_Check_long(PyObject
* obj
)
2544 return SWIG_AsVal_long(obj
, (long*)0);
2549 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2551 if (PyNumber_Check(obj
)) {
2552 if (val
) *val
= PyFloat_AsDouble(obj
);
2556 SWIG_Python_TypeError("number", obj
);
2562 SWIGINTERNINLINE
double
2563 SWIG_As_double(PyObject
* obj
)
2566 if (!SWIG_AsVal_double(obj
, &v
)) {
2568 this is needed to make valgrind/purify happier.
2570 memset((void*)&v
, 0, sizeof(double));
2576 SWIGINTERNINLINE
int
2577 SWIG_Check_double(PyObject
* obj
)
2579 return SWIG_AsVal_double(obj
, (double*)0);
2583 class wxPyGridTableBase
: public wxGridTableBase
2586 wxPyGridTableBase() : wxGridTableBase() {}
2588 PYCALLBACK_INT__pure(GetNumberRows
);
2589 PYCALLBACK_INT__pure(GetNumberCols
);
2590 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
2591 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
2592 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
2593 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
2594 PYCALLBACK__(wxGridTableBase
, Clear
);
2595 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
2596 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
2597 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
2598 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
2599 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
2600 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
2601 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
2602 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
2603 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
2604 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
2605 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
2606 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
2607 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
2608 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
2609 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
2612 wxString
GetValue(int row
, int col
) {
2613 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2615 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2617 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
2619 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
2621 ro
= PyObject_Str(ro
);
2624 rval
= Py2wxString(ro
);
2628 wxPyEndBlockThreads(blocked
);
2632 void SetValue(int row
, int col
, const wxString
& val
) {
2633 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2634 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2635 PyObject
* s
= wx2PyString(val
);
2636 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
2639 wxPyEndBlockThreads(blocked
);
2643 // Map the Get/Set methods for the standard non-string types to
2644 // the GetValue and SetValue python methods.
2645 long GetValueAsLong( int row
, int col
) {
2647 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2648 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2651 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
2652 if (ro
&& PyNumber_Check(ro
)) {
2653 num
= PyNumber_Int(ro
);
2655 rval
= PyInt_AsLong(num
);
2661 wxPyEndBlockThreads(blocked
);
2665 double GetValueAsDouble( int row
, int col
) {
2667 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2668 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
2671 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
2672 if (ro
&& PyNumber_Check(ro
)) {
2673 num
= PyNumber_Float(ro
);
2675 rval
= PyFloat_AsDouble(num
);
2681 wxPyEndBlockThreads(blocked
);
2685 bool GetValueAsBool( int row
, int col
) {
2686 return (bool)GetValueAsLong(row
, col
);
2689 void SetValueAsLong( int row
, int col
, long value
) {
2690 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2691 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2692 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
2694 wxPyEndBlockThreads(blocked
);
2697 void SetValueAsDouble( int row
, int col
, double value
) {
2698 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2699 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
2700 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
2702 wxPyEndBlockThreads(blocked
);
2705 void SetValueAsBool( int row
, int col
, bool value
) {
2706 SetValueAsLong( row
, col
, (long)value
);
2713 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
2715 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
2717 if (source
== Py_None
) {
2718 **obj
= wxGridCellCoords(-1,-1);
2722 // If source is an object instance then it may already be the right type
2723 if (wxPySwigInstance_Check(source
)) {
2724 wxGridCellCoords
* ptr
;
2725 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
2730 // otherwise a 2-tuple of integers is expected
2731 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
2732 PyObject
* o1
= PySequence_GetItem(source
, 0);
2733 PyObject
* o2
= PySequence_GetItem(source
, 1);
2734 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
2739 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
2746 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
2751 bool wxGridCellCoords_typecheck(PyObject
* source
) {
2754 if (wxPySwigInstance_Check(source
) &&
2755 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
2759 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
2766 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
2768 PyObject
* list
= PyList_New(0);
2770 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
2771 wxGridCellCoords
& coord
= source
.Item(idx
);
2772 PyObject
* tup
= PyTuple_New(2);
2773 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
2774 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
2775 PyList_Append(list
, tup
);
2781 static PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
2782 PyObject
* tup
= PyTuple_New(2);
2783 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2784 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2788 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
2791 static wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
2792 wxGridCellCoords rv
;
2793 self
->XYToCell(x
, y
, rv
);
2799 static int _wrap_GridNoCellCoords_set(PyObject
*) {
2800 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
2805 static PyObject
*_wrap_GridNoCellCoords_get(void) {
2806 PyObject
*pyobj
= NULL
;
2808 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0);
2813 static int _wrap_GridNoCellRect_set(PyObject
*) {
2814 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
2819 static PyObject
*_wrap_GridNoCellRect_get(void) {
2820 PyObject
*pyobj
= NULL
;
2822 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0);
2827 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
*resultobj
= NULL
;
2829 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2830 PyObject
*arg2
= (PyObject
*) 0 ;
2831 PyObject
* obj0
= 0 ;
2832 PyObject
* obj1
= 0 ;
2834 (char *) "self",(char *) "_self", NULL
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2839 if (SWIG_arg_fail(1)) SWIG_fail
;
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2848 Py_INCREF(Py_None
); resultobj
= Py_None
;
2855 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
*resultobj
= NULL
;
2857 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2858 wxString
*arg2
= 0 ;
2859 bool temp2
= false ;
2860 PyObject
* obj0
= 0 ;
2861 PyObject
* obj1
= 0 ;
2863 (char *) "self",(char *) "params", NULL
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2868 if (SWIG_arg_fail(1)) SWIG_fail
;
2870 arg2
= wxString_in_helper(obj1
);
2871 if (arg2
== NULL
) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 (arg1
)->SetParameters((wxString
const &)*arg2
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2881 Py_INCREF(Py_None
); resultobj
= Py_None
;
2896 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
= NULL
;
2898 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2899 PyObject
* obj0
= 0 ;
2901 (char *) "self", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
2905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2906 if (SWIG_arg_fail(1)) SWIG_fail
;
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2914 Py_INCREF(Py_None
); resultobj
= Py_None
;
2921 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
*resultobj
= NULL
;
2923 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2924 PyObject
* obj0
= 0 ;
2926 (char *) "self", NULL
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
2930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2931 if (SWIG_arg_fail(1)) SWIG_fail
;
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) SWIG_fail
;
2939 Py_INCREF(Py_None
); resultobj
= Py_None
;
2946 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
*resultobj
= NULL
;
2948 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
2950 wxGridCellAttr
*arg3
= 0 ;
2957 PyObject
* obj0
= 0 ;
2958 PyObject
* obj1
= 0 ;
2959 PyObject
* obj2
= 0 ;
2960 PyObject
* obj3
= 0 ;
2961 PyObject
* obj4
= 0 ;
2962 PyObject
* obj5
= 0 ;
2963 PyObject
* obj6
= 0 ;
2964 PyObject
* obj7
= 0 ;
2966 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
2971 if (SWIG_arg_fail(1)) SWIG_fail
;
2973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
2974 if (SWIG_arg_fail(2)) SWIG_fail
;
2976 SWIG_null_ref("wxGrid");
2978 if (SWIG_arg_fail(2)) SWIG_fail
;
2981 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
2982 if (SWIG_arg_fail(3)) SWIG_fail
;
2984 SWIG_null_ref("wxGridCellAttr");
2986 if (SWIG_arg_fail(3)) SWIG_fail
;
2989 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
2990 if (SWIG_arg_fail(4)) SWIG_fail
;
2992 SWIG_null_ref("wxDC");
2994 if (SWIG_arg_fail(4)) SWIG_fail
;
2998 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
3001 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3002 if (SWIG_arg_fail(6)) SWIG_fail
;
3005 arg7
= static_cast<int >(SWIG_As_int(obj6
));
3006 if (SWIG_arg_fail(7)) SWIG_fail
;
3009 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
3010 if (SWIG_arg_fail(8)) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3019 Py_INCREF(Py_None
); resultobj
= Py_None
;
3026 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
*resultobj
= NULL
;
3028 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3030 wxGridCellAttr
*arg3
= 0 ;
3035 PyObject
* obj0
= 0 ;
3036 PyObject
* obj1
= 0 ;
3037 PyObject
* obj2
= 0 ;
3038 PyObject
* obj3
= 0 ;
3039 PyObject
* obj4
= 0 ;
3040 PyObject
* obj5
= 0 ;
3042 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3047 if (SWIG_arg_fail(1)) SWIG_fail
;
3049 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3050 if (SWIG_arg_fail(2)) SWIG_fail
;
3052 SWIG_null_ref("wxGrid");
3054 if (SWIG_arg_fail(2)) SWIG_fail
;
3057 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3058 if (SWIG_arg_fail(3)) SWIG_fail
;
3060 SWIG_null_ref("wxGridCellAttr");
3062 if (SWIG_arg_fail(3)) SWIG_fail
;
3065 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3066 if (SWIG_arg_fail(4)) SWIG_fail
;
3068 SWIG_null_ref("wxDC");
3070 if (SWIG_arg_fail(4)) SWIG_fail
;
3073 arg5
= static_cast<int >(SWIG_As_int(obj4
));
3074 if (SWIG_arg_fail(5)) SWIG_fail
;
3077 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3078 if (SWIG_arg_fail(6)) SWIG_fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3089 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
3090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3098 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
= NULL
;
3100 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3101 wxGridCellRenderer
*result
;
3102 PyObject
* obj0
= 0 ;
3104 (char *) "self", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
3108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3109 if (SWIG_arg_fail(1)) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3118 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
3126 static PyObject
* GridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
3128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3129 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
3131 return Py_BuildValue((char *)"");
3133 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
= NULL
;
3135 wxPyGridCellRenderer
*result
;
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1);
3155 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
*resultobj
= NULL
;
3157 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
3158 PyObject
*arg2
= (PyObject
*) 0 ;
3159 PyObject
*arg3
= (PyObject
*) 0 ;
3160 PyObject
* obj0
= 0 ;
3161 PyObject
* obj1
= 0 ;
3162 PyObject
* obj2
= 0 ;
3164 (char *) "self",(char *) "self",(char *) "_class", NULL
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3169 if (SWIG_arg_fail(1)) SWIG_fail
;
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3179 Py_INCREF(Py_None
); resultobj
= Py_None
;
3186 static PyObject
*_wrap_PyGridCellRenderer_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
*resultobj
= NULL
;
3188 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
3189 wxString
*arg2
= 0 ;
3190 bool temp2
= false ;
3191 PyObject
* obj0
= 0 ;
3192 PyObject
* obj1
= 0 ;
3194 (char *) "self",(char *) "params", NULL
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3199 if (SWIG_arg_fail(1)) SWIG_fail
;
3201 arg2
= wxString_in_helper(obj1
);
3202 if (arg2
== NULL
) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 (arg1
)->SetParameters((wxString
const &)*arg2
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3212 Py_INCREF(Py_None
); resultobj
= Py_None
;
3227 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
3229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3230 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
3232 return Py_BuildValue((char *)"");
3234 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
*resultobj
= NULL
;
3236 wxGridCellStringRenderer
*result
;
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1);
3256 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
3258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3259 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
3261 return Py_BuildValue((char *)"");
3263 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
*resultobj
= NULL
;
3265 wxGridCellNumberRenderer
*result
;
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
3285 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*, PyObject
*args
) {
3287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3288 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
3290 return Py_BuildValue((char *)"");
3292 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
*resultobj
= NULL
;
3294 int arg1
= (int) -1 ;
3295 int arg2
= (int) -1 ;
3296 wxGridCellFloatRenderer
*result
;
3297 PyObject
* obj0
= 0 ;
3298 PyObject
* obj1
= 0 ;
3300 (char *) "width",(char *) "precision", NULL
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3306 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3307 if (SWIG_arg_fail(1)) SWIG_fail
;
3312 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3313 if (SWIG_arg_fail(2)) SWIG_fail
;
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
3330 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
= NULL
;
3332 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3334 PyObject
* obj0
= 0 ;
3336 (char *) "self", NULL
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
3340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3341 if (SWIG_arg_fail(1)) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3350 resultobj
= SWIG_From_int(static_cast<int >(result
));
3358 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
= NULL
;
3360 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3362 PyObject
* obj0
= 0 ;
3363 PyObject
* obj1
= 0 ;
3365 (char *) "self",(char *) "width", NULL
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3370 if (SWIG_arg_fail(1)) SWIG_fail
;
3372 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3373 if (SWIG_arg_fail(2)) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 (arg1
)->SetWidth(arg2
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 Py_INCREF(Py_None
); resultobj
= Py_None
;
3389 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
= NULL
;
3391 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3395 (char *) "self", NULL
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
3399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3400 if (SWIG_arg_fail(1)) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3409 resultobj
= SWIG_From_int(static_cast<int >(result
));
3417 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
= NULL
;
3419 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3424 (char *) "self",(char *) "precision", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
3428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_EXCEPTION
| 0);
3429 if (SWIG_arg_fail(1)) SWIG_fail
;
3431 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3432 if (SWIG_arg_fail(2)) SWIG_fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 (arg1
)->SetPrecision(arg2
);
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 Py_INCREF(Py_None
); resultobj
= Py_None
;
3448 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*, PyObject
*args
) {
3450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3451 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
3453 return Py_BuildValue((char *)"");
3455 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
= NULL
;
3457 wxGridCellBoolRenderer
*result
;
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
3477 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*, PyObject
*args
) {
3479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3480 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
3482 return Py_BuildValue((char *)"");
3484 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
*resultobj
= NULL
;
3486 wxString arg1
= (wxString
) wxPyDefaultDateTimeFormat
;
3487 wxString arg2
= (wxString
) wxPyDefaultDateTimeFormat
;
3488 wxGridCellDateTimeRenderer
*result
;
3489 PyObject
* obj0
= 0 ;
3490 PyObject
* obj1
= 0 ;
3492 (char *) "outformat",(char *) "informat", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3498 wxString
* sptr
= wxString_in_helper(obj0
);
3499 if (sptr
== NULL
) SWIG_fail
;
3506 wxString
* sptr
= wxString_in_helper(obj1
);
3507 if (sptr
== NULL
) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
3526 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*, PyObject
*args
) {
3528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3529 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
3531 return Py_BuildValue((char *)"");
3533 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
*resultobj
= NULL
;
3535 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3536 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3537 wxGridCellEnumRenderer
*result
;
3538 bool temp1
= false ;
3539 PyObject
* obj0
= 0 ;
3541 (char *) "choices", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
3547 arg1
= wxString_in_helper(obj0
);
3548 if (arg1
== NULL
) SWIG_fail
;
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
3574 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*, PyObject
*args
) {
3576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3577 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
3579 return Py_BuildValue((char *)"");
3581 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
= NULL
;
3583 wxGridCellAutoWrapStringRenderer
*result
;
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
3603 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
3605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3606 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
3608 return Py_BuildValue((char *)"");
3610 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
= NULL
;
3612 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3613 PyObject
*arg2
= (PyObject
*) 0 ;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3617 (char *) "self",(char *) "_self", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3622 if (SWIG_arg_fail(1)) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 wxGridCellEditor__setOORInfo(arg1
,arg2
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3631 Py_INCREF(Py_None
); resultobj
= Py_None
;
3638 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
= NULL
;
3640 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3642 PyObject
* obj0
= 0 ;
3644 (char *) "self", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
3648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3649 if (SWIG_arg_fail(1)) SWIG_fail
;
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 result
= (bool)(arg1
)->IsCreated();
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3666 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
*resultobj
= NULL
;
3668 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3670 PyObject
* obj0
= 0 ;
3672 (char *) "self", NULL
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
3676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3677 if (SWIG_arg_fail(1)) SWIG_fail
;
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 result
= (wxControl
*)(arg1
)->GetControl();
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) SWIG_fail
;
3686 resultobj
= wxPyMake_wxObject(result
, 0);
3694 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
*resultobj
= NULL
;
3696 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3697 wxControl
*arg2
= (wxControl
*) 0 ;
3698 PyObject
* obj0
= 0 ;
3699 PyObject
* obj1
= 0 ;
3701 (char *) "self",(char *) "control", NULL
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
3705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3706 if (SWIG_arg_fail(1)) SWIG_fail
;
3707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
3708 if (SWIG_arg_fail(2)) SWIG_fail
;
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 (arg1
)->SetControl(arg2
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 Py_INCREF(Py_None
); resultobj
= Py_None
;
3723 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
= NULL
;
3725 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3726 wxGridCellAttr
*result
;
3727 PyObject
* obj0
= 0 ;
3729 (char *) "self", NULL
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
3733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3734 if (SWIG_arg_fail(1)) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
3751 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
= NULL
;
3753 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3754 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3755 PyObject
* obj0
= 0 ;
3756 PyObject
* obj1
= 0 ;
3758 (char *) "self",(char *) "attr", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
3762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3763 if (SWIG_arg_fail(1)) SWIG_fail
;
3764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
3765 if (SWIG_arg_fail(2)) SWIG_fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 (arg1
)->SetCellAttr(arg2
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 Py_INCREF(Py_None
); resultobj
= Py_None
;
3780 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
= NULL
;
3782 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3783 wxString
*arg2
= 0 ;
3784 bool temp2
= false ;
3785 PyObject
* obj0
= 0 ;
3786 PyObject
* obj1
= 0 ;
3788 (char *) "self",(char *) "params", NULL
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3793 if (SWIG_arg_fail(1)) SWIG_fail
;
3795 arg2
= wxString_in_helper(obj1
);
3796 if (arg2
== NULL
) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 (arg1
)->SetParameters((wxString
const &)*arg2
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 Py_INCREF(Py_None
); resultobj
= Py_None
;
3821 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
*resultobj
= NULL
;
3823 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3824 PyObject
* obj0
= 0 ;
3826 (char *) "self", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
3830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3831 if (SWIG_arg_fail(1)) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 Py_INCREF(Py_None
); resultobj
= Py_None
;
3846 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
= NULL
;
3848 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3849 PyObject
* obj0
= 0 ;
3851 (char *) "self", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
3855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3856 if (SWIG_arg_fail(1)) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 Py_INCREF(Py_None
); resultobj
= Py_None
;
3871 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
= NULL
;
3873 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3874 wxWindow
*arg2
= (wxWindow
*) 0 ;
3876 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
3877 PyObject
* obj0
= 0 ;
3878 PyObject
* obj1
= 0 ;
3879 PyObject
* obj2
= 0 ;
3880 PyObject
* obj3
= 0 ;
3882 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3887 if (SWIG_arg_fail(1)) SWIG_fail
;
3888 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3889 if (SWIG_arg_fail(2)) SWIG_fail
;
3891 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3892 if (SWIG_arg_fail(3)) SWIG_fail
;
3894 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3895 if (SWIG_arg_fail(4)) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 (arg1
)->Create(arg2
,arg3
,arg4
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 Py_INCREF(Py_None
); resultobj
= Py_None
;
3910 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
= NULL
;
3912 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3915 wxGrid
*arg4
= (wxGrid
*) 0 ;
3916 PyObject
* obj0
= 0 ;
3917 PyObject
* obj1
= 0 ;
3918 PyObject
* obj2
= 0 ;
3919 PyObject
* obj3
= 0 ;
3921 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3926 if (SWIG_arg_fail(1)) SWIG_fail
;
3928 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3929 if (SWIG_arg_fail(2)) SWIG_fail
;
3932 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3933 if (SWIG_arg_fail(3)) SWIG_fail
;
3935 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3936 if (SWIG_arg_fail(4)) SWIG_fail
;
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3944 Py_INCREF(Py_None
); resultobj
= Py_None
;
3951 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
*resultobj
= NULL
;
3953 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3956 wxGrid
*arg4
= (wxGrid
*) 0 ;
3958 PyObject
* obj0
= 0 ;
3959 PyObject
* obj1
= 0 ;
3960 PyObject
* obj2
= 0 ;
3961 PyObject
* obj3
= 0 ;
3963 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
3968 if (SWIG_arg_fail(1)) SWIG_fail
;
3970 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3971 if (SWIG_arg_fail(2)) SWIG_fail
;
3974 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3975 if (SWIG_arg_fail(3)) SWIG_fail
;
3977 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
3978 if (SWIG_arg_fail(4)) SWIG_fail
;
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3995 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
= NULL
;
3997 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3998 PyObject
* obj0
= 0 ;
4000 (char *) "self", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
4004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4005 if (SWIG_arg_fail(1)) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 Py_INCREF(Py_None
); resultobj
= Py_None
;
4020 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
= NULL
;
4022 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4023 wxGridCellEditor
*result
;
4024 PyObject
* obj0
= 0 ;
4026 (char *) "self", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
4030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4031 if (SWIG_arg_fail(1)) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4040 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
4048 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
= NULL
;
4050 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4056 (char *) "self",(char *) "rect", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4061 if (SWIG_arg_fail(1)) SWIG_fail
;
4064 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 (arg1
)->SetSize((wxRect
const &)*arg2
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 Py_INCREF(Py_None
); resultobj
= Py_None
;
4080 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
= NULL
;
4082 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4084 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
4085 PyObject
* obj0
= 0 ;
4086 PyObject
* obj1
= 0 ;
4087 PyObject
* obj2
= 0 ;
4089 (char *) "self",(char *) "show",(char *) "attr", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4094 if (SWIG_arg_fail(1)) SWIG_fail
;
4096 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4097 if (SWIG_arg_fail(2)) SWIG_fail
;
4100 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4101 if (SWIG_arg_fail(3)) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 (arg1
)->Show(arg2
,arg3
);
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 Py_INCREF(Py_None
); resultobj
= Py_None
;
4117 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
= NULL
;
4119 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4121 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
4123 PyObject
* obj0
= 0 ;
4124 PyObject
* obj1
= 0 ;
4125 PyObject
* obj2
= 0 ;
4127 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4132 if (SWIG_arg_fail(1)) SWIG_fail
;
4135 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4137 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4138 if (SWIG_arg_fail(3)) SWIG_fail
;
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 Py_INCREF(Py_None
); resultobj
= Py_None
;
4153 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
= NULL
;
4155 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4156 wxKeyEvent
*arg2
= 0 ;
4158 PyObject
* obj0
= 0 ;
4159 PyObject
* obj1
= 0 ;
4161 (char *) "self",(char *) "event", NULL
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4166 if (SWIG_arg_fail(1)) SWIG_fail
;
4168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4169 if (SWIG_arg_fail(2)) SWIG_fail
;
4171 SWIG_null_ref("wxKeyEvent");
4173 if (SWIG_arg_fail(2)) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4191 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
= NULL
;
4193 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4194 wxKeyEvent
*arg2
= 0 ;
4195 PyObject
* obj0
= 0 ;
4196 PyObject
* obj1
= 0 ;
4198 (char *) "self",(char *) "event", NULL
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4203 if (SWIG_arg_fail(1)) SWIG_fail
;
4205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4206 if (SWIG_arg_fail(2)) SWIG_fail
;
4208 SWIG_null_ref("wxKeyEvent");
4210 if (SWIG_arg_fail(2)) SWIG_fail
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 (arg1
)->StartingKey(*arg2
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 Py_INCREF(Py_None
); resultobj
= Py_None
;
4226 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
*resultobj
= NULL
;
4228 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4229 PyObject
* obj0
= 0 ;
4231 (char *) "self", NULL
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
4235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4236 if (SWIG_arg_fail(1)) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 (arg1
)->StartingClick();
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 Py_INCREF(Py_None
); resultobj
= Py_None
;
4251 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
= NULL
;
4253 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4254 wxKeyEvent
*arg2
= 0 ;
4255 PyObject
* obj0
= 0 ;
4256 PyObject
* obj1
= 0 ;
4258 (char *) "self",(char *) "event", NULL
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
4262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4263 if (SWIG_arg_fail(1)) SWIG_fail
;
4265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4266 if (SWIG_arg_fail(2)) SWIG_fail
;
4268 SWIG_null_ref("wxKeyEvent");
4270 if (SWIG_arg_fail(2)) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 (arg1
)->HandleReturn(*arg2
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4279 Py_INCREF(Py_None
); resultobj
= Py_None
;
4286 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
= NULL
;
4288 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4289 PyObject
* obj0
= 0 ;
4291 (char *) "self", NULL
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
4295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4296 if (SWIG_arg_fail(1)) SWIG_fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 Py_INCREF(Py_None
); resultobj
= Py_None
;
4311 static PyObject
* GridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
4313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4314 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
4316 return Py_BuildValue((char *)"");
4318 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
= NULL
;
4320 wxPyGridCellEditor
*result
;
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1);
4340 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
= NULL
;
4342 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4343 PyObject
*arg2
= (PyObject
*) 0 ;
4344 PyObject
*arg3
= (PyObject
*) 0 ;
4345 PyObject
* obj0
= 0 ;
4346 PyObject
* obj1
= 0 ;
4347 PyObject
* obj2
= 0 ;
4349 (char *) "self",(char *) "self",(char *) "_class", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4354 if (SWIG_arg_fail(1)) SWIG_fail
;
4358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4359 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4361 wxPyEndAllowThreads(__tstate
);
4362 if (PyErr_Occurred()) SWIG_fail
;
4364 Py_INCREF(Py_None
); resultobj
= Py_None
;
4371 static PyObject
*_wrap_PyGridCellEditor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
= NULL
;
4373 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4376 PyObject
* obj0
= 0 ;
4377 PyObject
* obj1
= 0 ;
4379 (char *) "self",(char *) "rect", NULL
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4384 if (SWIG_arg_fail(1)) SWIG_fail
;
4387 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 (arg1
)->SetSize((wxRect
const &)*arg2
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 Py_INCREF(Py_None
); resultobj
= Py_None
;
4403 static PyObject
*_wrap_PyGridCellEditor_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
= NULL
;
4405 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4407 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
4408 PyObject
* obj0
= 0 ;
4409 PyObject
* obj1
= 0 ;
4410 PyObject
* obj2
= 0 ;
4412 (char *) "self",(char *) "show",(char *) "attr", NULL
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4417 if (SWIG_arg_fail(1)) SWIG_fail
;
4419 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4420 if (SWIG_arg_fail(2)) SWIG_fail
;
4423 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4424 if (SWIG_arg_fail(3)) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 (arg1
)->Show(arg2
,arg3
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 Py_INCREF(Py_None
); resultobj
= Py_None
;
4440 static PyObject
*_wrap_PyGridCellEditor_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
= NULL
;
4442 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4444 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
4446 PyObject
* obj0
= 0 ;
4447 PyObject
* obj1
= 0 ;
4448 PyObject
* obj2
= 0 ;
4450 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4455 if (SWIG_arg_fail(1)) SWIG_fail
;
4458 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4460 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
4461 if (SWIG_arg_fail(3)) SWIG_fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 Py_INCREF(Py_None
); resultobj
= Py_None
;
4476 static PyObject
*_wrap_PyGridCellEditor_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
= NULL
;
4478 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4479 wxKeyEvent
*arg2
= 0 ;
4481 PyObject
* obj0
= 0 ;
4482 PyObject
* obj1
= 0 ;
4484 (char *) "self",(char *) "event", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4489 if (SWIG_arg_fail(1)) SWIG_fail
;
4491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4492 if (SWIG_arg_fail(2)) SWIG_fail
;
4494 SWIG_null_ref("wxKeyEvent");
4496 if (SWIG_arg_fail(2)) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4514 static PyObject
*_wrap_PyGridCellEditor_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
= NULL
;
4516 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4517 wxKeyEvent
*arg2
= 0 ;
4518 PyObject
* obj0
= 0 ;
4519 PyObject
* obj1
= 0 ;
4521 (char *) "self",(char *) "event", NULL
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
4525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4526 if (SWIG_arg_fail(1)) SWIG_fail
;
4528 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4529 if (SWIG_arg_fail(2)) SWIG_fail
;
4531 SWIG_null_ref("wxKeyEvent");
4533 if (SWIG_arg_fail(2)) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 (arg1
)->StartingKey(*arg2
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 Py_INCREF(Py_None
); resultobj
= Py_None
;
4549 static PyObject
*_wrap_PyGridCellEditor_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
*resultobj
= NULL
;
4551 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4552 PyObject
* obj0
= 0 ;
4554 (char *) "self", NULL
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
4558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4559 if (SWIG_arg_fail(1)) SWIG_fail
;
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 (arg1
)->StartingClick();
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4567 Py_INCREF(Py_None
); resultobj
= Py_None
;
4574 static PyObject
*_wrap_PyGridCellEditor_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
= NULL
;
4576 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4577 wxKeyEvent
*arg2
= 0 ;
4578 PyObject
* obj0
= 0 ;
4579 PyObject
* obj1
= 0 ;
4581 (char *) "self",(char *) "event", NULL
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
4585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4586 if (SWIG_arg_fail(1)) SWIG_fail
;
4588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
4589 if (SWIG_arg_fail(2)) SWIG_fail
;
4591 SWIG_null_ref("wxKeyEvent");
4593 if (SWIG_arg_fail(2)) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 (arg1
)->HandleReturn(*arg2
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 Py_INCREF(Py_None
); resultobj
= Py_None
;
4609 static PyObject
*_wrap_PyGridCellEditor_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
= NULL
;
4611 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4612 PyObject
* obj0
= 0 ;
4614 (char *) "self", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
4618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 Py_INCREF(Py_None
); resultobj
= Py_None
;
4634 static PyObject
*_wrap_PyGridCellEditor_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
= NULL
;
4636 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
4637 wxString
*arg2
= 0 ;
4638 bool temp2
= false ;
4639 PyObject
* obj0
= 0 ;
4640 PyObject
* obj1
= 0 ;
4642 (char *) "self",(char *) "params", NULL
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
4646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
4647 if (SWIG_arg_fail(1)) SWIG_fail
;
4649 arg2
= wxString_in_helper(obj1
);
4650 if (arg2
== NULL
) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 (arg1
)->SetParameters((wxString
const &)*arg2
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 Py_INCREF(Py_None
); resultobj
= Py_None
;
4675 static PyObject
* PyGridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
4677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4678 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
4680 return Py_BuildValue((char *)"");
4682 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
= NULL
;
4684 wxGridCellTextEditor
*result
;
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1);
4704 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
= NULL
;
4706 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
4708 PyObject
* obj0
= 0 ;
4710 (char *) "self", NULL
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_EXCEPTION
| 0);
4715 if (SWIG_arg_fail(1)) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (arg1
)->GetValue();
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4736 static PyObject
* GridCellTextEditor_swigregister(PyObject
*, PyObject
*args
) {
4738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4739 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
4741 return Py_BuildValue((char *)"");
4743 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
= NULL
;
4745 int arg1
= (int) -1 ;
4746 int arg2
= (int) -1 ;
4747 wxGridCellNumberEditor
*result
;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4751 (char *) "min",(char *) "max", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4757 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4758 if (SWIG_arg_fail(1)) SWIG_fail
;
4763 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4764 if (SWIG_arg_fail(2)) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1);
4781 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
*resultobj
= NULL
;
4783 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
4785 PyObject
* obj0
= 0 ;
4787 (char *) "self", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_POINTER_EXCEPTION
| 0);
4792 if (SWIG_arg_fail(1)) SWIG_fail
;
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 result
= (arg1
)->GetValue();
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4813 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*, PyObject
*args
) {
4815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4816 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
4818 return Py_BuildValue((char *)"");
4820 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
= NULL
;
4822 int arg1
= (int) -1 ;
4823 int arg2
= (int) -1 ;
4824 wxGridCellFloatEditor
*result
;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4828 (char *) "width",(char *) "precision", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4834 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4835 if (SWIG_arg_fail(1)) SWIG_fail
;
4840 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4841 if (SWIG_arg_fail(2)) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1);
4858 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
= NULL
;
4860 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
4862 PyObject
* obj0
= 0 ;
4864 (char *) "self", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_EXCEPTION
| 0);
4869 if (SWIG_arg_fail(1)) SWIG_fail
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (arg1
)->GetValue();
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4890 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*, PyObject
*args
) {
4892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4893 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
4895 return Py_BuildValue((char *)"");
4897 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
= NULL
;
4899 wxGridCellBoolEditor
*result
;
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1);
4919 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
= NULL
;
4921 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
4923 PyObject
* obj0
= 0 ;
4925 (char *) "self", NULL
4928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
4929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_EXCEPTION
| 0);
4930 if (SWIG_arg_fail(1)) SWIG_fail
;
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 result
= (arg1
)->GetValue();
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4951 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*, PyObject
*args
) {
4953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4954 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
4956 return Py_BuildValue((char *)"");
4958 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
*resultobj
= NULL
;
4960 int arg1
= (int) 0 ;
4961 wxString
*arg2
= (wxString
*) NULL
;
4962 bool arg3
= (bool) false ;
4963 wxGridCellChoiceEditor
*result
;
4964 PyObject
* obj0
= 0 ;
4965 PyObject
* obj1
= 0 ;
4967 (char *) "choices",(char *) "allowOthers", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4973 arg1
= PyList_Size(obj0
);
4974 arg2
= wxString_LIST_helper(obj0
);
4975 if (arg2
== NULL
) SWIG_fail
;
4980 arg3
= static_cast<bool >(SWIG_As_bool(obj1
));
4981 if (SWIG_arg_fail(3)) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
4993 if (arg2
) delete [] arg2
;
4998 if (arg2
) delete [] arg2
;
5004 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
= NULL
;
5006 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5010 (char *) "self", NULL
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
5014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_EXCEPTION
| 0);
5015 if (SWIG_arg_fail(1)) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 result
= (arg1
)->GetValue();
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5036 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*, PyObject
*args
) {
5038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5039 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
5041 return Py_BuildValue((char *)"");
5043 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
= NULL
;
5045 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5046 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5047 wxGridCellEnumEditor
*result
;
5048 bool temp1
= false ;
5049 PyObject
* obj0
= 0 ;
5051 (char *) "choices", NULL
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
5057 arg1
= wxString_in_helper(obj0
);
5058 if (arg1
== NULL
) SWIG_fail
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1);
5084 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
= NULL
;
5086 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
5088 PyObject
* obj0
= 0 ;
5090 (char *) "self", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
5094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_EXCEPTION
| 0);
5095 if (SWIG_arg_fail(1)) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (arg1
)->GetValue();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5116 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*, PyObject
*args
) {
5118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5119 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
5121 return Py_BuildValue((char *)"");
5123 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
*resultobj
= NULL
;
5125 wxGridCellAutoWrapStringEditor
*result
;
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
5145 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
= NULL
;
5147 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
5149 PyObject
* obj0
= 0 ;
5151 (char *) "self", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
5155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_EXCEPTION
| 0);
5156 if (SWIG_arg_fail(1)) SWIG_fail
;
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 result
= (arg1
)->GetValue();
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5177 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*, PyObject
*args
) {
5179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5180 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
5182 return Py_BuildValue((char *)"");
5184 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
= NULL
;
5186 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5187 PyObject
*arg2
= (PyObject
*) 0 ;
5188 PyObject
* obj0
= 0 ;
5189 PyObject
* obj1
= 0 ;
5191 (char *) "self",(char *) "_self", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5196 if (SWIG_arg_fail(1)) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 wxGridCellAttr__setOORInfo(arg1
,arg2
);
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 Py_INCREF(Py_None
); resultobj
= Py_None
;
5212 static PyObject
*_wrap_new_GridCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
= NULL
;
5214 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
5215 wxGridCellAttr
*result
;
5216 PyObject
* obj0
= 0 ;
5218 (char *) "attrDefault", NULL
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
5223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5224 if (SWIG_arg_fail(1)) SWIG_fail
;
5227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5228 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5234 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)1);
5242 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
= NULL
;
5244 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5245 wxGridCellAttr
*result
;
5246 PyObject
* obj0
= 0 ;
5248 (char *) "self", NULL
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
5252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5253 if (SWIG_arg_fail(1)) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5262 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
5270 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
= NULL
;
5272 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5273 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5274 PyObject
* obj0
= 0 ;
5275 PyObject
* obj1
= 0 ;
5277 (char *) "self",(char *) "mergefrom", NULL
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
5281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5282 if (SWIG_arg_fail(1)) SWIG_fail
;
5283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5284 if (SWIG_arg_fail(2)) SWIG_fail
;
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 (arg1
)->MergeWith(arg2
);
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5292 Py_INCREF(Py_None
); resultobj
= Py_None
;
5299 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
*resultobj
= NULL
;
5301 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5302 PyObject
* obj0
= 0 ;
5304 (char *) "self", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
5308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5309 if (SWIG_arg_fail(1)) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 Py_INCREF(Py_None
); resultobj
= Py_None
;
5324 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
= NULL
;
5326 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5327 PyObject
* obj0
= 0 ;
5329 (char *) "self", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
5333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5334 if (SWIG_arg_fail(1)) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 Py_INCREF(Py_None
); resultobj
= Py_None
;
5349 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
= NULL
;
5351 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5352 wxColour
*arg2
= 0 ;
5354 PyObject
* obj0
= 0 ;
5355 PyObject
* obj1
= 0 ;
5357 (char *) "self",(char *) "colText", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5362 if (SWIG_arg_fail(1)) SWIG_fail
;
5365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 Py_INCREF(Py_None
); resultobj
= Py_None
;
5381 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
= NULL
;
5383 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5384 wxColour
*arg2
= 0 ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5389 (char *) "self",(char *) "colBack", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5394 if (SWIG_arg_fail(1)) SWIG_fail
;
5397 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 Py_INCREF(Py_None
); resultobj
= Py_None
;
5413 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
= NULL
;
5415 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5417 PyObject
* obj0
= 0 ;
5418 PyObject
* obj1
= 0 ;
5420 (char *) "self",(char *) "font", NULL
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5425 if (SWIG_arg_fail(1)) SWIG_fail
;
5427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
5428 if (SWIG_arg_fail(2)) SWIG_fail
;
5430 SWIG_null_ref("wxFont");
5432 if (SWIG_arg_fail(2)) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 (arg1
)->SetFont((wxFont
const &)*arg2
);
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5441 Py_INCREF(Py_None
); resultobj
= Py_None
;
5448 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
= NULL
;
5450 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5455 PyObject
* obj2
= 0 ;
5457 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5462 if (SWIG_arg_fail(1)) SWIG_fail
;
5464 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5465 if (SWIG_arg_fail(2)) SWIG_fail
;
5468 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5469 if (SWIG_arg_fail(3)) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 (arg1
)->SetAlignment(arg2
,arg3
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 Py_INCREF(Py_None
); resultobj
= Py_None
;
5485 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
= NULL
;
5487 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5490 PyObject
* obj0
= 0 ;
5491 PyObject
* obj1
= 0 ;
5492 PyObject
* obj2
= 0 ;
5494 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5499 if (SWIG_arg_fail(1)) SWIG_fail
;
5501 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5502 if (SWIG_arg_fail(2)) SWIG_fail
;
5505 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5506 if (SWIG_arg_fail(3)) SWIG_fail
;
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 (arg1
)->SetSize(arg2
,arg3
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5515 Py_INCREF(Py_None
); resultobj
= Py_None
;
5522 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
*resultobj
= NULL
;
5524 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5525 bool arg2
= (bool) true ;
5526 PyObject
* obj0
= 0 ;
5527 PyObject
* obj1
= 0 ;
5529 (char *) "self",(char *) "allow", NULL
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
5533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5534 if (SWIG_arg_fail(1)) SWIG_fail
;
5537 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
5538 if (SWIG_arg_fail(2)) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 (arg1
)->SetOverflow(arg2
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 Py_INCREF(Py_None
); resultobj
= Py_None
;
5555 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
= NULL
;
5557 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5558 bool arg2
= (bool) true ;
5559 PyObject
* obj0
= 0 ;
5560 PyObject
* obj1
= 0 ;
5562 (char *) "self",(char *) "isReadOnly", NULL
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
5566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5567 if (SWIG_arg_fail(1)) SWIG_fail
;
5570 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
5571 if (SWIG_arg_fail(2)) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 (arg1
)->SetReadOnly(arg2
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 Py_INCREF(Py_None
); resultobj
= Py_None
;
5588 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
= NULL
;
5590 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5591 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5595 (char *) "self",(char *) "renderer", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
5599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5600 if (SWIG_arg_fail(1)) SWIG_fail
;
5601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
5602 if (SWIG_arg_fail(2)) SWIG_fail
;
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 (arg1
)->SetRenderer(arg2
);
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5610 Py_INCREF(Py_None
); resultobj
= Py_None
;
5617 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
= NULL
;
5619 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5620 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
5621 PyObject
* obj0
= 0 ;
5622 PyObject
* obj1
= 0 ;
5624 (char *) "self",(char *) "editor", NULL
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
5628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5629 if (SWIG_arg_fail(1)) SWIG_fail
;
5630 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
5631 if (SWIG_arg_fail(2)) SWIG_fail
;
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 (arg1
)->SetEditor(arg2
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5639 Py_INCREF(Py_None
); resultobj
= Py_None
;
5646 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
*resultobj
= NULL
;
5648 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5649 wxGridCellAttr::wxAttrKind arg2
;
5650 PyObject
* obj0
= 0 ;
5651 PyObject
* obj1
= 0 ;
5653 (char *) "self",(char *) "kind", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
5657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5658 if (SWIG_arg_fail(1)) SWIG_fail
;
5660 arg2
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj1
));
5661 if (SWIG_arg_fail(2)) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 (arg1
)->SetKind(arg2
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 Py_INCREF(Py_None
); resultobj
= Py_None
;
5677 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
= NULL
;
5679 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5681 PyObject
* obj0
= 0 ;
5683 (char *) "self", NULL
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5688 if (SWIG_arg_fail(1)) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5705 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
*resultobj
= NULL
;
5707 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5709 PyObject
* obj0
= 0 ;
5711 (char *) "self", NULL
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5716 if (SWIG_arg_fail(1)) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5733 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
= NULL
;
5735 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5737 PyObject
* obj0
= 0 ;
5739 (char *) "self", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
5743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5744 if (SWIG_arg_fail(1)) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5761 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
= NULL
;
5763 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5765 PyObject
* obj0
= 0 ;
5767 (char *) "self", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
5771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5772 if (SWIG_arg_fail(1)) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5789 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
= NULL
;
5791 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5793 PyObject
* obj0
= 0 ;
5795 (char *) "self", NULL
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
5799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5800 if (SWIG_arg_fail(1)) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5817 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
= NULL
;
5819 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5823 (char *) "self", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
5827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5828 if (SWIG_arg_fail(1)) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5845 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
= NULL
;
5847 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5849 PyObject
* obj0
= 0 ;
5851 (char *) "self", NULL
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
5855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5856 if (SWIG_arg_fail(1)) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5873 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
= NULL
;
5875 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5877 PyObject
* obj0
= 0 ;
5879 (char *) "self", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
5883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5884 if (SWIG_arg_fail(1)) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5901 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
= NULL
;
5903 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5905 PyObject
* obj0
= 0 ;
5907 (char *) "self", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
5911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5912 if (SWIG_arg_fail(1)) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5921 wxColour
* resultptr
;
5922 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
5923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5931 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
= NULL
;
5933 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5935 PyObject
* obj0
= 0 ;
5937 (char *) "self", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5942 if (SWIG_arg_fail(1)) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5951 wxColour
* resultptr
;
5952 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
5953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5961 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
= NULL
;
5963 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5967 (char *) "self", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
5971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
5972 if (SWIG_arg_fail(1)) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5982 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
5983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
5991 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
= NULL
;
5993 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5994 int *arg2
= (int *) 0 ;
5995 int *arg3
= (int *) 0 ;
6000 PyObject
* obj0
= 0 ;
6002 (char *) "self", NULL
6005 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6006 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6009 if (SWIG_arg_fail(1)) SWIG_fail
;
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 Py_INCREF(Py_None
); resultobj
= Py_None
;
6018 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6019 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6020 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6021 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6028 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
= NULL
;
6030 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6031 int *arg2
= (int *) 0 ;
6032 int *arg3
= (int *) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6043 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
6045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6046 if (SWIG_arg_fail(1)) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6054 Py_INCREF(Py_None
); resultobj
= Py_None
;
6055 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6056 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6057 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6058 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6065 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
= NULL
;
6067 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6069 PyObject
* obj0
= 0 ;
6071 (char *) "self", NULL
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
6075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6076 if (SWIG_arg_fail(1)) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6093 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
= NULL
;
6095 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6096 wxGrid
*arg2
= (wxGrid
*) 0 ;
6099 wxGridCellRenderer
*result
;
6100 PyObject
* obj0
= 0 ;
6101 PyObject
* obj1
= 0 ;
6102 PyObject
* obj2
= 0 ;
6103 PyObject
* obj3
= 0 ;
6105 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6110 if (SWIG_arg_fail(1)) SWIG_fail
;
6111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
6112 if (SWIG_arg_fail(2)) SWIG_fail
;
6114 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6115 if (SWIG_arg_fail(3)) SWIG_fail
;
6118 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6119 if (SWIG_arg_fail(4)) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
6137 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
= NULL
;
6139 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6140 wxGrid
*arg2
= (wxGrid
*) 0 ;
6143 wxGridCellEditor
*result
;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6146 PyObject
* obj2
= 0 ;
6147 PyObject
* obj3
= 0 ;
6149 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6154 if (SWIG_arg_fail(1)) SWIG_fail
;
6155 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
6156 if (SWIG_arg_fail(2)) SWIG_fail
;
6158 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6159 if (SWIG_arg_fail(3)) SWIG_fail
;
6162 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6163 if (SWIG_arg_fail(4)) SWIG_fail
;
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6173 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
6181 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
= NULL
;
6183 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6187 (char *) "self", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
6191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6192 if (SWIG_arg_fail(1)) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6209 static PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
*resultobj
= NULL
;
6211 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6212 wxGridCellAttr::wxAttrKind result
;
6213 PyObject
* obj0
= 0 ;
6215 (char *) "self", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetKind",kwnames
,&obj0
)) goto fail
;
6219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6220 if (SWIG_arg_fail(1)) SWIG_fail
;
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 result
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind();
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6228 resultobj
= SWIG_From_int((result
));
6235 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
= NULL
;
6237 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6238 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6239 PyObject
* obj0
= 0 ;
6240 PyObject
* obj1
= 0 ;
6242 (char *) "self",(char *) "defAttr", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
6246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6247 if (SWIG_arg_fail(1)) SWIG_fail
;
6248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6249 if (SWIG_arg_fail(2)) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 (arg1
)->SetDefAttr(arg2
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 Py_INCREF(Py_None
); resultobj
= Py_None
;
6264 static PyObject
* GridCellAttr_swigregister(PyObject
*, PyObject
*args
) {
6266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6267 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
6269 return Py_BuildValue((char *)"");
6271 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
= NULL
;
6273 wxGridCellAttrProvider
*result
;
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)1);
6295 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
= NULL
;
6297 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6298 PyObject
*arg2
= (PyObject
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6302 (char *) "self",(char *) "_self", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
6306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6307 if (SWIG_arg_fail(1)) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 Py_INCREF(Py_None
); resultobj
= Py_None
;
6323 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
= NULL
;
6325 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6328 wxGridCellAttr::wxAttrKind arg4
;
6329 wxGridCellAttr
*result
;
6330 PyObject
* obj0
= 0 ;
6331 PyObject
* obj1
= 0 ;
6332 PyObject
* obj2
= 0 ;
6333 PyObject
* obj3
= 0 ;
6335 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6340 if (SWIG_arg_fail(1)) SWIG_fail
;
6342 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6343 if (SWIG_arg_fail(2)) SWIG_fail
;
6346 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6347 if (SWIG_arg_fail(3)) SWIG_fail
;
6350 arg4
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj3
));
6351 if (SWIG_arg_fail(4)) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,arg4
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
6369 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
= NULL
;
6371 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6372 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6375 PyObject
* obj0
= 0 ;
6376 PyObject
* obj1
= 0 ;
6377 PyObject
* obj2
= 0 ;
6378 PyObject
* obj3
= 0 ;
6380 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6385 if (SWIG_arg_fail(1)) SWIG_fail
;
6386 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6387 if (SWIG_arg_fail(2)) SWIG_fail
;
6389 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6390 if (SWIG_arg_fail(3)) SWIG_fail
;
6393 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6394 if (SWIG_arg_fail(4)) SWIG_fail
;
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6403 Py_INCREF(Py_None
); resultobj
= Py_None
;
6410 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
= NULL
;
6412 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6413 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6415 PyObject
* obj0
= 0 ;
6416 PyObject
* obj1
= 0 ;
6417 PyObject
* obj2
= 0 ;
6419 (char *) "self",(char *) "attr",(char *) "row", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6424 if (SWIG_arg_fail(1)) SWIG_fail
;
6425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6426 if (SWIG_arg_fail(2)) SWIG_fail
;
6428 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6429 if (SWIG_arg_fail(3)) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 (arg1
)->SetRowAttr(arg2
,arg3
);
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6438 Py_INCREF(Py_None
); resultobj
= Py_None
;
6445 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
*resultobj
= NULL
;
6447 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6448 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6450 PyObject
* obj0
= 0 ;
6451 PyObject
* obj1
= 0 ;
6452 PyObject
* obj2
= 0 ;
6454 (char *) "self",(char *) "attr",(char *) "col", NULL
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6459 if (SWIG_arg_fail(1)) SWIG_fail
;
6460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6461 if (SWIG_arg_fail(2)) SWIG_fail
;
6463 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6464 if (SWIG_arg_fail(3)) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 (arg1
)->SetColAttr(arg2
,arg3
);
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 Py_INCREF(Py_None
); resultobj
= Py_None
;
6480 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
= NULL
;
6482 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6485 PyObject
* obj0
= 0 ;
6486 PyObject
* obj1
= 0 ;
6487 PyObject
* obj2
= 0 ;
6489 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6494 if (SWIG_arg_fail(1)) SWIG_fail
;
6496 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
6497 if (SWIG_arg_fail(2)) SWIG_fail
;
6500 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6501 if (SWIG_arg_fail(3)) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 (arg1
)->UpdateAttrRows(arg2
,arg3
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 Py_INCREF(Py_None
); resultobj
= Py_None
;
6517 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
= NULL
;
6519 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
6522 PyObject
* obj0
= 0 ;
6523 PyObject
* obj1
= 0 ;
6524 PyObject
* obj2
= 0 ;
6526 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6531 if (SWIG_arg_fail(1)) SWIG_fail
;
6533 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
6534 if (SWIG_arg_fail(2)) SWIG_fail
;
6537 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6538 if (SWIG_arg_fail(3)) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 (arg1
)->UpdateAttrCols(arg2
,arg3
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 Py_INCREF(Py_None
); resultobj
= Py_None
;
6554 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
6556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6557 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
6559 return Py_BuildValue((char *)"");
6561 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
= NULL
;
6563 wxPyGridCellAttrProvider
*result
;
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
6583 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
= NULL
;
6585 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6586 PyObject
*arg2
= (PyObject
*) 0 ;
6587 PyObject
*arg3
= (PyObject
*) 0 ;
6588 PyObject
* obj0
= 0 ;
6589 PyObject
* obj1
= 0 ;
6590 PyObject
* obj2
= 0 ;
6592 (char *) "self",(char *) "self",(char *) "_class", NULL
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6597 if (SWIG_arg_fail(1)) SWIG_fail
;
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 Py_INCREF(Py_None
); resultobj
= Py_None
;
6614 static PyObject
*_wrap_PyGridCellAttrProvider_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
= NULL
;
6616 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6619 wxGridCellAttr::wxAttrKind arg4
;
6620 wxGridCellAttr
*result
;
6621 PyObject
* obj0
= 0 ;
6622 PyObject
* obj1
= 0 ;
6623 PyObject
* obj2
= 0 ;
6624 PyObject
* obj3
= 0 ;
6626 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6631 if (SWIG_arg_fail(1)) SWIG_fail
;
6633 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6634 if (SWIG_arg_fail(2)) SWIG_fail
;
6637 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6638 if (SWIG_arg_fail(3)) SWIG_fail
;
6641 arg4
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj3
));
6642 if (SWIG_arg_fail(4)) SWIG_fail
;
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
6660 static PyObject
*_wrap_PyGridCellAttrProvider_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
= NULL
;
6662 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6663 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6667 PyObject
* obj1
= 0 ;
6668 PyObject
* obj2
= 0 ;
6669 PyObject
* obj3
= 0 ;
6671 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail
;
6677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6678 if (SWIG_arg_fail(2)) SWIG_fail
;
6680 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6681 if (SWIG_arg_fail(3)) SWIG_fail
;
6684 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6685 if (SWIG_arg_fail(4)) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 Py_INCREF(Py_None
); resultobj
= Py_None
;
6701 static PyObject
*_wrap_PyGridCellAttrProvider_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
= NULL
;
6703 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6704 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6706 PyObject
* obj0
= 0 ;
6707 PyObject
* obj1
= 0 ;
6708 PyObject
* obj2
= 0 ;
6710 (char *) "self",(char *) "attr",(char *) "row", NULL
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6715 if (SWIG_arg_fail(1)) SWIG_fail
;
6716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6717 if (SWIG_arg_fail(2)) SWIG_fail
;
6719 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6720 if (SWIG_arg_fail(3)) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 (arg1
)->SetRowAttr(arg2
,arg3
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 Py_INCREF(Py_None
); resultobj
= Py_None
;
6736 static PyObject
*_wrap_PyGridCellAttrProvider_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
= NULL
;
6738 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
6739 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6741 PyObject
* obj0
= 0 ;
6742 PyObject
* obj1
= 0 ;
6743 PyObject
* obj2
= 0 ;
6745 (char *) "self",(char *) "attr",(char *) "col", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6750 if (SWIG_arg_fail(1)) SWIG_fail
;
6751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
6752 if (SWIG_arg_fail(2)) SWIG_fail
;
6754 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6755 if (SWIG_arg_fail(3)) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 (arg1
)->SetColAttr(arg2
,arg3
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 Py_INCREF(Py_None
); resultobj
= Py_None
;
6771 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
6773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6774 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
6776 return Py_BuildValue((char *)"");
6778 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
= NULL
;
6780 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6781 PyObject
*arg2
= (PyObject
*) 0 ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6785 (char *) "self",(char *) "_self", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
6789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6790 if (SWIG_arg_fail(1)) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 wxGridTableBase__setOORInfo(arg1
,arg2
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 Py_INCREF(Py_None
); resultobj
= Py_None
;
6806 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
*resultobj
= NULL
;
6808 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6809 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
6810 PyObject
* obj0
= 0 ;
6811 PyObject
* obj1
= 0 ;
6813 (char *) "self",(char *) "attrProvider", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6818 if (SWIG_arg_fail(1)) SWIG_fail
;
6819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_POINTER_EXCEPTION
| 0);
6820 if (SWIG_arg_fail(2)) SWIG_fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 (arg1
)->SetAttrProvider(arg2
);
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6828 Py_INCREF(Py_None
); resultobj
= Py_None
;
6835 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
= NULL
;
6837 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6838 wxGridCellAttrProvider
*result
;
6839 PyObject
* obj0
= 0 ;
6841 (char *) "self", NULL
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
6845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6846 if (SWIG_arg_fail(1)) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)0);
6863 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
= NULL
;
6865 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6866 wxGrid
*arg2
= (wxGrid
*) 0 ;
6867 PyObject
* obj0
= 0 ;
6868 PyObject
* obj1
= 0 ;
6870 (char *) "self",(char *) "grid", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
6874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6875 if (SWIG_arg_fail(1)) SWIG_fail
;
6876 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
6877 if (SWIG_arg_fail(2)) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 (arg1
)->SetView(arg2
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 Py_INCREF(Py_None
); resultobj
= Py_None
;
6892 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
= NULL
;
6894 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6896 PyObject
* obj0
= 0 ;
6898 (char *) "self", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
6902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6903 if (SWIG_arg_fail(1)) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6920 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
= NULL
;
6922 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6924 PyObject
* obj0
= 0 ;
6926 (char *) "self", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
6930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6931 if (SWIG_arg_fail(1)) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= (int)(arg1
)->GetNumberRows();
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= SWIG_From_int(static_cast<int >(result
));
6948 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
= NULL
;
6950 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6952 PyObject
* obj0
= 0 ;
6954 (char *) "self", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
6958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6959 if (SWIG_arg_fail(1)) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= (int)(arg1
)->GetNumberCols();
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= SWIG_From_int(static_cast<int >(result
));
6976 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
= NULL
;
6978 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6983 PyObject
* obj1
= 0 ;
6984 PyObject
* obj2
= 0 ;
6986 (char *) "self",(char *) "row",(char *) "col", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
6991 if (SWIG_arg_fail(1)) SWIG_fail
;
6993 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6994 if (SWIG_arg_fail(2)) SWIG_fail
;
6997 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6998 if (SWIG_arg_fail(3)) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7016 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
= NULL
;
7018 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7024 PyObject
* obj2
= 0 ;
7026 (char *) "self",(char *) "row",(char *) "col", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7031 if (SWIG_arg_fail(1)) SWIG_fail
;
7033 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7034 if (SWIG_arg_fail(2)) SWIG_fail
;
7037 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7038 if (SWIG_arg_fail(3)) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (arg1
)->GetValue(arg2
,arg3
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7060 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
= NULL
;
7062 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7065 wxString
*arg4
= 0 ;
7066 bool temp4
= false ;
7067 PyObject
* obj0
= 0 ;
7068 PyObject
* obj1
= 0 ;
7069 PyObject
* obj2
= 0 ;
7070 PyObject
* obj3
= 0 ;
7072 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7077 if (SWIG_arg_fail(1)) SWIG_fail
;
7079 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7080 if (SWIG_arg_fail(2)) SWIG_fail
;
7083 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7084 if (SWIG_arg_fail(3)) SWIG_fail
;
7087 arg4
= wxString_in_helper(obj3
);
7088 if (arg4
== NULL
) SWIG_fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 Py_INCREF(Py_None
); resultobj
= Py_None
;
7113 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
= NULL
;
7115 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7119 PyObject
* obj0
= 0 ;
7120 PyObject
* obj1
= 0 ;
7121 PyObject
* obj2
= 0 ;
7123 (char *) "self",(char *) "row",(char *) "col", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7128 if (SWIG_arg_fail(1)) SWIG_fail
;
7130 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7131 if (SWIG_arg_fail(2)) SWIG_fail
;
7134 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7135 if (SWIG_arg_fail(3)) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (arg1
)->GetTypeName(arg2
,arg3
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7157 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
= NULL
;
7159 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7162 wxString
*arg4
= 0 ;
7164 bool temp4
= false ;
7165 PyObject
* obj0
= 0 ;
7166 PyObject
* obj1
= 0 ;
7167 PyObject
* obj2
= 0 ;
7168 PyObject
* obj3
= 0 ;
7170 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7175 if (SWIG_arg_fail(1)) SWIG_fail
;
7177 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7178 if (SWIG_arg_fail(2)) SWIG_fail
;
7181 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7182 if (SWIG_arg_fail(3)) SWIG_fail
;
7185 arg4
= wxString_in_helper(obj3
);
7186 if (arg4
== NULL
) SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7213 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
= NULL
;
7215 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7218 wxString
*arg4
= 0 ;
7220 bool temp4
= false ;
7221 PyObject
* obj0
= 0 ;
7222 PyObject
* obj1
= 0 ;
7223 PyObject
* obj2
= 0 ;
7224 PyObject
* obj3
= 0 ;
7226 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7231 if (SWIG_arg_fail(1)) SWIG_fail
;
7233 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7234 if (SWIG_arg_fail(2)) SWIG_fail
;
7237 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7238 if (SWIG_arg_fail(3)) SWIG_fail
;
7241 arg4
= wxString_in_helper(obj3
);
7242 if (arg4
== NULL
) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7269 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
= NULL
;
7271 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7275 PyObject
* obj0
= 0 ;
7276 PyObject
* obj1
= 0 ;
7277 PyObject
* obj2
= 0 ;
7279 (char *) "self",(char *) "row",(char *) "col", NULL
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7284 if (SWIG_arg_fail(1)) SWIG_fail
;
7286 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7287 if (SWIG_arg_fail(2)) SWIG_fail
;
7290 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7291 if (SWIG_arg_fail(3)) SWIG_fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= SWIG_From_long(static_cast<long >(result
));
7309 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
= NULL
;
7311 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7315 PyObject
* obj0
= 0 ;
7316 PyObject
* obj1
= 0 ;
7317 PyObject
* obj2
= 0 ;
7319 (char *) "self",(char *) "row",(char *) "col", NULL
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7324 if (SWIG_arg_fail(1)) SWIG_fail
;
7326 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7327 if (SWIG_arg_fail(2)) SWIG_fail
;
7330 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7331 if (SWIG_arg_fail(3)) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7341 resultobj
= SWIG_From_double(static_cast<double >(result
));
7349 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
= NULL
;
7351 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7355 PyObject
* obj0
= 0 ;
7356 PyObject
* obj1
= 0 ;
7357 PyObject
* obj2
= 0 ;
7359 (char *) "self",(char *) "row",(char *) "col", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7364 if (SWIG_arg_fail(1)) SWIG_fail
;
7366 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7367 if (SWIG_arg_fail(2)) SWIG_fail
;
7370 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7371 if (SWIG_arg_fail(3)) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7389 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
= NULL
;
7391 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7395 PyObject
* obj0
= 0 ;
7396 PyObject
* obj1
= 0 ;
7397 PyObject
* obj2
= 0 ;
7398 PyObject
* obj3
= 0 ;
7400 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7405 if (SWIG_arg_fail(1)) SWIG_fail
;
7407 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7408 if (SWIG_arg_fail(2)) SWIG_fail
;
7411 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7412 if (SWIG_arg_fail(3)) SWIG_fail
;
7415 arg4
= static_cast<long >(SWIG_As_long(obj3
));
7416 if (SWIG_arg_fail(4)) SWIG_fail
;
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 Py_INCREF(Py_None
); resultobj
= Py_None
;
7432 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
= NULL
;
7434 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7438 PyObject
* obj0
= 0 ;
7439 PyObject
* obj1
= 0 ;
7440 PyObject
* obj2
= 0 ;
7441 PyObject
* obj3
= 0 ;
7443 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7448 if (SWIG_arg_fail(1)) SWIG_fail
;
7450 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7451 if (SWIG_arg_fail(2)) SWIG_fail
;
7454 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7455 if (SWIG_arg_fail(3)) SWIG_fail
;
7458 arg4
= static_cast<double >(SWIG_As_double(obj3
));
7459 if (SWIG_arg_fail(4)) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 Py_INCREF(Py_None
); resultobj
= Py_None
;
7475 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
= NULL
;
7477 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7481 PyObject
* obj0
= 0 ;
7482 PyObject
* obj1
= 0 ;
7483 PyObject
* obj2
= 0 ;
7484 PyObject
* obj3
= 0 ;
7486 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7491 if (SWIG_arg_fail(1)) SWIG_fail
;
7493 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7494 if (SWIG_arg_fail(2)) SWIG_fail
;
7497 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7498 if (SWIG_arg_fail(3)) SWIG_fail
;
7501 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
7502 if (SWIG_arg_fail(4)) SWIG_fail
;
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 Py_INCREF(Py_None
); resultobj
= Py_None
;
7518 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
*resultobj
= NULL
;
7520 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7521 PyObject
* obj0
= 0 ;
7523 (char *) "self", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
7527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7528 if (SWIG_arg_fail(1)) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 Py_INCREF(Py_None
); resultobj
= Py_None
;
7543 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
= NULL
;
7545 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7546 size_t arg2
= (size_t) 0 ;
7547 size_t arg3
= (size_t) 1 ;
7549 PyObject
* obj0
= 0 ;
7550 PyObject
* obj1
= 0 ;
7551 PyObject
* obj2
= 0 ;
7553 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7558 if (SWIG_arg_fail(1)) SWIG_fail
;
7561 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7562 if (SWIG_arg_fail(2)) SWIG_fail
;
7567 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
7568 if (SWIG_arg_fail(3)) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7587 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
*resultobj
= NULL
;
7589 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7590 size_t arg2
= (size_t) 1 ;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7595 (char *) "self",(char *) "numRows", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
7599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7600 if (SWIG_arg_fail(1)) SWIG_fail
;
7603 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7604 if (SWIG_arg_fail(2)) SWIG_fail
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 result
= (bool)(arg1
)->AppendRows(arg2
);
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7623 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
= NULL
;
7625 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7626 size_t arg2
= (size_t) 0 ;
7627 size_t arg3
= (size_t) 1 ;
7629 PyObject
* obj0
= 0 ;
7630 PyObject
* obj1
= 0 ;
7631 PyObject
* obj2
= 0 ;
7633 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7638 if (SWIG_arg_fail(1)) SWIG_fail
;
7641 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7642 if (SWIG_arg_fail(2)) SWIG_fail
;
7647 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
7648 if (SWIG_arg_fail(3)) SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7667 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
= NULL
;
7669 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7670 size_t arg2
= (size_t) 0 ;
7671 size_t arg3
= (size_t) 1 ;
7673 PyObject
* obj0
= 0 ;
7674 PyObject
* obj1
= 0 ;
7675 PyObject
* obj2
= 0 ;
7677 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7682 if (SWIG_arg_fail(1)) SWIG_fail
;
7685 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7686 if (SWIG_arg_fail(2)) SWIG_fail
;
7691 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
7692 if (SWIG_arg_fail(3)) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7711 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
= NULL
;
7713 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7714 size_t arg2
= (size_t) 1 ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7719 (char *) "self",(char *) "numCols", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
7723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7724 if (SWIG_arg_fail(1)) SWIG_fail
;
7727 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7728 if (SWIG_arg_fail(2)) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 result
= (bool)(arg1
)->AppendCols(arg2
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7747 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
= NULL
;
7749 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7750 size_t arg2
= (size_t) 0 ;
7751 size_t arg3
= (size_t) 1 ;
7753 PyObject
* obj0
= 0 ;
7754 PyObject
* obj1
= 0 ;
7755 PyObject
* obj2
= 0 ;
7757 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7762 if (SWIG_arg_fail(1)) SWIG_fail
;
7765 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
7766 if (SWIG_arg_fail(2)) SWIG_fail
;
7771 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
7772 if (SWIG_arg_fail(3)) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7791 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
= NULL
;
7793 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7796 PyObject
* obj0
= 0 ;
7797 PyObject
* obj1
= 0 ;
7799 (char *) "self",(char *) "row", NULL
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7804 if (SWIG_arg_fail(1)) SWIG_fail
;
7806 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7807 if (SWIG_arg_fail(2)) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= (arg1
)->GetRowLabelValue(arg2
);
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7829 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
= NULL
;
7831 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7834 PyObject
* obj0
= 0 ;
7835 PyObject
* obj1
= 0 ;
7837 (char *) "self",(char *) "col", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7842 if (SWIG_arg_fail(1)) SWIG_fail
;
7844 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7845 if (SWIG_arg_fail(2)) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 result
= (arg1
)->GetColLabelValue(arg2
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7867 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
= NULL
;
7869 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7871 wxString
*arg3
= 0 ;
7872 bool temp3
= false ;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7875 PyObject
* obj2
= 0 ;
7877 (char *) "self",(char *) "row",(char *) "value", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7882 if (SWIG_arg_fail(1)) SWIG_fail
;
7884 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7885 if (SWIG_arg_fail(2)) SWIG_fail
;
7888 arg3
= wxString_in_helper(obj2
);
7889 if (arg3
== NULL
) SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7899 Py_INCREF(Py_None
); resultobj
= Py_None
;
7914 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
= NULL
;
7916 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7918 wxString
*arg3
= 0 ;
7919 bool temp3
= false ;
7920 PyObject
* obj0
= 0 ;
7921 PyObject
* obj1
= 0 ;
7922 PyObject
* obj2
= 0 ;
7924 (char *) "self",(char *) "col",(char *) "value", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7929 if (SWIG_arg_fail(1)) SWIG_fail
;
7931 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7932 if (SWIG_arg_fail(2)) SWIG_fail
;
7935 arg3
= wxString_in_helper(obj2
);
7936 if (arg3
== NULL
) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 Py_INCREF(Py_None
); resultobj
= Py_None
;
7961 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
= NULL
;
7963 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7965 PyObject
* obj0
= 0 ;
7967 (char *) "self", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
7972 if (SWIG_arg_fail(1)) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 result
= (bool)(arg1
)->CanHaveAttributes();
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7989 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
= NULL
;
7991 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7994 wxGridCellAttr::wxAttrKind arg4
;
7995 wxGridCellAttr
*result
;
7996 PyObject
* obj0
= 0 ;
7997 PyObject
* obj1
= 0 ;
7998 PyObject
* obj2
= 0 ;
7999 PyObject
* obj3
= 0 ;
8001 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8006 if (SWIG_arg_fail(1)) SWIG_fail
;
8008 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8009 if (SWIG_arg_fail(2)) SWIG_fail
;
8012 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8013 if (SWIG_arg_fail(3)) SWIG_fail
;
8016 arg4
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj3
));
8017 if (SWIG_arg_fail(4)) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
8035 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
= NULL
;
8037 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8038 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8043 PyObject
* obj2
= 0 ;
8044 PyObject
* obj3
= 0 ;
8046 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8051 if (SWIG_arg_fail(1)) SWIG_fail
;
8052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8053 if (SWIG_arg_fail(2)) SWIG_fail
;
8055 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8056 if (SWIG_arg_fail(3)) SWIG_fail
;
8059 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8060 if (SWIG_arg_fail(4)) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 Py_INCREF(Py_None
); resultobj
= Py_None
;
8076 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
= NULL
;
8078 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8079 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8082 PyObject
* obj1
= 0 ;
8083 PyObject
* obj2
= 0 ;
8085 (char *) "self",(char *) "attr",(char *) "row", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8090 if (SWIG_arg_fail(1)) SWIG_fail
;
8091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8092 if (SWIG_arg_fail(2)) SWIG_fail
;
8094 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8095 if (SWIG_arg_fail(3)) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 (arg1
)->SetRowAttr(arg2
,arg3
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 Py_INCREF(Py_None
); resultobj
= Py_None
;
8111 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
= NULL
;
8113 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8114 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8118 PyObject
* obj2
= 0 ;
8120 (char *) "self",(char *) "attr",(char *) "col", NULL
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8125 if (SWIG_arg_fail(1)) SWIG_fail
;
8126 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8127 if (SWIG_arg_fail(2)) SWIG_fail
;
8129 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8130 if (SWIG_arg_fail(3)) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 (arg1
)->SetColAttr(arg2
,arg3
);
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 Py_INCREF(Py_None
); resultobj
= Py_None
;
8146 static PyObject
* GridTableBase_swigregister(PyObject
*, PyObject
*args
) {
8148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8149 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
8151 return Py_BuildValue((char *)"");
8153 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
= NULL
;
8155 wxPyGridTableBase
*result
;
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
8175 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
*resultobj
= NULL
;
8177 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8178 PyObject
*arg2
= (PyObject
*) 0 ;
8179 PyObject
*arg3
= (PyObject
*) 0 ;
8180 PyObject
* obj0
= 0 ;
8181 PyObject
* obj1
= 0 ;
8182 PyObject
* obj2
= 0 ;
8184 (char *) "self",(char *) "self",(char *) "_class", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8189 if (SWIG_arg_fail(1)) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8199 Py_INCREF(Py_None
); resultobj
= Py_None
;
8206 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
= NULL
;
8208 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8209 PyObject
* obj0
= 0 ;
8211 (char *) "self", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
8215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8216 if (SWIG_arg_fail(1)) SWIG_fail
;
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 wxPyGridTableBase_Destroy(arg1
);
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 Py_INCREF(Py_None
); resultobj
= Py_None
;
8231 static PyObject
*_wrap_PyGridTableBase_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
= NULL
;
8233 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8237 PyObject
* obj0
= 0 ;
8238 PyObject
* obj1
= 0 ;
8239 PyObject
* obj2
= 0 ;
8241 (char *) "self",(char *) "row",(char *) "col", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8246 if (SWIG_arg_fail(1)) SWIG_fail
;
8248 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8249 if (SWIG_arg_fail(2)) SWIG_fail
;
8252 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8253 if (SWIG_arg_fail(3)) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (arg1
)->GetTypeName(arg2
,arg3
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8275 static PyObject
*_wrap_PyGridTableBase_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
= NULL
;
8277 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8280 wxString
*arg4
= 0 ;
8282 bool temp4
= false ;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8285 PyObject
* obj2
= 0 ;
8286 PyObject
* obj3
= 0 ;
8288 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8293 if (SWIG_arg_fail(1)) SWIG_fail
;
8295 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8296 if (SWIG_arg_fail(2)) SWIG_fail
;
8299 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8300 if (SWIG_arg_fail(3)) SWIG_fail
;
8303 arg4
= wxString_in_helper(obj3
);
8304 if (arg4
== NULL
) SWIG_fail
;
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8311 wxPyEndAllowThreads(__tstate
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8331 static PyObject
*_wrap_PyGridTableBase_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
= NULL
;
8333 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8336 wxString
*arg4
= 0 ;
8338 bool temp4
= false ;
8339 PyObject
* obj0
= 0 ;
8340 PyObject
* obj1
= 0 ;
8341 PyObject
* obj2
= 0 ;
8342 PyObject
* obj3
= 0 ;
8344 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8349 if (SWIG_arg_fail(1)) SWIG_fail
;
8351 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8352 if (SWIG_arg_fail(2)) SWIG_fail
;
8355 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8356 if (SWIG_arg_fail(3)) SWIG_fail
;
8359 arg4
= wxString_in_helper(obj3
);
8360 if (arg4
== NULL
) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8387 static PyObject
*_wrap_PyGridTableBase_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
*resultobj
= NULL
;
8389 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8390 PyObject
* obj0
= 0 ;
8392 (char *) "self", NULL
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
8396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8397 if (SWIG_arg_fail(1)) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 Py_INCREF(Py_None
); resultobj
= Py_None
;
8412 static PyObject
*_wrap_PyGridTableBase_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
= NULL
;
8414 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8415 size_t arg2
= (size_t) 0 ;
8416 size_t arg3
= (size_t) 1 ;
8418 PyObject
* obj0
= 0 ;
8419 PyObject
* obj1
= 0 ;
8420 PyObject
* obj2
= 0 ;
8422 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8427 if (SWIG_arg_fail(1)) SWIG_fail
;
8430 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8431 if (SWIG_arg_fail(2)) SWIG_fail
;
8436 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
8437 if (SWIG_arg_fail(3)) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8456 static PyObject
*_wrap_PyGridTableBase_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
= NULL
;
8458 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8459 size_t arg2
= (size_t) 1 ;
8461 PyObject
* obj0
= 0 ;
8462 PyObject
* obj1
= 0 ;
8464 (char *) "self",(char *) "numRows", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
8468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8469 if (SWIG_arg_fail(1)) SWIG_fail
;
8472 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8473 if (SWIG_arg_fail(2)) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 result
= (bool)(arg1
)->AppendRows(arg2
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8492 static PyObject
*_wrap_PyGridTableBase_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
= NULL
;
8494 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8495 size_t arg2
= (size_t) 0 ;
8496 size_t arg3
= (size_t) 1 ;
8498 PyObject
* obj0
= 0 ;
8499 PyObject
* obj1
= 0 ;
8500 PyObject
* obj2
= 0 ;
8502 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8507 if (SWIG_arg_fail(1)) SWIG_fail
;
8510 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8511 if (SWIG_arg_fail(2)) SWIG_fail
;
8516 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
8517 if (SWIG_arg_fail(3)) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8536 static PyObject
*_wrap_PyGridTableBase_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
= NULL
;
8538 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8539 size_t arg2
= (size_t) 0 ;
8540 size_t arg3
= (size_t) 1 ;
8542 PyObject
* obj0
= 0 ;
8543 PyObject
* obj1
= 0 ;
8544 PyObject
* obj2
= 0 ;
8546 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8551 if (SWIG_arg_fail(1)) SWIG_fail
;
8554 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8555 if (SWIG_arg_fail(2)) SWIG_fail
;
8560 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
8561 if (SWIG_arg_fail(3)) SWIG_fail
;
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8580 static PyObject
*_wrap_PyGridTableBase_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
= NULL
;
8582 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8583 size_t arg2
= (size_t) 1 ;
8585 PyObject
* obj0
= 0 ;
8586 PyObject
* obj1
= 0 ;
8588 (char *) "self",(char *) "numCols", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
8592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8593 if (SWIG_arg_fail(1)) SWIG_fail
;
8596 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8597 if (SWIG_arg_fail(2)) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (bool)(arg1
)->AppendCols(arg2
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8616 static PyObject
*_wrap_PyGridTableBase_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
*resultobj
= NULL
;
8618 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8619 size_t arg2
= (size_t) 0 ;
8620 size_t arg3
= (size_t) 1 ;
8622 PyObject
* obj0
= 0 ;
8623 PyObject
* obj1
= 0 ;
8624 PyObject
* obj2
= 0 ;
8626 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8631 if (SWIG_arg_fail(1)) SWIG_fail
;
8634 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
8635 if (SWIG_arg_fail(2)) SWIG_fail
;
8640 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
8641 if (SWIG_arg_fail(3)) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8660 static PyObject
*_wrap_PyGridTableBase_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
= NULL
;
8662 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8665 PyObject
* obj0
= 0 ;
8666 PyObject
* obj1
= 0 ;
8668 (char *) "self",(char *) "row", NULL
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8673 if (SWIG_arg_fail(1)) SWIG_fail
;
8675 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8676 if (SWIG_arg_fail(2)) SWIG_fail
;
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 result
= (arg1
)->GetRowLabelValue(arg2
);
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8698 static PyObject
*_wrap_PyGridTableBase_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
*resultobj
= NULL
;
8700 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8703 PyObject
* obj0
= 0 ;
8704 PyObject
* obj1
= 0 ;
8706 (char *) "self",(char *) "col", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8711 if (SWIG_arg_fail(1)) SWIG_fail
;
8713 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8714 if (SWIG_arg_fail(2)) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (arg1
)->GetColLabelValue(arg2
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8736 static PyObject
*_wrap_PyGridTableBase_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
= NULL
;
8738 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8740 wxString
*arg3
= 0 ;
8741 bool temp3
= false ;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8744 PyObject
* obj2
= 0 ;
8746 (char *) "self",(char *) "row",(char *) "value", NULL
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8751 if (SWIG_arg_fail(1)) SWIG_fail
;
8753 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8754 if (SWIG_arg_fail(2)) SWIG_fail
;
8757 arg3
= wxString_in_helper(obj2
);
8758 if (arg3
== NULL
) SWIG_fail
;
8762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8763 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 Py_INCREF(Py_None
); resultobj
= Py_None
;
8783 static PyObject
*_wrap_PyGridTableBase_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
= NULL
;
8785 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8787 wxString
*arg3
= 0 ;
8788 bool temp3
= false ;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8791 PyObject
* obj2
= 0 ;
8793 (char *) "self",(char *) "col",(char *) "value", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8798 if (SWIG_arg_fail(1)) SWIG_fail
;
8800 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8801 if (SWIG_arg_fail(2)) SWIG_fail
;
8804 arg3
= wxString_in_helper(obj2
);
8805 if (arg3
== NULL
) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 Py_INCREF(Py_None
); resultobj
= Py_None
;
8830 static PyObject
*_wrap_PyGridTableBase_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
= NULL
;
8832 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8834 PyObject
* obj0
= 0 ;
8836 (char *) "self", NULL
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
8840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8841 if (SWIG_arg_fail(1)) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 result
= (bool)(arg1
)->CanHaveAttributes();
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8858 static PyObject
*_wrap_PyGridTableBase_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
= NULL
;
8860 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8863 wxGridCellAttr::wxAttrKind arg4
;
8864 wxGridCellAttr
*result
;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8867 PyObject
* obj2
= 0 ;
8868 PyObject
* obj3
= 0 ;
8870 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8875 if (SWIG_arg_fail(1)) SWIG_fail
;
8877 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8878 if (SWIG_arg_fail(2)) SWIG_fail
;
8881 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8882 if (SWIG_arg_fail(3)) SWIG_fail
;
8885 arg4
= static_cast<wxGridCellAttr::wxAttrKind
>(SWIG_As_int(obj3
));
8886 if (SWIG_arg_fail(4)) SWIG_fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
8904 static PyObject
*_wrap_PyGridTableBase_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
= NULL
;
8906 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8907 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8910 PyObject
* obj0
= 0 ;
8911 PyObject
* obj1
= 0 ;
8912 PyObject
* obj2
= 0 ;
8913 PyObject
* obj3
= 0 ;
8915 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8920 if (SWIG_arg_fail(1)) SWIG_fail
;
8921 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8922 if (SWIG_arg_fail(2)) SWIG_fail
;
8924 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8925 if (SWIG_arg_fail(3)) SWIG_fail
;
8928 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8929 if (SWIG_arg_fail(4)) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 Py_INCREF(Py_None
); resultobj
= Py_None
;
8945 static PyObject
*_wrap_PyGridTableBase_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
= NULL
;
8947 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8948 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8951 PyObject
* obj1
= 0 ;
8952 PyObject
* obj2
= 0 ;
8954 (char *) "self",(char *) "attr",(char *) "row", NULL
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8959 if (SWIG_arg_fail(1)) SWIG_fail
;
8960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8961 if (SWIG_arg_fail(2)) SWIG_fail
;
8963 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8964 if (SWIG_arg_fail(3)) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 (arg1
)->SetRowAttr(arg2
,arg3
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 Py_INCREF(Py_None
); resultobj
= Py_None
;
8980 static PyObject
*_wrap_PyGridTableBase_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
= NULL
;
8982 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
8983 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8987 PyObject
* obj2
= 0 ;
8989 (char *) "self",(char *) "attr",(char *) "col", NULL
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail
;
8995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
8996 if (SWIG_arg_fail(2)) SWIG_fail
;
8998 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8999 if (SWIG_arg_fail(3)) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 (arg1
)->SetColAttr(arg2
,arg3
);
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 Py_INCREF(Py_None
); resultobj
= Py_None
;
9015 static PyObject
* PyGridTableBase_swigregister(PyObject
*, PyObject
*args
) {
9017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9018 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
9020 return Py_BuildValue((char *)"");
9022 static PyObject
*_wrap_new_GridStringTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
= NULL
;
9024 int arg1
= (int) 0 ;
9025 int arg2
= (int) 0 ;
9026 wxGridStringTable
*result
;
9027 PyObject
* obj0
= 0 ;
9028 PyObject
* obj1
= 0 ;
9030 (char *) "numRows",(char *) "numCols", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
9036 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9037 if (SWIG_arg_fail(1)) SWIG_fail
;
9042 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9043 if (SWIG_arg_fail(2)) SWIG_fail
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
9060 static PyObject
* GridStringTable_swigregister(PyObject
*, PyObject
*args
) {
9062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9063 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
9065 return Py_BuildValue((char *)"");
9067 static PyObject
*_wrap_new_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
= NULL
;
9069 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9071 int arg3
= (int) -1 ;
9072 int arg4
= (int) -1 ;
9073 wxGridTableMessage
*result
;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9076 PyObject
* obj2
= 0 ;
9077 PyObject
* obj3
= 0 ;
9079 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
9084 if (SWIG_arg_fail(1)) SWIG_fail
;
9086 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9087 if (SWIG_arg_fail(2)) SWIG_fail
;
9091 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9092 if (SWIG_arg_fail(3)) SWIG_fail
;
9097 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9098 if (SWIG_arg_fail(4)) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
9115 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
= NULL
;
9117 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9118 PyObject
* obj0
= 0 ;
9120 (char *) "self", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
9124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9125 if (SWIG_arg_fail(1)) SWIG_fail
;
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 Py_INCREF(Py_None
); resultobj
= Py_None
;
9140 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
= NULL
;
9142 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9143 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
9144 PyObject
* obj0
= 0 ;
9145 PyObject
* obj1
= 0 ;
9147 (char *) "self",(char *) "table", NULL
9150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
9151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9152 if (SWIG_arg_fail(1)) SWIG_fail
;
9153 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
9154 if (SWIG_arg_fail(2)) SWIG_fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 (arg1
)->SetTableObject(arg2
);
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9162 Py_INCREF(Py_None
); resultobj
= Py_None
;
9169 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
= NULL
;
9171 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9172 wxGridTableBase
*result
;
9173 PyObject
* obj0
= 0 ;
9175 (char *) "self", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
9179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9180 if (SWIG_arg_fail(1)) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
9197 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
= NULL
;
9199 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9204 (char *) "self",(char *) "id", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
9208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9209 if (SWIG_arg_fail(1)) SWIG_fail
;
9211 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9212 if (SWIG_arg_fail(2)) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 (arg1
)->SetId(arg2
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 Py_INCREF(Py_None
); resultobj
= Py_None
;
9228 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
= NULL
;
9230 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9232 PyObject
* obj0
= 0 ;
9234 (char *) "self", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
9238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9239 if (SWIG_arg_fail(1)) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (int)(arg1
)->GetId();
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_From_int(static_cast<int >(result
));
9256 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
= NULL
;
9258 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9260 PyObject
* obj0
= 0 ;
9261 PyObject
* obj1
= 0 ;
9263 (char *) "self",(char *) "comInt1", NULL
9266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9268 if (SWIG_arg_fail(1)) SWIG_fail
;
9270 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9271 if (SWIG_arg_fail(2)) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 (arg1
)->SetCommandInt(arg2
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 Py_INCREF(Py_None
); resultobj
= Py_None
;
9287 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
= NULL
;
9289 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9291 PyObject
* obj0
= 0 ;
9293 (char *) "self", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
9297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9298 if (SWIG_arg_fail(1)) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= (int)(arg1
)->GetCommandInt();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_From_int(static_cast<int >(result
));
9315 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
= NULL
;
9317 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9319 PyObject
* obj0
= 0 ;
9320 PyObject
* obj1
= 0 ;
9322 (char *) "self",(char *) "comInt2", NULL
9325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
9326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9327 if (SWIG_arg_fail(1)) SWIG_fail
;
9329 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9330 if (SWIG_arg_fail(2)) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 (arg1
)->SetCommandInt2(arg2
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 Py_INCREF(Py_None
); resultobj
= Py_None
;
9346 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
= NULL
;
9348 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
9356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
9357 if (SWIG_arg_fail(1)) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (int)(arg1
)->GetCommandInt2();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= SWIG_From_int(static_cast<int >(result
));
9374 static PyObject
* GridTableMessage_swigregister(PyObject
*, PyObject
*args
) {
9376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9377 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
9379 return Py_BuildValue((char *)"");
9381 static PyObject
*_wrap_new_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
= NULL
;
9383 int arg1
= (int) -1 ;
9384 int arg2
= (int) -1 ;
9385 wxGridCellCoords
*result
;
9386 PyObject
* obj0
= 0 ;
9387 PyObject
* obj1
= 0 ;
9389 (char *) "r",(char *) "c", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
9395 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9396 if (SWIG_arg_fail(1)) SWIG_fail
;
9401 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9402 if (SWIG_arg_fail(2)) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
9419 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
= NULL
;
9421 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9422 PyObject
* obj0
= 0 ;
9424 (char *) "self", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
9428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9429 if (SWIG_arg_fail(1)) SWIG_fail
;
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9437 Py_INCREF(Py_None
); resultobj
= Py_None
;
9444 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
= NULL
;
9446 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9448 PyObject
* obj0
= 0 ;
9450 (char *) "self", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
9454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9455 if (SWIG_arg_fail(1)) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= SWIG_From_int(static_cast<int >(result
));
9472 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
= NULL
;
9474 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9476 PyObject
* obj0
= 0 ;
9477 PyObject
* obj1
= 0 ;
9479 (char *) "self",(char *) "n", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail
;
9486 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9487 if (SWIG_arg_fail(2)) SWIG_fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 (arg1
)->SetRow(arg2
);
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 Py_INCREF(Py_None
); resultobj
= Py_None
;
9503 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
= NULL
;
9505 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9507 PyObject
* obj0
= 0 ;
9509 (char *) "self", NULL
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
9513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9514 if (SWIG_arg_fail(1)) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9523 resultobj
= SWIG_From_int(static_cast<int >(result
));
9531 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
= NULL
;
9533 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9535 PyObject
* obj0
= 0 ;
9536 PyObject
* obj1
= 0 ;
9538 (char *) "self",(char *) "n", NULL
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9543 if (SWIG_arg_fail(1)) SWIG_fail
;
9545 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9546 if (SWIG_arg_fail(2)) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 (arg1
)->SetCol(arg2
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 Py_INCREF(Py_None
); resultobj
= Py_None
;
9562 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
= NULL
;
9564 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9569 PyObject
* obj2
= 0 ;
9571 (char *) "self",(char *) "row",(char *) "col", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9576 if (SWIG_arg_fail(1)) SWIG_fail
;
9578 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9579 if (SWIG_arg_fail(2)) SWIG_fail
;
9582 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9583 if (SWIG_arg_fail(3)) SWIG_fail
;
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 (arg1
)->Set(arg2
,arg3
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 Py_INCREF(Py_None
); resultobj
= Py_None
;
9599 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
= NULL
;
9601 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9602 wxGridCellCoords
*arg2
= 0 ;
9604 wxGridCellCoords temp2
;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9608 (char *) "self",(char *) "other", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9613 if (SWIG_arg_fail(1)) SWIG_fail
;
9616 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9634 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
= NULL
;
9636 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9637 wxGridCellCoords
*arg2
= 0 ;
9639 wxGridCellCoords temp2
;
9640 PyObject
* obj0
= 0 ;
9641 PyObject
* obj1
= 0 ;
9643 (char *) "self",(char *) "other", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9648 if (SWIG_arg_fail(1)) SWIG_fail
;
9651 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9669 static PyObject
*_wrap_GridCellCoords_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
= NULL
;
9671 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "self", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_Get",kwnames
,&obj0
)) goto fail
;
9679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_EXCEPTION
| 0);
9680 if (SWIG_arg_fail(1)) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9695 static PyObject
* GridCellCoords_swigregister(PyObject
*, PyObject
*args
) {
9697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9698 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
9700 return Py_BuildValue((char *)"");
9702 static PyObject
*_wrap_new_Grid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
= NULL
;
9704 wxWindow
*arg1
= (wxWindow
*) 0 ;
9705 int arg2
= (int) -1 ;
9706 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9707 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9708 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9709 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9710 long arg5
= (long) wxWANTS_CHARS
;
9711 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9712 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9716 bool temp6
= false ;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9719 PyObject
* obj2
= 0 ;
9720 PyObject
* obj3
= 0 ;
9721 PyObject
* obj4
= 0 ;
9722 PyObject
* obj5
= 0 ;
9724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9729 if (SWIG_arg_fail(1)) SWIG_fail
;
9732 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9733 if (SWIG_arg_fail(2)) SWIG_fail
;
9739 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9745 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9750 arg5
= static_cast<long >(SWIG_As_long(obj4
));
9751 if (SWIG_arg_fail(5)) SWIG_fail
;
9756 arg6
= wxString_in_helper(obj5
);
9757 if (arg6
== NULL
) SWIG_fail
;
9762 if (!wxPyCheckForApp()) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
9784 static PyObject
*_wrap_new_PreGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9785 PyObject
*resultobj
= NULL
;
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGrid",kwnames
)) goto fail
;
9793 if (!wxPyCheckForApp()) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (wxGrid
*)new wxGrid();
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
9807 static PyObject
*_wrap_Grid_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
= NULL
;
9809 wxGrid
*arg1
= (wxGrid
*) 0 ;
9810 wxWindow
*arg2
= (wxWindow
*) 0 ;
9811 int arg3
= (int) -1 ;
9812 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9813 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9814 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9815 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9816 long arg6
= (long) wxWANTS_CHARS
;
9817 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9818 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9822 bool temp7
= false ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9826 PyObject
* obj3
= 0 ;
9827 PyObject
* obj4
= 0 ;
9828 PyObject
* obj5
= 0 ;
9829 PyObject
* obj6
= 0 ;
9831 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9836 if (SWIG_arg_fail(1)) SWIG_fail
;
9837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9838 if (SWIG_arg_fail(2)) SWIG_fail
;
9841 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9842 if (SWIG_arg_fail(3)) SWIG_fail
;
9848 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9854 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9859 arg6
= static_cast<long >(SWIG_As_long(obj5
));
9860 if (SWIG_arg_fail(6)) SWIG_fail
;
9865 arg7
= wxString_in_helper(obj6
);
9866 if (arg7
== NULL
) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9894 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
= NULL
;
9896 wxGrid
*arg1
= (wxGrid
*) 0 ;
9899 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
9901 PyObject
* obj0
= 0 ;
9902 PyObject
* obj1
= 0 ;
9903 PyObject
* obj2
= 0 ;
9904 PyObject
* obj3
= 0 ;
9906 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9911 if (SWIG_arg_fail(1)) SWIG_fail
;
9913 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9914 if (SWIG_arg_fail(2)) SWIG_fail
;
9917 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9918 if (SWIG_arg_fail(3)) SWIG_fail
;
9922 arg4
= static_cast<WXGRIDSELECTIONMODES
>(SWIG_As_int(obj3
));
9923 if (SWIG_arg_fail(4)) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9942 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
= NULL
;
9944 wxGrid
*arg1
= (wxGrid
*) 0 ;
9945 WXGRIDSELECTIONMODES arg2
;
9946 PyObject
* obj0
= 0 ;
9947 PyObject
* obj1
= 0 ;
9949 (char *) "self",(char *) "selmode", NULL
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
9953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9954 if (SWIG_arg_fail(1)) SWIG_fail
;
9956 arg2
= static_cast<WXGRIDSELECTIONMODES
>(SWIG_As_int(obj1
));
9957 if (SWIG_arg_fail(2)) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 (arg1
)->SetSelectionMode(arg2
);
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 Py_INCREF(Py_None
); resultobj
= Py_None
;
9973 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
= NULL
;
9975 wxGrid
*arg1
= (wxGrid
*) 0 ;
9976 WXGRIDSELECTIONMODES result
;
9977 PyObject
* obj0
= 0 ;
9979 (char *) "self", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
9983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
9984 if (SWIG_arg_fail(1)) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= SWIG_From_int(static_cast<int >(result
));
10001 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
= NULL
;
10003 wxGrid
*arg1
= (wxGrid
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
10011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10012 if (SWIG_arg_fail(1)) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 result
= (int)(arg1
)->GetNumberRows();
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_From_int(static_cast<int >(result
));
10029 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
= NULL
;
10031 wxGrid
*arg1
= (wxGrid
*) 0 ;
10033 PyObject
* obj0
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
10039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10040 if (SWIG_arg_fail(1)) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (int)(arg1
)->GetNumberCols();
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= SWIG_From_int(static_cast<int >(result
));
10057 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
= NULL
;
10059 wxGrid
*arg1
= (wxGrid
*) 0 ;
10060 wxGridTableMessage
*arg2
= 0 ;
10062 PyObject
* obj0
= 0 ;
10063 PyObject
* obj1
= 0 ;
10064 char *kwnames
[] = {
10065 (char *) "self","arg2", NULL
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10070 if (SWIG_arg_fail(1)) SWIG_fail
;
10072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_EXCEPTION
| 0);
10073 if (SWIG_arg_fail(2)) SWIG_fail
;
10074 if (arg2
== NULL
) {
10075 SWIG_null_ref("wxGridTableMessage");
10077 if (SWIG_arg_fail(2)) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10095 static PyObject
*_wrap_Grid_GetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
= NULL
;
10097 wxGrid
*arg1
= (wxGrid
*) 0 ;
10098 wxGridTableBase
*result
;
10099 PyObject
* obj0
= 0 ;
10100 char *kwnames
[] = {
10101 (char *) "self", NULL
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
10105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10106 if (SWIG_arg_fail(1)) SWIG_fail
;
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
10123 static PyObject
*_wrap_Grid_SetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
= NULL
;
10125 wxGrid
*arg1
= (wxGrid
*) 0 ;
10126 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
10127 bool arg3
= (bool) false ;
10128 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10132 PyObject
* obj2
= 0 ;
10133 PyObject
* obj3
= 0 ;
10134 char *kwnames
[] = {
10135 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10140 if (SWIG_arg_fail(1)) SWIG_fail
;
10141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_EXCEPTION
| 0);
10142 if (SWIG_arg_fail(2)) SWIG_fail
;
10145 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10146 if (SWIG_arg_fail(3)) SWIG_fail
;
10151 arg4
= static_cast<WXGRIDSELECTIONMODES
>(SWIG_As_int(obj3
));
10152 if (SWIG_arg_fail(4)) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10171 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
= NULL
;
10173 wxGrid
*arg1
= (wxGrid
*) 0 ;
10174 PyObject
* obj0
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
10180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10181 if (SWIG_arg_fail(1)) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 (arg1
)->ClearGrid();
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 Py_INCREF(Py_None
); resultobj
= Py_None
;
10196 static PyObject
*_wrap_Grid_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
= NULL
;
10198 wxGrid
*arg1
= (wxGrid
*) 0 ;
10199 int arg2
= (int) 0 ;
10200 int arg3
= (int) 1 ;
10201 bool arg4
= (bool) true ;
10203 PyObject
* obj0
= 0 ;
10204 PyObject
* obj1
= 0 ;
10205 PyObject
* obj2
= 0 ;
10206 PyObject
* obj3
= 0 ;
10207 char *kwnames
[] = {
10208 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10213 if (SWIG_arg_fail(1)) SWIG_fail
;
10216 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10217 if (SWIG_arg_fail(2)) SWIG_fail
;
10222 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10223 if (SWIG_arg_fail(3)) SWIG_fail
;
10228 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10229 if (SWIG_arg_fail(4)) SWIG_fail
;
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10248 static PyObject
*_wrap_Grid_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
= NULL
;
10250 wxGrid
*arg1
= (wxGrid
*) 0 ;
10251 int arg2
= (int) 1 ;
10252 bool arg3
= (bool) true ;
10254 PyObject
* obj0
= 0 ;
10255 PyObject
* obj1
= 0 ;
10256 PyObject
* obj2
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10263 if (SWIG_arg_fail(1)) SWIG_fail
;
10266 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10267 if (SWIG_arg_fail(2)) SWIG_fail
;
10272 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10273 if (SWIG_arg_fail(3)) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10292 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
= NULL
;
10294 wxGrid
*arg1
= (wxGrid
*) 0 ;
10295 int arg2
= (int) 0 ;
10296 int arg3
= (int) 1 ;
10297 bool arg4
= (bool) true ;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 PyObject
* obj2
= 0 ;
10302 PyObject
* obj3
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10309 if (SWIG_arg_fail(1)) SWIG_fail
;
10312 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10313 if (SWIG_arg_fail(2)) SWIG_fail
;
10318 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10319 if (SWIG_arg_fail(3)) SWIG_fail
;
10324 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10325 if (SWIG_arg_fail(4)) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10344 static PyObject
*_wrap_Grid_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
= NULL
;
10346 wxGrid
*arg1
= (wxGrid
*) 0 ;
10347 int arg2
= (int) 0 ;
10348 int arg3
= (int) 1 ;
10349 bool arg4
= (bool) true ;
10351 PyObject
* obj0
= 0 ;
10352 PyObject
* obj1
= 0 ;
10353 PyObject
* obj2
= 0 ;
10354 PyObject
* obj3
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10361 if (SWIG_arg_fail(1)) SWIG_fail
;
10364 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10365 if (SWIG_arg_fail(2)) SWIG_fail
;
10370 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10371 if (SWIG_arg_fail(3)) SWIG_fail
;
10376 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10377 if (SWIG_arg_fail(4)) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10396 static PyObject
*_wrap_Grid_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
= NULL
;
10398 wxGrid
*arg1
= (wxGrid
*) 0 ;
10399 int arg2
= (int) 1 ;
10400 bool arg3
= (bool) true ;
10402 PyObject
* obj0
= 0 ;
10403 PyObject
* obj1
= 0 ;
10404 PyObject
* obj2
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10411 if (SWIG_arg_fail(1)) SWIG_fail
;
10414 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10415 if (SWIG_arg_fail(2)) SWIG_fail
;
10420 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10421 if (SWIG_arg_fail(3)) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10440 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
= NULL
;
10442 wxGrid
*arg1
= (wxGrid
*) 0 ;
10443 int arg2
= (int) 0 ;
10444 int arg3
= (int) 1 ;
10445 bool arg4
= (bool) true ;
10447 PyObject
* obj0
= 0 ;
10448 PyObject
* obj1
= 0 ;
10449 PyObject
* obj2
= 0 ;
10450 PyObject
* obj3
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10457 if (SWIG_arg_fail(1)) SWIG_fail
;
10460 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10461 if (SWIG_arg_fail(2)) SWIG_fail
;
10466 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10467 if (SWIG_arg_fail(3)) SWIG_fail
;
10472 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10473 if (SWIG_arg_fail(4)) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10492 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
= NULL
;
10494 wxGrid
*arg1
= (wxGrid
*) 0 ;
10496 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
10497 PyObject
* obj0
= 0 ;
10498 PyObject
* obj1
= 0 ;
10499 PyObject
* obj2
= 0 ;
10500 char *kwnames
[] = {
10501 (char *) "self",(char *) "dc",(char *) "attr", NULL
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10506 if (SWIG_arg_fail(1)) SWIG_fail
;
10508 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10509 if (SWIG_arg_fail(2)) SWIG_fail
;
10510 if (arg2
== NULL
) {
10511 SWIG_null_ref("wxDC");
10513 if (SWIG_arg_fail(2)) SWIG_fail
;
10515 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
10516 if (SWIG_arg_fail(3)) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 Py_INCREF(Py_None
); resultobj
= Py_None
;
10531 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
= NULL
;
10533 wxGrid
*arg1
= (wxGrid
*) 0 ;
10535 wxString
*arg3
= 0 ;
10537 int arg5
= (int) wxLEFT
;
10538 int arg6
= (int) wxTOP
;
10539 int arg7
= (int) wxHORIZONTAL
;
10540 bool temp3
= false ;
10542 PyObject
* obj0
= 0 ;
10543 PyObject
* obj1
= 0 ;
10544 PyObject
* obj2
= 0 ;
10545 PyObject
* obj3
= 0 ;
10546 PyObject
* obj4
= 0 ;
10547 PyObject
* obj5
= 0 ;
10548 PyObject
* obj6
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10555 if (SWIG_arg_fail(1)) SWIG_fail
;
10557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10558 if (SWIG_arg_fail(2)) SWIG_fail
;
10559 if (arg2
== NULL
) {
10560 SWIG_null_ref("wxDC");
10562 if (SWIG_arg_fail(2)) SWIG_fail
;
10565 arg3
= wxString_in_helper(obj2
);
10566 if (arg3
== NULL
) SWIG_fail
;
10571 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
10575 arg5
= static_cast<int >(SWIG_As_int(obj4
));
10576 if (SWIG_arg_fail(5)) SWIG_fail
;
10581 arg6
= static_cast<int >(SWIG_As_int(obj5
));
10582 if (SWIG_arg_fail(6)) SWIG_fail
;
10587 arg7
= static_cast<int >(SWIG_As_int(obj6
));
10588 if (SWIG_arg_fail(7)) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 Py_INCREF(Py_None
); resultobj
= Py_None
;
10613 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
= NULL
;
10615 wxGrid
*arg1
= (wxGrid
*) 0 ;
10617 wxArrayString
*arg3
= 0 ;
10618 long *arg4
= (long *) 0 ;
10619 long *arg5
= (long *) 0 ;
10620 bool temp3
= false ;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 PyObject
* obj2
= 0 ;
10628 char *kwnames
[] = {
10629 (char *) "self",(char *) "dc",(char *) "lines", NULL
10632 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10633 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10636 if (SWIG_arg_fail(1)) SWIG_fail
;
10638 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10639 if (SWIG_arg_fail(2)) SWIG_fail
;
10640 if (arg2
== NULL
) {
10641 SWIG_null_ref("wxDC");
10643 if (SWIG_arg_fail(2)) SWIG_fail
;
10646 if (! PySequence_Check(obj2
)) {
10647 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10650 arg3
= new wxArrayString
;
10652 int i
, len
=PySequence_Length(obj2
);
10653 for (i
=0; i
<len
; i
++) {
10654 PyObject
* item
= PySequence_GetItem(obj2
, i
);
10655 wxString
* s
= wxString_in_helper(item
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 Py_INCREF(Py_None
); resultobj
= Py_None
;
10670 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10671 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10672 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
10673 SWIG_From_long((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, 0)));
10675 if (temp3
) delete arg3
;
10680 if (temp3
) delete arg3
;
10686 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
= NULL
;
10688 wxGrid
*arg1
= (wxGrid
*) 0 ;
10689 PyObject
* obj0
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "self", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
10695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10696 if (SWIG_arg_fail(1)) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 (arg1
)->BeginBatch();
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
*_wrap_Grid_EndBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
= NULL
;
10713 wxGrid
*arg1
= (wxGrid
*) 0 ;
10714 PyObject
* obj0
= 0 ;
10715 char *kwnames
[] = {
10716 (char *) "self", NULL
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
10720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10721 if (SWIG_arg_fail(1)) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 (arg1
)->EndBatch();
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 Py_INCREF(Py_None
); resultobj
= Py_None
;
10736 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
= NULL
;
10738 wxGrid
*arg1
= (wxGrid
*) 0 ;
10740 PyObject
* obj0
= 0 ;
10741 char *kwnames
[] = {
10742 (char *) "self", NULL
10745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
10746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10747 if (SWIG_arg_fail(1)) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= (int)(arg1
)->GetBatchCount();
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= SWIG_From_int(static_cast<int >(result
));
10764 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
= NULL
;
10766 wxGrid
*arg1
= (wxGrid
*) 0 ;
10767 PyObject
* obj0
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
10773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10774 if (SWIG_arg_fail(1)) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 (arg1
)->ForceRefresh();
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 Py_INCREF(Py_None
); resultobj
= Py_None
;
10789 static PyObject
*_wrap_Grid_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
= NULL
;
10791 wxGrid
*arg1
= (wxGrid
*) 0 ;
10793 PyObject
* obj0
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
10799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10800 if (SWIG_arg_fail(1)) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= (bool)(arg1
)->IsEditable();
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10817 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
= NULL
;
10819 wxGrid
*arg1
= (wxGrid
*) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self",(char *) "edit", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
10828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10829 if (SWIG_arg_fail(1)) SWIG_fail
;
10831 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10832 if (SWIG_arg_fail(2)) SWIG_fail
;
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 (arg1
)->EnableEditing(arg2
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 Py_INCREF(Py_None
); resultobj
= Py_None
;
10848 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
= NULL
;
10850 wxGrid
*arg1
= (wxGrid
*) 0 ;
10851 bool arg2
= (bool) true ;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self",(char *) "enable", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
10859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10860 if (SWIG_arg_fail(1)) SWIG_fail
;
10863 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10864 if (SWIG_arg_fail(2)) SWIG_fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 (arg1
)->EnableCellEditControl(arg2
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 Py_INCREF(Py_None
); resultobj
= Py_None
;
10881 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
= NULL
;
10883 wxGrid
*arg1
= (wxGrid
*) 0 ;
10884 PyObject
* obj0
= 0 ;
10885 char *kwnames
[] = {
10886 (char *) "self", NULL
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
10890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10891 if (SWIG_arg_fail(1)) SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 (arg1
)->DisableCellEditControl();
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 Py_INCREF(Py_None
); resultobj
= Py_None
;
10906 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
= NULL
;
10908 wxGrid
*arg1
= (wxGrid
*) 0 ;
10910 PyObject
* obj0
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "self", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
10916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10917 if (SWIG_arg_fail(1)) SWIG_fail
;
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10920 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10934 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
= NULL
;
10936 wxGrid
*arg1
= (wxGrid
*) 0 ;
10938 PyObject
* obj0
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "self", NULL
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
10944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10945 if (SWIG_arg_fail(1)) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10962 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10963 PyObject
*resultobj
= NULL
;
10964 wxGrid
*arg1
= (wxGrid
*) 0 ;
10966 PyObject
* obj0
= 0 ;
10967 char *kwnames
[] = {
10968 (char *) "self", NULL
10971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
10972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
10973 if (SWIG_arg_fail(1)) SWIG_fail
;
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10990 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
= NULL
;
10992 wxGrid
*arg1
= (wxGrid
*) 0 ;
10994 PyObject
* obj0
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
11000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11001 if (SWIG_arg_fail(1)) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11018 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
= NULL
;
11020 wxGrid
*arg1
= (wxGrid
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
11027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11028 if (SWIG_arg_fail(1)) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 (arg1
)->ShowCellEditControl();
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 Py_INCREF(Py_None
); resultobj
= Py_None
;
11043 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
= NULL
;
11045 wxGrid
*arg1
= (wxGrid
*) 0 ;
11046 PyObject
* obj0
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
11052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11053 if (SWIG_arg_fail(1)) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 (arg1
)->HideCellEditControl();
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
= NULL
;
11070 wxGrid
*arg1
= (wxGrid
*) 0 ;
11071 PyObject
* obj0
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
11077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11078 if (SWIG_arg_fail(1)) SWIG_fail
;
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 (arg1
)->SaveEditControlValue();
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11086 Py_INCREF(Py_None
); resultobj
= Py_None
;
11093 static PyObject
*_wrap_Grid_XYToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
= NULL
;
11095 wxGrid
*arg1
= (wxGrid
*) 0 ;
11098 wxGridCellCoords result
;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 PyObject
* obj2
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "self",(char *) "x",(char *) "y", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11108 if (SWIG_arg_fail(1)) SWIG_fail
;
11110 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11111 if (SWIG_arg_fail(2)) SWIG_fail
;
11114 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11115 if (SWIG_arg_fail(3)) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11125 wxGridCellCoords
* resultptr
;
11126 resultptr
= new wxGridCellCoords(static_cast<wxGridCellCoords
& >(result
));
11127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
11135 static PyObject
*_wrap_Grid_YToRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
= NULL
;
11137 wxGrid
*arg1
= (wxGrid
*) 0 ;
11140 PyObject
* obj0
= 0 ;
11141 PyObject
* obj1
= 0 ;
11142 char *kwnames
[] = {
11143 (char *) "self",(char *) "y", NULL
11146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
11147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11148 if (SWIG_arg_fail(1)) SWIG_fail
;
11150 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11151 if (SWIG_arg_fail(2)) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 result
= (int)(arg1
)->YToRow(arg2
);
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= SWIG_From_int(static_cast<int >(result
));
11169 static PyObject
*_wrap_Grid_XToCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
= NULL
;
11171 wxGrid
*arg1
= (wxGrid
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self",(char *) "x", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
11181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11182 if (SWIG_arg_fail(1)) SWIG_fail
;
11184 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11185 if (SWIG_arg_fail(2)) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 result
= (int)(arg1
)->XToCol(arg2
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= SWIG_From_int(static_cast<int >(result
));
11203 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
= NULL
;
11205 wxGrid
*arg1
= (wxGrid
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 PyObject
* obj1
= 0 ;
11210 char *kwnames
[] = {
11211 (char *) "self",(char *) "y", NULL
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
11215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11216 if (SWIG_arg_fail(1)) SWIG_fail
;
11218 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11219 if (SWIG_arg_fail(2)) SWIG_fail
;
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= SWIG_From_int(static_cast<int >(result
));
11237 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
= NULL
;
11239 wxGrid
*arg1
= (wxGrid
*) 0 ;
11242 PyObject
* obj0
= 0 ;
11243 PyObject
* obj1
= 0 ;
11244 char *kwnames
[] = {
11245 (char *) "self",(char *) "x", NULL
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
11249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11250 if (SWIG_arg_fail(1)) SWIG_fail
;
11252 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11253 if (SWIG_arg_fail(2)) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11263 resultobj
= SWIG_From_int(static_cast<int >(result
));
11271 static PyObject
*_wrap_Grid_CellToRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
= NULL
;
11273 wxGrid
*arg1
= (wxGrid
*) 0 ;
11277 PyObject
* obj0
= 0 ;
11278 PyObject
* obj1
= 0 ;
11279 PyObject
* obj2
= 0 ;
11280 char *kwnames
[] = {
11281 (char *) "self",(char *) "row",(char *) "col", NULL
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11286 if (SWIG_arg_fail(1)) SWIG_fail
;
11288 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11289 if (SWIG_arg_fail(2)) SWIG_fail
;
11292 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11293 if (SWIG_arg_fail(3)) SWIG_fail
;
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 result
= (arg1
)->CellToRect(arg2
,arg3
);
11299 wxPyEndAllowThreads(__tstate
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11303 wxRect
* resultptr
;
11304 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
11305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
11313 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
= NULL
;
11315 wxGrid
*arg1
= (wxGrid
*) 0 ;
11317 PyObject
* obj0
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
11323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail
;
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= (int)(arg1
)->GetGridCursorRow();
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= SWIG_From_int(static_cast<int >(result
));
11341 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
*resultobj
= NULL
;
11343 wxGrid
*arg1
= (wxGrid
*) 0 ;
11345 PyObject
* obj0
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
11351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11352 if (SWIG_arg_fail(1)) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 result
= (int)(arg1
)->GetGridCursorCol();
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11361 resultobj
= SWIG_From_int(static_cast<int >(result
));
11369 static PyObject
*_wrap_Grid_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
= NULL
;
11371 wxGrid
*arg1
= (wxGrid
*) 0 ;
11374 bool arg4
= (bool) true ;
11376 PyObject
* obj0
= 0 ;
11377 PyObject
* obj1
= 0 ;
11378 PyObject
* obj2
= 0 ;
11379 PyObject
* obj3
= 0 ;
11380 char *kwnames
[] = {
11381 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11386 if (SWIG_arg_fail(1)) SWIG_fail
;
11388 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11389 if (SWIG_arg_fail(2)) SWIG_fail
;
11392 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11393 if (SWIG_arg_fail(3)) SWIG_fail
;
11397 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
11398 if (SWIG_arg_fail(4)) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11417 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
= NULL
;
11419 wxGrid
*arg1
= (wxGrid
*) 0 ;
11422 PyObject
* obj0
= 0 ;
11423 PyObject
* obj1
= 0 ;
11424 PyObject
* obj2
= 0 ;
11425 char *kwnames
[] = {
11426 (char *) "self",(char *) "row",(char *) "col", NULL
11429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11431 if (SWIG_arg_fail(1)) SWIG_fail
;
11433 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11434 if (SWIG_arg_fail(2)) SWIG_fail
;
11437 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11438 if (SWIG_arg_fail(3)) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 (arg1
)->MakeCellVisible(arg2
,arg3
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 Py_INCREF(Py_None
); resultobj
= Py_None
;
11454 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
= NULL
;
11456 wxGrid
*arg1
= (wxGrid
*) 0 ;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 PyObject
* obj2
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "self",(char *) "row",(char *) "col", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11468 if (SWIG_arg_fail(1)) SWIG_fail
;
11470 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11471 if (SWIG_arg_fail(2)) SWIG_fail
;
11474 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11475 if (SWIG_arg_fail(3)) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 (arg1
)->SetGridCursor(arg2
,arg3
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 Py_INCREF(Py_None
); resultobj
= Py_None
;
11491 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
= NULL
;
11493 wxGrid
*arg1
= (wxGrid
*) 0 ;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 char *kwnames
[] = {
11499 (char *) "self",(char *) "expandSelection", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11504 if (SWIG_arg_fail(1)) SWIG_fail
;
11506 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11507 if (SWIG_arg_fail(2)) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11525 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
= NULL
;
11527 wxGrid
*arg1
= (wxGrid
*) 0 ;
11530 PyObject
* obj0
= 0 ;
11531 PyObject
* obj1
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self",(char *) "expandSelection", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11538 if (SWIG_arg_fail(1)) SWIG_fail
;
11540 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11541 if (SWIG_arg_fail(2)) SWIG_fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11559 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
= NULL
;
11561 wxGrid
*arg1
= (wxGrid
*) 0 ;
11564 PyObject
* obj0
= 0 ;
11565 PyObject
* obj1
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self",(char *) "expandSelection", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
11571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11572 if (SWIG_arg_fail(1)) SWIG_fail
;
11574 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11575 if (SWIG_arg_fail(2)) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11593 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
= NULL
;
11595 wxGrid
*arg1
= (wxGrid
*) 0 ;
11598 PyObject
* obj0
= 0 ;
11599 PyObject
* obj1
= 0 ;
11600 char *kwnames
[] = {
11601 (char *) "self",(char *) "expandSelection", NULL
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
11605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11606 if (SWIG_arg_fail(1)) SWIG_fail
;
11608 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11609 if (SWIG_arg_fail(2)) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11627 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
= NULL
;
11629 wxGrid
*arg1
= (wxGrid
*) 0 ;
11631 PyObject
* obj0
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "self", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
11637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11638 if (SWIG_arg_fail(1)) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (bool)(arg1
)->MovePageDown();
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11655 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
= NULL
;
11657 wxGrid
*arg1
= (wxGrid
*) 0 ;
11659 PyObject
* obj0
= 0 ;
11660 char *kwnames
[] = {
11661 (char *) "self", NULL
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
11665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11666 if (SWIG_arg_fail(1)) SWIG_fail
;
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 result
= (bool)(arg1
)->MovePageUp();
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11683 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
= NULL
;
11685 wxGrid
*arg1
= (wxGrid
*) 0 ;
11688 PyObject
* obj0
= 0 ;
11689 PyObject
* obj1
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "self",(char *) "expandSelection", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11696 if (SWIG_arg_fail(1)) SWIG_fail
;
11698 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11699 if (SWIG_arg_fail(2)) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11717 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
= NULL
;
11719 wxGrid
*arg1
= (wxGrid
*) 0 ;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj1
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self",(char *) "expandSelection", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail
;
11732 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11733 if (SWIG_arg_fail(2)) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11751 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
= NULL
;
11753 wxGrid
*arg1
= (wxGrid
*) 0 ;
11756 PyObject
* obj0
= 0 ;
11757 PyObject
* obj1
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "self",(char *) "expandSelection", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11764 if (SWIG_arg_fail(1)) SWIG_fail
;
11766 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11767 if (SWIG_arg_fail(2)) SWIG_fail
;
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11785 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11786 PyObject
*resultobj
= NULL
;
11787 wxGrid
*arg1
= (wxGrid
*) 0 ;
11790 PyObject
* obj0
= 0 ;
11791 PyObject
* obj1
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "self",(char *) "expandSelection", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
11797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11798 if (SWIG_arg_fail(1)) SWIG_fail
;
11800 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11801 if (SWIG_arg_fail(2)) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11819 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
= NULL
;
11821 wxGrid
*arg1
= (wxGrid
*) 0 ;
11823 PyObject
* obj0
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "self", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
11829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11830 if (SWIG_arg_fail(1)) SWIG_fail
;
11832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11833 result
= (int)(arg1
)->GetDefaultRowLabelSize();
11835 wxPyEndAllowThreads(__tstate
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= SWIG_From_int(static_cast<int >(result
));
11847 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
= NULL
;
11849 wxGrid
*arg1
= (wxGrid
*) 0 ;
11851 PyObject
* obj0
= 0 ;
11852 char *kwnames
[] = {
11853 (char *) "self", NULL
11856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
11857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11858 if (SWIG_arg_fail(1)) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (int)(arg1
)->GetRowLabelSize();
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= SWIG_From_int(static_cast<int >(result
));
11875 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
= NULL
;
11877 wxGrid
*arg1
= (wxGrid
*) 0 ;
11879 PyObject
* obj0
= 0 ;
11880 char *kwnames
[] = {
11881 (char *) "self", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
11885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11886 if (SWIG_arg_fail(1)) SWIG_fail
;
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 result
= (int)(arg1
)->GetDefaultColLabelSize();
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= SWIG_From_int(static_cast<int >(result
));
11903 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
= NULL
;
11905 wxGrid
*arg1
= (wxGrid
*) 0 ;
11907 PyObject
* obj0
= 0 ;
11908 char *kwnames
[] = {
11909 (char *) "self", NULL
11912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
11913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11914 if (SWIG_arg_fail(1)) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 result
= (int)(arg1
)->GetColLabelSize();
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= SWIG_From_int(static_cast<int >(result
));
11931 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
= NULL
;
11933 wxGrid
*arg1
= (wxGrid
*) 0 ;
11935 PyObject
* obj0
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
11941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11942 if (SWIG_arg_fail(1)) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (arg1
)->GetLabelBackgroundColour();
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11951 wxColour
* resultptr
;
11952 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
11953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11961 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
= NULL
;
11963 wxGrid
*arg1
= (wxGrid
*) 0 ;
11965 PyObject
* obj0
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
11971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
11972 if (SWIG_arg_fail(1)) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (arg1
)->GetLabelTextColour();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11981 wxColour
* resultptr
;
11982 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
11983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11991 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
= NULL
;
11993 wxGrid
*arg1
= (wxGrid
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
12001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12002 if (SWIG_arg_fail(1)) SWIG_fail
;
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 result
= (arg1
)->GetLabelFont();
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12011 wxFont
* resultptr
;
12012 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
12013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12021 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
= NULL
;
12023 wxGrid
*arg1
= (wxGrid
*) 0 ;
12024 int *arg2
= (int *) 0 ;
12025 int *arg3
= (int *) 0 ;
12030 PyObject
* obj0
= 0 ;
12031 char *kwnames
[] = {
12032 (char *) "self", NULL
12035 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12036 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
12038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12039 if (SWIG_arg_fail(1)) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 Py_INCREF(Py_None
); resultobj
= Py_None
;
12048 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12049 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
12050 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12051 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
12058 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
= NULL
;
12060 wxGrid
*arg1
= (wxGrid
*) 0 ;
12061 int *arg2
= (int *) 0 ;
12062 int *arg3
= (int *) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 char *kwnames
[] = {
12069 (char *) "self", NULL
12072 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12073 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
12075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12076 if (SWIG_arg_fail(1)) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 Py_INCREF(Py_None
); resultobj
= Py_None
;
12085 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12086 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
12087 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12088 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
12095 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
*resultobj
= NULL
;
12097 wxGrid
*arg1
= (wxGrid
*) 0 ;
12099 PyObject
* obj0
= 0 ;
12100 char *kwnames
[] = {
12101 (char *) "self", NULL
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
12105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12106 if (SWIG_arg_fail(1)) SWIG_fail
;
12108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12109 result
= (int)(arg1
)->GetColLabelTextOrientation();
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= SWIG_From_int(static_cast<int >(result
));
12123 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
*resultobj
= NULL
;
12125 wxGrid
*arg1
= (wxGrid
*) 0 ;
12128 PyObject
* obj0
= 0 ;
12129 PyObject
* obj1
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self",(char *) "row", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12136 if (SWIG_arg_fail(1)) SWIG_fail
;
12138 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12139 if (SWIG_arg_fail(2)) SWIG_fail
;
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 result
= (arg1
)->GetRowLabelValue(arg2
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12161 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
= NULL
;
12163 wxGrid
*arg1
= (wxGrid
*) 0 ;
12166 PyObject
* obj0
= 0 ;
12167 PyObject
* obj1
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self",(char *) "col", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail
;
12176 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12177 if (SWIG_arg_fail(2)) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= (arg1
)->GetColLabelValue(arg2
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12199 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
= NULL
;
12201 wxGrid
*arg1
= (wxGrid
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
12209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12210 if (SWIG_arg_fail(1)) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= (arg1
)->GetGridLineColour();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12219 wxColour
* resultptr
;
12220 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
12221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12229 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
= NULL
;
12231 wxGrid
*arg1
= (wxGrid
*) 0 ;
12233 PyObject
* obj0
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "self", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
12239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12240 if (SWIG_arg_fail(1)) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 result
= (arg1
)->GetCellHighlightColour();
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12249 wxColour
* resultptr
;
12250 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
12251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12259 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
= NULL
;
12261 wxGrid
*arg1
= (wxGrid
*) 0 ;
12263 PyObject
* obj0
= 0 ;
12264 char *kwnames
[] = {
12265 (char *) "self", NULL
12268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
12269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12270 if (SWIG_arg_fail(1)) SWIG_fail
;
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 result
= (int)(arg1
)->GetCellHighlightPenWidth();
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= SWIG_From_int(static_cast<int >(result
));
12287 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
= NULL
;
12289 wxGrid
*arg1
= (wxGrid
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
12297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12298 if (SWIG_arg_fail(1)) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= SWIG_From_int(static_cast<int >(result
));
12315 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
= NULL
;
12317 wxGrid
*arg1
= (wxGrid
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self",(char *) "width", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12327 if (SWIG_arg_fail(1)) SWIG_fail
;
12329 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12330 if (SWIG_arg_fail(2)) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 (arg1
)->SetRowLabelSize(arg2
);
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 Py_INCREF(Py_None
); resultobj
= Py_None
;
12346 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
= NULL
;
12348 wxGrid
*arg1
= (wxGrid
*) 0 ;
12350 PyObject
* obj0
= 0 ;
12351 PyObject
* obj1
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self",(char *) "height", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12358 if (SWIG_arg_fail(1)) SWIG_fail
;
12360 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12361 if (SWIG_arg_fail(2)) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 (arg1
)->SetColLabelSize(arg2
);
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 Py_INCREF(Py_None
); resultobj
= Py_None
;
12377 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
= NULL
;
12379 wxGrid
*arg1
= (wxGrid
*) 0 ;
12380 wxColour
*arg2
= 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self","arg2", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12390 if (SWIG_arg_fail(1)) SWIG_fail
;
12393 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 Py_INCREF(Py_None
); resultobj
= Py_None
;
12409 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
= NULL
;
12411 wxGrid
*arg1
= (wxGrid
*) 0 ;
12412 wxColour
*arg2
= 0 ;
12414 PyObject
* obj0
= 0 ;
12415 PyObject
* obj1
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "self","arg2", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12422 if (SWIG_arg_fail(1)) SWIG_fail
;
12425 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12434 Py_INCREF(Py_None
); resultobj
= Py_None
;
12441 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
= NULL
;
12443 wxGrid
*arg1
= (wxGrid
*) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self","arg2", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12453 if (SWIG_arg_fail(1)) SWIG_fail
;
12455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
12456 if (SWIG_arg_fail(2)) SWIG_fail
;
12457 if (arg2
== NULL
) {
12458 SWIG_null_ref("wxFont");
12460 if (SWIG_arg_fail(2)) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 Py_INCREF(Py_None
); resultobj
= Py_None
;
12476 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
= NULL
;
12478 wxGrid
*arg1
= (wxGrid
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 PyObject
* obj1
= 0 ;
12483 PyObject
* obj2
= 0 ;
12484 char *kwnames
[] = {
12485 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12490 if (SWIG_arg_fail(1)) SWIG_fail
;
12492 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12493 if (SWIG_arg_fail(2)) SWIG_fail
;
12496 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12497 if (SWIG_arg_fail(3)) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 Py_INCREF(Py_None
); resultobj
= Py_None
;
12513 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
= NULL
;
12515 wxGrid
*arg1
= (wxGrid
*) 0 ;
12518 PyObject
* obj0
= 0 ;
12519 PyObject
* obj1
= 0 ;
12520 PyObject
* obj2
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12527 if (SWIG_arg_fail(1)) SWIG_fail
;
12529 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12530 if (SWIG_arg_fail(2)) SWIG_fail
;
12533 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12534 if (SWIG_arg_fail(3)) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 Py_INCREF(Py_None
); resultobj
= Py_None
;
12550 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
= NULL
;
12552 wxGrid
*arg1
= (wxGrid
*) 0 ;
12554 PyObject
* obj0
= 0 ;
12555 PyObject
* obj1
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self",(char *) "textOrientation", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
12561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12562 if (SWIG_arg_fail(1)) SWIG_fail
;
12564 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12565 if (SWIG_arg_fail(2)) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 (arg1
)->SetColLabelTextOrientation(arg2
);
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 Py_INCREF(Py_None
); resultobj
= Py_None
;
12581 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
= NULL
;
12583 wxGrid
*arg1
= (wxGrid
*) 0 ;
12585 wxString
*arg3
= 0 ;
12586 bool temp3
= false ;
12587 PyObject
* obj0
= 0 ;
12588 PyObject
* obj1
= 0 ;
12589 PyObject
* obj2
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self",(char *) "row","arg3", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12596 if (SWIG_arg_fail(1)) SWIG_fail
;
12598 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12599 if (SWIG_arg_fail(2)) SWIG_fail
;
12602 arg3
= wxString_in_helper(obj2
);
12603 if (arg3
== NULL
) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12628 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
= NULL
;
12630 wxGrid
*arg1
= (wxGrid
*) 0 ;
12632 wxString
*arg3
= 0 ;
12633 bool temp3
= false ;
12634 PyObject
* obj0
= 0 ;
12635 PyObject
* obj1
= 0 ;
12636 PyObject
* obj2
= 0 ;
12637 char *kwnames
[] = {
12638 (char *) "self",(char *) "col","arg3", NULL
12641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12643 if (SWIG_arg_fail(1)) SWIG_fail
;
12645 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12646 if (SWIG_arg_fail(2)) SWIG_fail
;
12649 arg3
= wxString_in_helper(obj2
);
12650 if (arg3
== NULL
) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 Py_INCREF(Py_None
); resultobj
= Py_None
;
12675 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
= NULL
;
12677 wxGrid
*arg1
= (wxGrid
*) 0 ;
12678 wxColour
*arg2
= 0 ;
12680 PyObject
* obj0
= 0 ;
12681 PyObject
* obj1
= 0 ;
12682 char *kwnames
[] = {
12683 (char *) "self","arg2", NULL
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12688 if (SWIG_arg_fail(1)) SWIG_fail
;
12691 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 Py_INCREF(Py_None
); resultobj
= Py_None
;
12707 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
= NULL
;
12709 wxGrid
*arg1
= (wxGrid
*) 0 ;
12710 wxColour
*arg2
= 0 ;
12712 PyObject
* obj0
= 0 ;
12713 PyObject
* obj1
= 0 ;
12714 char *kwnames
[] = {
12715 (char *) "self","arg2", NULL
12718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12720 if (SWIG_arg_fail(1)) SWIG_fail
;
12723 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 Py_INCREF(Py_None
); resultobj
= Py_None
;
12739 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
= NULL
;
12741 wxGrid
*arg1
= (wxGrid
*) 0 ;
12743 PyObject
* obj0
= 0 ;
12744 PyObject
* obj1
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "self",(char *) "width", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12751 if (SWIG_arg_fail(1)) SWIG_fail
;
12753 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12754 if (SWIG_arg_fail(2)) SWIG_fail
;
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 (arg1
)->SetCellHighlightPenWidth(arg2
);
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12763 Py_INCREF(Py_None
); resultobj
= Py_None
;
12770 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12771 PyObject
*resultobj
= NULL
;
12772 wxGrid
*arg1
= (wxGrid
*) 0 ;
12774 PyObject
* obj0
= 0 ;
12775 PyObject
* obj1
= 0 ;
12776 char *kwnames
[] = {
12777 (char *) "self",(char *) "width", NULL
12780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12782 if (SWIG_arg_fail(1)) SWIG_fail
;
12784 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12785 if (SWIG_arg_fail(2)) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 (arg1
)->SetCellHighlightROPenWidth(arg2
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 Py_INCREF(Py_None
); resultobj
= Py_None
;
12801 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
= NULL
;
12803 wxGrid
*arg1
= (wxGrid
*) 0 ;
12804 bool arg2
= (bool) true ;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "self",(char *) "enable", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12813 if (SWIG_arg_fail(1)) SWIG_fail
;
12816 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
12817 if (SWIG_arg_fail(2)) SWIG_fail
;
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 (arg1
)->EnableDragRowSize(arg2
);
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12827 Py_INCREF(Py_None
); resultobj
= Py_None
;
12834 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
= NULL
;
12836 wxGrid
*arg1
= (wxGrid
*) 0 ;
12837 PyObject
* obj0
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
12843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 (arg1
)->DisableDragRowSize();
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 Py_INCREF(Py_None
); resultobj
= Py_None
;
12859 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
= NULL
;
12861 wxGrid
*arg1
= (wxGrid
*) 0 ;
12863 PyObject
* obj0
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
12869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12870 if (SWIG_arg_fail(1)) SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 result
= (bool)(arg1
)->CanDragRowSize();
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12887 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
= NULL
;
12889 wxGrid
*arg1
= (wxGrid
*) 0 ;
12890 bool arg2
= (bool) true ;
12891 PyObject
* obj0
= 0 ;
12892 PyObject
* obj1
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self",(char *) "enable", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12899 if (SWIG_arg_fail(1)) SWIG_fail
;
12902 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
12903 if (SWIG_arg_fail(2)) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 (arg1
)->EnableDragColSize(arg2
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 Py_INCREF(Py_None
); resultobj
= Py_None
;
12920 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
= NULL
;
12922 wxGrid
*arg1
= (wxGrid
*) 0 ;
12923 PyObject
* obj0
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
12929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12930 if (SWIG_arg_fail(1)) SWIG_fail
;
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 (arg1
)->DisableDragColSize();
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12938 Py_INCREF(Py_None
); resultobj
= Py_None
;
12945 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
= NULL
;
12947 wxGrid
*arg1
= (wxGrid
*) 0 ;
12949 PyObject
* obj0
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
12955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12956 if (SWIG_arg_fail(1)) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (bool)(arg1
)->CanDragColSize();
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12973 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
= NULL
;
12975 wxGrid
*arg1
= (wxGrid
*) 0 ;
12976 bool arg2
= (bool) true ;
12977 PyObject
* obj0
= 0 ;
12978 PyObject
* obj1
= 0 ;
12979 char *kwnames
[] = {
12980 (char *) "self",(char *) "enable", NULL
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
12985 if (SWIG_arg_fail(1)) SWIG_fail
;
12988 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
12989 if (SWIG_arg_fail(2)) SWIG_fail
;
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 (arg1
)->EnableDragGridSize(arg2
);
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) SWIG_fail
;
12999 Py_INCREF(Py_None
); resultobj
= Py_None
;
13006 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
= NULL
;
13008 wxGrid
*arg1
= (wxGrid
*) 0 ;
13009 PyObject
* obj0
= 0 ;
13010 char *kwnames
[] = {
13011 (char *) "self", NULL
13014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
13015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13016 if (SWIG_arg_fail(1)) SWIG_fail
;
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 (arg1
)->DisableDragGridSize();
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 Py_INCREF(Py_None
); resultobj
= Py_None
;
13031 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
= NULL
;
13033 wxGrid
*arg1
= (wxGrid
*) 0 ;
13035 PyObject
* obj0
= 0 ;
13036 char *kwnames
[] = {
13037 (char *) "self", NULL
13040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
13041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13042 if (SWIG_arg_fail(1)) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (bool)(arg1
)->CanDragGridSize();
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13059 static PyObject
*_wrap_Grid_EnableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
= NULL
;
13061 wxGrid
*arg1
= (wxGrid
*) 0 ;
13062 bool arg2
= (bool) true ;
13063 PyObject
* obj0
= 0 ;
13064 PyObject
* obj1
= 0 ;
13065 char *kwnames
[] = {
13066 (char *) "self",(char *) "enable", NULL
13069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) goto fail
;
13070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13071 if (SWIG_arg_fail(1)) SWIG_fail
;
13074 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
13075 if (SWIG_arg_fail(2)) SWIG_fail
;
13079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13080 (arg1
)->EnableDragCell(arg2
);
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13085 Py_INCREF(Py_None
); resultobj
= Py_None
;
13092 static PyObject
*_wrap_Grid_DisableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13093 PyObject
*resultobj
= NULL
;
13094 wxGrid
*arg1
= (wxGrid
*) 0 ;
13095 PyObject
* obj0
= 0 ;
13096 char *kwnames
[] = {
13097 (char *) "self", NULL
13100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragCell",kwnames
,&obj0
)) goto fail
;
13101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13102 if (SWIG_arg_fail(1)) SWIG_fail
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 (arg1
)->DisableDragCell();
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13110 Py_INCREF(Py_None
); resultobj
= Py_None
;
13117 static PyObject
*_wrap_Grid_CanDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
= NULL
;
13119 wxGrid
*arg1
= (wxGrid
*) 0 ;
13121 PyObject
* obj0
= 0 ;
13122 char *kwnames
[] = {
13123 (char *) "self", NULL
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragCell",kwnames
,&obj0
)) goto fail
;
13127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13128 if (SWIG_arg_fail(1)) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (bool)(arg1
)->CanDragCell();
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13145 static PyObject
*_wrap_Grid_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13146 PyObject
*resultobj
= NULL
;
13147 wxGrid
*arg1
= (wxGrid
*) 0 ;
13150 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 PyObject
* obj2
= 0 ;
13154 PyObject
* obj3
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13161 if (SWIG_arg_fail(1)) SWIG_fail
;
13163 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13164 if (SWIG_arg_fail(2)) SWIG_fail
;
13167 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13168 if (SWIG_arg_fail(3)) SWIG_fail
;
13170 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13171 if (SWIG_arg_fail(4)) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 Py_INCREF(Py_None
); resultobj
= Py_None
;
13186 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
= NULL
;
13188 wxGrid
*arg1
= (wxGrid
*) 0 ;
13190 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 PyObject
* obj2
= 0 ;
13194 char *kwnames
[] = {
13195 (char *) "self",(char *) "row",(char *) "attr", NULL
13198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13200 if (SWIG_arg_fail(1)) SWIG_fail
;
13202 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13203 if (SWIG_arg_fail(2)) SWIG_fail
;
13205 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13206 if (SWIG_arg_fail(3)) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 (arg1
)->SetRowAttr(arg2
,arg3
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 Py_INCREF(Py_None
); resultobj
= Py_None
;
13221 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
= NULL
;
13223 wxGrid
*arg1
= (wxGrid
*) 0 ;
13225 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
13226 PyObject
* obj0
= 0 ;
13227 PyObject
* obj1
= 0 ;
13228 PyObject
* obj2
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self",(char *) "col",(char *) "attr", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13235 if (SWIG_arg_fail(1)) SWIG_fail
;
13237 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13238 if (SWIG_arg_fail(2)) SWIG_fail
;
13240 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_EXCEPTION
| 0);
13241 if (SWIG_arg_fail(3)) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 (arg1
)->SetColAttr(arg2
,arg3
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 Py_INCREF(Py_None
); resultobj
= Py_None
;
13256 static PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
= NULL
;
13258 wxGrid
*arg1
= (wxGrid
*) 0 ;
13261 wxGridCellAttr
*result
;
13262 PyObject
* obj0
= 0 ;
13263 PyObject
* obj1
= 0 ;
13264 PyObject
* obj2
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self",(char *) "row",(char *) "col", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13271 if (SWIG_arg_fail(1)) SWIG_fail
;
13273 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13274 if (SWIG_arg_fail(2)) SWIG_fail
;
13277 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13278 if (SWIG_arg_fail(3)) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13288 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
13296 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
= NULL
;
13298 wxGrid
*arg1
= (wxGrid
*) 0 ;
13300 PyObject
* obj0
= 0 ;
13301 PyObject
* obj1
= 0 ;
13302 char *kwnames
[] = {
13303 (char *) "self",(char *) "col", NULL
13306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
13307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13308 if (SWIG_arg_fail(1)) SWIG_fail
;
13310 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13311 if (SWIG_arg_fail(2)) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 (arg1
)->SetColFormatBool(arg2
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 Py_INCREF(Py_None
); resultobj
= Py_None
;
13327 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
= NULL
;
13329 wxGrid
*arg1
= (wxGrid
*) 0 ;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self",(char *) "col", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
13338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13339 if (SWIG_arg_fail(1)) SWIG_fail
;
13341 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13342 if (SWIG_arg_fail(2)) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 (arg1
)->SetColFormatNumber(arg2
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 Py_INCREF(Py_None
); resultobj
= Py_None
;
13358 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
= NULL
;
13360 wxGrid
*arg1
= (wxGrid
*) 0 ;
13362 int arg3
= (int) -1 ;
13363 int arg4
= (int) -1 ;
13364 PyObject
* obj0
= 0 ;
13365 PyObject
* obj1
= 0 ;
13366 PyObject
* obj2
= 0 ;
13367 PyObject
* obj3
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13374 if (SWIG_arg_fail(1)) SWIG_fail
;
13376 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13377 if (SWIG_arg_fail(2)) SWIG_fail
;
13381 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13382 if (SWIG_arg_fail(3)) SWIG_fail
;
13387 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13388 if (SWIG_arg_fail(4)) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 Py_INCREF(Py_None
); resultobj
= Py_None
;
13405 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
= NULL
;
13407 wxGrid
*arg1
= (wxGrid
*) 0 ;
13409 wxString
*arg3
= 0 ;
13410 bool temp3
= false ;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 PyObject
* obj2
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self",(char *) "col",(char *) "typeName", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13420 if (SWIG_arg_fail(1)) SWIG_fail
;
13422 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13423 if (SWIG_arg_fail(2)) SWIG_fail
;
13426 arg3
= wxString_in_helper(obj2
);
13427 if (arg3
== NULL
) SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 Py_INCREF(Py_None
); resultobj
= Py_None
;
13452 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
= NULL
;
13454 wxGrid
*arg1
= (wxGrid
*) 0 ;
13455 bool arg2
= (bool) true ;
13456 PyObject
* obj0
= 0 ;
13457 PyObject
* obj1
= 0 ;
13458 char *kwnames
[] = {
13459 (char *) "self",(char *) "enable", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
13463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13464 if (SWIG_arg_fail(1)) SWIG_fail
;
13467 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
13468 if (SWIG_arg_fail(2)) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 (arg1
)->EnableGridLines(arg2
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 Py_INCREF(Py_None
); resultobj
= Py_None
;
13485 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
= NULL
;
13487 wxGrid
*arg1
= (wxGrid
*) 0 ;
13489 PyObject
* obj0
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
13495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13496 if (SWIG_arg_fail(1)) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 result
= (bool)(arg1
)->GridLinesEnabled();
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13513 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
= NULL
;
13515 wxGrid
*arg1
= (wxGrid
*) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
13523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13524 if (SWIG_arg_fail(1)) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 result
= (int)(arg1
)->GetDefaultRowSize();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= SWIG_From_int(static_cast<int >(result
));
13541 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
= NULL
;
13543 wxGrid
*arg1
= (wxGrid
*) 0 ;
13546 PyObject
* obj0
= 0 ;
13547 PyObject
* obj1
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "self",(char *) "row", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13554 if (SWIG_arg_fail(1)) SWIG_fail
;
13556 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13557 if (SWIG_arg_fail(2)) SWIG_fail
;
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 result
= (int)(arg1
)->GetRowSize(arg2
);
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= SWIG_From_int(static_cast<int >(result
));
13575 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
= NULL
;
13577 wxGrid
*arg1
= (wxGrid
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
13585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13586 if (SWIG_arg_fail(1)) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (int)(arg1
)->GetDefaultColSize();
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13595 resultobj
= SWIG_From_int(static_cast<int >(result
));
13603 static PyObject
*_wrap_Grid_GetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
= NULL
;
13605 wxGrid
*arg1
= (wxGrid
*) 0 ;
13608 PyObject
* obj0
= 0 ;
13609 PyObject
* obj1
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self",(char *) "col", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13616 if (SWIG_arg_fail(1)) SWIG_fail
;
13618 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13619 if (SWIG_arg_fail(2)) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (int)(arg1
)->GetColSize(arg2
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= SWIG_From_int(static_cast<int >(result
));
13637 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
= NULL
;
13639 wxGrid
*arg1
= (wxGrid
*) 0 ;
13641 PyObject
* obj0
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
13647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13648 if (SWIG_arg_fail(1)) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 result
= (arg1
)->GetDefaultCellBackgroundColour();
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13657 wxColour
* resultptr
;
13658 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13667 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13668 PyObject
*resultobj
= NULL
;
13669 wxGrid
*arg1
= (wxGrid
*) 0 ;
13673 PyObject
* obj0
= 0 ;
13674 PyObject
* obj1
= 0 ;
13675 PyObject
* obj2
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self",(char *) "row",(char *) "col", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13682 if (SWIG_arg_fail(1)) SWIG_fail
;
13684 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13685 if (SWIG_arg_fail(2)) SWIG_fail
;
13688 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13689 if (SWIG_arg_fail(3)) SWIG_fail
;
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13699 wxColour
* resultptr
;
13700 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13709 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
= NULL
;
13711 wxGrid
*arg1
= (wxGrid
*) 0 ;
13713 PyObject
* obj0
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "self", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
13719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13720 if (SWIG_arg_fail(1)) SWIG_fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 result
= (arg1
)->GetDefaultCellTextColour();
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13729 wxColour
* resultptr
;
13730 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13739 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
= NULL
;
13741 wxGrid
*arg1
= (wxGrid
*) 0 ;
13745 PyObject
* obj0
= 0 ;
13746 PyObject
* obj1
= 0 ;
13747 PyObject
* obj2
= 0 ;
13748 char *kwnames
[] = {
13749 (char *) "self",(char *) "row",(char *) "col", NULL
13752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13754 if (SWIG_arg_fail(1)) SWIG_fail
;
13756 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13757 if (SWIG_arg_fail(2)) SWIG_fail
;
13760 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13761 if (SWIG_arg_fail(3)) SWIG_fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13771 wxColour
* resultptr
;
13772 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13781 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
= NULL
;
13783 wxGrid
*arg1
= (wxGrid
*) 0 ;
13785 PyObject
* obj0
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "self", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
13791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13792 if (SWIG_arg_fail(1)) SWIG_fail
;
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 result
= (arg1
)->GetDefaultCellFont();
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13801 wxFont
* resultptr
;
13802 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
13803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13811 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
= NULL
;
13813 wxGrid
*arg1
= (wxGrid
*) 0 ;
13817 PyObject
* obj0
= 0 ;
13818 PyObject
* obj1
= 0 ;
13819 PyObject
* obj2
= 0 ;
13820 char *kwnames
[] = {
13821 (char *) "self",(char *) "row",(char *) "col", NULL
13824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13826 if (SWIG_arg_fail(1)) SWIG_fail
;
13828 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13829 if (SWIG_arg_fail(2)) SWIG_fail
;
13832 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13833 if (SWIG_arg_fail(3)) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13837 result
= (arg1
)->GetCellFont(arg2
,arg3
);
13839 wxPyEndAllowThreads(__tstate
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13843 wxFont
* resultptr
;
13844 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
13845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13853 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13854 PyObject
*resultobj
= NULL
;
13855 wxGrid
*arg1
= (wxGrid
*) 0 ;
13856 int *arg2
= (int *) 0 ;
13857 int *arg3
= (int *) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13868 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
13870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13871 if (SWIG_arg_fail(1)) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 Py_INCREF(Py_None
); resultobj
= Py_None
;
13880 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13881 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13882 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13883 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13890 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
= NULL
;
13892 wxGrid
*arg1
= (wxGrid
*) 0 ;
13895 int *arg4
= (int *) 0 ;
13896 int *arg5
= (int *) 0 ;
13901 PyObject
* obj0
= 0 ;
13902 PyObject
* obj1
= 0 ;
13903 PyObject
* obj2
= 0 ;
13904 char *kwnames
[] = {
13905 (char *) "self",(char *) "row",(char *) "col", NULL
13908 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13909 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13912 if (SWIG_arg_fail(1)) SWIG_fail
;
13914 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13915 if (SWIG_arg_fail(2)) SWIG_fail
;
13918 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13919 if (SWIG_arg_fail(3)) SWIG_fail
;
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 Py_INCREF(Py_None
); resultobj
= Py_None
;
13929 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13930 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13931 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13932 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13939 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
= NULL
;
13941 wxGrid
*arg1
= (wxGrid
*) 0 ;
13943 PyObject
* obj0
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
13949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13950 if (SWIG_arg_fail(1)) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 result
= (bool)(arg1
)->GetDefaultCellOverflow();
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13967 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
= NULL
;
13969 wxGrid
*arg1
= (wxGrid
*) 0 ;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 PyObject
* obj2
= 0 ;
13976 char *kwnames
[] = {
13977 (char *) "self",(char *) "row",(char *) "col", NULL
13980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
13982 if (SWIG_arg_fail(1)) SWIG_fail
;
13984 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13985 if (SWIG_arg_fail(2)) SWIG_fail
;
13988 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13989 if (SWIG_arg_fail(3)) SWIG_fail
;
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14007 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
= NULL
;
14009 wxGrid
*arg1
= (wxGrid
*) 0 ;
14012 int *arg4
= (int *) 0 ;
14013 int *arg5
= (int *) 0 ;
14018 PyObject
* obj0
= 0 ;
14019 PyObject
* obj1
= 0 ;
14020 PyObject
* obj2
= 0 ;
14021 char *kwnames
[] = {
14022 (char *) "self",(char *) "row",(char *) "col", NULL
14025 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14026 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14029 if (SWIG_arg_fail(1)) SWIG_fail
;
14031 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14032 if (SWIG_arg_fail(2)) SWIG_fail
;
14035 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14036 if (SWIG_arg_fail(3)) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14045 Py_INCREF(Py_None
); resultobj
= Py_None
;
14046 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14047 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14048 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14049 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14056 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
= NULL
;
14058 wxGrid
*arg1
= (wxGrid
*) 0 ;
14060 bool arg3
= (bool) false ;
14061 PyObject
* obj0
= 0 ;
14062 PyObject
* obj1
= 0 ;
14063 PyObject
* obj2
= 0 ;
14064 char *kwnames
[] = {
14065 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
14068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14070 if (SWIG_arg_fail(1)) SWIG_fail
;
14072 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14073 if (SWIG_arg_fail(2)) SWIG_fail
;
14077 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14078 if (SWIG_arg_fail(3)) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 Py_INCREF(Py_None
); resultobj
= Py_None
;
14095 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
= NULL
;
14097 wxGrid
*arg1
= (wxGrid
*) 0 ;
14100 PyObject
* obj0
= 0 ;
14101 PyObject
* obj1
= 0 ;
14102 PyObject
* obj2
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self",(char *) "row",(char *) "height", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14109 if (SWIG_arg_fail(1)) SWIG_fail
;
14111 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14112 if (SWIG_arg_fail(2)) SWIG_fail
;
14115 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14116 if (SWIG_arg_fail(3)) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 (arg1
)->SetRowSize(arg2
,arg3
);
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14125 Py_INCREF(Py_None
); resultobj
= Py_None
;
14132 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
= NULL
;
14134 wxGrid
*arg1
= (wxGrid
*) 0 ;
14136 bool arg3
= (bool) false ;
14137 PyObject
* obj0
= 0 ;
14138 PyObject
* obj1
= 0 ;
14139 PyObject
* obj2
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14146 if (SWIG_arg_fail(1)) SWIG_fail
;
14148 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14149 if (SWIG_arg_fail(2)) SWIG_fail
;
14153 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14154 if (SWIG_arg_fail(3)) SWIG_fail
;
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 (arg1
)->SetDefaultColSize(arg2
,arg3
);
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14164 Py_INCREF(Py_None
); resultobj
= Py_None
;
14171 static PyObject
*_wrap_Grid_SetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
= NULL
;
14173 wxGrid
*arg1
= (wxGrid
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 PyObject
* obj1
= 0 ;
14178 PyObject
* obj2
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self",(char *) "col",(char *) "width", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14185 if (SWIG_arg_fail(1)) SWIG_fail
;
14187 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14188 if (SWIG_arg_fail(2)) SWIG_fail
;
14191 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14192 if (SWIG_arg_fail(3)) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 (arg1
)->SetColSize(arg2
,arg3
);
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14201 Py_INCREF(Py_None
); resultobj
= Py_None
;
14208 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
= NULL
;
14210 wxGrid
*arg1
= (wxGrid
*) 0 ;
14212 bool arg3
= (bool) true ;
14213 PyObject
* obj0
= 0 ;
14214 PyObject
* obj1
= 0 ;
14215 PyObject
* obj2
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14222 if (SWIG_arg_fail(1)) SWIG_fail
;
14224 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14225 if (SWIG_arg_fail(2)) SWIG_fail
;
14229 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14230 if (SWIG_arg_fail(3)) SWIG_fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 (arg1
)->AutoSizeColumn(arg2
,arg3
);
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 Py_INCREF(Py_None
); resultobj
= Py_None
;
14247 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
= NULL
;
14249 wxGrid
*arg1
= (wxGrid
*) 0 ;
14251 bool arg3
= (bool) true ;
14252 PyObject
* obj0
= 0 ;
14253 PyObject
* obj1
= 0 ;
14254 PyObject
* obj2
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14261 if (SWIG_arg_fail(1)) SWIG_fail
;
14263 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14264 if (SWIG_arg_fail(2)) SWIG_fail
;
14268 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
14269 if (SWIG_arg_fail(3)) SWIG_fail
;
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14274 (arg1
)->AutoSizeRow(arg2
,arg3
);
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 Py_INCREF(Py_None
); resultobj
= Py_None
;
14286 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
= NULL
;
14288 wxGrid
*arg1
= (wxGrid
*) 0 ;
14289 bool arg2
= (bool) true ;
14290 PyObject
* obj0
= 0 ;
14291 PyObject
* obj1
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self",(char *) "setAsMin", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
14297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14298 if (SWIG_arg_fail(1)) SWIG_fail
;
14301 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14302 if (SWIG_arg_fail(2)) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 (arg1
)->AutoSizeColumns(arg2
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 Py_INCREF(Py_None
); resultobj
= Py_None
;
14319 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
= NULL
;
14321 wxGrid
*arg1
= (wxGrid
*) 0 ;
14322 bool arg2
= (bool) true ;
14323 PyObject
* obj0
= 0 ;
14324 PyObject
* obj1
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "setAsMin", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
14330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14331 if (SWIG_arg_fail(1)) SWIG_fail
;
14334 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14335 if (SWIG_arg_fail(2)) SWIG_fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 (arg1
)->AutoSizeRows(arg2
);
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 Py_INCREF(Py_None
); resultobj
= Py_None
;
14352 static PyObject
*_wrap_Grid_AutoSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
= NULL
;
14354 wxGrid
*arg1
= (wxGrid
*) 0 ;
14355 PyObject
* obj0
= 0 ;
14356 char *kwnames
[] = {
14357 (char *) "self", NULL
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
14361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14362 if (SWIG_arg_fail(1)) SWIG_fail
;
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 (arg1
)->AutoSize();
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14370 Py_INCREF(Py_None
); resultobj
= Py_None
;
14377 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14378 PyObject
*resultobj
= NULL
;
14379 wxGrid
*arg1
= (wxGrid
*) 0 ;
14381 PyObject
* obj0
= 0 ;
14382 PyObject
* obj1
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self",(char *) "row", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14389 if (SWIG_arg_fail(1)) SWIG_fail
;
14391 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14392 if (SWIG_arg_fail(2)) SWIG_fail
;
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 (arg1
)->AutoSizeRowLabelSize(arg2
);
14398 wxPyEndAllowThreads(__tstate
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14401 Py_INCREF(Py_None
); resultobj
= Py_None
;
14408 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14409 PyObject
*resultobj
= NULL
;
14410 wxGrid
*arg1
= (wxGrid
*) 0 ;
14412 PyObject
* obj0
= 0 ;
14413 PyObject
* obj1
= 0 ;
14414 char *kwnames
[] = {
14415 (char *) "self",(char *) "col", NULL
14418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14420 if (SWIG_arg_fail(1)) SWIG_fail
;
14422 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14423 if (SWIG_arg_fail(2)) SWIG_fail
;
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 (arg1
)->AutoSizeColLabelSize(arg2
);
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14432 Py_INCREF(Py_None
); resultobj
= Py_None
;
14439 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
= NULL
;
14441 wxGrid
*arg1
= (wxGrid
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 PyObject
* obj1
= 0 ;
14446 PyObject
* obj2
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self",(char *) "col",(char *) "width", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14453 if (SWIG_arg_fail(1)) SWIG_fail
;
14455 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14456 if (SWIG_arg_fail(2)) SWIG_fail
;
14459 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14460 if (SWIG_arg_fail(3)) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 Py_INCREF(Py_None
); resultobj
= Py_None
;
14476 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
= NULL
;
14478 wxGrid
*arg1
= (wxGrid
*) 0 ;
14481 PyObject
* obj0
= 0 ;
14482 PyObject
* obj1
= 0 ;
14483 PyObject
* obj2
= 0 ;
14484 char *kwnames
[] = {
14485 (char *) "self",(char *) "row",(char *) "width", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14490 if (SWIG_arg_fail(1)) SWIG_fail
;
14492 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14493 if (SWIG_arg_fail(2)) SWIG_fail
;
14496 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14497 if (SWIG_arg_fail(3)) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 Py_INCREF(Py_None
); resultobj
= Py_None
;
14513 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
= NULL
;
14515 wxGrid
*arg1
= (wxGrid
*) 0 ;
14517 PyObject
* obj0
= 0 ;
14518 PyObject
* obj1
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self",(char *) "width", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
14524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14525 if (SWIG_arg_fail(1)) SWIG_fail
;
14527 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14528 if (SWIG_arg_fail(2)) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 Py_INCREF(Py_None
); resultobj
= Py_None
;
14544 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
= NULL
;
14546 wxGrid
*arg1
= (wxGrid
*) 0 ;
14548 PyObject
* obj0
= 0 ;
14549 PyObject
* obj1
= 0 ;
14550 char *kwnames
[] = {
14551 (char *) "self",(char *) "width", NULL
14554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
14555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14556 if (SWIG_arg_fail(1)) SWIG_fail
;
14558 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14559 if (SWIG_arg_fail(2)) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 Py_INCREF(Py_None
); resultobj
= Py_None
;
14575 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
= NULL
;
14577 wxGrid
*arg1
= (wxGrid
*) 0 ;
14579 PyObject
* obj0
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
14585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14586 if (SWIG_arg_fail(1)) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= SWIG_From_int(static_cast<int >(result
));
14603 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
= NULL
;
14605 wxGrid
*arg1
= (wxGrid
*) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "self", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
14613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14614 if (SWIG_arg_fail(1)) SWIG_fail
;
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14623 resultobj
= SWIG_From_int(static_cast<int >(result
));
14631 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
= NULL
;
14633 wxGrid
*arg1
= (wxGrid
*) 0 ;
14634 wxColour
*arg2
= 0 ;
14636 PyObject
* obj0
= 0 ;
14637 PyObject
* obj1
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self","arg2", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14644 if (SWIG_arg_fail(1)) SWIG_fail
;
14647 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 Py_INCREF(Py_None
); resultobj
= Py_None
;
14663 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
= NULL
;
14665 wxGrid
*arg1
= (wxGrid
*) 0 ;
14668 wxColour
*arg4
= 0 ;
14670 PyObject
* obj0
= 0 ;
14671 PyObject
* obj1
= 0 ;
14672 PyObject
* obj2
= 0 ;
14673 PyObject
* obj3
= 0 ;
14674 char *kwnames
[] = {
14675 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14680 if (SWIG_arg_fail(1)) SWIG_fail
;
14682 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14683 if (SWIG_arg_fail(2)) SWIG_fail
;
14686 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14687 if (SWIG_arg_fail(3)) SWIG_fail
;
14691 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 Py_INCREF(Py_None
); resultobj
= Py_None
;
14707 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
= NULL
;
14709 wxGrid
*arg1
= (wxGrid
*) 0 ;
14710 wxColour
*arg2
= 0 ;
14712 PyObject
* obj0
= 0 ;
14713 PyObject
* obj1
= 0 ;
14714 char *kwnames
[] = {
14715 (char *) "self","arg2", NULL
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14720 if (SWIG_arg_fail(1)) SWIG_fail
;
14723 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14732 Py_INCREF(Py_None
); resultobj
= Py_None
;
14739 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
= NULL
;
14741 wxGrid
*arg1
= (wxGrid
*) 0 ;
14744 wxColour
*arg4
= 0 ;
14746 PyObject
* obj0
= 0 ;
14747 PyObject
* obj1
= 0 ;
14748 PyObject
* obj2
= 0 ;
14749 PyObject
* obj3
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14756 if (SWIG_arg_fail(1)) SWIG_fail
;
14758 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14759 if (SWIG_arg_fail(2)) SWIG_fail
;
14762 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14763 if (SWIG_arg_fail(3)) SWIG_fail
;
14767 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 Py_INCREF(Py_None
); resultobj
= Py_None
;
14783 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
= NULL
;
14785 wxGrid
*arg1
= (wxGrid
*) 0 ;
14787 PyObject
* obj0
= 0 ;
14788 PyObject
* obj1
= 0 ;
14789 char *kwnames
[] = {
14790 (char *) "self","arg2", NULL
14793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14795 if (SWIG_arg_fail(1)) SWIG_fail
;
14797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14798 if (SWIG_arg_fail(2)) SWIG_fail
;
14799 if (arg2
== NULL
) {
14800 SWIG_null_ref("wxFont");
14802 if (SWIG_arg_fail(2)) SWIG_fail
;
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
14808 wxPyEndAllowThreads(__tstate
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14811 Py_INCREF(Py_None
); resultobj
= Py_None
;
14818 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14819 PyObject
*resultobj
= NULL
;
14820 wxGrid
*arg1
= (wxGrid
*) 0 ;
14824 PyObject
* obj0
= 0 ;
14825 PyObject
* obj1
= 0 ;
14826 PyObject
* obj2
= 0 ;
14827 PyObject
* obj3
= 0 ;
14828 char *kwnames
[] = {
14829 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14834 if (SWIG_arg_fail(1)) SWIG_fail
;
14836 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14837 if (SWIG_arg_fail(2)) SWIG_fail
;
14840 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14841 if (SWIG_arg_fail(3)) SWIG_fail
;
14844 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14845 if (SWIG_arg_fail(4)) SWIG_fail
;
14846 if (arg4
== NULL
) {
14847 SWIG_null_ref("wxFont");
14849 if (SWIG_arg_fail(4)) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 Py_INCREF(Py_None
); resultobj
= Py_None
;
14865 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
= NULL
;
14867 wxGrid
*arg1
= (wxGrid
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 PyObject
* obj1
= 0 ;
14872 PyObject
* obj2
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self",(char *) "horiz",(char *) "vert", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14879 if (SWIG_arg_fail(1)) SWIG_fail
;
14881 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14882 if (SWIG_arg_fail(2)) SWIG_fail
;
14885 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14886 if (SWIG_arg_fail(3)) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 Py_INCREF(Py_None
); resultobj
= Py_None
;
14902 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
= NULL
;
14904 wxGrid
*arg1
= (wxGrid
*) 0 ;
14909 PyObject
* obj0
= 0 ;
14910 PyObject
* obj1
= 0 ;
14911 PyObject
* obj2
= 0 ;
14912 PyObject
* obj3
= 0 ;
14913 PyObject
* obj4
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14920 if (SWIG_arg_fail(1)) SWIG_fail
;
14922 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14923 if (SWIG_arg_fail(2)) SWIG_fail
;
14926 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14927 if (SWIG_arg_fail(3)) SWIG_fail
;
14930 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14931 if (SWIG_arg_fail(4)) SWIG_fail
;
14934 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14935 if (SWIG_arg_fail(5)) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 Py_INCREF(Py_None
); resultobj
= Py_None
;
14951 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
= NULL
;
14953 wxGrid
*arg1
= (wxGrid
*) 0 ;
14955 PyObject
* obj0
= 0 ;
14956 PyObject
* obj1
= 0 ;
14957 char *kwnames
[] = {
14958 (char *) "self",(char *) "allow", NULL
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
14962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14963 if (SWIG_arg_fail(1)) SWIG_fail
;
14965 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
14966 if (SWIG_arg_fail(2)) SWIG_fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 (arg1
)->SetDefaultCellOverflow(arg2
);
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14975 Py_INCREF(Py_None
); resultobj
= Py_None
;
14982 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
= NULL
;
14984 wxGrid
*arg1
= (wxGrid
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 PyObject
* obj1
= 0 ;
14990 PyObject
* obj2
= 0 ;
14991 PyObject
* obj3
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
14998 if (SWIG_arg_fail(1)) SWIG_fail
;
15000 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15001 if (SWIG_arg_fail(2)) SWIG_fail
;
15004 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15005 if (SWIG_arg_fail(3)) SWIG_fail
;
15008 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15009 if (SWIG_arg_fail(4)) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 Py_INCREF(Py_None
); resultobj
= Py_None
;
15025 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
= NULL
;
15027 wxGrid
*arg1
= (wxGrid
*) 0 ;
15032 PyObject
* obj0
= 0 ;
15033 PyObject
* obj1
= 0 ;
15034 PyObject
* obj2
= 0 ;
15035 PyObject
* obj3
= 0 ;
15036 PyObject
* obj4
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15043 if (SWIG_arg_fail(1)) SWIG_fail
;
15045 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15046 if (SWIG_arg_fail(2)) SWIG_fail
;
15049 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15050 if (SWIG_arg_fail(3)) SWIG_fail
;
15053 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15054 if (SWIG_arg_fail(4)) SWIG_fail
;
15057 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15058 if (SWIG_arg_fail(5)) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 Py_INCREF(Py_None
); resultobj
= Py_None
;
15074 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
= NULL
;
15076 wxGrid
*arg1
= (wxGrid
*) 0 ;
15077 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self",(char *) "renderer", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
15085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15086 if (SWIG_arg_fail(1)) SWIG_fail
;
15087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
15088 if (SWIG_arg_fail(2)) SWIG_fail
;
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 (arg1
)->SetDefaultRenderer(arg2
);
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15096 Py_INCREF(Py_None
); resultobj
= Py_None
;
15103 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
= NULL
;
15105 wxGrid
*arg1
= (wxGrid
*) 0 ;
15108 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 PyObject
* obj2
= 0 ;
15112 PyObject
* obj3
= 0 ;
15113 char *kwnames
[] = {
15114 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
15117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15119 if (SWIG_arg_fail(1)) SWIG_fail
;
15121 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15122 if (SWIG_arg_fail(2)) SWIG_fail
;
15125 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15126 if (SWIG_arg_fail(3)) SWIG_fail
;
15128 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
15129 if (SWIG_arg_fail(4)) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 Py_INCREF(Py_None
); resultobj
= Py_None
;
15144 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
= NULL
;
15146 wxGrid
*arg1
= (wxGrid
*) 0 ;
15147 wxGridCellRenderer
*result
;
15148 PyObject
* obj0
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
15154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15155 if (SWIG_arg_fail(1)) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
15172 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
= NULL
;
15174 wxGrid
*arg1
= (wxGrid
*) 0 ;
15177 wxGridCellRenderer
*result
;
15178 PyObject
* obj0
= 0 ;
15179 PyObject
* obj1
= 0 ;
15180 PyObject
* obj2
= 0 ;
15181 char *kwnames
[] = {
15182 (char *) "self",(char *) "row",(char *) "col", NULL
15185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15187 if (SWIG_arg_fail(1)) SWIG_fail
;
15189 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15190 if (SWIG_arg_fail(2)) SWIG_fail
;
15193 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15194 if (SWIG_arg_fail(3)) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
15212 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15213 PyObject
*resultobj
= NULL
;
15214 wxGrid
*arg1
= (wxGrid
*) 0 ;
15215 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
15216 PyObject
* obj0
= 0 ;
15217 PyObject
* obj1
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self",(char *) "editor", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
15223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15224 if (SWIG_arg_fail(1)) SWIG_fail
;
15225 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
15226 if (SWIG_arg_fail(2)) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 (arg1
)->SetDefaultEditor(arg2
);
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 Py_INCREF(Py_None
); resultobj
= Py_None
;
15241 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
= NULL
;
15243 wxGrid
*arg1
= (wxGrid
*) 0 ;
15246 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
15247 PyObject
* obj0
= 0 ;
15248 PyObject
* obj1
= 0 ;
15249 PyObject
* obj2
= 0 ;
15250 PyObject
* obj3
= 0 ;
15251 char *kwnames
[] = {
15252 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
15255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15257 if (SWIG_arg_fail(1)) SWIG_fail
;
15259 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15260 if (SWIG_arg_fail(2)) SWIG_fail
;
15263 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15264 if (SWIG_arg_fail(3)) SWIG_fail
;
15266 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
15267 if (SWIG_arg_fail(4)) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 Py_INCREF(Py_None
); resultobj
= Py_None
;
15282 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
= NULL
;
15284 wxGrid
*arg1
= (wxGrid
*) 0 ;
15285 wxGridCellEditor
*result
;
15286 PyObject
* obj0
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
15292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15293 if (SWIG_arg_fail(1)) SWIG_fail
;
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15302 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
15310 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
= NULL
;
15312 wxGrid
*arg1
= (wxGrid
*) 0 ;
15315 wxGridCellEditor
*result
;
15316 PyObject
* obj0
= 0 ;
15317 PyObject
* obj1
= 0 ;
15318 PyObject
* obj2
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self",(char *) "row",(char *) "col", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15325 if (SWIG_arg_fail(1)) SWIG_fail
;
15327 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15328 if (SWIG_arg_fail(2)) SWIG_fail
;
15331 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15332 if (SWIG_arg_fail(3)) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
15350 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
= NULL
;
15352 wxGrid
*arg1
= (wxGrid
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 PyObject
* obj1
= 0 ;
15358 PyObject
* obj2
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "self",(char *) "row",(char *) "col", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15365 if (SWIG_arg_fail(1)) SWIG_fail
;
15367 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15368 if (SWIG_arg_fail(2)) SWIG_fail
;
15371 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15372 if (SWIG_arg_fail(3)) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (arg1
)->GetCellValue(arg2
,arg3
);
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15394 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
= NULL
;
15396 wxGrid
*arg1
= (wxGrid
*) 0 ;
15399 wxString
*arg4
= 0 ;
15400 bool temp4
= false ;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 PyObject
* obj2
= 0 ;
15404 PyObject
* obj3
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail
;
15413 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15414 if (SWIG_arg_fail(2)) SWIG_fail
;
15417 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15418 if (SWIG_arg_fail(3)) SWIG_fail
;
15421 arg4
= wxString_in_helper(obj3
);
15422 if (arg4
== NULL
) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15432 Py_INCREF(Py_None
); resultobj
= Py_None
;
15447 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
= NULL
;
15449 wxGrid
*arg1
= (wxGrid
*) 0 ;
15453 PyObject
* obj0
= 0 ;
15454 PyObject
* obj1
= 0 ;
15455 PyObject
* obj2
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self",(char *) "row",(char *) "col", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail
;
15464 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15465 if (SWIG_arg_fail(2)) SWIG_fail
;
15468 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15469 if (SWIG_arg_fail(3)) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15487 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
= NULL
;
15489 wxGrid
*arg1
= (wxGrid
*) 0 ;
15492 bool arg4
= (bool) true ;
15493 PyObject
* obj0
= 0 ;
15494 PyObject
* obj1
= 0 ;
15495 PyObject
* obj2
= 0 ;
15496 PyObject
* obj3
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15503 if (SWIG_arg_fail(1)) SWIG_fail
;
15505 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15506 if (SWIG_arg_fail(2)) SWIG_fail
;
15509 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15510 if (SWIG_arg_fail(3)) SWIG_fail
;
15514 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
15515 if (SWIG_arg_fail(4)) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15525 Py_INCREF(Py_None
); resultobj
= Py_None
;
15532 static PyObject
*_wrap_Grid_SelectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
= NULL
;
15534 wxGrid
*arg1
= (wxGrid
*) 0 ;
15536 bool arg3
= (bool) false ;
15537 PyObject
* obj0
= 0 ;
15538 PyObject
* obj1
= 0 ;
15539 PyObject
* obj2
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15546 if (SWIG_arg_fail(1)) SWIG_fail
;
15548 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15549 if (SWIG_arg_fail(2)) SWIG_fail
;
15553 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
15554 if (SWIG_arg_fail(3)) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 (arg1
)->SelectRow(arg2
,arg3
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 Py_INCREF(Py_None
); resultobj
= Py_None
;
15571 static PyObject
*_wrap_Grid_SelectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
= NULL
;
15573 wxGrid
*arg1
= (wxGrid
*) 0 ;
15575 bool arg3
= (bool) false ;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 PyObject
* obj2
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15585 if (SWIG_arg_fail(1)) SWIG_fail
;
15587 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15588 if (SWIG_arg_fail(2)) SWIG_fail
;
15592 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
15593 if (SWIG_arg_fail(3)) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 (arg1
)->SelectCol(arg2
,arg3
);
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 Py_INCREF(Py_None
); resultobj
= Py_None
;
15610 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
= NULL
;
15612 wxGrid
*arg1
= (wxGrid
*) 0 ;
15617 bool arg6
= (bool) false ;
15618 PyObject
* obj0
= 0 ;
15619 PyObject
* obj1
= 0 ;
15620 PyObject
* obj2
= 0 ;
15621 PyObject
* obj3
= 0 ;
15622 PyObject
* obj4
= 0 ;
15623 PyObject
* obj5
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15630 if (SWIG_arg_fail(1)) SWIG_fail
;
15632 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15633 if (SWIG_arg_fail(2)) SWIG_fail
;
15636 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15637 if (SWIG_arg_fail(3)) SWIG_fail
;
15640 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15641 if (SWIG_arg_fail(4)) SWIG_fail
;
15644 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15645 if (SWIG_arg_fail(5)) SWIG_fail
;
15649 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
15650 if (SWIG_arg_fail(6)) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 Py_INCREF(Py_None
); resultobj
= Py_None
;
15667 static PyObject
*_wrap_Grid_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
= NULL
;
15669 wxGrid
*arg1
= (wxGrid
*) 0 ;
15670 PyObject
* obj0
= 0 ;
15671 char *kwnames
[] = {
15672 (char *) "self", NULL
15675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
15676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15677 if (SWIG_arg_fail(1)) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 (arg1
)->SelectAll();
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 Py_INCREF(Py_None
); resultobj
= Py_None
;
15692 static PyObject
*_wrap_Grid_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
= NULL
;
15694 wxGrid
*arg1
= (wxGrid
*) 0 ;
15696 PyObject
* obj0
= 0 ;
15697 char *kwnames
[] = {
15698 (char *) "self", NULL
15701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
15702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15703 if (SWIG_arg_fail(1)) SWIG_fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 result
= (bool)(arg1
)->IsSelection();
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15720 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15721 PyObject
*resultobj
= NULL
;
15722 wxGrid
*arg1
= (wxGrid
*) 0 ;
15723 PyObject
* obj0
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
15729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15730 if (SWIG_arg_fail(1)) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 (arg1
)->ClearSelection();
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15738 Py_INCREF(Py_None
); resultobj
= Py_None
;
15745 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
= NULL
;
15747 wxGrid
*arg1
= (wxGrid
*) 0 ;
15751 PyObject
* obj0
= 0 ;
15752 PyObject
* obj1
= 0 ;
15753 PyObject
* obj2
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self",(char *) "row",(char *) "col", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15760 if (SWIG_arg_fail(1)) SWIG_fail
;
15762 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15763 if (SWIG_arg_fail(2)) SWIG_fail
;
15766 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15767 if (SWIG_arg_fail(3)) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15785 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
= NULL
;
15787 wxGrid
*arg1
= (wxGrid
*) 0 ;
15788 wxGridCellCoordsArray result
;
15789 PyObject
* obj0
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "self", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
15795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15796 if (SWIG_arg_fail(1)) SWIG_fail
;
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= wxGridCellCoordsArray_helper(result
);
15813 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
= NULL
;
15815 wxGrid
*arg1
= (wxGrid
*) 0 ;
15816 wxGridCellCoordsArray result
;
15817 PyObject
* obj0
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
15823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15824 if (SWIG_arg_fail(1)) SWIG_fail
;
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15833 resultobj
= wxGridCellCoordsArray_helper(result
);
15841 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
= NULL
;
15843 wxGrid
*arg1
= (wxGrid
*) 0 ;
15844 wxGridCellCoordsArray result
;
15845 PyObject
* obj0
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
15851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15852 if (SWIG_arg_fail(1)) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= wxGridCellCoordsArray_helper(result
);
15869 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
= NULL
;
15871 wxGrid
*arg1
= (wxGrid
*) 0 ;
15873 PyObject
* obj0
= 0 ;
15874 char *kwnames
[] = {
15875 (char *) "self", NULL
15878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
15879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15880 if (SWIG_arg_fail(1)) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= PyList_New(0);
15891 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15892 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15893 PyList_Append(resultobj
, val
);
15903 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
= NULL
;
15905 wxGrid
*arg1
= (wxGrid
*) 0 ;
15907 PyObject
* obj0
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
15913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15914 if (SWIG_arg_fail(1)) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= PyList_New(0);
15925 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15926 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15927 PyList_Append(resultobj
, val
);
15937 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
= NULL
;
15939 wxGrid
*arg1
= (wxGrid
*) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 PyObject
* obj1
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self",(char *) "row", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15949 if (SWIG_arg_fail(1)) SWIG_fail
;
15951 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15952 if (SWIG_arg_fail(2)) SWIG_fail
;
15955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15956 (arg1
)->DeselectRow(arg2
);
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15961 Py_INCREF(Py_None
); resultobj
= Py_None
;
15968 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
= NULL
;
15970 wxGrid
*arg1
= (wxGrid
*) 0 ;
15972 PyObject
* obj0
= 0 ;
15973 PyObject
* obj1
= 0 ;
15974 char *kwnames
[] = {
15975 (char *) "self",(char *) "col", NULL
15978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
15980 if (SWIG_arg_fail(1)) SWIG_fail
;
15982 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15983 if (SWIG_arg_fail(2)) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 (arg1
)->DeselectCol(arg2
);
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15992 Py_INCREF(Py_None
); resultobj
= Py_None
;
15999 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
= NULL
;
16001 wxGrid
*arg1
= (wxGrid
*) 0 ;
16004 PyObject
* obj0
= 0 ;
16005 PyObject
* obj1
= 0 ;
16006 PyObject
* obj2
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self",(char *) "row",(char *) "col", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16013 if (SWIG_arg_fail(1)) SWIG_fail
;
16015 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16016 if (SWIG_arg_fail(2)) SWIG_fail
;
16019 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16020 if (SWIG_arg_fail(3)) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 (arg1
)->DeselectCell(arg2
,arg3
);
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16029 Py_INCREF(Py_None
); resultobj
= Py_None
;
16036 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
= NULL
;
16038 wxGrid
*arg1
= (wxGrid
*) 0 ;
16039 wxGridCellCoords
*arg2
= 0 ;
16040 wxGridCellCoords
*arg3
= 0 ;
16042 wxGridCellCoords temp2
;
16043 wxGridCellCoords temp3
;
16044 PyObject
* obj0
= 0 ;
16045 PyObject
* obj1
= 0 ;
16046 PyObject
* obj2
= 0 ;
16047 char *kwnames
[] = {
16048 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
16051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16053 if (SWIG_arg_fail(1)) SWIG_fail
;
16056 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
16060 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16070 wxRect
* resultptr
;
16071 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
16072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16080 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
= NULL
;
16082 wxGrid
*arg1
= (wxGrid
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
16090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16091 if (SWIG_arg_fail(1)) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 wxColour
* resultptr
;
16101 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
16102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
16110 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16111 PyObject
*resultobj
= NULL
;
16112 wxGrid
*arg1
= (wxGrid
*) 0 ;
16114 PyObject
* obj0
= 0 ;
16115 char *kwnames
[] = {
16116 (char *) "self", NULL
16119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
16120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16121 if (SWIG_arg_fail(1)) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16130 wxColour
* resultptr
;
16131 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
16132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
16140 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
= NULL
;
16142 wxGrid
*arg1
= (wxGrid
*) 0 ;
16143 wxColour
*arg2
= 0 ;
16145 PyObject
* obj0
= 0 ;
16146 PyObject
* obj1
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self",(char *) "c", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16153 if (SWIG_arg_fail(1)) SWIG_fail
;
16156 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16165 Py_INCREF(Py_None
); resultobj
= Py_None
;
16172 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
= NULL
;
16174 wxGrid
*arg1
= (wxGrid
*) 0 ;
16175 wxColour
*arg2
= 0 ;
16177 PyObject
* obj0
= 0 ;
16178 PyObject
* obj1
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self",(char *) "c", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16185 if (SWIG_arg_fail(1)) SWIG_fail
;
16188 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 Py_INCREF(Py_None
); resultobj
= Py_None
;
16204 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
= NULL
;
16206 wxGrid
*arg1
= (wxGrid
*) 0 ;
16207 wxString
*arg2
= 0 ;
16208 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
16209 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
16210 bool temp2
= false ;
16211 PyObject
* obj0
= 0 ;
16212 PyObject
* obj1
= 0 ;
16213 PyObject
* obj2
= 0 ;
16214 PyObject
* obj3
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16221 if (SWIG_arg_fail(1)) SWIG_fail
;
16223 arg2
= wxString_in_helper(obj1
);
16224 if (arg2
== NULL
) SWIG_fail
;
16227 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGridCellRenderer
, SWIG_POINTER_EXCEPTION
| 0);
16228 if (SWIG_arg_fail(3)) SWIG_fail
;
16229 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGridCellEditor
, SWIG_POINTER_EXCEPTION
| 0);
16230 if (SWIG_arg_fail(4)) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16238 Py_INCREF(Py_None
); resultobj
= Py_None
;
16253 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
= NULL
;
16255 wxGrid
*arg1
= (wxGrid
*) 0 ;
16258 wxGridCellEditor
*result
;
16259 PyObject
* obj0
= 0 ;
16260 PyObject
* obj1
= 0 ;
16261 PyObject
* obj2
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "self",(char *) "row",(char *) "col", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16268 if (SWIG_arg_fail(1)) SWIG_fail
;
16270 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16271 if (SWIG_arg_fail(2)) SWIG_fail
;
16274 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16275 if (SWIG_arg_fail(3)) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16285 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
16293 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
= NULL
;
16295 wxGrid
*arg1
= (wxGrid
*) 0 ;
16298 wxGridCellRenderer
*result
;
16299 PyObject
* obj0
= 0 ;
16300 PyObject
* obj1
= 0 ;
16301 PyObject
* obj2
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self",(char *) "row",(char *) "col", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16308 if (SWIG_arg_fail(1)) SWIG_fail
;
16310 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16311 if (SWIG_arg_fail(2)) SWIG_fail
;
16314 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16315 if (SWIG_arg_fail(3)) SWIG_fail
;
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16325 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
16333 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
= NULL
;
16335 wxGrid
*arg1
= (wxGrid
*) 0 ;
16336 wxString
*arg2
= 0 ;
16337 wxGridCellEditor
*result
;
16338 bool temp2
= false ;
16339 PyObject
* obj0
= 0 ;
16340 PyObject
* obj1
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "self",(char *) "typeName", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
16346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16347 if (SWIG_arg_fail(1)) SWIG_fail
;
16349 arg2
= wxString_in_helper(obj1
);
16350 if (arg2
== NULL
) SWIG_fail
;
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
16357 wxPyEndAllowThreads(__tstate
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16361 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
16377 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
= NULL
;
16379 wxGrid
*arg1
= (wxGrid
*) 0 ;
16380 wxString
*arg2
= 0 ;
16381 wxGridCellRenderer
*result
;
16382 bool temp2
= false ;
16383 PyObject
* obj0
= 0 ;
16384 PyObject
* obj1
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self",(char *) "typeName", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
16390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16391 if (SWIG_arg_fail(1)) SWIG_fail
;
16393 arg2
= wxString_in_helper(obj1
);
16394 if (arg2
== NULL
) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16405 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
16421 static PyObject
*_wrap_Grid_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
= NULL
;
16423 wxGrid
*arg1
= (wxGrid
*) 0 ;
16426 PyObject
* obj0
= 0 ;
16427 PyObject
* obj1
= 0 ;
16428 PyObject
* obj2
= 0 ;
16429 char *kwnames
[] = {
16430 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
16433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16435 if (SWIG_arg_fail(1)) SWIG_fail
;
16437 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16438 if (SWIG_arg_fail(2)) SWIG_fail
;
16441 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16442 if (SWIG_arg_fail(3)) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 (arg1
)->SetMargins(arg2
,arg3
);
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16451 Py_INCREF(Py_None
); resultobj
= Py_None
;
16458 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
= NULL
;
16460 wxGrid
*arg1
= (wxGrid
*) 0 ;
16462 PyObject
* obj0
= 0 ;
16463 char *kwnames
[] = {
16464 (char *) "self", NULL
16467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
16468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16469 if (SWIG_arg_fail(1)) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 result
= (wxWindow
*)(arg1
)->GetGridWindow();
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= wxPyMake_wxObject(result
, 0);
16486 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
= NULL
;
16488 wxGrid
*arg1
= (wxGrid
*) 0 ;
16490 PyObject
* obj0
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
16496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16497 if (SWIG_arg_fail(1)) SWIG_fail
;
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16506 resultobj
= wxPyMake_wxObject(result
, 0);
16514 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
= NULL
;
16516 wxGrid
*arg1
= (wxGrid
*) 0 ;
16518 PyObject
* obj0
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
16524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16525 if (SWIG_arg_fail(1)) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= wxPyMake_wxObject(result
, 0);
16542 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
= NULL
;
16544 wxGrid
*arg1
= (wxGrid
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
16552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16553 if (SWIG_arg_fail(1)) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= wxPyMake_wxObject(result
, 0);
16570 static PyObject
*_wrap_Grid_SetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
= NULL
;
16572 wxGrid
*arg1
= (wxGrid
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 PyObject
* obj1
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self",(char *) "x", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) goto fail
;
16581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16582 if (SWIG_arg_fail(1)) SWIG_fail
;
16584 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16585 if (SWIG_arg_fail(2)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 (arg1
)->SetScrollLineX(arg2
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 Py_INCREF(Py_None
); resultobj
= Py_None
;
16601 static PyObject
*_wrap_Grid_SetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
= NULL
;
16603 wxGrid
*arg1
= (wxGrid
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "self",(char *) "y", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) goto fail
;
16612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16613 if (SWIG_arg_fail(1)) SWIG_fail
;
16615 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16616 if (SWIG_arg_fail(2)) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 (arg1
)->SetScrollLineY(arg2
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 Py_INCREF(Py_None
); resultobj
= Py_None
;
16632 static PyObject
*_wrap_Grid_GetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
= NULL
;
16634 wxGrid
*arg1
= (wxGrid
*) 0 ;
16636 PyObject
* obj0
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "self", NULL
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineX",kwnames
,&obj0
)) goto fail
;
16642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16643 if (SWIG_arg_fail(1)) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineX();
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16652 resultobj
= SWIG_From_int(static_cast<int >(result
));
16660 static PyObject
*_wrap_Grid_GetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
= NULL
;
16662 wxGrid
*arg1
= (wxGrid
*) 0 ;
16664 PyObject
* obj0
= 0 ;
16665 char *kwnames
[] = {
16666 (char *) "self", NULL
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineY",kwnames
,&obj0
)) goto fail
;
16670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16671 if (SWIG_arg_fail(1)) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineY();
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= SWIG_From_int(static_cast<int >(result
));
16688 static PyObject
*_wrap_Grid_GetScrollX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
= NULL
;
16690 wxGrid
*arg1
= (wxGrid
*) 0 ;
16693 PyObject
* obj0
= 0 ;
16694 PyObject
* obj1
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self",(char *) "x", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) goto fail
;
16700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16701 if (SWIG_arg_fail(1)) SWIG_fail
;
16703 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16704 if (SWIG_arg_fail(2)) SWIG_fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 result
= (int)((wxGrid
const *)arg1
)->GetScrollX(arg2
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= SWIG_From_int(static_cast<int >(result
));
16722 static PyObject
*_wrap_Grid_GetScrollY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
= NULL
;
16724 wxGrid
*arg1
= (wxGrid
*) 0 ;
16727 PyObject
* obj0
= 0 ;
16728 PyObject
* obj1
= 0 ;
16729 char *kwnames
[] = {
16730 (char *) "self",(char *) "y", NULL
16733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) goto fail
;
16734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16735 if (SWIG_arg_fail(1)) SWIG_fail
;
16737 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16738 if (SWIG_arg_fail(2)) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 result
= (int)((wxGrid
const *)arg1
)->GetScrollY(arg2
);
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= SWIG_From_int(static_cast<int >(result
));
16756 static PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
= NULL
;
16758 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16759 wxVisualAttributes result
;
16760 PyObject
* obj0
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "variant", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16768 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
16769 if (SWIG_arg_fail(1)) SWIG_fail
;
16773 if (!wxPyCheckForApp()) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 result
= wxGrid::GetClassDefaultAttributes(arg1
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16781 wxVisualAttributes
* resultptr
;
16782 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
16783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16791 static PyObject
* Grid_swigregister(PyObject
*, PyObject
*args
) {
16793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16794 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
16796 return Py_BuildValue((char *)"");
16798 static PyObject
*_wrap_new_GridEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
= NULL
;
16802 wxGrid
*arg3
= (wxGrid
*) 0 ;
16803 int arg4
= (int) -1 ;
16804 int arg5
= (int) -1 ;
16805 int arg6
= (int) -1 ;
16806 int arg7
= (int) -1 ;
16807 bool arg8
= (bool) true ;
16808 bool arg9
= (bool) false ;
16809 bool arg10
= (bool) false ;
16810 bool arg11
= (bool) false ;
16811 bool arg12
= (bool) false ;
16812 wxGridEvent
*result
;
16813 PyObject
* obj0
= 0 ;
16814 PyObject
* obj1
= 0 ;
16815 PyObject
* obj2
= 0 ;
16816 PyObject
* obj3
= 0 ;
16817 PyObject
* obj4
= 0 ;
16818 PyObject
* obj5
= 0 ;
16819 PyObject
* obj6
= 0 ;
16820 PyObject
* obj7
= 0 ;
16821 PyObject
* obj8
= 0 ;
16822 PyObject
* obj9
= 0 ;
16823 PyObject
* obj10
= 0 ;
16824 PyObject
* obj11
= 0 ;
16825 char *kwnames
[] = {
16826 (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
16829 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
;
16831 arg1
= static_cast<int >(SWIG_As_int(obj0
));
16832 if (SWIG_arg_fail(1)) SWIG_fail
;
16835 arg2
= static_cast<wxEventType
>(SWIG_As_int(obj1
));
16836 if (SWIG_arg_fail(2)) SWIG_fail
;
16838 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
16839 if (SWIG_arg_fail(3)) SWIG_fail
;
16842 arg4
= static_cast<int >(SWIG_As_int(obj3
));
16843 if (SWIG_arg_fail(4)) SWIG_fail
;
16848 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16849 if (SWIG_arg_fail(5)) SWIG_fail
;
16854 arg6
= static_cast<int >(SWIG_As_int(obj5
));
16855 if (SWIG_arg_fail(6)) SWIG_fail
;
16860 arg7
= static_cast<int >(SWIG_As_int(obj6
));
16861 if (SWIG_arg_fail(7)) SWIG_fail
;
16866 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
16867 if (SWIG_arg_fail(8)) SWIG_fail
;
16872 arg9
= static_cast<bool >(SWIG_As_bool(obj8
));
16873 if (SWIG_arg_fail(9)) SWIG_fail
;
16878 arg10
= static_cast<bool >(SWIG_As_bool(obj9
));
16879 if (SWIG_arg_fail(10)) SWIG_fail
;
16884 arg11
= static_cast<bool >(SWIG_As_bool(obj10
));
16885 if (SWIG_arg_fail(11)) SWIG_fail
;
16890 arg12
= static_cast<bool >(SWIG_As_bool(obj11
));
16891 if (SWIG_arg_fail(12)) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
16908 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
= NULL
;
16910 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "self", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
16918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16919 if (SWIG_arg_fail(1)) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= (int)(arg1
)->GetRow();
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= SWIG_From_int(static_cast<int >(result
));
16936 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
= NULL
;
16938 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 char *kwnames
[] = {
16942 (char *) "self", NULL
16945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
16946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16947 if (SWIG_arg_fail(1)) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 result
= (int)(arg1
)->GetCol();
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= SWIG_From_int(static_cast<int >(result
));
16964 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
= NULL
;
16966 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16968 PyObject
* obj0
= 0 ;
16969 char *kwnames
[] = {
16970 (char *) "self", NULL
16973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
16975 if (SWIG_arg_fail(1)) SWIG_fail
;
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (arg1
)->GetPosition();
16980 wxPyEndAllowThreads(__tstate
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16984 wxPoint
* resultptr
;
16985 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
16986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16994 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
= NULL
;
16996 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self", NULL
17003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
17004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17005 if (SWIG_arg_fail(1)) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 result
= (bool)(arg1
)->Selecting();
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17022 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
= NULL
;
17024 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17026 PyObject
* obj0
= 0 ;
17027 char *kwnames
[] = {
17028 (char *) "self", NULL
17031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17033 if (SWIG_arg_fail(1)) SWIG_fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 result
= (bool)(arg1
)->ControlDown();
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17050 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
= NULL
;
17052 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17054 PyObject
* obj0
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17061 if (SWIG_arg_fail(1)) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (bool)(arg1
)->MetaDown();
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17078 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
= NULL
;
17080 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17082 PyObject
* obj0
= 0 ;
17083 char *kwnames
[] = {
17084 (char *) "self", NULL
17087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17089 if (SWIG_arg_fail(1)) SWIG_fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 result
= (bool)(arg1
)->ShiftDown();
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17106 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
= NULL
;
17108 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_EXCEPTION
| 0);
17117 if (SWIG_arg_fail(1)) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= (bool)(arg1
)->AltDown();
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17134 static PyObject
* GridEvent_swigregister(PyObject
*, PyObject
*args
) {
17136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17137 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
17139 return Py_BuildValue((char *)"");
17141 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
= NULL
;
17145 wxGrid
*arg3
= (wxGrid
*) 0 ;
17146 int arg4
= (int) -1 ;
17147 int arg5
= (int) -1 ;
17148 int arg6
= (int) -1 ;
17149 bool arg7
= (bool) false ;
17150 bool arg8
= (bool) false ;
17151 bool arg9
= (bool) false ;
17152 bool arg10
= (bool) false ;
17153 wxGridSizeEvent
*result
;
17154 PyObject
* obj0
= 0 ;
17155 PyObject
* obj1
= 0 ;
17156 PyObject
* obj2
= 0 ;
17157 PyObject
* obj3
= 0 ;
17158 PyObject
* obj4
= 0 ;
17159 PyObject
* obj5
= 0 ;
17160 PyObject
* obj6
= 0 ;
17161 PyObject
* obj7
= 0 ;
17162 PyObject
* obj8
= 0 ;
17163 PyObject
* obj9
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17170 arg1
= static_cast<int >(SWIG_As_int(obj0
));
17171 if (SWIG_arg_fail(1)) SWIG_fail
;
17174 arg2
= static_cast<wxEventType
>(SWIG_As_int(obj1
));
17175 if (SWIG_arg_fail(2)) SWIG_fail
;
17177 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
17178 if (SWIG_arg_fail(3)) SWIG_fail
;
17181 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17182 if (SWIG_arg_fail(4)) SWIG_fail
;
17187 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17188 if (SWIG_arg_fail(5)) SWIG_fail
;
17193 arg6
= static_cast<int >(SWIG_As_int(obj5
));
17194 if (SWIG_arg_fail(6)) SWIG_fail
;
17199 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
17200 if (SWIG_arg_fail(7)) SWIG_fail
;
17205 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
17206 if (SWIG_arg_fail(8)) SWIG_fail
;
17211 arg9
= static_cast<bool >(SWIG_As_bool(obj8
));
17212 if (SWIG_arg_fail(9)) SWIG_fail
;
17217 arg10
= static_cast<bool >(SWIG_As_bool(obj9
));
17218 if (SWIG_arg_fail(10)) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
17235 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
= NULL
;
17237 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
17245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17246 if (SWIG_arg_fail(1)) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= (int)(arg1
)->GetRowOrCol();
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= SWIG_From_int(static_cast<int >(result
));
17263 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
= NULL
;
17265 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17267 PyObject
* obj0
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17274 if (SWIG_arg_fail(1)) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 result
= (arg1
)->GetPosition();
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17283 wxPoint
* resultptr
;
17284 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
17285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17293 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
= NULL
;
17295 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17297 PyObject
* obj0
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17304 if (SWIG_arg_fail(1)) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (bool)(arg1
)->ControlDown();
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17321 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
= NULL
;
17323 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17325 PyObject
* obj0
= 0 ;
17326 char *kwnames
[] = {
17327 (char *) "self", NULL
17330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17332 if (SWIG_arg_fail(1)) SWIG_fail
;
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 result
= (bool)(arg1
)->MetaDown();
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17349 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
= NULL
;
17351 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17360 if (SWIG_arg_fail(1)) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= (bool)(arg1
)->ShiftDown();
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17377 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
= NULL
;
17379 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
17381 PyObject
* obj0
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
17388 if (SWIG_arg_fail(1)) SWIG_fail
;
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 result
= (bool)(arg1
)->AltDown();
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17405 static PyObject
* GridSizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17408 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
17410 return Py_BuildValue((char *)"");
17412 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
= NULL
;
17416 wxGrid
*arg3
= (wxGrid
*) 0 ;
17417 wxGridCellCoords
*arg4
= 0 ;
17418 wxGridCellCoords
*arg5
= 0 ;
17419 bool arg6
= (bool) true ;
17420 bool arg7
= (bool) false ;
17421 bool arg8
= (bool) false ;
17422 bool arg9
= (bool) false ;
17423 bool arg10
= (bool) false ;
17424 wxGridRangeSelectEvent
*result
;
17425 wxGridCellCoords temp4
;
17426 wxGridCellCoords temp5
;
17427 PyObject
* obj0
= 0 ;
17428 PyObject
* obj1
= 0 ;
17429 PyObject
* obj2
= 0 ;
17430 PyObject
* obj3
= 0 ;
17431 PyObject
* obj4
= 0 ;
17432 PyObject
* obj5
= 0 ;
17433 PyObject
* obj6
= 0 ;
17434 PyObject
* obj7
= 0 ;
17435 PyObject
* obj8
= 0 ;
17436 PyObject
* obj9
= 0 ;
17437 char *kwnames
[] = {
17438 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17443 arg1
= static_cast<int >(SWIG_As_int(obj0
));
17444 if (SWIG_arg_fail(1)) SWIG_fail
;
17447 arg2
= static_cast<wxEventType
>(SWIG_As_int(obj1
));
17448 if (SWIG_arg_fail(2)) SWIG_fail
;
17450 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGrid
, SWIG_POINTER_EXCEPTION
| 0);
17451 if (SWIG_arg_fail(3)) SWIG_fail
;
17454 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
17458 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
17462 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
17463 if (SWIG_arg_fail(6)) SWIG_fail
;
17468 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
17469 if (SWIG_arg_fail(7)) SWIG_fail
;
17474 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
17475 if (SWIG_arg_fail(8)) SWIG_fail
;
17480 arg9
= static_cast<bool >(SWIG_As_bool(obj8
));
17481 if (SWIG_arg_fail(9)) SWIG_fail
;
17486 arg10
= static_cast<bool >(SWIG_As_bool(obj9
));
17487 if (SWIG_arg_fail(10)) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
17504 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
= NULL
;
17506 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17507 wxGridCellCoords result
;
17508 PyObject
* obj0
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
17514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17515 if (SWIG_arg_fail(1)) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 result
= (arg1
)->GetTopLeftCoords();
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17524 wxGridCellCoords
* resultptr
;
17525 resultptr
= new wxGridCellCoords(static_cast<wxGridCellCoords
& >(result
));
17526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
17534 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
= NULL
;
17536 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17537 wxGridCellCoords result
;
17538 PyObject
* obj0
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "self", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
17544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17545 if (SWIG_arg_fail(1)) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (arg1
)->GetBottomRightCoords();
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 wxGridCellCoords
* resultptr
;
17555 resultptr
= new wxGridCellCoords(static_cast<wxGridCellCoords
& >(result
));
17556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
17564 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
= NULL
;
17566 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
17574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17575 if (SWIG_arg_fail(1)) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (int)(arg1
)->GetTopRow();
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= SWIG_From_int(static_cast<int >(result
));
17592 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
= NULL
;
17594 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17596 PyObject
* obj0
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
17602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17603 if (SWIG_arg_fail(1)) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 result
= (int)(arg1
)->GetBottomRow();
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= SWIG_From_int(static_cast<int >(result
));
17620 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17621 PyObject
*resultobj
= NULL
;
17622 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17624 PyObject
* obj0
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
17630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17631 if (SWIG_arg_fail(1)) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 result
= (int)(arg1
)->GetLeftCol();
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17640 resultobj
= SWIG_From_int(static_cast<int >(result
));
17648 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
= NULL
;
17650 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17652 PyObject
* obj0
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self", NULL
17657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
17658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17659 if (SWIG_arg_fail(1)) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= (int)(arg1
)->GetRightCol();
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 resultobj
= SWIG_From_int(static_cast<int >(result
));
17676 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
= NULL
;
17678 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17680 PyObject
* obj0
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
17686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17687 if (SWIG_arg_fail(1)) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 result
= (bool)(arg1
)->Selecting();
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17704 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
= NULL
;
17706 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17708 PyObject
* obj0
= 0 ;
17709 char *kwnames
[] = {
17710 (char *) "self", NULL
17713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17715 if (SWIG_arg_fail(1)) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 result
= (bool)(arg1
)->ControlDown();
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17732 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
= NULL
;
17734 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17736 PyObject
* obj0
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17743 if (SWIG_arg_fail(1)) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 result
= (bool)(arg1
)->MetaDown();
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17760 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
= NULL
;
17762 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17771 if (SWIG_arg_fail(1)) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= (bool)(arg1
)->ShiftDown();
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17788 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
= NULL
;
17790 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
17792 PyObject
* obj0
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_EXCEPTION
| 0);
17799 if (SWIG_arg_fail(1)) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 result
= (bool)(arg1
)->AltDown();
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17816 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*, PyObject
*args
) {
17818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17819 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
17821 return Py_BuildValue((char *)"");
17823 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
= NULL
;
17827 wxObject
*arg3
= (wxObject
*) 0 ;
17830 wxControl
*arg6
= (wxControl
*) 0 ;
17831 wxGridEditorCreatedEvent
*result
;
17832 PyObject
* obj0
= 0 ;
17833 PyObject
* obj1
= 0 ;
17834 PyObject
* obj2
= 0 ;
17835 PyObject
* obj3
= 0 ;
17836 PyObject
* obj4
= 0 ;
17837 PyObject
* obj5
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17844 arg1
= static_cast<int >(SWIG_As_int(obj0
));
17845 if (SWIG_arg_fail(1)) SWIG_fail
;
17848 arg2
= static_cast<wxEventType
>(SWIG_As_int(obj1
));
17849 if (SWIG_arg_fail(2)) SWIG_fail
;
17851 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
17852 if (SWIG_arg_fail(3)) SWIG_fail
;
17854 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17855 if (SWIG_arg_fail(4)) SWIG_fail
;
17858 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17859 if (SWIG_arg_fail(5)) SWIG_fail
;
17861 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
17862 if (SWIG_arg_fail(6)) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
17877 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
= NULL
;
17879 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
17887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17888 if (SWIG_arg_fail(1)) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (int)(arg1
)->GetRow();
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= SWIG_From_int(static_cast<int >(result
));
17905 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
= NULL
;
17907 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17909 PyObject
* obj0
= 0 ;
17910 char *kwnames
[] = {
17911 (char *) "self", NULL
17914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
17915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17916 if (SWIG_arg_fail(1)) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 result
= (int)(arg1
)->GetCol();
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= SWIG_From_int(static_cast<int >(result
));
17933 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
= NULL
;
17935 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
17943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17944 if (SWIG_arg_fail(1)) SWIG_fail
;
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= (wxControl
*)(arg1
)->GetControl();
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= wxPyMake_wxObject(result
, 0);
17961 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
= NULL
;
17963 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17965 PyObject
* obj0
= 0 ;
17966 PyObject
* obj1
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self",(char *) "row", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
17972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
17973 if (SWIG_arg_fail(1)) SWIG_fail
;
17975 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17976 if (SWIG_arg_fail(2)) SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 (arg1
)->SetRow(arg2
);
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 Py_INCREF(Py_None
); resultobj
= Py_None
;
17992 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
= NULL
;
17994 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self",(char *) "col", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
18003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
18004 if (SWIG_arg_fail(1)) SWIG_fail
;
18006 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18007 if (SWIG_arg_fail(2)) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 (arg1
)->SetCol(arg2
);
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 Py_INCREF(Py_None
); resultobj
= Py_None
;
18023 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
= NULL
;
18025 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
18026 wxControl
*arg2
= (wxControl
*) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 PyObject
* obj1
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self",(char *) "ctrl", NULL
18033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
18034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_EXCEPTION
| 0);
18035 if (SWIG_arg_fail(1)) SWIG_fail
;
18036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
18037 if (SWIG_arg_fail(2)) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 (arg1
)->SetControl(arg2
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 Py_INCREF(Py_None
); resultobj
= Py_None
;
18052 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*, PyObject
*args
) {
18054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18055 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
18057 return Py_BuildValue((char *)"");
18059 static PyMethodDef SwigMethods
[] = {
18060 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18061 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18062 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18063 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18064 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18065 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18066 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18067 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
18068 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18069 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18070 { (char *)"PyGridCellRenderer_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18071 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
18072 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18073 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
18074 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18075 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
18076 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18077 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18078 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18079 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18080 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18081 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
18082 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18083 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
18084 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18085 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
18086 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18087 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
18088 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18089 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
18090 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18091 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18092 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18093 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18094 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18095 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18096 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18097 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18098 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18099 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18100 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18101 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18102 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18103 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18104 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18105 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18106 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18107 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18108 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18109 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18110 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18111 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18112 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
18113 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18114 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18115 { (char *)"PyGridCellEditor_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18116 { (char *)"PyGridCellEditor_Show", (PyCFunction
) _wrap_PyGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18117 { (char *)"PyGridCellEditor_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18118 { (char *)"PyGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18119 { (char *)"PyGridCellEditor_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18120 { (char *)"PyGridCellEditor_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18121 { (char *)"PyGridCellEditor_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18122 { (char *)"PyGridCellEditor_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18123 { (char *)"PyGridCellEditor_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18124 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
18125 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18126 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18127 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
18128 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18129 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18130 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
18131 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18132 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18133 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
18134 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18135 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18136 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
18137 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18138 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18139 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
18140 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18141 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18142 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
18143 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18144 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18145 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
18146 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18147 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18148 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18149 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18150 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18151 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18152 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18153 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18154 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18155 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18156 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18157 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18158 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18159 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18160 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18161 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18162 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18163 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18164 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18165 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18166 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18167 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18168 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18169 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18170 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18171 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18172 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18173 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18174 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18175 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18176 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18177 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18178 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18179 { (char *)"GridCellAttr_GetKind", (PyCFunction
) _wrap_GridCellAttr_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18180 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18181 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
18182 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18183 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18184 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18185 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18186 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18187 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18188 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18189 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18190 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
18191 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18192 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18193 { (char *)"PyGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18194 { (char *)"PyGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18195 { (char *)"PyGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18196 { (char *)"PyGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18197 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
18198 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18199 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18200 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18201 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18202 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18203 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18204 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18205 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18206 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18207 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18208 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18209 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18210 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18211 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18212 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18213 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18214 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18215 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18216 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18217 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18218 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18219 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18220 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18221 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18222 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18223 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18224 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18225 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18226 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18227 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18228 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18229 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18230 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18231 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18232 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18233 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
18234 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18235 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18236 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18237 { (char *)"PyGridTableBase_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18238 { (char *)"PyGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18239 { (char *)"PyGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18240 { (char *)"PyGridTableBase_Clear", (PyCFunction
) _wrap_PyGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18241 { (char *)"PyGridTableBase_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18242 { (char *)"PyGridTableBase_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18243 { (char *)"PyGridTableBase_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18244 { (char *)"PyGridTableBase_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18245 { (char *)"PyGridTableBase_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18246 { (char *)"PyGridTableBase_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18247 { (char *)"PyGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18248 { (char *)"PyGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18249 { (char *)"PyGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18250 { (char *)"PyGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18251 { (char *)"PyGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18252 { (char *)"PyGridTableBase_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18253 { (char *)"PyGridTableBase_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18254 { (char *)"PyGridTableBase_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18255 { (char *)"PyGridTableBase_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18256 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
18257 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18258 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
18259 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18260 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18261 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18262 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18263 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18264 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18265 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18266 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18267 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18268 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18269 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
18270 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18271 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18272 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18273 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18274 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18275 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18276 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18277 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18278 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18279 { (char *)"GridCellCoords_Get", (PyCFunction
) _wrap_GridCellCoords_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18280 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
18281 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18282 { (char *)"new_PreGrid", (PyCFunction
) _wrap_new_PreGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18283 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18284 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18285 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18286 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18287 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18288 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18289 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18290 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18291 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18292 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18293 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18294 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18295 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18296 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18297 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18298 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18299 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18300 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18301 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18302 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18303 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18304 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18305 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18306 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18307 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18308 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18309 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18310 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18311 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18312 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18313 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18314 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18315 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18316 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18317 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18318 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18319 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18320 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18321 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18322 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18323 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18324 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18325 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18326 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18327 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18328 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18329 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18330 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18331 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18332 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18333 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18334 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18335 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18336 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18337 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18338 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18339 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18340 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18341 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18342 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18343 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18344 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18345 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18346 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18347 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18348 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18349 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18350 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18351 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18352 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18353 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18354 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18355 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18356 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18357 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18358 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18359 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18360 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18361 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18362 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18363 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18364 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18365 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18366 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18367 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18368 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18369 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18370 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18371 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18372 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18373 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18374 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18375 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18376 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18377 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18378 { (char *)"Grid_DisableDragCell", (PyCFunction
) _wrap_Grid_DisableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18379 { (char *)"Grid_CanDragCell", (PyCFunction
) _wrap_Grid_CanDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18380 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18381 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18382 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18383 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18384 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18385 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18386 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18387 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18388 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18389 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18390 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18391 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18392 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18393 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18394 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18395 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18396 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18397 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18398 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18399 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18400 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18401 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18402 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18403 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18404 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18405 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18406 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18407 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18408 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18409 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18410 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18411 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18412 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18413 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18414 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18415 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18416 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18417 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18418 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18419 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18420 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18421 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18422 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18423 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18424 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18425 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18426 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18427 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18428 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18429 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18430 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18431 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18432 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18433 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18434 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18435 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18436 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18437 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18438 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18439 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18440 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18441 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18442 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18443 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18444 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18445 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18446 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18447 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18448 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18449 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18450 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18451 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18452 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18453 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18454 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18455 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18456 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18457 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18458 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18459 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18460 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18461 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18462 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18463 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18464 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18465 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18466 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18467 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18468 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18469 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18470 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18471 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18472 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18473 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18474 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18475 { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18476 { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18477 { (char *)"Grid_GetScrollLineX", (PyCFunction
) _wrap_Grid_GetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18478 { (char *)"Grid_GetScrollLineY", (PyCFunction
) _wrap_Grid_GetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18479 { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18480 { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18481 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18482 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
18483 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18484 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18485 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18486 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18487 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18488 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18489 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18490 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18491 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18492 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
18493 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18494 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18495 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18496 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18497 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18498 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18499 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18500 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
18501 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18502 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18503 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18504 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18505 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18506 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18507 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18508 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18509 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18510 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18511 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18512 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18513 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
18514 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18515 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18516 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18517 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18518 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18519 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18520 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18521 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
18522 { NULL
, NULL
, 0, NULL
}
18526 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18528 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
18529 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
18531 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
18532 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
18534 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
18535 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
18537 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
18538 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
18540 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
18541 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
18543 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
18544 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
18546 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
18547 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
18549 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
18550 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
18552 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
18553 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
18555 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
18556 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
18558 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
18559 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
18561 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
18562 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
18564 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
18565 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
18567 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
18568 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
18570 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
18571 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18573 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
18574 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18576 static void *_p_wxGridTo_p_wxPanel(void *x
) {
18577 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
18579 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
18580 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18582 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
18583 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18585 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
18586 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
18588 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
18589 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18591 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
18592 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
18594 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
18595 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18597 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
18598 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18600 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
18601 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18603 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
18604 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18606 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
18607 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
18609 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
18610 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18612 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
18613 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
18615 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
18616 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18618 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
18619 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18621 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
18622 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18624 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
18625 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
18627 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18628 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18630 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
18631 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18633 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
18634 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18636 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
18637 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18639 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
18640 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18642 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
18643 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18645 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
18646 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18648 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
18649 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18651 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
18652 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18654 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
18655 return (void *)((wxWindow
*) ((wxPanel
*) x
));
18657 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
18658 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
18660 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
18661 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18663 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
18664 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18666 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
18667 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18669 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
18670 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
18672 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
18673 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18675 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
18676 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
18678 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
18679 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
18681 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
18682 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
18684 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
18685 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
18687 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
18688 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
18690 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
18691 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
18693 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
18694 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18696 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18697 return (void *)((wxWindow
*) ((wxControl
*) x
));
18699 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
18700 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18702 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
18703 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18705 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
18706 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18708 static void *_p_wxGridTo_p_wxWindow(void *x
) {
18709 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
18711 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18712 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18714 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
18715 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
18717 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
18718 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18720 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
18721 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18723 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
18724 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18726 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
18727 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
18729 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
18730 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18732 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
18733 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
18735 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
18736 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18738 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
18739 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18741 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
18742 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18744 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
18745 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
18747 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
18748 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18750 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
18751 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
18753 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
18754 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18756 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
18757 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
18759 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
18760 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
18762 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
18763 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
18765 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
18766 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
18768 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
18769 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
18771 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
18772 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18774 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
18775 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
18777 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
18778 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
18780 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
18781 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18783 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
18784 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
18786 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
18787 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18789 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
18790 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18792 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
18793 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
18795 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
18796 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
18798 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
18799 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18801 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
18802 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18804 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
18805 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
18807 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
18808 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
18810 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
18811 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
18813 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
18814 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
18816 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
18817 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
18819 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
18820 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
18822 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
18823 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
18825 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
18826 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
18828 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
18829 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
18831 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
18832 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18834 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
18835 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18837 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
18838 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18840 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
18841 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18843 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
18844 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18846 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
18847 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
18849 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
18850 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
18852 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
18853 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
18855 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
18856 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
18858 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
18859 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18861 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18862 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18864 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18865 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18867 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18868 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18870 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18871 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18873 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18874 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18876 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18877 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18879 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18880 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18882 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18883 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18885 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18886 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18888 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18889 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18891 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18892 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18894 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18895 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18897 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18900 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18903 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18904 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18906 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18907 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18909 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18910 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18912 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18913 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18915 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18916 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18918 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18919 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18921 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18922 return (void *)((wxObject
*) ((wxSizer
*) x
));
18924 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18925 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18927 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18930 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18933 static void *_p_wxEventTo_p_wxObject(void *x
) {
18934 return (void *)((wxObject
*) ((wxEvent
*) x
));
18936 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
18937 return (void *)((wxObject
*) ((wxFontData
*) x
));
18939 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
18940 return (void *)((wxObject
*) ((wxPrintData
*) x
));
18942 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18943 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18945 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18946 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18948 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18949 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18951 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
18952 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
18954 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
18955 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18957 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
18958 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18960 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
18961 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
18963 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18964 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18966 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18967 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18969 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18970 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18972 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18973 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18975 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18976 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18978 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18979 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18981 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
18982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18984 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
18985 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
18987 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
18988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
18990 static void *_p_wxControlTo_p_wxObject(void *x
) {
18991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18993 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18994 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18996 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
18997 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18999 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19000 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19002 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
19003 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
19005 static void *_p_wxGridTo_p_wxObject(void *x
) {
19006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
19008 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19009 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19011 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
19012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
19014 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
19015 return (void *)((wxObject
*) ((wxColourData
*) x
));
19017 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19018 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19020 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19021 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19023 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
19024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
19026 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
19027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
19029 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
19030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
19032 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
19033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19035 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
19036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19038 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
19039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
19041 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
19042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19044 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
19045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
19047 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
19048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
19050 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
19051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
19053 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19054 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19056 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
19057 return (void *)((wxObject
*) ((wxPrinter
*) x
));
19059 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19060 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19062 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
19063 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
19065 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19066 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19068 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19069 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19071 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19072 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19074 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19075 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19077 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19078 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19080 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19081 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19083 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19084 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19086 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19087 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19089 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
19090 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
19092 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19093 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19095 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19098 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19099 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19101 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19102 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19104 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19105 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19107 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19108 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19110 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19111 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19113 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19114 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19116 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19117 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19119 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
19120 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
19122 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19123 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19125 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19126 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19128 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19129 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19131 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19132 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19134 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
19135 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
19137 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
19138 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
19140 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
19141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19143 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
19144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19146 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
19147 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
19149 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19150 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19152 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
19153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
19155 static void *_p_wxImageTo_p_wxObject(void *x
) {
19156 return (void *)((wxObject
*) ((wxImage
*) x
));
19158 static void *_p_wxFrameTo_p_wxObject(void *x
) {
19159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
19161 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
19162 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
19164 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19165 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19167 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
19168 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
19170 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
19171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
19173 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
19174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19176 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19177 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19179 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19180 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19182 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19183 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19185 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19186 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19188 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19189 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19191 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19194 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
19195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
19197 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
19198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
19200 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
19201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
19203 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
19204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
19206 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
19207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
19209 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
19210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19212 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
19213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
19215 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
19216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19218 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
19219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
19221 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
19222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19224 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
19225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
19227 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
19228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19230 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
19231 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
19233 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
19234 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
19236 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
19237 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
19239 static void *_p_wxPanelTo_p_wxObject(void *x
) {
19240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
19242 static void *_p_wxDialogTo_p_wxObject(void *x
) {
19243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
19245 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
19246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19248 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
19249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19251 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
19252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19254 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
19255 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
19257 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
19258 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
19260 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19261 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19263 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19264 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19266 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19267 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19269 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19270 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19272 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19273 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19275 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19276 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19278 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19279 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19281 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
19282 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
19284 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
19285 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
19287 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19288 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19290 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19291 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19293 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
19294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
19296 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
19297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19299 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19300 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19302 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19303 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19305 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19306 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19308 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19311 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
19312 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
19314 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
19315 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
19317 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19320 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19321 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19323 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
19324 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
19326 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
19327 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
19329 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
19330 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
19332 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
19333 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
19335 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
19336 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
19338 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
19339 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
19341 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
19342 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
19344 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
19345 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19347 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
19348 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
19350 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
19351 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19353 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
19354 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19356 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
19357 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
19359 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
19360 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
19362 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
19363 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
19365 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
19366 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
19368 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
19369 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
19371 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
19372 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
19374 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
19375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19377 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
19378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
19380 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
19381 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19383 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
19384 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
19386 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
19387 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19389 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
19390 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
19392 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
19393 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
19395 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
19396 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
19398 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
19399 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
19401 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
19402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
19404 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
19405 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
19407 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
19408 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
19410 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
19411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19413 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
19414 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
19416 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
19417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
19419 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
19420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
19422 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
19423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
19425 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
19426 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
19428 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
19429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
19431 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
19432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19434 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
19435 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
19437 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
19438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19440 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
19441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19443 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
19444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19446 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
19447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
19449 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
19450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19452 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
19453 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
19455 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
19456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
19458 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
19459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19461 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
19462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19464 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
19465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
19467 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
19468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19470 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
19471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19473 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
19474 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
19476 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
19477 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
19479 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
19480 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
19482 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
19483 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
19485 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
19486 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
19488 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
19489 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
19491 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
19492 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
19494 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
19495 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
19497 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
19498 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
19500 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
19501 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
19503 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
19504 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
19506 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
19507 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
19509 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
19510 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
19512 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19513 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19515 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19516 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19518 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19519 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19521 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19522 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19524 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19525 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19527 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19528 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19530 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19531 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19533 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
19534 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
19536 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
19537 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
19539 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19540 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19542 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
19543 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
19545 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
19546 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
19548 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
19549 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
19551 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19552 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19554 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19555 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19557 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19558 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19560 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
19561 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
19563 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
19564 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
19566 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
19567 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
19568 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
19569 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, 0};
19570 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
19571 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
19572 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
19573 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
19574 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
19575 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
19576 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0};
19577 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
19578 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0};
19579 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
19580 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
19581 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
19582 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
19583 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
19584 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
19585 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0};
19586 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
19587 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, 0};
19588 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
19589 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
19590 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
19591 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
19592 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
19593 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
19594 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
19595 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
19596 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
19597 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
19598 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
19599 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
19600 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
19601 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
19602 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
19603 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
19604 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
19605 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
19606 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
19607 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
19608 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
19609 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
19610 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
19611 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
19612 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
19613 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
19614 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
19615 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
19616 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
19617 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
19618 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
19619 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
19620 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
19621 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0};
19622 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0};
19623 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0};
19624 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
19625 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
19626 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
19627 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0};
19628 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0};
19629 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
19630 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0};
19631 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
19632 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0};
19633 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
19634 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
19635 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0};
19636 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0};
19637 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
19638 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
19639 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0};
19640 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0};
19641 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0};
19642 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0};
19643 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
19644 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
19645 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
19646 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0};
19647 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
19648 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0};
19649 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0};
19650 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
19651 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0};
19652 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0};
19653 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
19654 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0};
19655 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
19656 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0};
19657 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
19658 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0};
19659 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0};
19660 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0};
19661 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0};
19662 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0};
19663 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
19664 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0};
19665 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
19666 static swig_type_info _swigt__p_wxGrid
= {"_p_wxGrid", "wxGrid *", 0, 0, 0};
19667 static swig_type_info _swigt__p_wxGridCellAttr
= {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, 0};
19668 static swig_type_info _swigt__p_wxGridCellAttrProvider
= {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, 0};
19669 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
= {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, 0};
19670 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
= {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, 0};
19671 static swig_type_info _swigt__p_wxGridCellBoolEditor
= {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, 0};
19672 static swig_type_info _swigt__p_wxGridCellBoolRenderer
= {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, 0};
19673 static swig_type_info _swigt__p_wxGridCellChoiceEditor
= {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, 0};
19674 static swig_type_info _swigt__p_wxGridCellCoords
= {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, 0};
19675 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
= {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, 0};
19676 static swig_type_info _swigt__p_wxGridCellEditor
= {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, 0};
19677 static swig_type_info _swigt__p_wxGridCellEnumEditor
= {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, 0};
19678 static swig_type_info _swigt__p_wxGridCellEnumRenderer
= {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, 0};
19679 static swig_type_info _swigt__p_wxGridCellFloatEditor
= {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, 0};
19680 static swig_type_info _swigt__p_wxGridCellFloatRenderer
= {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, 0};
19681 static swig_type_info _swigt__p_wxGridCellNumberEditor
= {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, 0};
19682 static swig_type_info _swigt__p_wxGridCellNumberRenderer
= {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, 0};
19683 static swig_type_info _swigt__p_wxGridCellRenderer
= {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, 0};
19684 static swig_type_info _swigt__p_wxGridCellStringRenderer
= {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, 0};
19685 static swig_type_info _swigt__p_wxGridCellTextEditor
= {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, 0};
19686 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
= {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, 0};
19687 static swig_type_info _swigt__p_wxGridEvent
= {"_p_wxGridEvent", "wxGridEvent *", 0, 0, 0};
19688 static swig_type_info _swigt__p_wxGridRangeSelectEvent
= {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, 0};
19689 static swig_type_info _swigt__p_wxGridSizeEvent
= {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, 0};
19690 static swig_type_info _swigt__p_wxGridStringTable
= {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, 0};
19691 static swig_type_info _swigt__p_wxGridTableBase
= {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, 0};
19692 static swig_type_info _swigt__p_wxGridTableMessage
= {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, 0};
19693 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
19694 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
19695 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
19696 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
19697 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
19698 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
19699 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
19700 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
19701 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
19702 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
19703 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
19704 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0};
19705 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0};
19706 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
19707 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
19708 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
19709 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
19710 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0};
19711 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
19712 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0};
19713 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0};
19714 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
19715 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
19716 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
19717 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
19718 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
19719 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
19720 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
19721 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
19722 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
19723 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
19724 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
19725 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
19726 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
19727 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
19728 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
19729 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
19730 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
19731 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0};
19732 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0};
19733 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0};
19734 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0};
19735 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0};
19736 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
19737 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0};
19738 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0};
19739 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, 0};
19740 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
19741 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
19742 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
= {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, 0};
19743 static swig_type_info _swigt__p_wxPyGridCellEditor
= {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, 0};
19744 static swig_type_info _swigt__p_wxPyGridCellRenderer
= {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, 0};
19745 static swig_type_info _swigt__p_wxPyGridTableBase
= {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, 0};
19746 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
19747 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
19748 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
19749 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
19750 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
19751 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
19752 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
19753 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
19754 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
19756 static swig_type_info
*swig_type_initial
[] = {
19758 &_swigt__p_form_ops_t
,
19761 &_swigt__p_unsigned_char
,
19762 &_swigt__p_unsigned_int
,
19763 &_swigt__p_unsigned_long
,
19764 &_swigt__p_wxANIHandler
,
19765 &_swigt__p_wxAcceleratorTable
,
19766 &_swigt__p_wxActivateEvent
,
19767 &_swigt__p_wxArrayString
,
19768 &_swigt__p_wxBMPHandler
,
19769 &_swigt__p_wxBoxSizer
,
19770 &_swigt__p_wxCURHandler
,
19771 &_swigt__p_wxCalculateLayoutEvent
,
19772 &_swigt__p_wxChildFocusEvent
,
19773 &_swigt__p_wxCloseEvent
,
19774 &_swigt__p_wxColour
,
19775 &_swigt__p_wxColourData
,
19776 &_swigt__p_wxColourDialog
,
19777 &_swigt__p_wxCommandEvent
,
19778 &_swigt__p_wxContextMenuEvent
,
19779 &_swigt__p_wxControl
,
19780 &_swigt__p_wxControlWithItems
,
19782 &_swigt__p_wxDateEvent
,
19783 &_swigt__p_wxDialog
,
19784 &_swigt__p_wxDirDialog
,
19785 &_swigt__p_wxDisplayChangedEvent
,
19786 &_swigt__p_wxDropFilesEvent
,
19787 &_swigt__p_wxDuplexMode
,
19788 &_swigt__p_wxEraseEvent
,
19789 &_swigt__p_wxEvent
,
19790 &_swigt__p_wxEvtHandler
,
19791 &_swigt__p_wxFSFile
,
19792 &_swigt__p_wxFileDialog
,
19793 &_swigt__p_wxFileSystem
,
19794 &_swigt__p_wxFindDialogEvent
,
19795 &_swigt__p_wxFindReplaceData
,
19796 &_swigt__p_wxFindReplaceDialog
,
19797 &_swigt__p_wxFlexGridSizer
,
19798 &_swigt__p_wxFocusEvent
,
19800 &_swigt__p_wxFontData
,
19801 &_swigt__p_wxFontDialog
,
19802 &_swigt__p_wxFrame
,
19803 &_swigt__p_wxGBSizerItem
,
19804 &_swigt__p_wxGIFHandler
,
19806 &_swigt__p_wxGridBagSizer
,
19807 &_swigt__p_wxGridCellAttr
,
19808 &_swigt__p_wxGridCellAttrProvider
,
19809 &_swigt__p_wxGridCellAutoWrapStringEditor
,
19810 &_swigt__p_wxGridCellAutoWrapStringRenderer
,
19811 &_swigt__p_wxGridCellBoolEditor
,
19812 &_swigt__p_wxGridCellBoolRenderer
,
19813 &_swigt__p_wxGridCellChoiceEditor
,
19814 &_swigt__p_wxGridCellCoords
,
19815 &_swigt__p_wxGridCellDateTimeRenderer
,
19816 &_swigt__p_wxGridCellEditor
,
19817 &_swigt__p_wxGridCellEnumEditor
,
19818 &_swigt__p_wxGridCellEnumRenderer
,
19819 &_swigt__p_wxGridCellFloatEditor
,
19820 &_swigt__p_wxGridCellFloatRenderer
,
19821 &_swigt__p_wxGridCellNumberEditor
,
19822 &_swigt__p_wxGridCellNumberRenderer
,
19823 &_swigt__p_wxGridCellRenderer
,
19824 &_swigt__p_wxGridCellStringRenderer
,
19825 &_swigt__p_wxGridCellTextEditor
,
19826 &_swigt__p_wxGridEditorCreatedEvent
,
19827 &_swigt__p_wxGridEvent
,
19828 &_swigt__p_wxGridRangeSelectEvent
,
19829 &_swigt__p_wxGridSizeEvent
,
19830 &_swigt__p_wxGridSizer
,
19831 &_swigt__p_wxGridStringTable
,
19832 &_swigt__p_wxGridTableBase
,
19833 &_swigt__p_wxGridTableMessage
,
19834 &_swigt__p_wxICOHandler
,
19835 &_swigt__p_wxIconizeEvent
,
19836 &_swigt__p_wxIdleEvent
,
19837 &_swigt__p_wxImage
,
19838 &_swigt__p_wxImageHandler
,
19839 &_swigt__p_wxIndividualLayoutConstraint
,
19840 &_swigt__p_wxInitDialogEvent
,
19841 &_swigt__p_wxJPEGHandler
,
19842 &_swigt__p_wxKeyEvent
,
19843 &_swigt__p_wxLayoutAlgorithm
,
19844 &_swigt__p_wxLayoutConstraints
,
19845 &_swigt__p_wxMDIChildFrame
,
19846 &_swigt__p_wxMDIClientWindow
,
19847 &_swigt__p_wxMDIParentFrame
,
19848 &_swigt__p_wxMaximizeEvent
,
19850 &_swigt__p_wxMenuBar
,
19851 &_swigt__p_wxMenuEvent
,
19852 &_swigt__p_wxMenuItem
,
19853 &_swigt__p_wxMessageDialog
,
19854 &_swigt__p_wxMiniFrame
,
19855 &_swigt__p_wxMouseCaptureChangedEvent
,
19856 &_swigt__p_wxMouseEvent
,
19857 &_swigt__p_wxMoveEvent
,
19858 &_swigt__p_wxMultiChoiceDialog
,
19859 &_swigt__p_wxNavigationKeyEvent
,
19860 &_swigt__p_wxNcPaintEvent
,
19861 &_swigt__p_wxNotifyEvent
,
19862 &_swigt__p_wxObject
,
19863 &_swigt__p_wxPCXHandler
,
19864 &_swigt__p_wxPNGHandler
,
19865 &_swigt__p_wxPNMHandler
,
19866 &_swigt__p_wxPageSetupDialog
,
19867 &_swigt__p_wxPageSetupDialogData
,
19868 &_swigt__p_wxPaintEvent
,
19869 &_swigt__p_wxPaletteChangedEvent
,
19870 &_swigt__p_wxPanel
,
19871 &_swigt__p_wxPaperSize
,
19872 &_swigt__p_wxPasswordEntryDialog
,
19873 &_swigt__p_wxPoint
,
19874 &_swigt__p_wxPopupWindow
,
19875 &_swigt__p_wxPreviewCanvas
,
19876 &_swigt__p_wxPreviewControlBar
,
19877 &_swigt__p_wxPreviewFrame
,
19878 &_swigt__p_wxPrintData
,
19879 &_swigt__p_wxPrintDialog
,
19880 &_swigt__p_wxPrintDialogData
,
19881 &_swigt__p_wxPrintPreview
,
19882 &_swigt__p_wxPrinter
,
19883 &_swigt__p_wxProgressDialog
,
19884 &_swigt__p_wxPyApp
,
19885 &_swigt__p_wxPyCommandEvent
,
19886 &_swigt__p_wxPyEvent
,
19887 &_swigt__p_wxPyGridCellAttrProvider
,
19888 &_swigt__p_wxPyGridCellEditor
,
19889 &_swigt__p_wxPyGridCellRenderer
,
19890 &_swigt__p_wxPyGridTableBase
,
19891 &_swigt__p_wxPyHtmlListBox
,
19892 &_swigt__p_wxPyImageHandler
,
19893 &_swigt__p_wxPyPanel
,
19894 &_swigt__p_wxPyPopupTransientWindow
,
19895 &_swigt__p_wxPyPreviewControlBar
,
19896 &_swigt__p_wxPyPreviewFrame
,
19897 &_swigt__p_wxPyPrintPreview
,
19898 &_swigt__p_wxPyPrintout
,
19899 &_swigt__p_wxPyScrolledWindow
,
19900 &_swigt__p_wxPySizer
,
19901 &_swigt__p_wxPyTaskBarIcon
,
19902 &_swigt__p_wxPyVListBox
,
19903 &_swigt__p_wxPyVScrolledWindow
,
19904 &_swigt__p_wxPyValidator
,
19905 &_swigt__p_wxPyWindow
,
19906 &_swigt__p_wxQueryLayoutInfoEvent
,
19907 &_swigt__p_wxQueryNewPaletteEvent
,
19909 &_swigt__p_wxSashEvent
,
19910 &_swigt__p_wxSashLayoutWindow
,
19911 &_swigt__p_wxSashWindow
,
19912 &_swigt__p_wxScrollEvent
,
19913 &_swigt__p_wxScrollWinEvent
,
19914 &_swigt__p_wxScrolledWindow
,
19915 &_swigt__p_wxSetCursorEvent
,
19916 &_swigt__p_wxShowEvent
,
19917 &_swigt__p_wxSingleChoiceDialog
,
19919 &_swigt__p_wxSizeEvent
,
19920 &_swigt__p_wxSizer
,
19921 &_swigt__p_wxSizerItem
,
19922 &_swigt__p_wxSplashScreen
,
19923 &_swigt__p_wxSplashScreenWindow
,
19924 &_swigt__p_wxSplitterEvent
,
19925 &_swigt__p_wxSplitterWindow
,
19926 &_swigt__p_wxStaticBoxSizer
,
19927 &_swigt__p_wxStatusBar
,
19928 &_swigt__p_wxStdDialogButtonSizer
,
19929 &_swigt__p_wxString
,
19930 &_swigt__p_wxSysColourChangedEvent
,
19931 &_swigt__p_wxTIFFHandler
,
19932 &_swigt__p_wxTaskBarIconEvent
,
19933 &_swigt__p_wxTextEntryDialog
,
19934 &_swigt__p_wxTipWindow
,
19935 &_swigt__p_wxTopLevelWindow
,
19936 &_swigt__p_wxUpdateUIEvent
,
19937 &_swigt__p_wxValidator
,
19938 &_swigt__p_wxVisualAttributes
,
19939 &_swigt__p_wxWindow
,
19940 &_swigt__p_wxWindowCreateEvent
,
19941 &_swigt__p_wxWindowDestroyEvent
,
19942 &_swigt__p_wxXPMHandler
,
19943 &_swigt__ptrdiff_t
,
19944 &_swigt__std__ptrdiff_t
,
19945 &_swigt__unsigned_int
,
19948 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
19949 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
19950 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
19951 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
19952 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
19953 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
19954 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
19955 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
19956 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
19957 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
19958 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19959 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
19960 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
19961 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
19962 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19963 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19964 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19965 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19966 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19967 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
19968 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}};
19969 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
19970 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}};
19971 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
19972 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
19973 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19974 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19975 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19976 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19977 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
19978 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19979 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19980 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
19981 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
19982 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
19983 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19984 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19985 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19986 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19987 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
19988 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19989 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19990 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19991 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19992 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19993 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19994 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
19995 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19996 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
19997 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19998 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19999 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
20000 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
20001 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}};
20002 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
20003 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
20004 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
20005 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
20006 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
20007 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
20008 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
20009 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
20010 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
20011 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
20012 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
20013 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
20014 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
20015 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
20016 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
20017 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
20018 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
20019 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
20020 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
20021 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
20022 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
20023 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
20024 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
20025 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
20026 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
20027 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
20028 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
20029 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
20030 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
20031 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
20032 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
20033 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
20034 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
20035 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
20036 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
20037 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
20038 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
20039 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
20040 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
20041 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
20042 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
20043 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
20044 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
20045 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
20046 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}};
20047 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
20048 static swig_cast_info _swigc__p_wxGrid
[] = { {&_swigt__p_wxGrid
, 0, 0, 0},{0, 0, 0, 0}};
20049 static swig_cast_info _swigc__p_wxGridCellAttr
[] = { {&_swigt__p_wxGridCellAttr
, 0, 0, 0},{0, 0, 0, 0}};
20050 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}};
20051 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor
[] = { {&_swigt__p_wxGridCellAutoWrapStringEditor
, 0, 0, 0},{0, 0, 0, 0}};
20052 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer
[] = { {&_swigt__p_wxGridCellAutoWrapStringRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20053 static swig_cast_info _swigc__p_wxGridCellBoolEditor
[] = { {&_swigt__p_wxGridCellBoolEditor
, 0, 0, 0},{0, 0, 0, 0}};
20054 static swig_cast_info _swigc__p_wxGridCellBoolRenderer
[] = { {&_swigt__p_wxGridCellBoolRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20055 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}};
20056 static swig_cast_info _swigc__p_wxGridCellCoords
[] = { {&_swigt__p_wxGridCellCoords
, 0, 0, 0},{0, 0, 0, 0}};
20057 static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer
[] = { {&_swigt__p_wxGridCellDateTimeRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20058 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}};
20059 static swig_cast_info _swigc__p_wxGridCellEnumEditor
[] = { {&_swigt__p_wxGridCellEnumEditor
, 0, 0, 0},{0, 0, 0, 0}};
20060 static swig_cast_info _swigc__p_wxGridCellEnumRenderer
[] = { {&_swigt__p_wxGridCellEnumRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20061 static swig_cast_info _swigc__p_wxGridCellFloatEditor
[] = { {&_swigt__p_wxGridCellFloatEditor
, 0, 0, 0},{0, 0, 0, 0}};
20062 static swig_cast_info _swigc__p_wxGridCellFloatRenderer
[] = { {&_swigt__p_wxGridCellFloatRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20063 static swig_cast_info _swigc__p_wxGridCellNumberEditor
[] = { {&_swigt__p_wxGridCellNumberEditor
, 0, 0, 0},{0, 0, 0, 0}};
20064 static swig_cast_info _swigc__p_wxGridCellNumberRenderer
[] = { {&_swigt__p_wxGridCellNumberRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20065 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}};
20066 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}};
20067 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}};
20068 static swig_cast_info _swigc__p_wxGridEditorCreatedEvent
[] = { {&_swigt__p_wxGridEditorCreatedEvent
, 0, 0, 0},{0, 0, 0, 0}};
20069 static swig_cast_info _swigc__p_wxGridEvent
[] = { {&_swigt__p_wxGridEvent
, 0, 0, 0},{0, 0, 0, 0}};
20070 static swig_cast_info _swigc__p_wxGridRangeSelectEvent
[] = { {&_swigt__p_wxGridRangeSelectEvent
, 0, 0, 0},{0, 0, 0, 0}};
20071 static swig_cast_info _swigc__p_wxGridSizeEvent
[] = { {&_swigt__p_wxGridSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
20072 static swig_cast_info _swigc__p_wxGridStringTable
[] = { {&_swigt__p_wxGridStringTable
, 0, 0, 0},{0, 0, 0, 0}};
20073 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}};
20074 static swig_cast_info _swigc__p_wxGridTableMessage
[] = { {&_swigt__p_wxGridTableMessage
, 0, 0, 0},{0, 0, 0, 0}};
20075 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
20076 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}};
20077 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
20078 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
20079 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
20080 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
20081 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
20082 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
20083 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
20084 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
20085 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
20086 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
20087 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
20088 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
20089 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
20090 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
20091 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
20092 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
20093 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
20094 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
20095 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
20096 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
20097 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
20098 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
20099 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
20100 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
20101 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
20102 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
20103 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
20104 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
20105 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
20106 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
20107 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
20108 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
20109 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
20110 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
20111 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
20112 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
20113 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
20114 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
20115 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
20116 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
20117 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
20118 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
20119 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
20120 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}};
20121 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}};
20122 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
20123 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
20124 static swig_cast_info _swigc__p_wxPyGridCellAttrProvider
[] = { {&_swigt__p_wxPyGridCellAttrProvider
, 0, 0, 0},{0, 0, 0, 0}};
20125 static swig_cast_info _swigc__p_wxPyGridCellEditor
[] = { {&_swigt__p_wxPyGridCellEditor
, 0, 0, 0},{0, 0, 0, 0}};
20126 static swig_cast_info _swigc__p_wxPyGridCellRenderer
[] = { {&_swigt__p_wxPyGridCellRenderer
, 0, 0, 0},{0, 0, 0, 0}};
20127 static swig_cast_info _swigc__p_wxPyGridTableBase
[] = { {&_swigt__p_wxPyGridTableBase
, 0, 0, 0},{0, 0, 0, 0}};
20128 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
20129 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}};
20130 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
20131 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
20132 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
20133 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}};
20134 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
20135 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
20136 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
20138 static swig_cast_info
*swig_cast_initial
[] = {
20140 _swigc__p_form_ops_t
,
20143 _swigc__p_unsigned_char
,
20144 _swigc__p_unsigned_int
,
20145 _swigc__p_unsigned_long
,
20146 _swigc__p_wxANIHandler
,
20147 _swigc__p_wxAcceleratorTable
,
20148 _swigc__p_wxActivateEvent
,
20149 _swigc__p_wxArrayString
,
20150 _swigc__p_wxBMPHandler
,
20151 _swigc__p_wxBoxSizer
,
20152 _swigc__p_wxCURHandler
,
20153 _swigc__p_wxCalculateLayoutEvent
,
20154 _swigc__p_wxChildFocusEvent
,
20155 _swigc__p_wxCloseEvent
,
20156 _swigc__p_wxColour
,
20157 _swigc__p_wxColourData
,
20158 _swigc__p_wxColourDialog
,
20159 _swigc__p_wxCommandEvent
,
20160 _swigc__p_wxContextMenuEvent
,
20161 _swigc__p_wxControl
,
20162 _swigc__p_wxControlWithItems
,
20164 _swigc__p_wxDateEvent
,
20165 _swigc__p_wxDialog
,
20166 _swigc__p_wxDirDialog
,
20167 _swigc__p_wxDisplayChangedEvent
,
20168 _swigc__p_wxDropFilesEvent
,
20169 _swigc__p_wxDuplexMode
,
20170 _swigc__p_wxEraseEvent
,
20172 _swigc__p_wxEvtHandler
,
20173 _swigc__p_wxFSFile
,
20174 _swigc__p_wxFileDialog
,
20175 _swigc__p_wxFileSystem
,
20176 _swigc__p_wxFindDialogEvent
,
20177 _swigc__p_wxFindReplaceData
,
20178 _swigc__p_wxFindReplaceDialog
,
20179 _swigc__p_wxFlexGridSizer
,
20180 _swigc__p_wxFocusEvent
,
20182 _swigc__p_wxFontData
,
20183 _swigc__p_wxFontDialog
,
20185 _swigc__p_wxGBSizerItem
,
20186 _swigc__p_wxGIFHandler
,
20188 _swigc__p_wxGridBagSizer
,
20189 _swigc__p_wxGridCellAttr
,
20190 _swigc__p_wxGridCellAttrProvider
,
20191 _swigc__p_wxGridCellAutoWrapStringEditor
,
20192 _swigc__p_wxGridCellAutoWrapStringRenderer
,
20193 _swigc__p_wxGridCellBoolEditor
,
20194 _swigc__p_wxGridCellBoolRenderer
,
20195 _swigc__p_wxGridCellChoiceEditor
,
20196 _swigc__p_wxGridCellCoords
,
20197 _swigc__p_wxGridCellDateTimeRenderer
,
20198 _swigc__p_wxGridCellEditor
,
20199 _swigc__p_wxGridCellEnumEditor
,
20200 _swigc__p_wxGridCellEnumRenderer
,
20201 _swigc__p_wxGridCellFloatEditor
,
20202 _swigc__p_wxGridCellFloatRenderer
,
20203 _swigc__p_wxGridCellNumberEditor
,
20204 _swigc__p_wxGridCellNumberRenderer
,
20205 _swigc__p_wxGridCellRenderer
,
20206 _swigc__p_wxGridCellStringRenderer
,
20207 _swigc__p_wxGridCellTextEditor
,
20208 _swigc__p_wxGridEditorCreatedEvent
,
20209 _swigc__p_wxGridEvent
,
20210 _swigc__p_wxGridRangeSelectEvent
,
20211 _swigc__p_wxGridSizeEvent
,
20212 _swigc__p_wxGridSizer
,
20213 _swigc__p_wxGridStringTable
,
20214 _swigc__p_wxGridTableBase
,
20215 _swigc__p_wxGridTableMessage
,
20216 _swigc__p_wxICOHandler
,
20217 _swigc__p_wxIconizeEvent
,
20218 _swigc__p_wxIdleEvent
,
20220 _swigc__p_wxImageHandler
,
20221 _swigc__p_wxIndividualLayoutConstraint
,
20222 _swigc__p_wxInitDialogEvent
,
20223 _swigc__p_wxJPEGHandler
,
20224 _swigc__p_wxKeyEvent
,
20225 _swigc__p_wxLayoutAlgorithm
,
20226 _swigc__p_wxLayoutConstraints
,
20227 _swigc__p_wxMDIChildFrame
,
20228 _swigc__p_wxMDIClientWindow
,
20229 _swigc__p_wxMDIParentFrame
,
20230 _swigc__p_wxMaximizeEvent
,
20232 _swigc__p_wxMenuBar
,
20233 _swigc__p_wxMenuEvent
,
20234 _swigc__p_wxMenuItem
,
20235 _swigc__p_wxMessageDialog
,
20236 _swigc__p_wxMiniFrame
,
20237 _swigc__p_wxMouseCaptureChangedEvent
,
20238 _swigc__p_wxMouseEvent
,
20239 _swigc__p_wxMoveEvent
,
20240 _swigc__p_wxMultiChoiceDialog
,
20241 _swigc__p_wxNavigationKeyEvent
,
20242 _swigc__p_wxNcPaintEvent
,
20243 _swigc__p_wxNotifyEvent
,
20244 _swigc__p_wxObject
,
20245 _swigc__p_wxPCXHandler
,
20246 _swigc__p_wxPNGHandler
,
20247 _swigc__p_wxPNMHandler
,
20248 _swigc__p_wxPageSetupDialog
,
20249 _swigc__p_wxPageSetupDialogData
,
20250 _swigc__p_wxPaintEvent
,
20251 _swigc__p_wxPaletteChangedEvent
,
20253 _swigc__p_wxPaperSize
,
20254 _swigc__p_wxPasswordEntryDialog
,
20256 _swigc__p_wxPopupWindow
,
20257 _swigc__p_wxPreviewCanvas
,
20258 _swigc__p_wxPreviewControlBar
,
20259 _swigc__p_wxPreviewFrame
,
20260 _swigc__p_wxPrintData
,
20261 _swigc__p_wxPrintDialog
,
20262 _swigc__p_wxPrintDialogData
,
20263 _swigc__p_wxPrintPreview
,
20264 _swigc__p_wxPrinter
,
20265 _swigc__p_wxProgressDialog
,
20267 _swigc__p_wxPyCommandEvent
,
20268 _swigc__p_wxPyEvent
,
20269 _swigc__p_wxPyGridCellAttrProvider
,
20270 _swigc__p_wxPyGridCellEditor
,
20271 _swigc__p_wxPyGridCellRenderer
,
20272 _swigc__p_wxPyGridTableBase
,
20273 _swigc__p_wxPyHtmlListBox
,
20274 _swigc__p_wxPyImageHandler
,
20275 _swigc__p_wxPyPanel
,
20276 _swigc__p_wxPyPopupTransientWindow
,
20277 _swigc__p_wxPyPreviewControlBar
,
20278 _swigc__p_wxPyPreviewFrame
,
20279 _swigc__p_wxPyPrintPreview
,
20280 _swigc__p_wxPyPrintout
,
20281 _swigc__p_wxPyScrolledWindow
,
20282 _swigc__p_wxPySizer
,
20283 _swigc__p_wxPyTaskBarIcon
,
20284 _swigc__p_wxPyVListBox
,
20285 _swigc__p_wxPyVScrolledWindow
,
20286 _swigc__p_wxPyValidator
,
20287 _swigc__p_wxPyWindow
,
20288 _swigc__p_wxQueryLayoutInfoEvent
,
20289 _swigc__p_wxQueryNewPaletteEvent
,
20291 _swigc__p_wxSashEvent
,
20292 _swigc__p_wxSashLayoutWindow
,
20293 _swigc__p_wxSashWindow
,
20294 _swigc__p_wxScrollEvent
,
20295 _swigc__p_wxScrollWinEvent
,
20296 _swigc__p_wxScrolledWindow
,
20297 _swigc__p_wxSetCursorEvent
,
20298 _swigc__p_wxShowEvent
,
20299 _swigc__p_wxSingleChoiceDialog
,
20301 _swigc__p_wxSizeEvent
,
20303 _swigc__p_wxSizerItem
,
20304 _swigc__p_wxSplashScreen
,
20305 _swigc__p_wxSplashScreenWindow
,
20306 _swigc__p_wxSplitterEvent
,
20307 _swigc__p_wxSplitterWindow
,
20308 _swigc__p_wxStaticBoxSizer
,
20309 _swigc__p_wxStatusBar
,
20310 _swigc__p_wxStdDialogButtonSizer
,
20311 _swigc__p_wxString
,
20312 _swigc__p_wxSysColourChangedEvent
,
20313 _swigc__p_wxTIFFHandler
,
20314 _swigc__p_wxTaskBarIconEvent
,
20315 _swigc__p_wxTextEntryDialog
,
20316 _swigc__p_wxTipWindow
,
20317 _swigc__p_wxTopLevelWindow
,
20318 _swigc__p_wxUpdateUIEvent
,
20319 _swigc__p_wxValidator
,
20320 _swigc__p_wxVisualAttributes
,
20321 _swigc__p_wxWindow
,
20322 _swigc__p_wxWindowCreateEvent
,
20323 _swigc__p_wxWindowDestroyEvent
,
20324 _swigc__p_wxXPMHandler
,
20326 _swigc__std__ptrdiff_t
,
20327 _swigc__unsigned_int
,
20331 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20333 static swig_const_info swig_const_table
[] = {
20334 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
20335 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
20336 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
20337 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
20338 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
20339 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
20340 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
20341 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
20342 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
20343 {0, 0, 0, 0.0, 0, 0}};
20348 /*************************************************************************
20349 * Type initialization:
20350 * This problem is tough by the requirement that no dynamic
20351 * memory is used. Also, since swig_type_info structures store pointers to
20352 * swig_cast_info structures and swig_cast_info structures store pointers back
20353 * to swig_type_info structures, we need some lookup code at initialization.
20354 * The idea is that swig generates all the structures that are needed.
20355 * The runtime then collects these partially filled structures.
20356 * The SWIG_InitializeModule function takes these initial arrays out of
20357 * swig_module, and does all the lookup, filling in the swig_module.types
20358 * array with the correct data and linking the correct swig_cast_info
20359 * structures together.
20361 * The generated swig_type_info structures are assigned staticly to an initial
20362 * array. We just loop though that array, and handle each type individually.
20363 * First we lookup if this type has been already loaded, and if so, use the
20364 * loaded structure instead of the generated one. Then we have to fill in the
20365 * cast linked list. The cast data is initially stored in something like a
20366 * two-dimensional array. Each row corresponds to a type (there are the same
20367 * number of rows as there are in the swig_type_initial array). Each entry in
20368 * a column is one of the swig_cast_info structures for that type.
20369 * The cast_initial array is actually an array of arrays, because each row has
20370 * a variable number of columns. So to actually build the cast linked list,
20371 * we find the array of casts associated with the type, and loop through it
20372 * adding the casts to the list. The one last trick we need to do is making
20373 * sure the type pointer in the swig_cast_info struct is correct.
20375 * First off, we lookup the cast->type name to see if it is already loaded.
20376 * There are three cases to handle:
20377 * 1) If the cast->type has already been loaded AND the type we are adding
20378 * casting info to has not been loaded (it is in this module), THEN we
20379 * replace the cast->type pointer with the type pointer that has already
20381 * 2) If BOTH types (the one we are adding casting info to, and the
20382 * cast->type) are loaded, THEN the cast info has already been loaded by
20383 * the previous module so we just ignore it.
20384 * 3) Finally, if cast->type has not already been loaded, then we add that
20385 * swig_cast_info to the linked list (because the cast->type) pointer will
20397 #define SWIGRUNTIME_DEBUG
20401 SWIG_InitializeModule(void *clientdata
) {
20403 swig_module_info
*module_head
;
20404 static int init_run
= 0;
20406 clientdata
= clientdata
;
20408 if (init_run
) return;
20411 /* Initialize the swig_module */
20412 swig_module
.type_initial
= swig_type_initial
;
20413 swig_module
.cast_initial
= swig_cast_initial
;
20415 /* Try and load any already created modules */
20416 module_head
= SWIG_GetModule(clientdata
);
20418 swig_module
.next
= module_head
->next
;
20419 module_head
->next
= &swig_module
;
20421 /* This is the first module loaded */
20422 swig_module
.next
= &swig_module
;
20423 SWIG_SetModule(clientdata
, &swig_module
);
20426 /* Now work on filling in swig_module.types */
20427 #ifdef SWIGRUNTIME_DEBUG
20428 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
20430 for (i
= 0; i
< swig_module
.size
; ++i
) {
20431 swig_type_info
*type
= 0;
20432 swig_type_info
*ret
;
20433 swig_cast_info
*cast
;
20435 #ifdef SWIGRUNTIME_DEBUG
20436 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20439 /* if there is another module already loaded */
20440 if (swig_module
.next
!= &swig_module
) {
20441 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
20444 /* Overwrite clientdata field */
20445 #ifdef SWIGRUNTIME_DEBUG
20446 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
20448 if (swig_module
.type_initial
[i
]->clientdata
) {
20449 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
20450 #ifdef SWIGRUNTIME_DEBUG
20451 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
20455 type
= swig_module
.type_initial
[i
];
20458 /* Insert casting types */
20459 cast
= swig_module
.cast_initial
[i
];
20460 while (cast
->type
) {
20461 /* Don't need to add information already in the list */
20463 #ifdef SWIGRUNTIME_DEBUG
20464 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
20466 if (swig_module
.next
!= &swig_module
) {
20467 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
20468 #ifdef SWIGRUNTIME_DEBUG
20469 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
20473 if (type
== swig_module
.type_initial
[i
]) {
20474 #ifdef SWIGRUNTIME_DEBUG
20475 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
20480 /* Check for casting already in the list */
20481 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
20482 #ifdef SWIGRUNTIME_DEBUG
20483 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
20485 if (!ocast
) ret
= 0;
20490 #ifdef SWIGRUNTIME_DEBUG
20491 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
20494 type
->cast
->prev
= cast
;
20495 cast
->next
= type
->cast
;
20501 /* Set entry in modules->types array equal to the type */
20502 swig_module
.types
[i
] = type
;
20504 swig_module
.types
[i
] = 0;
20506 #ifdef SWIGRUNTIME_DEBUG
20507 printf("**** SWIG_InitializeModule: Cast List ******\n");
20508 for (i
= 0; i
< swig_module
.size
; ++i
) {
20510 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
20511 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20512 while (cast
->type
) {
20513 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
20517 printf("---- Total casts: %d\n",j
);
20519 printf("**** SWIG_InitializeModule: Cast List ******\n");
20523 /* This function will propagate the clientdata field of type to
20524 * any new swig_type_info structures that have been added into the list
20525 * of equivalent types. It is like calling
20526 * SWIG_TypeClientData(type, clientdata) a second time.
20529 SWIG_PropagateClientData(void) {
20531 swig_cast_info
*equiv
;
20532 static int init_run
= 0;
20534 if (init_run
) return;
20537 for (i
= 0; i
< swig_module
.size
; i
++) {
20538 if (swig_module
.types
[i
]->clientdata
) {
20539 equiv
= swig_module
.types
[i
]->cast
;
20541 if (!equiv
->converter
) {
20542 if (equiv
->type
&& !equiv
->type
->clientdata
)
20543 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
20545 equiv
= equiv
->next
;
20565 /* Python-specific SWIG API */
20566 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20567 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20568 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20570 /* -----------------------------------------------------------------------------
20571 * global variable support code.
20572 * ----------------------------------------------------------------------------- */
20574 typedef struct swig_globalvar
{
20575 char *name
; /* Name of global variable */
20576 PyObject
*(*get_attr
)(void); /* Return the current value */
20577 int (*set_attr
)(PyObject
*); /* Set the value */
20578 struct swig_globalvar
*next
;
20581 typedef struct swig_varlinkobject
{
20583 swig_globalvar
*vars
;
20584 } swig_varlinkobject
;
20586 SWIGINTERN PyObject
*
20587 swig_varlink_repr(swig_varlinkobject
*v
) {
20589 return PyString_FromString("<Swig global variables>");
20593 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
20594 swig_globalvar
*var
;
20596 fprintf(fp
,"Swig global variables { ");
20597 for (var
= v
->vars
; var
; var
=var
->next
) {
20598 fprintf(fp
,"%s", var
->name
);
20599 if (var
->next
) fprintf(fp
,", ");
20601 fprintf(fp
," }\n");
20605 SWIGINTERN PyObject
*
20606 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
20607 swig_globalvar
*var
= v
->vars
;
20609 if (strcmp(var
->name
,n
) == 0) {
20610 return (*var
->get_attr
)();
20614 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20619 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
20620 swig_globalvar
*var
= v
->vars
;
20622 if (strcmp(var
->name
,n
) == 0) {
20623 return (*var
->set_attr
)(p
);
20627 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20631 SWIGINTERN PyTypeObject
*
20632 swig_varlink_type(void) {
20633 static char varlink__doc__
[] = "Swig var link object";
20634 static PyTypeObject varlink_type
20635 #if !defined(__cplusplus)
20637 static int type_init
= 0;
20642 PyObject_HEAD_INIT(&PyType_Type
)
20643 0, /* Number of items in variable part (ob_size) */
20644 (char *)"swigvarlink", /* Type name (tp_name) */
20645 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
20646 0, /* Itemsize (tp_itemsize) */
20647 0, /* Deallocator (tp_dealloc) */
20648 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
20649 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
20650 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
20651 0, /* tp_compare */
20652 (reprfunc
) swig_varlink_repr
, /* tp_repr */
20653 0, /* tp_as_number */
20654 0, /* tp_as_sequence */
20655 0, /* tp_as_mapping */
20659 0, /* tp_getattro */
20660 0, /* tp_setattro */
20661 0, /* tp_as_buffer */
20663 varlink__doc__
, /* tp_doc */
20664 #if PY_VERSION_HEX >= 0x02000000
20665 0, /* tp_traverse */
20668 #if PY_VERSION_HEX >= 0x02010000
20669 0, /* tp_richcompare */
20670 0, /* tp_weaklistoffset */
20672 #if PY_VERSION_HEX >= 0x02020000
20673 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20675 #if PY_VERSION_HEX >= 0x02030000
20678 #ifdef COUNT_ALLOCS
20679 0,0,0,0 /* tp_alloc -> tp_next */
20682 #if !defined(__cplusplus)
20683 varlink_type
= tmp
;
20687 return &varlink_type
;
20690 /* Create a variable linking object for use later */
20691 SWIGINTERN PyObject
*
20692 SWIG_Python_newvarlink(void) {
20693 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
20697 return ((PyObject
*) result
);
20701 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
20702 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
20703 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
20705 size_t size
= strlen(name
)+1;
20706 gv
->name
= (char *)malloc(size
);
20708 strncpy(gv
->name
,name
,size
);
20709 gv
->get_attr
= get_attr
;
20710 gv
->set_attr
= set_attr
;
20711 gv
->next
= v
->vars
;
20717 /* -----------------------------------------------------------------------------
20718 * constants/methods manipulation
20719 * ----------------------------------------------------------------------------- */
20721 /* Install Constants */
20723 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
20726 for (i
= 0; constants
[i
].type
; ++i
) {
20727 switch(constants
[i
].type
) {
20729 obj
= PyInt_FromLong(constants
[i
].lvalue
);
20731 case SWIG_PY_FLOAT
:
20732 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
20734 case SWIG_PY_STRING
:
20735 if (constants
[i
].pvalue
) {
20736 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
20738 Py_INCREF(Py_None
);
20742 case SWIG_PY_POINTER
:
20743 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
20745 case SWIG_PY_BINARY
:
20746 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
20753 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
20759 /* -----------------------------------------------------------------------------*/
20760 /* Fix SwigMethods to carry the callback ptrs when needed */
20761 /* -----------------------------------------------------------------------------*/
20764 SWIG_Python_FixMethods(PyMethodDef
*methods
,
20765 swig_const_info
*const_table
,
20766 swig_type_info
**types
,
20767 swig_type_info
**types_initial
) {
20769 for (i
= 0; methods
[i
].ml_name
; ++i
) {
20770 char *c
= methods
[i
].ml_doc
;
20771 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
20773 swig_const_info
*ci
= 0;
20774 char *name
= c
+ 10;
20775 for (j
= 0; const_table
[j
].type
; ++j
) {
20776 if (strncmp(const_table
[j
].name
, name
,
20777 strlen(const_table
[j
].name
)) == 0) {
20778 ci
= &(const_table
[j
]);
20783 size_t shift
= (ci
->ptype
) - types
;
20784 swig_type_info
*ty
= types_initial
[shift
];
20785 size_t ldoc
= (c
- methods
[i
].ml_doc
);
20786 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
20787 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
20790 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
20792 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
20794 strncpy(buff
, "swig_ptr: ", 10);
20796 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
20797 methods
[i
].ml_doc
= ndoc
;
20805 /* -----------------------------------------------------------------------------*
20806 * Initialize type list
20807 * -----------------------------------------------------------------------------*/
20813 /* -----------------------------------------------------------------------------*
20814 * Partial Init method
20815 * -----------------------------------------------------------------------------*/
20820 SWIGEXPORT
void SWIG_init(void) {
20821 static PyObject
*SWIG_globals
= 0;
20823 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
20825 /* Fix SwigMethods to carry the callback ptrs when needed */
20826 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
20828 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20829 d
= PyModule_GetDict(m
);
20831 SWIG_InitializeModule(0);
20832 SWIG_InstallConstants(d
,swig_const_table
);
20834 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
20835 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
20836 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
20837 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
20838 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
20839 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
20840 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
20841 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
20842 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
20843 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20844 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
20845 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
20847 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_NUMBER_ROWS
)));
20850 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_NUMBER_COLS
)));
20853 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_ROW_HEIGHT
)));
20856 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_COL_WIDTH
)));
20859 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_COL_LABEL_HEIGHT
)));
20862 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_ROW_LABEL_WIDTH
)));
20865 PyDict_SetItemString(d
,"GRID_LABEL_EDGE_ZONE", SWIG_From_int(static_cast<int >(wxGRID_LABEL_EDGE_ZONE
)));
20868 PyDict_SetItemString(d
,"GRID_MIN_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxGRID_MIN_ROW_HEIGHT
)));
20871 PyDict_SetItemString(d
,"GRID_MIN_COL_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_MIN_COL_WIDTH
)));
20874 PyDict_SetItemString(d
,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_SCROLLBAR_WIDTH
)));
20877 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_From_int(static_cast<int >(wxGridCellAttr::Any
)));
20880 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_From_int(static_cast<int >(wxGridCellAttr::Default
)));
20883 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_From_int(static_cast<int >(wxGridCellAttr::Cell
)));
20886 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_From_int(static_cast<int >(wxGridCellAttr::Row
)));
20889 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_From_int(static_cast<int >(wxGridCellAttr::Col
)));
20892 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_From_int(static_cast<int >(wxGridCellAttr::Merged
)));
20895 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int(static_cast<int >(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)));
20898 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int(static_cast<int >(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)));
20901 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)));
20904 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)));
20907 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_ROWS_DELETED
)));
20910 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED
)));
20913 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED
)));
20916 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_COLS_DELETED
)));
20919 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_From_int(static_cast<int >(wxGrid::wxGridSelectCells
)));
20922 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_From_int(static_cast<int >(wxGrid::wxGridSelectRows
)));
20925 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_From_int(static_cast<int >(wxGrid::wxGridSelectColumns
)));
20927 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
20928 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
20929 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
20930 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
20931 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
20932 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
20933 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
20934 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
20935 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
20936 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
20937 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
20938 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
20939 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
20940 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
20941 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
20942 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
20943 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));