]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/grid_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / grid_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
32fe5131 3 * Version 1.3.27
d14a1e28
RD
4 *
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 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
d14a1e28
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 26};
d14a1e28
RD
27#endif
28
32fe5131
RD
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
d14a1e28 35
32fe5131
RD
36/* template workaround for compilers that cannot correctly implement the C++ standard */
37#ifndef SWIGTEMPLATEDISAMBIGUATOR
38# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
36ed4f51 40# else
32fe5131 41# define SWIGTEMPLATEDISAMBIGUATOR
36ed4f51
RD
42# endif
43#endif
d14a1e28 44
32fe5131
RD
45/* inline attribute */
46#ifndef SWIGINLINE
47# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48# define SWIGINLINE inline
49# else
50# define SWIGINLINE
51# endif
52#endif
53
54/* attribute recognised by some compilers to avoid 'unused' warnings */
55#ifndef SWIGUNUSED
56# if defined(__GNUC__) || defined(__ICC)
57# define SWIGUNUSED __attribute__ ((unused))
58# else
59# define SWIGUNUSED
60# endif
61#endif
62
63/* internal SWIG method */
64#ifndef SWIGINTERN
65# define SWIGINTERN static SWIGUNUSED
66#endif
67
68/* internal inline SWIG method */
69#ifndef SWIGINTERNINLINE
70# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71#endif
72
73/* exporting methods for Windows DLLs */
74#ifndef SWIGEXPORT
75# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76# if defined(STATIC_LINKED)
77# define SWIGEXPORT
78# else
79# define SWIGEXPORT __declspec(dllexport)
80# endif
81# else
82# define SWIGEXPORT
83# endif
84#endif
85
86/* calling conventions for Windows */
87#ifndef SWIGSTDCALL
88# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89# define SWIGSTDCALL __stdcall
90# else
91# define SWIGSTDCALL
92# endif
93#endif
94
95
9fd4be55 96
36ed4f51 97#include <Python.h>
d14a1e28
RD
98
99/***********************************************************************
36ed4f51 100 * swigrun.swg
d14a1e28 101 *
36ed4f51
RD
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
d14a1e28
RD
104 *
105 ************************************************************************/
106
36ed4f51
RD
107/* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
32fe5131 109#define SWIG_RUNTIME_VERSION "2"
d14a1e28 110
36ed4f51
RD
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
32fe5131
RD
113# define SWIG_QUOTE_STRING(x) #x
114# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 116#else
32fe5131 117# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
118#endif
119
120/*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127*/
32fe5131 128
36ed4f51 129#ifndef SWIGRUNTIME
32fe5131 130# define SWIGRUNTIME SWIGINTERN
36ed4f51 131#endif
32fe5131 132
36ed4f51 133#ifndef SWIGRUNTIMEINLINE
32fe5131 134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
135#endif
136
32fe5131
RD
137#include <string.h>
138
d14a1e28
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143typedef void *(*swig_converter_func)(void *);
144typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
32fe5131 146/* Structure to store inforomation on one type */
d14a1e28 147typedef struct swig_type_info {
32fe5131
RD
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
d14a1e28
RD
153} swig_type_info;
154
32fe5131
RD
155/* Structure to store a type and conversion function used for casting */
156typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161} swig_cast_info;
162
163/* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173} swig_module_info;
174
175
36ed4f51
RD
176/*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182*/
183SWIGRUNTIME int
184SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
32fe5131 189 if (*f1 != *f2) return (int)(*f1 - *f2);
36ed4f51
RD
190 }
191 return (l1 - f1) - (l2 - f2);
192}
193
194/*
195 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 196 Return 0 if not equal, 1 if equal
36ed4f51
RD
197*/
198SWIGRUNTIME int
199SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
32fe5131 207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
32fe5131
RD
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 216*/
32fe5131
RD
217SWIGRUNTIME int
218SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
36ed4f51 225 }
32fe5131
RD
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
36ed4f51 228 }
32fe5131 229 return equiv;
36ed4f51
RD
230}
231
32fe5131
RD
232
233/* think of this as a c++ template<> or a scheme macro */
234#define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
36ed4f51
RD
255/*
256 Check the typename
257*/
32fe5131 258SWIGRUNTIME swig_cast_info *
36ed4f51 259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261}
262
263/* Same as previous function, except strcmp is replaced with a pointer comparison */
264SWIGRUNTIME swig_cast_info *
265SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51 267}
d14a1e28 268
36ed4f51
RD
269/*
270 Cast a pointer up an inheritance hierarchy
271*/
272SWIGRUNTIMEINLINE void *
32fe5131 273SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
RD
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275}
276
277/*
278 Dynamic pointer casting. Down an inheritance hierarchy
279*/
280SWIGRUNTIME swig_type_info *
281SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289}
290
291/*
292 Return the name associated with this type
293*/
294SWIGRUNTIMEINLINE const char *
295SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297}
298
299/*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302*/
303SWIGRUNTIME const char *
304SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318}
319
36ed4f51
RD
320/*
321 Set the clientdata field for a type
322*/
323SWIGRUNTIME void
32fe5131
RD
324SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
36ed4f51
RD
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
32fe5131
RD
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
36ed4f51 334 }
32fe5131
RD
335 }
336 cast = cast->next;
337 }
338}
339
340/*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347*/
348SWIGRUNTIME swig_type_info *
349SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
36ed4f51 378 }
32fe5131
RD
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382}
383
384/*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392*/
393SWIGRUNTIME swig_type_info *
394SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
36ed4f51 413 }
32fe5131
RD
414
415 /* neither found a match */
416 return 0;
36ed4f51
RD
417}
418
32fe5131 419
36ed4f51
RD
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
36ed4f51 428 for (; u != eu; ++u) {
32fe5131 429 register unsigned char uu = *u;
36ed4f51
RD
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434}
435
436/*
437 Unpack binary data from a string
438*/
439SWIGRUNTIME const char *
440SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
32fe5131 442 register const unsigned char *eu = u + sz;
36ed4f51 443 for (; u != eu; ++u) {
32fe5131 444 register char d = *(c++);
36ed4f51
RD
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462}
463
36ed4f51
RD
464/*
465 Pack 'void *' into a string buffer.
466*/
467SWIGRUNTIME char *
468SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476}
477
478SWIGRUNTIME const char *
479SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489}
490
491SWIGRUNTIME char *
492SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504}
505
506SWIGRUNTIME const char *
507SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517}
d14a1e28
RD
518
519#ifdef __cplusplus
520}
521#endif
522
36ed4f51
RD
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
526
d14a1e28
RD
527#ifdef __cplusplus
528extern "C" {
529#endif
530
36ed4f51
RD
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
534
535#ifndef SWIGINTERN
32fe5131 536# define SWIGINTERN static SWIGUNUSED
36ed4f51
RD
537#endif
538
32fe5131
RD
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
36ed4f51
RD
541#endif
542
36ed4f51
RD
543/*
544 Exception handling in wrappers
545*/
546#define SWIG_fail goto fail
547#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553/*
554 Contract support
555*/
556#define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559/* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
562
563/* Constant Types */
d14a1e28
RD
564#define SWIG_PY_INT 1
565#define SWIG_PY_FLOAT 2
566#define SWIG_PY_STRING 3
567#define SWIG_PY_POINTER 4
568#define SWIG_PY_BINARY 5
569
d14a1e28
RD
570/* Constant information structure */
571typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578} swig_const_info;
579
36ed4f51
RD
580
581/* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584#define SWIG_OLDOBJ 1
585#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586#define SWIG_PYSTR SWIG_NEWOBJ + 1
587
588#ifdef __cplusplus
589}
590#endif
591
592
593/***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
602
d14a1e28 603/* Common SWIG API */
36ed4f51
RD
604#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 607
d14a1e28 608
36ed4f51
RD
609/* Python-specific SWIG API */
610#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d14a1e28 612
32fe5131
RD
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d14a1e28 616
36ed4f51
RD
617/* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620/*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624*/
625#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626# define SWIG_COBJECT_TYPES
627#endif
d14a1e28 628
36ed4f51
RD
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
d14a1e28 632
d14a1e28 633
32fe5131
RD
634/* Add PyOS_snprintf for old Pythons */
635#if PY_VERSION_HEX < 0x02020000
636#define PyOS_snprintf snprintf
637#endif
638
d14a1e28 639#ifdef __cplusplus
36ed4f51
RD
640extern "C" {
641#endif
642
643/* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
36ed4f51
RD
646#ifndef SWIG_BUFFER_SIZE
647#define SWIG_BUFFER_SIZE 1024
648#endif
649
32fe5131
RD
650/* A crude PyString_FromFormat implementation for old Pythons */
651#if PY_VERSION_HEX < 0x02020000
652static PyObject *
653PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661}
662#endif
663
664#if PY_VERSION_HEX < 0x01060000
665#define PyObject_Del(op) PyMem_DEL((op))
666#endif
667
36ed4f51
RD
668#if defined(SWIG_COBJECT_TYPES)
669#if !defined(SWIG_COBJECT_PYTHON)
670/* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
673
674typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678} PySwigObject;
679
680/* Declarations for objects of type PySwigObject */
681
682SWIGRUNTIME int
683PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
684{
685 char result[SWIG_BUFFER_SIZE];
32fe5131 686 flags = flags;
36ed4f51
RD
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
690 } else {
691 return 1;
692 }
d14a1e28 693}
36ed4f51
RD
694
695SWIGRUNTIME PyObject *
696PySwigObject_repr(PySwigObject *v)
697{
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
701}
702
703SWIGRUNTIME PyObject *
704PySwigObject_str(PySwigObject *v)
705{
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
709}
710
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
713{
32fe5131
RD
714 return PyLong_FromVoidPtr(v->ptr);
715}
716
717SWIGRUNTIME PyObject *
718PySwigObject_format(const char* fmt, PySwigObject *v)
719{
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
36ed4f51
RD
731}
732
733SWIGRUNTIME PyObject *
734PySwigObject_oct(PySwigObject *v)
735{
32fe5131 736 return PySwigObject_format("%o",v);
36ed4f51
RD
737}
738
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
741{
32fe5131 742 return PySwigObject_format("%x",v);
36ed4f51
RD
743}
744
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
747{
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
32fe5131 750 return (c > 0) ? 1 : -1;
36ed4f51
RD
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
32fe5131 754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
36ed4f51
RD
755 }
756}
757
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
760{
32fe5131 761 PyObject_Del(self);
36ed4f51
RD
762}
763
764SWIGRUNTIME PyTypeObject*
32fe5131
RD
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
36ed4f51
RD
767 "Swig object carries a C/C++ instance pointer";
768
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 793#if PY_VERSION_HEX >= 0x02020000
36ed4f51 794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
795#elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
d14a1e28 797#endif
36ed4f51
RD
798 };
799
32fe5131
RD
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
36ed4f51 804 if (!type_init) {
32fe5131
RD
805 PyTypeObject tmp
806#endif
807 = {
36ed4f51
RD
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
32fe5131 810 (char *)"PySwigObject", /*tp_name*/
36ed4f51
RD
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
32fe5131
RD
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
36ed4f51
RD
829#if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832#endif
833#if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836#endif
837#if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839#endif
840#if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842#endif
843#ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845#endif
846 };
32fe5131
RD
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
36ed4f51
RD
849 type_init = 1;
850 }
32fe5131
RD
851#endif
852 return &pyswigobject_type;
36ed4f51 853}
c370783e 854
36ed4f51
RD
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857{
32fe5131
RD
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
36ed4f51
RD
863 return (PyObject *)self;
864}
d14a1e28 865
36ed4f51
RD
866SWIGRUNTIMEINLINE void *
867PySwigObject_AsVoidPtr(PyObject *self)
868{
869 return ((PySwigObject *)self)->ptr;
870}
d14a1e28 871
36ed4f51
RD
872SWIGRUNTIMEINLINE const char *
873PySwigObject_GetDesc(PyObject *self)
874{
875 return ((PySwigObject *)self)->desc;
876}
d14a1e28 877
36ed4f51
RD
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
32fe5131 880 return ((op)->ob_type == PySwigObject_type())
36ed4f51
RD
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882}
d14a1e28 883
36ed4f51
RD
884/* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
d14a1e28 887
36ed4f51
RD
888typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893} PySwigPacked;
d14a1e28 894
36ed4f51
RD
895SWIGRUNTIME int
896PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897{
898 char result[SWIG_BUFFER_SIZE];
32fe5131 899 flags = flags;
36ed4f51
RD
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908}
909
910SWIGRUNTIME PyObject *
911PySwigPacked_repr(PySwigPacked *v)
912{
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
919}
c370783e 920
36ed4f51
RD
921SWIGRUNTIME PyObject *
922PySwigPacked_str(PySwigPacked *v)
923{
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
32fe5131 928 return PyString_FromString(v->desc);
36ed4f51
RD
929 }
930}
931
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
934{
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
32fe5131 937 return (c > 0) ? 1 : -1;
36ed4f51
RD
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
32fe5131 941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
36ed4f51
RD
942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
943 }
944}
945
946SWIGRUNTIME void
947PySwigPacked_dealloc(PySwigPacked *self)
948{
949 free(self->pack);
32fe5131 950 PyObject_Del(self);
36ed4f51
RD
951}
952
953SWIGRUNTIME PyTypeObject*
32fe5131
RD
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
36ed4f51 956 "Swig object carries a C/C++ instance pointer";
32fe5131
RD
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
36ed4f51 961 if (!type_init) {
32fe5131
RD
962 PyTypeObject tmp
963#endif
964 = {
36ed4f51
RD
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
32fe5131 967 (char *)"PySwigPacked", /*tp_name*/
36ed4f51
RD
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
32fe5131
RD
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
36ed4f51
RD
986#if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989#endif
990#if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993#endif
994#if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996#endif
997#if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999#endif
1000#ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002#endif
1003 };
32fe5131
RD
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
36ed4f51
RD
1006 type_init = 1;
1007 }
32fe5131
RD
1008#endif
1009 return &pyswigpacked_type;
36ed4f51
RD
1010}
1011
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
32fe5131 1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
36ed4f51
RD
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
32fe5131
RD
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
36ed4f51
RD
1028 }
1029}
1030
1031SWIGRUNTIMEINLINE const char *
1032PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033{
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038}
1039
1040SWIGRUNTIMEINLINE const char *
1041PySwigPacked_GetDesc(PyObject *self)
1042{
1043 return ((PySwigPacked *)self)->desc;
1044}
1045
1046SWIGRUNTIMEINLINE int
1047PySwigPacked_Check(PyObject *op) {
32fe5131 1048 return ((op)->ob_type == PySwigPacked_type())
36ed4f51
RD
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050}
1051
1052#else
1053/* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1056
1057#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058#define PySwigObject_Check(obj) PyCObject_Check(obj)
1059#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1061
1062#endif
1063
1064#endif
1065
1066/* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070SWIGRUNTIME void
1071SWIG_Python_TypeError(const char *type, PyObject *obj)
1072{
1073 if (type) {
1074#if defined(SWIG_COBJECT_TYPES)
32fe5131 1075 if (obj && PySwigObject_Check(obj)) {
36ed4f51
RD
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083#endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
32fe5131 1096 Py_XDECREF(str);
36ed4f51
RD
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1103 }
1104}
1105
1106SWIGRUNTIMEINLINE void
1107SWIG_Python_NullRef(const char *type)
1108{
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
1114}
1115
1116SWIGRUNTIME int
1117SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118{
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139}
1140
1141SWIGRUNTIME int
1142SWIG_Python_ArgFail(int argnum)
1143{
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
32fe5131 1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
36ed4f51
RD
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152}
1153
1154
1155/* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159/* Convert a pointer value */
1160SWIGRUNTIME int
1161SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
32fe5131 1162 swig_cast_info *tc;
36ed4f51
RD
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
1174
1175#ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192#else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
32fe5131 1205 c = PyString_AsString(obj);
36ed4f51
RD
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
1210#endif
1211
1212type_check:
36ed4f51
RD
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
36ed4f51
RD
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
1224
1225type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
32fe5131 1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
36ed4f51
RD
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
1245 }
1246 }
1247 return -1;
1248}
1249
1250/* Convert a pointer value, signal an exception on a type mismatch */
1251SWIGRUNTIME void *
1252SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
1259 }
1260 }
1261 return result;
1262}
1263
1264/* Convert a packed value value */
1265SWIGRUNTIME int
1266SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
32fe5131 1267 swig_cast_info *tc;
36ed4f51
RD
1268 const char *c = 0;
1269
1270#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272#else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
32fe5131 1274 c = PyString_AsString(obj);
36ed4f51
RD
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277#endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
1284
1285type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295}
1296
1297/* Create a new array object */
1298SWIGRUNTIME PyObject *
1299SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
32fe5131
RD
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
36ed4f51
RD
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311#ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313#else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319#endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335}
1336
1337SWIGRUNTIME PyObject *
1338SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346#else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352#endif
1353 return robj;
1354}
1355
1356/* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360#ifdef SWIG_LINK_RUNTIME
1361void *SWIG_ReturnGlobalTypeList(void *);
1362#endif
1363
32fe5131
RD
1364SWIGRUNTIME swig_module_info *
1365SWIG_Python_GetModule(void) {
36ed4f51
RD
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369#ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1371#else
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
1377 }
36ed4f51 1378#endif
32fe5131
RD
1379 }
1380 return (swig_module_info *) type_pointer;
36ed4f51
RD
1381}
1382
32fe5131
RD
1383#if PY_MAJOR_VERSION < 2
1384/* PyModule_AddObject function was introduced in Python 2.0. The following function
1385is copied out of Python/modsupport.c in python version 2.3.4 */
1386SWIGINTERN int
1387PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388{
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
36ed4f51 1412}
32fe5131 1413#endif
36ed4f51 1414
32fe5131
RD
1415SWIGRUNTIME void
1416SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425}
8edf1c75 1426
8edf1c75 1427#ifdef __cplusplus
36ed4f51
RD
1428}
1429#endif
8edf1c75 1430
2f4c0a16 1431
36ed4f51 1432/* -------- TYPES TABLE (BEGIN) -------- */
2f4c0a16 1433
32fe5131
RD
1434#define SWIGTYPE_p_char swig_types[0]
1435#define SWIGTYPE_p_form_ops_t swig_types[1]
1436#define SWIGTYPE_p_int swig_types[2]
1437#define SWIGTYPE_p_long swig_types[3]
1438#define SWIGTYPE_p_unsigned_char swig_types[4]
1439#define SWIGTYPE_p_unsigned_int swig_types[5]
1440#define SWIGTYPE_p_unsigned_long swig_types[6]
1441#define SWIGTYPE_p_wxANIHandler swig_types[7]
1442#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1443#define SWIGTYPE_p_wxActivateEvent swig_types[9]
1444#define SWIGTYPE_p_wxArrayString swig_types[10]
1445#define SWIGTYPE_p_wxBMPHandler swig_types[11]
1446#define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447#define SWIGTYPE_p_wxCURHandler swig_types[13]
1448#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1449#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1450#define SWIGTYPE_p_wxCloseEvent swig_types[16]
1451#define SWIGTYPE_p_wxColour swig_types[17]
1452#define SWIGTYPE_p_wxColourData swig_types[18]
1453#define SWIGTYPE_p_wxColourDialog swig_types[19]
1454#define SWIGTYPE_p_wxCommandEvent swig_types[20]
1455#define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1456#define SWIGTYPE_p_wxControl swig_types[22]
1457#define SWIGTYPE_p_wxControlWithItems swig_types[23]
1458#define SWIGTYPE_p_wxDC swig_types[24]
1459#define SWIGTYPE_p_wxDateEvent swig_types[25]
1460#define SWIGTYPE_p_wxDialog swig_types[26]
1461#define SWIGTYPE_p_wxDirDialog swig_types[27]
1462#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1463#define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1464#define SWIGTYPE_p_wxDuplexMode swig_types[30]
1465#define SWIGTYPE_p_wxEraseEvent swig_types[31]
1466#define SWIGTYPE_p_wxEvent swig_types[32]
1467#define SWIGTYPE_p_wxEvtHandler swig_types[33]
1468#define SWIGTYPE_p_wxFSFile swig_types[34]
1469#define SWIGTYPE_p_wxFileDialog swig_types[35]
1470#define SWIGTYPE_p_wxFileSystem swig_types[36]
1471#define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1472#define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1473#define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1474#define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1475#define SWIGTYPE_p_wxFocusEvent swig_types[41]
1476#define SWIGTYPE_p_wxFont swig_types[42]
1477#define SWIGTYPE_p_wxFontData swig_types[43]
1478#define SWIGTYPE_p_wxFontDialog swig_types[44]
1479#define SWIGTYPE_p_wxFrame swig_types[45]
1480#define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1481#define SWIGTYPE_p_wxGIFHandler swig_types[47]
1482#define SWIGTYPE_p_wxGrid swig_types[48]
1483#define SWIGTYPE_p_wxGridBagSizer swig_types[49]
1484#define SWIGTYPE_p_wxGridCellAttr swig_types[50]
1485#define SWIGTYPE_p_wxGridCellAttrProvider swig_types[51]
1486#define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[52]
1487#define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[53]
1488#define SWIGTYPE_p_wxGridCellBoolEditor swig_types[54]
1489#define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[55]
1490#define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[56]
1491#define SWIGTYPE_p_wxGridCellCoords swig_types[57]
1492#define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[58]
1493#define SWIGTYPE_p_wxGridCellEditor swig_types[59]
1494#define SWIGTYPE_p_wxGridCellEnumEditor swig_types[60]
1495#define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[61]
1496#define SWIGTYPE_p_wxGridCellFloatEditor swig_types[62]
1497#define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[63]
1498#define SWIGTYPE_p_wxGridCellNumberEditor swig_types[64]
1499#define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[65]
1500#define SWIGTYPE_p_wxGridCellRenderer swig_types[66]
1501#define SWIGTYPE_p_wxGridCellStringRenderer swig_types[67]
1502#define SWIGTYPE_p_wxGridCellTextEditor swig_types[68]
1503#define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[69]
1504#define SWIGTYPE_p_wxGridEvent swig_types[70]
1505#define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[71]
1506#define SWIGTYPE_p_wxGridSizeEvent swig_types[72]
1507#define SWIGTYPE_p_wxGridSizer swig_types[73]
1508#define SWIGTYPE_p_wxGridStringTable swig_types[74]
1509#define SWIGTYPE_p_wxGridTableBase swig_types[75]
1510#define SWIGTYPE_p_wxGridTableMessage swig_types[76]
1511#define SWIGTYPE_p_wxICOHandler swig_types[77]
1512#define SWIGTYPE_p_wxIconizeEvent swig_types[78]
1513#define SWIGTYPE_p_wxIdleEvent swig_types[79]
1514#define SWIGTYPE_p_wxImage swig_types[80]
1515#define SWIGTYPE_p_wxImageHandler swig_types[81]
1516#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
1517#define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
1518#define SWIGTYPE_p_wxJPEGHandler swig_types[84]
1519#define SWIGTYPE_p_wxKeyEvent swig_types[85]
1520#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[86]
1521#define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
1522#define SWIGTYPE_p_wxMDIChildFrame swig_types[88]
1523#define SWIGTYPE_p_wxMDIClientWindow swig_types[89]
1524#define SWIGTYPE_p_wxMDIParentFrame swig_types[90]
1525#define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
1526#define SWIGTYPE_p_wxMenu swig_types[92]
1527#define SWIGTYPE_p_wxMenuBar swig_types[93]
1528#define SWIGTYPE_p_wxMenuEvent swig_types[94]
1529#define SWIGTYPE_p_wxMenuItem swig_types[95]
1530#define SWIGTYPE_p_wxMessageDialog swig_types[96]
1531#define SWIGTYPE_p_wxMiniFrame swig_types[97]
1532#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[98]
1533#define SWIGTYPE_p_wxMouseEvent swig_types[99]
1534#define SWIGTYPE_p_wxMoveEvent swig_types[100]
1535#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[101]
1536#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
1537#define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
1538#define SWIGTYPE_p_wxNotifyEvent swig_types[104]
1539#define SWIGTYPE_p_wxObject swig_types[105]
1540#define SWIGTYPE_p_wxPCXHandler swig_types[106]
1541#define SWIGTYPE_p_wxPNGHandler swig_types[107]
1542#define SWIGTYPE_p_wxPNMHandler swig_types[108]
1543#define SWIGTYPE_p_wxPageSetupDialog swig_types[109]
1544#define SWIGTYPE_p_wxPageSetupDialogData swig_types[110]
1545#define SWIGTYPE_p_wxPaintEvent swig_types[111]
1546#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
1547#define SWIGTYPE_p_wxPanel swig_types[113]
1548#define SWIGTYPE_p_wxPaperSize swig_types[114]
1549#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[115]
1550#define SWIGTYPE_p_wxPoint swig_types[116]
1551#define SWIGTYPE_p_wxPopupWindow swig_types[117]
1552#define SWIGTYPE_p_wxPreviewCanvas swig_types[118]
1553#define SWIGTYPE_p_wxPreviewControlBar swig_types[119]
1554#define SWIGTYPE_p_wxPreviewFrame swig_types[120]
1555#define SWIGTYPE_p_wxPrintData swig_types[121]
1556#define SWIGTYPE_p_wxPrintDialog swig_types[122]
1557#define SWIGTYPE_p_wxPrintDialogData swig_types[123]
1558#define SWIGTYPE_p_wxPrintPreview swig_types[124]
1559#define SWIGTYPE_p_wxPrinter swig_types[125]
1560#define SWIGTYPE_p_wxProgressDialog swig_types[126]
1561#define SWIGTYPE_p_wxPyApp swig_types[127]
1562#define SWIGTYPE_p_wxPyCommandEvent swig_types[128]
1563#define SWIGTYPE_p_wxPyEvent swig_types[129]
1564#define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[130]
1565#define SWIGTYPE_p_wxPyGridCellEditor swig_types[131]
1566#define SWIGTYPE_p_wxPyGridCellRenderer swig_types[132]
1567#define SWIGTYPE_p_wxPyGridTableBase swig_types[133]
1568#define SWIGTYPE_p_wxPyHtmlListBox swig_types[134]
1569#define SWIGTYPE_p_wxPyImageHandler swig_types[135]
1570#define SWIGTYPE_p_wxPyPanel swig_types[136]
1571#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[137]
1572#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[138]
1573#define SWIGTYPE_p_wxPyPreviewFrame swig_types[139]
1574#define SWIGTYPE_p_wxPyPrintPreview swig_types[140]
1575#define SWIGTYPE_p_wxPyPrintout swig_types[141]
1576#define SWIGTYPE_p_wxPyScrolledWindow swig_types[142]
1577#define SWIGTYPE_p_wxPySizer swig_types[143]
1578#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[144]
1579#define SWIGTYPE_p_wxPyVListBox swig_types[145]
1580#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[146]
1581#define SWIGTYPE_p_wxPyValidator swig_types[147]
1582#define SWIGTYPE_p_wxPyWindow swig_types[148]
1583#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[149]
1584#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[150]
1585#define SWIGTYPE_p_wxRect swig_types[151]
1586#define SWIGTYPE_p_wxSashEvent swig_types[152]
1587#define SWIGTYPE_p_wxSashLayoutWindow swig_types[153]
1588#define SWIGTYPE_p_wxSashWindow swig_types[154]
1589#define SWIGTYPE_p_wxScrollEvent swig_types[155]
1590#define SWIGTYPE_p_wxScrollWinEvent swig_types[156]
1591#define SWIGTYPE_p_wxScrolledWindow swig_types[157]
1592#define SWIGTYPE_p_wxSetCursorEvent swig_types[158]
1593#define SWIGTYPE_p_wxShowEvent swig_types[159]
1594#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[160]
1595#define SWIGTYPE_p_wxSize swig_types[161]
1596#define SWIGTYPE_p_wxSizeEvent swig_types[162]
1597#define SWIGTYPE_p_wxSizer swig_types[163]
1598#define SWIGTYPE_p_wxSizerItem swig_types[164]
1599#define SWIGTYPE_p_wxSplashScreen swig_types[165]
1600#define SWIGTYPE_p_wxSplashScreenWindow swig_types[166]
1601#define SWIGTYPE_p_wxSplitterEvent swig_types[167]
1602#define SWIGTYPE_p_wxSplitterWindow swig_types[168]
1603#define SWIGTYPE_p_wxStaticBoxSizer swig_types[169]
1604#define SWIGTYPE_p_wxStatusBar swig_types[170]
1605#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[171]
1606#define SWIGTYPE_p_wxString swig_types[172]
1607#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[173]
1608#define SWIGTYPE_p_wxTIFFHandler swig_types[174]
1609#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[175]
1610#define SWIGTYPE_p_wxTextEntryDialog swig_types[176]
1611#define SWIGTYPE_p_wxTipWindow swig_types[177]
1612#define SWIGTYPE_p_wxTopLevelWindow swig_types[178]
1613#define SWIGTYPE_p_wxUpdateUIEvent swig_types[179]
1614#define SWIGTYPE_p_wxValidator swig_types[180]
1615#define SWIGTYPE_p_wxVisualAttributes swig_types[181]
1616#define SWIGTYPE_p_wxWindow swig_types[182]
1617#define SWIGTYPE_p_wxWindowCreateEvent swig_types[183]
1618#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[184]
1619#define SWIGTYPE_p_wxXPMHandler swig_types[185]
1620#define SWIGTYPE_ptrdiff_t swig_types[186]
1621#define SWIGTYPE_std__ptrdiff_t swig_types[187]
1622#define SWIGTYPE_unsigned_int swig_types[188]
1623static swig_type_info *swig_types[190];
1624static swig_module_info swig_module = {swig_types, 189, 0, 0, 0, 0};
1625#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1626#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
8edf1c75 1627
36ed4f51 1628/* -------- TYPES TABLE (END) -------- */
8edf1c75 1629
8edf1c75 1630
36ed4f51
RD
1631/*-----------------------------------------------
1632 @(target):= _grid.so
1633 ------------------------------------------------*/
1634#define SWIG_init init_grid
1635
1636#define SWIG_name "_grid"
8edf1c75 1637
d14a1e28
RD
1638#include "wx/wxPython/wxPython.h"
1639#include "wx/wxPython/pyclasses.h"
1640#include "wx/wxPython/printfw.h"
1641
1642#include <wx/grid.h>
1643#include <wx/generic/gridctrl.h>
1644
d14a1e28 1645
cbd72d4f
RD
1646 static const wxString wxPyEmptyString(wxEmptyString);
1647 static const wxString wxPyPanelNameStr(wxPanelNameStr);
fef4c27a 1648 static const wxString wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat);
d14a1e28
RD
1649
1650
1651#define wxPyMake_TEMPLATE(TYPE) \
412d302d 1652PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
d14a1e28
RD
1653 PyObject* target = NULL; \
1654 if (source) { \
1655 /* Check if there is already a pointer to a Python object in the \
1656 OOR data that we can use. */ \
1657 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
1658 if (data) { \
1659 target = data->m_obj; \
b0f7404b
RD
1660 if (target) \
1661 Py_INCREF(target); \
d14a1e28
RD
1662 } \
1663 /* Otherwise make a new wrapper for it the old fashioned way and \
1664 give it the OOR treatment */ \
1665 if (! target) { \
412d302d 1666 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
d14a1e28
RD
1667 if (target) \
1668 source->SetClientObject(new wxPyOORClientData(target)); \
1669 } \
1670 } else { /* source was NULL so return None. */ \
1671 Py_INCREF(Py_None); target = Py_None; \
1672 } \
1673 return target; \
1674} \
1675
1676
1677wxPyMake_TEMPLATE(wxGridCellRenderer)
1678wxPyMake_TEMPLATE(wxGridCellEditor)
1679wxPyMake_TEMPLATE(wxGridCellAttr)
1680wxPyMake_TEMPLATE(wxGridCellAttrProvider)
1681wxPyMake_TEMPLATE(wxGridTableBase)
1682
1683
1684
1685#define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
1686 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
1687 wxGridCellAttr* rval = NULL; \
1688 bool found; \
5a446332 1689 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1690 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1691 PyObject* ro; \
1692 wxGridCellAttr* ptr; \
1693 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
1694 if (ro) { \
1695 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
1696 rval = ptr; \
1697 Py_DECREF(ro); \
1698 } \
1699 } \
fbc46b20 1700 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1701 if (! found) \
1702 rval = PCLASS::CBNAME(a, b, c); \
1703 return rval; \
7f7aa166 1704 }
d14a1e28
RD
1705
1706
1707#define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
1708 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
5a446332 1709 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1710 bool found; \
1711 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412d302d 1712 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
d14a1e28
RD
1713 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
1714 Py_DECREF(obj); \
1715 } \
fbc46b20 1716 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1717 if (! found) \
1718 PCLASS::CBNAME(attr, a, b); \
7f7aa166 1719 }
d14a1e28
RD
1720
1721
1722
1723#define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
1724 void CBNAME(wxGridCellAttr *attr, int val) { \
5a446332 1725 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1726 bool found; \
1727 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412d302d 1728 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
d14a1e28
RD
1729 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
1730 Py_DECREF(obj); \
1731 } \
fbc46b20 1732 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1733 if (! found) \
1734 PCLASS::CBNAME(attr, val); \
7f7aa166 1735 }
d14a1e28
RD
1736
1737
1738
1739#define PYCALLBACK_INT__pure(CBNAME) \
1740 int CBNAME() { \
5a446332 1741 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1742 int rval = 0; \
1743 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
1744 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
fbc46b20 1745 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1746 return rval; \
1747 }
1748
1749
1750
1751#define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
1752 bool CBNAME(int a, int b) { \
5a446332 1753 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1754 bool rval = 0; \
1755 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
1756 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
fbc46b20 1757 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1758 return rval; \
1759 }
1760
1761
1762#define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
1763 wxString CBNAME(int a, int b) { \
5a446332 1764 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1765 wxString rval; \
1766 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
1767 PyObject* ro; \
1768 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1769 if (ro) { \
1770 rval = Py2wxString(ro); \
1771 Py_DECREF(ro); \
1772 } \
1773 } \
fbc46b20 1774 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1775 return rval; \
1776 }
1777
1778
1779#define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
1780 void CBNAME(int a, int b, const wxString& c) { \
5a446332 1781 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1782 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
1783 PyObject* s = wx2PyString(c); \
1784 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
1785 Py_DECREF(s); \
1786 } \
fbc46b20 1787 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1788 }
1789
1790
1791#define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
1792 wxString CBNAME(int a, int b) { \
1793 bool found; \
5a446332 1794 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1795 wxString rval; \
1796 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1797 PyObject* ro; \
1798 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1799 if (ro) { \
1800 rval = Py2wxString(ro); \
1801 Py_DECREF(ro); \
1802 } \
1803 } \
fbc46b20 1804 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1805 if (! found) \
1806 rval = PCLASS::CBNAME(a, b); \
1807 return rval; \
7f7aa166 1808 }
d14a1e28
RD
1809
1810
1811#define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
1812 bool CBNAME(int a, int b, const wxString& c) { \
1813 bool rval = 0; \
1814 bool found; \
5a446332 1815 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1816 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1817 PyObject* s = wx2PyString(c); \
1818 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
1819 Py_DECREF(s); \
1820 } \
fbc46b20 1821 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1822 if (! found) \
1823 rval = PCLASS::CBNAME(a,b,c); \
1824 return rval; \
7f7aa166 1825 }
d14a1e28
RD
1826
1827
1828
1829
1830#define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
1831 long CBNAME(int a, int b) { \
1832 long rval; \
1833 bool found; \
5a446332 1834 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1835 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1836 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
fbc46b20 1837 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1838 if (! found) \
1839 rval = PCLASS::CBNAME(a,b); \
1840 return rval; \
7f7aa166 1841 }
d14a1e28
RD
1842
1843
1844#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
1845 bool CBNAME(int a, int b) { \
1846 bool rval = 0; \
1847 bool found; \
5a446332 1848 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1849 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1850 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
fbc46b20 1851 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1852 if (! found) \
1853 rval = PCLASS::CBNAME(a,b); \
1854 return rval; \
7f7aa166 1855 }
d14a1e28
RD
1856
1857
1858
1859#define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
1860 double CBNAME(int a, int b) { \
1861 bool found; \
5a446332 1862 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1863 double rval; \
1864 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1865 PyObject* ro; \
1866 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
1867 if (ro) { \
1868 PyObject* str = PyObject_Str(ro); \
1869 rval = PyFloat_AsDouble(str); \
1870 Py_DECREF(ro); Py_DECREF(str); \
1871 } \
1872 } \
fbc46b20 1873 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1874 if (! found) \
1875 rval = PCLASS::CBNAME(a, b); \
1876 return rval; \
7f7aa166 1877 }
d14a1e28
RD
1878
1879
1880
1881#define PYCALLBACK__(PCLASS, CBNAME) \
1882 void CBNAME() { \
1883 bool found; \
5a446332 1884 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1885 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1886 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
fbc46b20 1887 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1888 if (! found) \
1889 PCLASS::CBNAME(); \
7f7aa166 1890 }
d14a1e28
RD
1891
1892
1893
1894#define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
1895 bool CBNAME(size_t a, size_t b) { \
1896 bool rval = 0; \
1897 bool found; \
5a446332 1898 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1899 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1900 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
fbc46b20 1901 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1902 if (! found) \
1903 rval = PCLASS::CBNAME(a,b); \
1904 return rval; \
7f7aa166 1905 }
d14a1e28
RD
1906
1907
1908
1909#define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
1910 bool CBNAME(size_t a) { \
1911 bool rval = 0; \
1912 bool found; \
5a446332 1913 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1914 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1915 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
fbc46b20 1916 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1917 if (! found) \
1918 rval = PCLASS::CBNAME(a); \
1919 return rval; \
7f7aa166 1920 }
d14a1e28
RD
1921
1922
1923#define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
1924 wxString CBNAME(int a) { \
1925 bool found; \
5a446332 1926 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1927 wxString rval; \
1928 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1929 PyObject* ro; \
1930 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
1931 if (ro) { \
1932 rval = Py2wxString(ro); \
1933 Py_DECREF(ro); \
1934 } \
1935 } \
fbc46b20 1936 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1937 if (! found) \
1938 rval = PCLASS::CBNAME(a); \
1939 return rval; \
7f7aa166 1940 }
d14a1e28
RD
1941
1942
1943#define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
1944 void CBNAME(int a, const wxString& c) { \
1945 bool found; \
5a446332 1946 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1947 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1948 PyObject* s = wx2PyString(c); \
1949 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
1950 Py_DECREF(s); \
1951 } \
fbc46b20 1952 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1953 if (! found) \
1954 PCLASS::CBNAME(a,c); \
7f7aa166 1955 }
d14a1e28
RD
1956
1957
1958
1959
1960#define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
1961 bool CBNAME() { \
1962 bool rval = 0; \
1963 bool found; \
5a446332 1964 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1965 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1966 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
fbc46b20 1967 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1968 if (! found) \
1969 rval = PCLASS::CBNAME(); \
1970 return rval; \
7f7aa166 1971 }
d14a1e28
RD
1972
1973
1974
1975#define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
1976 void CBNAME(size_t a, int b) { \
1977 bool found; \
5a446332 1978 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1979 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1980 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
fbc46b20 1981 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1982 if (! found) \
1983 PCLASS::CBNAME(a,b); \
7f7aa166 1984 }
d14a1e28
RD
1985
1986
1987
1988
1989#define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
1990 void CBNAME(int a, int b, long c) { \
1991 bool found; \
5a446332 1992 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
1993 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
1994 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
fbc46b20 1995 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1996 if (! found) \
1997 PCLASS::CBNAME(a,b,c); \
7f7aa166 1998 }
d14a1e28
RD
1999
2000
2001
2002
2003#define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
2004 void CBNAME(int a, int b, double c) { \
2005 bool found; \
5a446332 2006 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
2007 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2008 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
fbc46b20 2009 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
2010 if (! found) \
2011 PCLASS::CBNAME(a,b,c); \
7f7aa166 2012 }
d14a1e28
RD
2013
2014
2015
2016#define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
2017 void CBNAME(int a, int b, bool c) { \
2018 bool found; \
5a446332 2019 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
2020 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2021 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
fbc46b20 2022 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
2023 if (! found) \
2024 PCLASS::CBNAME(a,b,c); \
7f7aa166 2025 }
d14a1e28
RD
2026
2027
2028
2029
2f4c0a16 2030
36ed4f51 2031SWIGINTERN PyObject *
2f4c0a16
RD
2032SWIG_FromCharPtr(const char* cptr)
2033{
2f4c0a16 2034 if (cptr) {
c370783e 2035 size_t size = strlen(cptr);
2f4c0a16 2036 if (size > INT_MAX) {
32fe5131 2037 return SWIG_NewPointerObj(const_cast<char* >(cptr),
2f4c0a16
RD
2038 SWIG_TypeQuery("char *"), 0);
2039 } else {
c370783e
RD
2040 if (size != 0) {
2041 return PyString_FromStringAndSize(cptr, size);
2042 } else {
2043 return PyString_FromString(cptr);
2044 }
2f4c0a16 2045 }
2f4c0a16 2046 }
c370783e
RD
2047 Py_INCREF(Py_None);
2048 return Py_None;
2f4c0a16
RD
2049}
2050
b0f7404b
RD
2051
2052#define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
2053#define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
2054#define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
2055#define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
2056#define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
2057#define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
2058#define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
2059#define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
2060#define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
2061#define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
2062
36ed4f51 2063
32fe5131 2064 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
2065#define SWIG_From_int PyInt_FromLong
2066/*@@*/
2067
2068static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject *_self){
b0f7404b
RD
2069 if (!self->GetClientObject())
2070 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
2071 }
2072
2f4c0a16
RD
2073#include <limits.h>
2074
2075
36ed4f51 2076SWIGINTERN int
c370783e
RD
2077 SWIG_CheckLongInRange(long value, long min_value, long max_value,
2078 const char *errmsg)
2f4c0a16 2079{
c370783e
RD
2080 if (value < min_value) {
2081 if (errmsg) {
2082 PyErr_Format(PyExc_OverflowError,
2083 "value %ld is less than '%s' minimum %ld",
2084 value, errmsg, min_value);
2085 }
2086 return 0;
2087 } else if (value > max_value) {
2088 if (errmsg) {
2089 PyErr_Format(PyExc_OverflowError,
2090 "value %ld is greater than '%s' maximum %ld",
2091 value, errmsg, max_value);
2f4c0a16 2092 }
c370783e 2093 return 0;
2f4c0a16 2094 }
c370783e 2095 return 1;
2f4c0a16
RD
2096}
2097
2098
36ed4f51 2099SWIGINTERN int
c370783e 2100SWIG_AsVal_long(PyObject* obj, long* val)
2f4c0a16 2101{
c370783e
RD
2102 if (PyNumber_Check(obj)) {
2103 if (val) *val = PyInt_AsLong(obj);
2104 return 1;
2105 }
69223c70 2106 else {
7e08d4ef 2107 SWIG_Python_TypeError("number", obj);
69223c70 2108 }
c370783e 2109 return 0;
2f4c0a16
RD
2110}
2111
2112
2113#if INT_MAX != LONG_MAX
36ed4f51 2114SWIGINTERN int
c370783e 2115 SWIG_AsVal_int(PyObject *obj, int *val)
8edf1c75 2116{
36ed4f51 2117 const char* errmsg = val ? "int" : (char*)0;
c370783e
RD
2118 long v;
2119 if (SWIG_AsVal_long(obj, &v)) {
2120 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
32fe5131 2121 if (val) *val = static_cast<int >(v);
c370783e
RD
2122 return 1;
2123 } else {
2124 return 0;
2125 }
2126 } else {
2127 PyErr_Clear();
2128 }
2129 if (val) {
36ed4f51 2130 SWIG_type_error(errmsg, obj);
c370783e
RD
2131 }
2132 return 0;
8edf1c75 2133}
2f4c0a16 2134#else
32fe5131 2135SWIGINTERNINLINE int
c370783e
RD
2136 SWIG_AsVal_int(PyObject *obj, int *val)
2137{
2138 return SWIG_AsVal_long(obj,(long*)val);
2139}
2f4c0a16 2140#endif
8edf1c75
RD
2141
2142
32fe5131 2143SWIGINTERNINLINE int
c370783e 2144SWIG_As_int(PyObject* obj)
8edf1c75 2145{
c370783e
RD
2146 int v;
2147 if (!SWIG_AsVal_int(obj, &v)) {
2148 /*
36ed4f51 2149 this is needed to make valgrind/purify happier.
c370783e
RD
2150 */
2151 memset((void*)&v, 0, sizeof(int));
2152 }
2153 return v;
8edf1c75
RD
2154}
2155
2156
36ed4f51 2157SWIGINTERN int
c370783e 2158 SWIG_AsVal_bool(PyObject *obj, bool *val)
2f4c0a16 2159{
c370783e
RD
2160 if (obj == Py_True) {
2161 if (val) *val = true;
2162 return 1;
2163 }
2164 if (obj == Py_False) {
2165 if (val) *val = false;
2166 return 1;
2167 }
2168 int res = 0;
2169 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 2170 if (val) *val = res ? true : false;
2f4c0a16 2171 return 1;
36ed4f51
RD
2172 } else {
2173 PyErr_Clear();
2174 }
c370783e 2175 if (val) {
36ed4f51 2176 SWIG_type_error("bool", obj);
c370783e
RD
2177 }
2178 return 0;
2f4c0a16
RD
2179}
2180
2181
32fe5131 2182SWIGINTERNINLINE bool
c370783e 2183SWIG_As_bool(PyObject* obj)
2f4c0a16 2184{
c370783e
RD
2185 bool v;
2186 if (!SWIG_AsVal_bool(obj, &v)) {
2187 /*
36ed4f51 2188 this is needed to make valgrind/purify happier.
c370783e
RD
2189 */
2190 memset((void*)&v, 0, sizeof(bool));
2f4c0a16 2191 }
c370783e
RD
2192 return v;
2193}
2194
2195
32fe5131 2196SWIGINTERNINLINE int
c370783e
RD
2197SWIG_Check_int(PyObject* obj)
2198{
2199 return SWIG_AsVal_int(obj, (int*)0);
2200}
2201
2202
32fe5131 2203SWIGINTERNINLINE int
c370783e
RD
2204SWIG_Check_bool(PyObject* obj)
2205{
2206 return SWIG_AsVal_bool(obj, (bool*)0);
2f4c0a16
RD
2207}
2208
2209
d14a1e28
RD
2210class wxPyGridCellRenderer : public wxGridCellRenderer
2211{
2212public:
2213 wxPyGridCellRenderer() : wxGridCellRenderer() {};
2214
2215 // Implement Python callback aware virtual methods
2216 void Draw(wxGrid& grid, wxGridCellAttr& attr,
2217 wxDC& dc, const wxRect& rect,
2218 int row, int col, bool isSelected) {
5a446332 2219 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2220 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
412d302d
RD
2221 PyObject* go = wxPyMake_wxObject(&grid,false);
2222 PyObject* dco = wxPyMake_wxObject(&dc,false);
2223 PyObject* ao = wxPyMake_wxGridCellAttr(&attr,false);
d14a1e28
RD
2224 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2225
2226 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
2227 row, col, isSelected));
2228 Py_DECREF(go);
2229 Py_DECREF(ao);
2230 Py_DECREF(dco);
2231 Py_DECREF(ro);
2232 }
fbc46b20 2233 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2234 }
2235
2236 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
2237 int row, int col) {
2238 wxSize rval;
5a446332 2239 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2240 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
2241 PyObject* ro;
2242 wxSize* ptr;
412d302d
RD
2243 PyObject* go = wxPyMake_wxObject(&grid,false);
2244 PyObject* dco = wxPyMake_wxObject(&dc,false);
2245 PyObject* ao = wxPyMake_wxGridCellAttr(&attr,false);
d14a1e28
RD
2246
2247 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
2248 go, ao, dco,
2249 row, col));
2250 Py_DECREF(go);
2251 Py_DECREF(ao);
2252 Py_DECREF(dco);
2253
2254 if (ro) {
2255 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
2256 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxSize"))) {
2257 rval = *ptr;
2258 }
2259 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
2260 PyObject* o1 = PySequence_GetItem(ro, 0);
2261 PyObject* o2 = PySequence_GetItem(ro, 1);
2262 if (PyNumber_Check(o1) && PyNumber_Check(o2))
2263 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
2264 else
2265 PyErr_SetString(PyExc_TypeError, errmsg);
2266 Py_DECREF(o1);
2267 Py_DECREF(o2);
2268 }
2269 else {
2270 PyErr_SetString(PyExc_TypeError, errmsg);
2271 }
2272 Py_DECREF(ro);
2273 }
2274 }
fbc46b20 2275 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2276 return rval;
2277 }
2278
2279
2280 wxGridCellRenderer *Clone() const {
2281 wxGridCellRenderer* rval = NULL;
5a446332 2282 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2283 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
2284 PyObject* ro;
2285 wxGridCellRenderer* ptr;
2286 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2287 if (ro) {
2288 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellRenderer")))
2289 rval = ptr;
2290 Py_DECREF(ro);
2291 }
2292 }
fbc46b20 2293 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2294 return rval;
2295 }
2296
2297 DEC_PYCALLBACK__STRING(SetParameters);
2298
2299 PYPRIVATE;
2300};
2301
2302IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
2303
2304
36ed4f51 2305static void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject *_self){
b0f7404b
RD
2306 if (!self->GetClientObject())
2307 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
2308 }
2309
2310class wxPyGridCellEditor : public wxGridCellEditor
2311{
2312public:
2313 wxPyGridCellEditor() : wxGridCellEditor() {}
2314
2315 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
5a446332 2316 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2317 if (wxPyCBH_findCallback(m_myInst, "Create")) {
412d302d
RD
2318 PyObject* po = wxPyMake_wxObject(parent,false);
2319 PyObject* eo = wxPyMake_wxObject(evtHandler,false);
d14a1e28
RD
2320
2321 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
2322 Py_DECREF(po);
2323 Py_DECREF(eo);
2324 }
fbc46b20 2325 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2326 }
2327
2328
2329 void BeginEdit(int row, int col, wxGrid* grid) {
5a446332 2330 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2331 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
412d302d 2332 PyObject* go = wxPyMake_wxObject(grid,false);
d14a1e28
RD
2333 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
2334 Py_DECREF(go);
2335 }
fbc46b20 2336 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2337 }
2338
2339
2340 bool EndEdit(int row, int col, wxGrid* grid) {
b411df4a 2341 bool rv = false;
5a446332 2342 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2343 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
412d302d 2344 PyObject* go = wxPyMake_wxObject(grid,false);
d14a1e28
RD
2345 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
2346 Py_DECREF(go);
2347 }
fbc46b20 2348 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2349 return rv;
2350 }
2351
2352
2353 wxGridCellEditor* Clone() const {
2354 wxGridCellEditor* rval = NULL;
5a446332 2355 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2356 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
2357 PyObject* ro;
2358 wxGridCellEditor* ptr;
2359 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2360 if (ro) {
2361 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellEditor")))
2362 rval = ptr;
2363 Py_DECREF(ro);
2364 }
2365 }
fbc46b20 2366 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2367 return rval;
2368 }
2369
2370
2371 void Show(bool show, wxGridCellAttr *attr) {
2372 bool found;
5a446332 2373 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2374 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
412d302d 2375 PyObject* ao = wxPyMake_wxGridCellAttr(attr,false);
d14a1e28
RD
2376 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
2377 Py_DECREF(ao);
2378 }
fbc46b20 2379 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2380 if (! found)
2381 wxGridCellEditor::Show(show, attr);
2382 }
d14a1e28
RD
2383
2384
2385 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
2386 bool found;
5a446332 2387 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2388 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
412d302d 2389 PyObject* ao = wxPyMake_wxGridCellAttr(attr,false);
d14a1e28
RD
2390 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
2391
2392 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
2393
2394 Py_DECREF(ro);
2395 Py_DECREF(ao);
2396 }
fbc46b20 2397 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2398 if (! found)
2399 wxGridCellEditor::PaintBackground(rectCell, attr);
2400 }
d14a1e28
RD
2401
2402
2403 DEC_PYCALLBACK___pure(Reset);
2404 DEC_PYCALLBACK__constany(SetSize, wxRect);
2405 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
2406 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
2407 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
2408 DEC_PYCALLBACK__(StartingClick);
2409 DEC_PYCALLBACK__(Destroy);
2410 DEC_PYCALLBACK__STRING(SetParameters);
2411 DEC_PYCALLBACK_STRING__constpure(GetValue);
2412
2413 PYPRIVATE;
2414};
2415
2416
2417IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
2418IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
2419IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
2420IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
2421IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
2422IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
2423IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
2424IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
2425IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
2426
2427
36ed4f51 2428static void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){
b0f7404b
RD
2429 if (!self->GetClientObject())
2430 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
2431 }
2432
7e08d4ef
RD
2433 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
2434 {
2435 PyObject* o2;
2436 PyObject* o3;
2437 if (!result) {
2438 result = obj;
2439 } else if (result == Py_None) {
2440 Py_DECREF(result);
2441 result = obj;
2442 } else {
2443 if (!PyTuple_Check(result)) {
2444 o2 = result;
2445 result = PyTuple_New(1);
2446 PyTuple_SET_ITEM(result, 0, o2);
2447 }
2448 o3 = PyTuple_New(1);
2449 PyTuple_SetItem(o3, 0, obj);
2450 o2 = result;
2451 result = PySequence_Concat(o2, o3);
2452 Py_DECREF(o2);
2453 Py_DECREF(o3);
2454 }
2455 return result;
2456 }
d14a1e28 2457
c370783e 2458
36ed4f51 2459static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject *_self){
b0f7404b
RD
2460 if (!self->GetClientObject())
2461 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
2462 }
2463
36ed4f51 2464SWIGINTERN int
c370783e 2465SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
2f4c0a16 2466{
c370783e
RD
2467 long v = 0;
2468 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 2469 SWIG_Python_TypeError("unsigned number", obj);
2f4c0a16 2470 }
c370783e
RD
2471 else if (val)
2472 *val = (unsigned long)v;
2473 return 1;
2f4c0a16
RD
2474}
2475
2476
32fe5131 2477SWIGINTERNINLINE unsigned long
c370783e 2478SWIG_As_unsigned_SS_long(PyObject* obj)
2f4c0a16 2479{
c370783e
RD
2480 unsigned long v;
2481 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2482 /*
36ed4f51 2483 this is needed to make valgrind/purify happier.
c370783e
RD
2484 */
2485 memset((void*)&v, 0, sizeof(unsigned long));
2f4c0a16 2486 }
c370783e
RD
2487 return v;
2488}
2489
2490
32fe5131 2491SWIGINTERNINLINE int
c370783e
RD
2492SWIG_Check_unsigned_SS_long(PyObject* obj)
2493{
2494 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
2f4c0a16
RD
2495}
2496
2497
d14a1e28
RD
2498class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
2499{
2500public:
2501 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
2502
2503 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
2504 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
2505 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
2506 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
2507
2508 PYPRIVATE;
2509};
2510
36ed4f51 2511static void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){
b0f7404b
RD
2512 if (!self->GetClientObject())
2513 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
2514 }
2515
32fe5131 2516 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
2517#define SWIG_From_long PyInt_FromLong
2518/*@@*/
2519
2520
32fe5131 2521 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
2522#define SWIG_From_double PyFloat_FromDouble
2523/*@@*/
2524
2525
32fe5131 2526SWIGINTERNINLINE long
c370783e 2527SWIG_As_long(PyObject* obj)
8edf1c75 2528{
c370783e
RD
2529 long v;
2530 if (!SWIG_AsVal_long(obj, &v)) {
2531 /*
36ed4f51 2532 this is needed to make valgrind/purify happier.
c370783e
RD
2533 */
2534 memset((void*)&v, 0, sizeof(long));
2f4c0a16 2535 }
c370783e 2536 return v;
8edf1c75
RD
2537}
2538
c370783e 2539
32fe5131 2540SWIGINTERNINLINE int
c370783e
RD
2541SWIG_Check_long(PyObject* obj)
2542{
2543 return SWIG_AsVal_long(obj, (long*)0);
2544}
8edf1c75 2545
c370783e 2546
36ed4f51 2547SWIGINTERN int
c370783e 2548SWIG_AsVal_double(PyObject *obj, double* val)
8edf1c75 2549{
c370783e
RD
2550 if (PyNumber_Check(obj)) {
2551 if (val) *val = PyFloat_AsDouble(obj);
2552 return 1;
2553 }
69223c70 2554 else {
7e08d4ef 2555 SWIG_Python_TypeError("number", obj);
69223c70 2556 }
c370783e 2557 return 0;
2f4c0a16
RD
2558}
2559
2560
32fe5131 2561SWIGINTERNINLINE double
c370783e 2562SWIG_As_double(PyObject* obj)
2f4c0a16 2563{
c370783e
RD
2564 double v;
2565 if (!SWIG_AsVal_double(obj, &v)) {
2566 /*
36ed4f51 2567 this is needed to make valgrind/purify happier.
c370783e
RD
2568 */
2569 memset((void*)&v, 0, sizeof(double));
2f4c0a16 2570 }
c370783e
RD
2571 return v;
2572}
2573
2574
32fe5131 2575SWIGINTERNINLINE int
c370783e
RD
2576SWIG_Check_double(PyObject* obj)
2577{
2578 return SWIG_AsVal_double(obj, (double*)0);
8edf1c75
RD
2579}
2580
2581
d14a1e28
RD
2582class wxPyGridTableBase : public wxGridTableBase
2583{
2584public:
2585 wxPyGridTableBase() : wxGridTableBase() {}
2586
2587 PYCALLBACK_INT__pure(GetNumberRows);
2588 PYCALLBACK_INT__pure(GetNumberCols);
2589 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
2590 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
2591 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
2592 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
2593 PYCALLBACK__(wxGridTableBase, Clear);
2594 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
2595 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
2596 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
2597 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
2598 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
2599 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
2600 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
2601 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
2602 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
2603 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
2604 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
2605 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
2606 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
2607 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
2608 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
2609
2610
2611 wxString GetValue(int row, int col) {
5a446332 2612 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2613 wxString rval;
2614 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
2615 PyObject* ro;
2616 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
2617 if (ro) {
f8167d6e
RD
2618 if (!PyString_Check(ro) && !PyUnicode_Check(ro)) {
2619 PyObject* old = ro;
2620 ro = PyObject_Str(ro);
2621 Py_DECREF(old);
2622 }
d14a1e28
RD
2623 rval = Py2wxString(ro);
2624 Py_DECREF(ro);
2625 }
2626 }
fbc46b20 2627 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2628 return rval;
2629 }
2630
2631 void SetValue(int row, int col, const wxString& val) {
5a446332 2632 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2633 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
2634 PyObject* s = wx2PyString(val);
2635 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
2636 Py_DECREF(s);
2637 }
fbc46b20 2638 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2639 }
2640
2641
2642 // Map the Get/Set methods for the standard non-string types to
2643 // the GetValue and SetValue python methods.
2644 long GetValueAsLong( int row, int col ) {
2645 long rval = 0;
5a446332 2646 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2647 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
2648 PyObject* ro;
2649 PyObject* num;
2650 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
2651 if (ro && PyNumber_Check(ro)) {
2652 num = PyNumber_Int(ro);
2653 if (num) {
2654 rval = PyInt_AsLong(num);
2655 Py_DECREF(num);
2656 }
2657 Py_DECREF(ro);
2658 }
2659 }
fbc46b20 2660 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2661 return rval;
2662 }
2663
2664 double GetValueAsDouble( int row, int col ) {
2665 double rval = 0.0;
5a446332 2666 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2667 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
2668 PyObject* ro;
2669 PyObject* num;
2670 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
2671 if (ro && PyNumber_Check(ro)) {
2672 num = PyNumber_Float(ro);
2673 if (num) {
2674 rval = PyFloat_AsDouble(num);
2675 Py_DECREF(num);
2676 }
2677 Py_DECREF(ro);
2678 }
2679 }
fbc46b20 2680 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2681 return rval;
2682 }
2683
2684 bool GetValueAsBool( int row, int col ) {
2685 return (bool)GetValueAsLong(row, col);
2686 }
2687
2688 void SetValueAsLong( int row, int col, long value ) {
5a446332 2689 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2690 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
2691 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
2692 }
fbc46b20 2693 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2694 }
2695
2696 void SetValueAsDouble( int row, int col, double value ) {
5a446332 2697 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2698 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
2699 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
2700 }
fbc46b20 2701 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2702 }
2703
2704 void SetValueAsBool( int row, int col, bool value ) {
2705 SetValueAsLong( row, col, (long)value );
2706 }
2707
2708
2709 PYPRIVATE;
2710};
2711
36ed4f51 2712static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self){ delete self; }
d14a1e28
RD
2713
2714bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
2715
38f59159
RD
2716 if (source == Py_None) {
2717 **obj = wxGridCellCoords(-1,-1);
b411df4a 2718 return true;
38f59159
RD
2719 }
2720
d14a1e28
RD
2721 // If source is an object instance then it may already be the right type
2722 if (wxPySwigInstance_Check(source)) {
2723 wxGridCellCoords* ptr;
2724 if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
2725 goto error;
2726 *obj = ptr;
b411df4a 2727 return true;
d14a1e28
RD
2728 }
2729 // otherwise a 2-tuple of integers is expected
2730 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
2731 PyObject* o1 = PySequence_GetItem(source, 0);
2732 PyObject* o2 = PySequence_GetItem(source, 1);
2733 if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) {
2734 Py_DECREF(o1);
2735 Py_DECREF(o2);
2736 goto error;
2737 }
2738 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
2739 Py_DECREF(o1);
2740 Py_DECREF(o2);
b411df4a 2741 return true;
d14a1e28
RD
2742 }
2743
2744 error:
2745 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
b411df4a 2746 return false;
d14a1e28
RD
2747}
2748
2749
2750bool wxGridCellCoords_typecheck(PyObject* source) {
2751 void* ptr;
f8167d6e 2752
d14a1e28
RD
2753 if (wxPySwigInstance_Check(source) &&
2754 wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
b411df4a 2755 return true;
d14a1e28
RD
2756
2757 PyErr_Clear();
2758 if (PySequence_Check(source) && PySequence_Length(source) == 2)
b411df4a 2759 return true;
f8167d6e 2760
b411df4a 2761 return false;
d14a1e28
RD
2762}
2763
2764
2765PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray& source)
2766{
2767 PyObject* list = PyList_New(0);
2768 size_t idx;
2769 for (idx = 0; idx < source.GetCount(); idx += 1) {
2770 wxGridCellCoords& coord = source.Item(idx);
2771 PyObject* tup = PyTuple_New(2);
2772 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
2773 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
2774 PyList_Append(list, tup);
2775 Py_DECREF(tup);
2776 }
2777 return list;
2778}
2779
36ed4f51 2780static PyObject *wxGridCellCoords_Get(wxGridCellCoords *self){
38f59159
RD
2781 PyObject* tup = PyTuple_New(2);
2782 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
2783 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
2784 return tup;
2785 }
d14a1e28
RD
2786
2787typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
2788
c370783e 2789
36ed4f51 2790static wxGridCellCoords wxGrid_XYToCell(wxGrid *self,int x,int y){
d14a1e28
RD
2791 wxGridCellCoords rv;
2792 self->XYToCell(x, y, rv);
2793 return rv;
2794 }
2795#ifdef __cplusplus
2796extern "C" {
2797#endif
c370783e 2798static int _wrap_GridNoCellCoords_set(PyObject *) {
d14a1e28
RD
2799 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only.");
2800 return 1;
2801}
2802
2803
36ed4f51 2804static PyObject *_wrap_GridNoCellCoords_get(void) {
32fe5131 2805 PyObject *pyobj = NULL;
d14a1e28 2806
2f4c0a16 2807 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellCoords), SWIGTYPE_p_wxGridCellCoords, 0);
d14a1e28
RD
2808 return pyobj;
2809}
2810
2811
c370783e 2812static int _wrap_GridNoCellRect_set(PyObject *) {
d14a1e28
RD
2813 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellRect is read-only.");
2814 return 1;
2815}
2816
2817
36ed4f51 2818static PyObject *_wrap_GridNoCellRect_get(void) {
32fe5131 2819 PyObject *pyobj = NULL;
d14a1e28 2820
2f4c0a16 2821 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellRect), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
2822 return pyobj;
2823}
2824
2825
c370783e 2826static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2827 PyObject *resultobj = NULL;
d14a1e28
RD
2828 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
2829 PyObject *arg2 = (PyObject *) 0 ;
2830 PyObject * obj0 = 0 ;
2831 PyObject * obj1 = 0 ;
2832 char *kwnames[] = {
2833 (char *) "self",(char *) "_self", NULL
2834 };
2835
2836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellRenderer, SWIG_POINTER_EXCEPTION | 0);
2838 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2839 arg2 = obj1;
2840 {
2841 PyThreadState* __tstate = wxPyBeginAllowThreads();
2842 wxGridCellRenderer__setOORInfo(arg1,arg2);
2843
2844 wxPyEndAllowThreads(__tstate);
2845 if (PyErr_Occurred()) SWIG_fail;
2846 }
2847 Py_INCREF(Py_None); resultobj = Py_None;
2848 return resultobj;
2849 fail:
2850 return NULL;
2851}
2852
2853
c370783e 2854static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2855 PyObject *resultobj = NULL;
d14a1e28
RD
2856 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
2857 wxString *arg2 = 0 ;
b411df4a 2858 bool temp2 = false ;
d14a1e28
RD
2859 PyObject * obj0 = 0 ;
2860 PyObject * obj1 = 0 ;
2861 char *kwnames[] = {
2862 (char *) "self",(char *) "params", NULL
2863 };
2864
2865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellRenderer, SWIG_POINTER_EXCEPTION | 0);
2867 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2868 {
2869 arg2 = wxString_in_helper(obj1);
2870 if (arg2 == NULL) SWIG_fail;
b411df4a 2871 temp2 = true;
d14a1e28
RD
2872 }
2873 {
2874 PyThreadState* __tstate = wxPyBeginAllowThreads();
2875 (arg1)->SetParameters((wxString const &)*arg2);
2876
2877 wxPyEndAllowThreads(__tstate);
2878 if (PyErr_Occurred()) SWIG_fail;
2879 }
2880 Py_INCREF(Py_None); resultobj = Py_None;
2881 {
2882 if (temp2)
2883 delete arg2;
2884 }
2885 return resultobj;
2886 fail:
2887 {
2888 if (temp2)
2889 delete arg2;
2890 }
2891 return NULL;
2892}
2893
2894
c370783e 2895static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2896 PyObject *resultobj = NULL;
d14a1e28
RD
2897 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
2898 PyObject * obj0 = 0 ;
2899 char *kwnames[] = {
2900 (char *) "self", NULL
2901 };
2902
2903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_IncRef",kwnames,&obj0)) goto fail;
36ed4f51
RD
2904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellRenderer, SWIG_POINTER_EXCEPTION | 0);
2905 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2906 {
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
2908 (arg1)->IncRef();
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 Py_INCREF(Py_None); resultobj = Py_None;
2914 return resultobj;
2915 fail:
2916 return NULL;
2917}
2918
2919
c370783e 2920static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2921 PyObject *resultobj = NULL;
d14a1e28
RD
2922 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
2923 PyObject * obj0 = 0 ;
2924 char *kwnames[] = {
2925 (char *) "self", NULL
2926 };
2927
2928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_DecRef",kwnames,&obj0)) goto fail;
36ed4f51
RD
2929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellRenderer, SWIG_POINTER_EXCEPTION | 0);
2930 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2931 {
2932 PyThreadState* __tstate = wxPyBeginAllowThreads();
2933 (arg1)->DecRef();
2934
2935 wxPyEndAllowThreads(__tstate);
2936 if (PyErr_Occurred()) SWIG_fail;
2937 }
2938 Py_INCREF(Py_None); resultobj = Py_None;
2939 return resultobj;
2940 fail:
2941 return NULL;
2942}
2943
2944
c370783e 2945static PyObject *_wrap_GridCellRenderer_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2946 PyObject *resultobj = NULL;
d14a1e28
RD
2947 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
2948 wxGrid *arg2 = 0 ;
2949 wxGridCellAttr *arg3 = 0 ;
2950 wxDC *arg4 = 0 ;
2951 wxRect *arg5 = 0 ;
2952 int arg6 ;
2953 int arg7 ;
2954 bool arg8 ;
2955 wxRect temp5 ;
2956 PyObject * obj0 = 0 ;
2957 PyObject * obj1 = 0 ;
2958 PyObject * obj2 = 0 ;
2959 PyObject * obj3 = 0 ;
2960 PyObject * obj4 = 0 ;
8edf1c75
RD
2961 PyObject * obj5 = 0 ;
2962 PyObject * obj6 = 0 ;
d14a1e28
RD
2963 PyObject * obj7 = 0 ;
2964 char *kwnames[] = {
2965 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
2966 };
2967
8edf1c75 2968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
2969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellRenderer, SWIG_POINTER_EXCEPTION | 0);
2970 if (SWIG_arg_fail(1)) SWIG_fail;
2971 {
2972 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
2973 if (SWIG_arg_fail(2)) SWIG_fail;
2974 if (arg2 == NULL) {
2975 SWIG_null_ref("wxGrid");
2976 }
2977 if (SWIG_arg_fail(2)) SWIG_fail;
2978 }
2979 {
2980 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
2981 if (SWIG_arg_fail(3)) SWIG_fail;
2982 if (arg3 == NULL) {
2983 SWIG_null_ref("wxGridCellAttr");
2984 }
2985 if (SWIG_arg_fail(3)) SWIG_fail;
2986 }
2987 {
2988 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
2989 if (SWIG_arg_fail(4)) SWIG_fail;
2990 if (arg4 == NULL) {
2991 SWIG_null_ref("wxDC");
2992 }
2993 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
2994 }
2995 {
2996 arg5 = &temp5;
2997 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
2998 }
36ed4f51 2999 {
32fe5131 3000 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
3001 if (SWIG_arg_fail(6)) SWIG_fail;
3002 }
3003 {
32fe5131 3004 arg7 = static_cast<int >(SWIG_As_int(obj6));
36ed4f51
RD
3005 if (SWIG_arg_fail(7)) SWIG_fail;
3006 }
3007 {
32fe5131 3008 arg8 = static_cast<bool >(SWIG_As_bool(obj7));
36ed4f51
RD
3009 if (SWIG_arg_fail(8)) SWIG_fail;
3010 }
d14a1e28
RD
3011 {
3012 PyThreadState* __tstate = wxPyBeginAllowThreads();
3013 (arg1)->Draw(*arg2,*arg3,*arg4,(wxRect const &)*arg5,arg6,arg7,arg8);
3014
3015 wxPyEndAllowThreads(__tstate);
3016 if (PyErr_Occurred()) SWIG_fail;
3017 }
3018 Py_INCREF(Py_None); resultobj = Py_None;
3019 return resultobj;
3020 fail:
3021 return NULL;
3022}
3023
3024
c370783e 3025static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3026 PyObject *resultobj = NULL;
d14a1e28
RD
3027 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
3028 wxGrid *arg2 = 0 ;
3029 wxGridCellAttr *arg3 = 0 ;
3030 wxDC *arg4 = 0 ;
3031 int arg5 ;
3032 int arg6 ;
3033 wxSize result;
3034 PyObject * obj0 = 0 ;
3035 PyObject * obj1 = 0 ;
3036 PyObject * obj2 = 0 ;
3037 PyObject * obj3 = 0 ;
8edf1c75
RD
3038 PyObject * obj4 = 0 ;
3039 PyObject * obj5 = 0 ;
d14a1e28
RD
3040 char *kwnames[] = {
3041 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
3042 };
3043
8edf1c75 3044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
3045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellRenderer, SWIG_POINTER_EXCEPTION | 0);
3046 if (SWIG_arg_fail(1)) SWIG_fail;
3047 {
3048 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
3049 if (SWIG_arg_fail(2)) SWIG_fail;
3050 if (arg2 == NULL) {
3051 SWIG_null_ref("wxGrid");
3052 }
3053 if (SWIG_arg_fail(2)) SWIG_fail;
3054 }
3055 {
3056 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
3057 if (SWIG_arg_fail(3)) SWIG_fail;
3058 if (arg3 == NULL) {
3059 SWIG_null_ref("wxGridCellAttr");
3060 }
3061 if (SWIG_arg_fail(3)) SWIG_fail;
3062 }
3063 {
3064 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3065 if (SWIG_arg_fail(4)) SWIG_fail;
3066 if (arg4 == NULL) {
3067 SWIG_null_ref("wxDC");
3068 }
3069 if (SWIG_arg_fail(4)) SWIG_fail;
3070 }
3071 {
32fe5131 3072 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
3073 if (SWIG_arg_fail(5)) SWIG_fail;
3074 }
3075 {
32fe5131 3076 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
3077 if (SWIG_arg_fail(6)) SWIG_fail;
3078 }
d14a1e28
RD
3079 {
3080 PyThreadState* __tstate = wxPyBeginAllowThreads();
3081 result = (arg1)->GetBestSize(*arg2,*arg3,*arg4,arg5,arg6);
3082
3083 wxPyEndAllowThreads(__tstate);
3084 if (PyErr_Occurred()) SWIG_fail;
3085 }
3086 {
3087 wxSize * resultptr;
32fe5131 3088 resultptr = new wxSize(static_cast<wxSize & >(result));
2f4c0a16 3089 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3090 }
3091 return resultobj;
3092 fail:
3093 return NULL;
3094}
3095
3096
c370783e 3097static PyObject *_wrap_GridCellRenderer_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3098 PyObject *resultobj = NULL;
d14a1e28
RD
3099 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
3100 wxGridCellRenderer *result;
3101 PyObject * obj0 = 0 ;
3102 char *kwnames[] = {
3103 (char *) "self", NULL
3104 };
3105
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_Clone",kwnames,&obj0)) goto fail;
36ed4f51
RD
3107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellRenderer, SWIG_POINTER_EXCEPTION | 0);
3108 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3109 {
3110 PyThreadState* __tstate = wxPyBeginAllowThreads();
3111 result = (wxGridCellRenderer *)((wxGridCellRenderer const *)arg1)->Clone();
3112
3113 wxPyEndAllowThreads(__tstate);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
3116 {
7e08d4ef 3117 resultobj = wxPyMake_wxGridCellRenderer(result, (bool)0);
d14a1e28
RD
3118 }
3119 return resultobj;
3120 fail:
3121 return NULL;
3122}
3123
3124
c370783e 3125static PyObject * GridCellRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3126 PyObject *obj;
3127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3128 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer, obj);
3129 Py_INCREF(obj);
3130 return Py_BuildValue((char *)"");
3131}
c370783e 3132static PyObject *_wrap_new_PyGridCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3133 PyObject *resultobj = NULL;
d14a1e28
RD
3134 wxPyGridCellRenderer *result;
3135 char *kwnames[] = {
3136 NULL
3137 };
3138
3139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellRenderer",kwnames)) goto fail;
3140 {
3141 PyThreadState* __tstate = wxPyBeginAllowThreads();
3142 result = (wxPyGridCellRenderer *)new wxPyGridCellRenderer();
3143
3144 wxPyEndAllowThreads(__tstate);
3145 if (PyErr_Occurred()) SWIG_fail;
3146 }
2f4c0a16 3147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellRenderer, 1);
d14a1e28
RD
3148 return resultobj;
3149 fail:
3150 return NULL;
3151}
3152
3153
c370783e 3154static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3155 PyObject *resultobj = NULL;
d14a1e28
RD
3156 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
3157 PyObject *arg2 = (PyObject *) 0 ;
3158 PyObject *arg3 = (PyObject *) 0 ;
3159 PyObject * obj0 = 0 ;
3160 PyObject * obj1 = 0 ;
3161 PyObject * obj2 = 0 ;
3162 char *kwnames[] = {
3163 (char *) "self",(char *) "self",(char *) "_class", NULL
3164 };
3165
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellRenderer, SWIG_POINTER_EXCEPTION | 0);
3168 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3169 arg2 = obj1;
3170 arg3 = obj2;
3171 {
3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
3173 (arg1)->_setCallbackInfo(arg2,arg3);
3174
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
3178 Py_INCREF(Py_None); resultobj = Py_None;
3179 return resultobj;
3180 fail:
3181 return NULL;
3182}
3183
3184
7f7aa166 3185static PyObject *_wrap_PyGridCellRenderer_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3186 PyObject *resultobj = NULL;
d14a1e28
RD
3187 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
3188 wxString *arg2 = 0 ;
b411df4a 3189 bool temp2 = false ;
d14a1e28
RD
3190 PyObject * obj0 = 0 ;
3191 PyObject * obj1 = 0 ;
3192 char *kwnames[] = {
3193 (char *) "self",(char *) "params", NULL
3194 };
3195
7f7aa166 3196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellRenderer, SWIG_POINTER_EXCEPTION | 0);
3198 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3199 {
3200 arg2 = wxString_in_helper(obj1);
3201 if (arg2 == NULL) SWIG_fail;
b411df4a 3202 temp2 = true;
d14a1e28
RD
3203 }
3204 {
3205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 3206 (arg1)->SetParameters((wxString const &)*arg2);
d14a1e28
RD
3207
3208 wxPyEndAllowThreads(__tstate);
3209 if (PyErr_Occurred()) SWIG_fail;
3210 }
3211 Py_INCREF(Py_None); resultobj = Py_None;
3212 {
3213 if (temp2)
3214 delete arg2;
3215 }
3216 return resultobj;
3217 fail:
3218 {
3219 if (temp2)
3220 delete arg2;
3221 }
3222 return NULL;
3223}
3224
3225
c370783e 3226static PyObject * PyGridCellRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3227 PyObject *obj;
3228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3229 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer, obj);
3230 Py_INCREF(obj);
3231 return Py_BuildValue((char *)"");
3232}
c370783e 3233static PyObject *_wrap_new_GridCellStringRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3234 PyObject *resultobj = NULL;
d14a1e28
RD
3235 wxGridCellStringRenderer *result;
3236 char *kwnames[] = {
3237 NULL
3238 };
3239
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellStringRenderer",kwnames)) goto fail;
3241 {
3242 PyThreadState* __tstate = wxPyBeginAllowThreads();
3243 result = (wxGridCellStringRenderer *)new wxGridCellStringRenderer();
3244
3245 wxPyEndAllowThreads(__tstate);
3246 if (PyErr_Occurred()) SWIG_fail;
3247 }
2f4c0a16 3248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellStringRenderer, 1);
d14a1e28
RD
3249 return resultobj;
3250 fail:
3251 return NULL;
3252}
3253
3254
c370783e 3255static PyObject * GridCellStringRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3256 PyObject *obj;
3257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3258 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer, obj);
3259 Py_INCREF(obj);
3260 return Py_BuildValue((char *)"");
3261}
c370783e 3262static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3263 PyObject *resultobj = NULL;
d14a1e28
RD
3264 wxGridCellNumberRenderer *result;
3265 char *kwnames[] = {
3266 NULL
3267 };
3268
3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellNumberRenderer",kwnames)) goto fail;
3270 {
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 result = (wxGridCellNumberRenderer *)new wxGridCellNumberRenderer();
3273
3274 wxPyEndAllowThreads(__tstate);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
2f4c0a16 3277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberRenderer, 1);
d14a1e28
RD
3278 return resultobj;
3279 fail:
3280 return NULL;
3281}
3282
3283
c370783e 3284static PyObject * GridCellNumberRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3285 PyObject *obj;
3286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3287 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer, obj);
3288 Py_INCREF(obj);
3289 return Py_BuildValue((char *)"");
3290}
c370783e 3291static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3292 PyObject *resultobj = NULL;
d14a1e28
RD
3293 int arg1 = (int) -1 ;
3294 int arg2 = (int) -1 ;
3295 wxGridCellFloatRenderer *result;
8edf1c75
RD
3296 PyObject * obj0 = 0 ;
3297 PyObject * obj1 = 0 ;
d14a1e28
RD
3298 char *kwnames[] = {
3299 (char *) "width",(char *) "precision", NULL
3300 };
3301
8edf1c75
RD
3302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatRenderer",kwnames,&obj0,&obj1)) goto fail;
3303 if (obj0) {
36ed4f51 3304 {
32fe5131 3305 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
3306 if (SWIG_arg_fail(1)) SWIG_fail;
3307 }
8edf1c75
RD
3308 }
3309 if (obj1) {
36ed4f51 3310 {
32fe5131 3311 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3312 if (SWIG_arg_fail(2)) SWIG_fail;
3313 }
8edf1c75 3314 }
d14a1e28
RD
3315 {
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 result = (wxGridCellFloatRenderer *)new wxGridCellFloatRenderer(arg1,arg2);
3318
3319 wxPyEndAllowThreads(__tstate);
3320 if (PyErr_Occurred()) SWIG_fail;
3321 }
2f4c0a16 3322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatRenderer, 1);
d14a1e28
RD
3323 return resultobj;
3324 fail:
3325 return NULL;
3326}
3327
3328
c370783e 3329static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3330 PyObject *resultobj = NULL;
d14a1e28
RD
3331 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
3332 int result;
3333 PyObject * obj0 = 0 ;
3334 char *kwnames[] = {
3335 (char *) "self", NULL
3336 };
3337
3338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
3339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellFloatRenderer, SWIG_POINTER_EXCEPTION | 0);
3340 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3341 {
3342 PyThreadState* __tstate = wxPyBeginAllowThreads();
3343 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetWidth();
3344
3345 wxPyEndAllowThreads(__tstate);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
36ed4f51 3348 {
32fe5131 3349 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3350 }
d14a1e28
RD
3351 return resultobj;
3352 fail:
3353 return NULL;
3354}
3355
3356
c370783e 3357static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3358 PyObject *resultobj = NULL;
d14a1e28
RD
3359 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
3360 int arg2 ;
3361 PyObject * obj0 = 0 ;
8edf1c75 3362 PyObject * obj1 = 0 ;
d14a1e28
RD
3363 char *kwnames[] = {
3364 (char *) "self",(char *) "width", NULL
3365 };
3366
8edf1c75 3367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellFloatRenderer, SWIG_POINTER_EXCEPTION | 0);
3369 if (SWIG_arg_fail(1)) SWIG_fail;
3370 {
32fe5131 3371 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3372 if (SWIG_arg_fail(2)) SWIG_fail;
3373 }
d14a1e28
RD
3374 {
3375 PyThreadState* __tstate = wxPyBeginAllowThreads();
3376 (arg1)->SetWidth(arg2);
3377
3378 wxPyEndAllowThreads(__tstate);
3379 if (PyErr_Occurred()) SWIG_fail;
3380 }
3381 Py_INCREF(Py_None); resultobj = Py_None;
3382 return resultobj;
3383 fail:
3384 return NULL;
3385}
3386
3387
c370783e 3388static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3389 PyObject *resultobj = NULL;
d14a1e28
RD
3390 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
3391 int result;
3392 PyObject * obj0 = 0 ;
3393 char *kwnames[] = {
3394 (char *) "self", NULL
3395 };
3396
3397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames,&obj0)) goto fail;
36ed4f51
RD
3398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellFloatRenderer, SWIG_POINTER_EXCEPTION | 0);
3399 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3400 {
3401 PyThreadState* __tstate = wxPyBeginAllowThreads();
3402 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetPrecision();
3403
3404 wxPyEndAllowThreads(__tstate);
3405 if (PyErr_Occurred()) SWIG_fail;
3406 }
36ed4f51 3407 {
32fe5131 3408 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3409 }
d14a1e28
RD
3410 return resultobj;
3411 fail:
3412 return NULL;
3413}
3414
3415
c370783e 3416static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3417 PyObject *resultobj = NULL;
d14a1e28
RD
3418 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
3419 int arg2 ;
3420 PyObject * obj0 = 0 ;
8edf1c75 3421 PyObject * obj1 = 0 ;
d14a1e28
RD
3422 char *kwnames[] = {
3423 (char *) "self",(char *) "precision", NULL
3424 };
3425
8edf1c75 3426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellFloatRenderer, SWIG_POINTER_EXCEPTION | 0);
3428 if (SWIG_arg_fail(1)) SWIG_fail;
3429 {
32fe5131 3430 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3431 if (SWIG_arg_fail(2)) SWIG_fail;
3432 }
d14a1e28
RD
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 (arg1)->SetPrecision(arg2);
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
3440 Py_INCREF(Py_None); resultobj = Py_None;
3441 return resultobj;
3442 fail:
3443 return NULL;
3444}
3445
3446
c370783e 3447static PyObject * GridCellFloatRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3448 PyObject *obj;
3449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3450 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer, obj);
3451 Py_INCREF(obj);
3452 return Py_BuildValue((char *)"");
3453}
c370783e 3454static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3455 PyObject *resultobj = NULL;
d14a1e28
RD
3456 wxGridCellBoolRenderer *result;
3457 char *kwnames[] = {
3458 NULL
3459 };
3460
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolRenderer",kwnames)) goto fail;
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 result = (wxGridCellBoolRenderer *)new wxGridCellBoolRenderer();
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
2f4c0a16 3469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolRenderer, 1);
d14a1e28
RD
3470 return resultobj;
3471 fail:
3472 return NULL;
3473}
3474
3475
c370783e 3476static PyObject * GridCellBoolRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3477 PyObject *obj;
3478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3479 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer, obj);
3480 Py_INCREF(obj);
3481 return Py_BuildValue((char *)"");
3482}
c370783e 3483static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3484 PyObject *resultobj = NULL;
fef4c27a
RD
3485 wxString arg1 = (wxString) wxPyDefaultDateTimeFormat ;
3486 wxString arg2 = (wxString) wxPyDefaultDateTimeFormat ;
d14a1e28 3487 wxGridCellDateTimeRenderer *result;
d14a1e28
RD
3488 PyObject * obj0 = 0 ;
3489 PyObject * obj1 = 0 ;
3490 char *kwnames[] = {
3491 (char *) "outformat",(char *) "informat", NULL
3492 };
3493
3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail;
3495 if (obj0) {
423f194a
RD
3496 {
3497 wxString* sptr = wxString_in_helper(obj0);
3498 if (sptr == NULL) SWIG_fail;
3499 arg1 = *sptr;
3500 delete sptr;
3501 }
d14a1e28
RD
3502 }
3503 if (obj1) {
423f194a
RD
3504 {
3505 wxString* sptr = wxString_in_helper(obj1);
3506 if (sptr == NULL) SWIG_fail;
3507 arg2 = *sptr;
3508 delete sptr;
3509 }
d14a1e28
RD
3510 }
3511 {
3512 PyThreadState* __tstate = wxPyBeginAllowThreads();
3513 result = (wxGridCellDateTimeRenderer *)new wxGridCellDateTimeRenderer(arg1,arg2);
3514
3515 wxPyEndAllowThreads(__tstate);
3516 if (PyErr_Occurred()) SWIG_fail;
3517 }
2f4c0a16 3518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellDateTimeRenderer, 1);
d14a1e28
RD
3519 return resultobj;
3520 fail:
3521 return NULL;
3522}
3523
3524
c370783e 3525static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3526 PyObject *obj;
3527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3528 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer, obj);
3529 Py_INCREF(obj);
3530 return Py_BuildValue((char *)"");
3531}
c370783e 3532static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3533 PyObject *resultobj = NULL;
d14a1e28
RD
3534 wxString const &arg1_defvalue = wxPyEmptyString ;
3535 wxString *arg1 = (wxString *) &arg1_defvalue ;
3536 wxGridCellEnumRenderer *result;
b411df4a 3537 bool temp1 = false ;
d14a1e28
RD
3538 PyObject * obj0 = 0 ;
3539 char *kwnames[] = {
3540 (char *) "choices", NULL
3541 };
3542
3543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumRenderer",kwnames,&obj0)) goto fail;
3544 if (obj0) {
3545 {
3546 arg1 = wxString_in_helper(obj0);
3547 if (arg1 == NULL) SWIG_fail;
b411df4a 3548 temp1 = true;
d14a1e28
RD
3549 }
3550 }
3551 {
3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
3553 result = (wxGridCellEnumRenderer *)new wxGridCellEnumRenderer((wxString const &)*arg1);
3554
3555 wxPyEndAllowThreads(__tstate);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 }
2f4c0a16 3558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumRenderer, 1);
d14a1e28
RD
3559 {
3560 if (temp1)
3561 delete arg1;
3562 }
3563 return resultobj;
3564 fail:
3565 {
3566 if (temp1)
3567 delete arg1;
3568 }
3569 return NULL;
3570}
3571
3572
c370783e 3573static PyObject * GridCellEnumRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3574 PyObject *obj;
3575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3576 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer, obj);
3577 Py_INCREF(obj);
3578 return Py_BuildValue((char *)"");
3579}
c370783e 3580static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3581 PyObject *resultobj = NULL;
d14a1e28
RD
3582 wxGridCellAutoWrapStringRenderer *result;
3583 char *kwnames[] = {
3584 NULL
3585 };
3586
3587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringRenderer",kwnames)) goto fail;
3588 {
3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
3590 result = (wxGridCellAutoWrapStringRenderer *)new wxGridCellAutoWrapStringRenderer();
3591
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 }
2f4c0a16 3595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, 1);
d14a1e28
RD
3596 return resultobj;
3597 fail:
3598 return NULL;
3599}
3600
3601
c370783e 3602static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3603 PyObject *obj;
3604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3605 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, obj);
3606 Py_INCREF(obj);
3607 return Py_BuildValue((char *)"");
3608}
c370783e 3609static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3610 PyObject *resultobj = NULL;
d14a1e28
RD
3611 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3612 PyObject *arg2 = (PyObject *) 0 ;
3613 PyObject * obj0 = 0 ;
3614 PyObject * obj1 = 0 ;
3615 char *kwnames[] = {
3616 (char *) "self",(char *) "_self", NULL
3617 };
3618
3619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
3621 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3622 arg2 = obj1;
3623 {
3624 PyThreadState* __tstate = wxPyBeginAllowThreads();
3625 wxGridCellEditor__setOORInfo(arg1,arg2);
3626
3627 wxPyEndAllowThreads(__tstate);
3628 if (PyErr_Occurred()) SWIG_fail;
3629 }
3630 Py_INCREF(Py_None); resultobj = Py_None;
3631 return resultobj;
3632 fail:
3633 return NULL;
3634}
3635
3636
c370783e 3637static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3638 PyObject *resultobj = NULL;
d14a1e28
RD
3639 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3640 bool result;
3641 PyObject * obj0 = 0 ;
3642 char *kwnames[] = {
3643 (char *) "self", NULL
3644 };
3645
3646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IsCreated",kwnames,&obj0)) goto fail;
36ed4f51
RD
3647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
3648 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3649 {
3650 PyThreadState* __tstate = wxPyBeginAllowThreads();
3651 result = (bool)(arg1)->IsCreated();
3652
3653 wxPyEndAllowThreads(__tstate);
3654 if (PyErr_Occurred()) SWIG_fail;
3655 }
fbc46b20
RD
3656 {
3657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3658 }
d14a1e28
RD
3659 return resultobj;
3660 fail:
3661 return NULL;
3662}
3663
3664
c370783e 3665static PyObject *_wrap_GridCellEditor_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3666 PyObject *resultobj = NULL;
d14a1e28
RD
3667 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3668 wxControl *result;
3669 PyObject * obj0 = 0 ;
3670 char *kwnames[] = {
3671 (char *) "self", NULL
3672 };
3673
3674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
3675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
3676 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 result = (wxControl *)(arg1)->GetControl();
3680
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 {
412d302d 3685 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3686 }
3687 return resultobj;
3688 fail:
3689 return NULL;
3690}
3691
3692
c370783e 3693static PyObject *_wrap_GridCellEditor_SetControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3694 PyObject *resultobj = NULL;
d14a1e28
RD
3695 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3696 wxControl *arg2 = (wxControl *) 0 ;
3697 PyObject * obj0 = 0 ;
3698 PyObject * obj1 = 0 ;
3699 char *kwnames[] = {
3700 (char *) "self",(char *) "control", NULL
3701 };
3702
3703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
3705 if (SWIG_arg_fail(1)) SWIG_fail;
3706 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
3707 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3708 {
3709 PyThreadState* __tstate = wxPyBeginAllowThreads();
3710 (arg1)->SetControl(arg2);
3711
3712 wxPyEndAllowThreads(__tstate);
3713 if (PyErr_Occurred()) SWIG_fail;
3714 }
3715 Py_INCREF(Py_None); resultobj = Py_None;
3716 return resultobj;
3717 fail:
3718 return NULL;
3719}
3720
3721
c370783e 3722static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3723 PyObject *resultobj = NULL;
d14a1e28
RD
3724 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3725 wxGridCellAttr *result;
3726 PyObject * obj0 = 0 ;
3727 char *kwnames[] = {
3728 (char *) "self", NULL
3729 };
3730
3731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetCellAttr",kwnames,&obj0)) goto fail;
36ed4f51
RD
3732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
3733 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3734 {
3735 PyThreadState* __tstate = wxPyBeginAllowThreads();
3736 result = (wxGridCellAttr *)(arg1)->GetCellAttr();
3737
3738 wxPyEndAllowThreads(__tstate);
3739 if (PyErr_Occurred()) SWIG_fail;
3740 }
3741 {
7e08d4ef 3742 resultobj = wxPyMake_wxGridCellAttr(result, (bool)0);
d14a1e28
RD
3743 }
3744 return resultobj;
3745 fail:
3746 return NULL;
3747}
3748
3749
c370783e 3750static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3751 PyObject *resultobj = NULL;
d14a1e28
RD
3752 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3753 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
3754 PyObject * obj0 = 0 ;
3755 PyObject * obj1 = 0 ;
3756 char *kwnames[] = {
3757 (char *) "self",(char *) "attr", NULL
3758 };
3759
3760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetCellAttr",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
3762 if (SWIG_arg_fail(1)) SWIG_fail;
3763 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
3764 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3765 {
3766 PyThreadState* __tstate = wxPyBeginAllowThreads();
3767 (arg1)->SetCellAttr(arg2);
3768
3769 wxPyEndAllowThreads(__tstate);
3770 if (PyErr_Occurred()) SWIG_fail;
3771 }
3772 Py_INCREF(Py_None); resultobj = Py_None;
3773 return resultobj;
3774 fail:
3775 return NULL;
3776}
3777
3778
c370783e 3779static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3780 PyObject *resultobj = NULL;
d14a1e28
RD
3781 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3782 wxString *arg2 = 0 ;
b411df4a 3783 bool temp2 = false ;
d14a1e28
RD
3784 PyObject * obj0 = 0 ;
3785 PyObject * obj1 = 0 ;
3786 char *kwnames[] = {
3787 (char *) "self",(char *) "params", NULL
3788 };
3789
3790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
3792 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3793 {
3794 arg2 = wxString_in_helper(obj1);
3795 if (arg2 == NULL) SWIG_fail;
b411df4a 3796 temp2 = true;
d14a1e28
RD
3797 }
3798 {
3799 PyThreadState* __tstate = wxPyBeginAllowThreads();
3800 (arg1)->SetParameters((wxString const &)*arg2);
3801
3802 wxPyEndAllowThreads(__tstate);
3803 if (PyErr_Occurred()) SWIG_fail;
3804 }
3805 Py_INCREF(Py_None); resultobj = Py_None;
3806 {
3807 if (temp2)
3808 delete arg2;
3809 }
3810 return resultobj;
3811 fail:
3812 {
3813 if (temp2)
3814 delete arg2;
3815 }
3816 return NULL;
3817}
3818
3819
c370783e 3820static PyObject *_wrap_GridCellEditor_IncRef(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3821 PyObject *resultobj = NULL;
d14a1e28
RD
3822 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3823 PyObject * obj0 = 0 ;
3824 char *kwnames[] = {
3825 (char *) "self", NULL
3826 };
3827
3828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IncRef",kwnames,&obj0)) goto fail;
36ed4f51
RD
3829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
3830 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3831 {
3832 PyThreadState* __tstate = wxPyBeginAllowThreads();
3833 (arg1)->IncRef();
3834
3835 wxPyEndAllowThreads(__tstate);
3836 if (PyErr_Occurred()) SWIG_fail;
3837 }
3838 Py_INCREF(Py_None); resultobj = Py_None;
3839 return resultobj;
3840 fail:
3841 return NULL;
3842}
3843
3844
c370783e 3845static PyObject *_wrap_GridCellEditor_DecRef(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3846 PyObject *resultobj = NULL;
d14a1e28
RD
3847 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3848 PyObject * obj0 = 0 ;
3849 char *kwnames[] = {
3850 (char *) "self", NULL
3851 };
3852
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_DecRef",kwnames,&obj0)) goto fail;
36ed4f51
RD
3854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
3855 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 (arg1)->DecRef();
3859
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 Py_INCREF(Py_None); resultobj = Py_None;
3864 return resultobj;
3865 fail:
3866 return NULL;
3867}
3868
3869
c370783e 3870static PyObject *_wrap_GridCellEditor_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3871 PyObject *resultobj = NULL;
d14a1e28
RD
3872 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3873 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3874 int arg3 ;
d14a1e28
RD
3875 wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
3876 PyObject * obj0 = 0 ;
3877 PyObject * obj1 = 0 ;
8edf1c75 3878 PyObject * obj2 = 0 ;
d14a1e28
RD
3879 PyObject * obj3 = 0 ;
3880 char *kwnames[] = {
3881 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
3882 };
3883
8edf1c75 3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
3885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
3886 if (SWIG_arg_fail(1)) SWIG_fail;
3887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3888 if (SWIG_arg_fail(2)) SWIG_fail;
3889 {
32fe5131 3890 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3891 if (SWIG_arg_fail(3)) SWIG_fail;
3892 }
3893 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3894 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
3895 {
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 (arg1)->Create(arg2,arg3,arg4);
3898
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 Py_INCREF(Py_None); resultobj = Py_None;
3903 return resultobj;
3904 fail:
3905 return NULL;
3906}
3907
3908
c370783e 3909static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3910 PyObject *resultobj = NULL;
d14a1e28
RD
3911 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3912 int arg2 ;
3913 int arg3 ;
3914 wxGrid *arg4 = (wxGrid *) 0 ;
3915 PyObject * obj0 = 0 ;
8edf1c75
RD
3916 PyObject * obj1 = 0 ;
3917 PyObject * obj2 = 0 ;
d14a1e28
RD
3918 PyObject * obj3 = 0 ;
3919 char *kwnames[] = {
3920 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
3921 };
3922
8edf1c75 3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
3924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
3925 if (SWIG_arg_fail(1)) SWIG_fail;
3926 {
32fe5131 3927 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3928 if (SWIG_arg_fail(2)) SWIG_fail;
3929 }
3930 {
32fe5131 3931 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3932 if (SWIG_arg_fail(3)) SWIG_fail;
3933 }
3934 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
3935 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
3936 {
3937 PyThreadState* __tstate = wxPyBeginAllowThreads();
3938 (arg1)->BeginEdit(arg2,arg3,arg4);
3939
3940 wxPyEndAllowThreads(__tstate);
3941 if (PyErr_Occurred()) SWIG_fail;
3942 }
3943 Py_INCREF(Py_None); resultobj = Py_None;
3944 return resultobj;
3945 fail:
3946 return NULL;
3947}
3948
3949
c370783e 3950static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3951 PyObject *resultobj = NULL;
d14a1e28
RD
3952 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3953 int arg2 ;
3954 int arg3 ;
3955 wxGrid *arg4 = (wxGrid *) 0 ;
3956 bool result;
3957 PyObject * obj0 = 0 ;
8edf1c75
RD
3958 PyObject * obj1 = 0 ;
3959 PyObject * obj2 = 0 ;
d14a1e28
RD
3960 PyObject * obj3 = 0 ;
3961 char *kwnames[] = {
3962 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
3963 };
3964
8edf1c75 3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_EndEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
3966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
3967 if (SWIG_arg_fail(1)) SWIG_fail;
3968 {
32fe5131 3969 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3970 if (SWIG_arg_fail(2)) SWIG_fail;
3971 }
3972 {
32fe5131 3973 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3974 if (SWIG_arg_fail(3)) SWIG_fail;
3975 }
3976 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
3977 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 result = (bool)(arg1)->EndEdit(arg2,arg3,arg4);
3981
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
fbc46b20
RD
3985 {
3986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3987 }
d14a1e28
RD
3988 return resultobj;
3989 fail:
3990 return NULL;
3991}
3992
3993
c370783e 3994static PyObject *_wrap_GridCellEditor_Reset(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3995 PyObject *resultobj = NULL;
d14a1e28
RD
3996 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3997 PyObject * obj0 = 0 ;
3998 char *kwnames[] = {
3999 (char *) "self", NULL
4000 };
4001
4002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Reset",kwnames,&obj0)) goto fail;
36ed4f51
RD
4003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4004 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4005 {
4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
4007 (arg1)->Reset();
4008
4009 wxPyEndAllowThreads(__tstate);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 }
4012 Py_INCREF(Py_None); resultobj = Py_None;
4013 return resultobj;
4014 fail:
4015 return NULL;
4016}
4017
4018
c370783e 4019static PyObject *_wrap_GridCellEditor_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4020 PyObject *resultobj = NULL;
d14a1e28
RD
4021 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
4022 wxGridCellEditor *result;
4023 PyObject * obj0 = 0 ;
4024 char *kwnames[] = {
4025 (char *) "self", NULL
4026 };
4027
4028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Clone",kwnames,&obj0)) goto fail;
36ed4f51
RD
4029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4030 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 result = (wxGridCellEditor *)((wxGridCellEditor const *)arg1)->Clone();
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 {
7e08d4ef 4039 resultobj = wxPyMake_wxGridCellEditor(result, (bool)0);
d14a1e28
RD
4040 }
4041 return resultobj;
4042 fail:
4043 return NULL;
4044}
4045
4046
c370783e 4047static PyObject *_wrap_GridCellEditor_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4048 PyObject *resultobj = NULL;
d14a1e28
RD
4049 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
4050 wxRect *arg2 = 0 ;
4051 wxRect temp2 ;
4052 PyObject * obj0 = 0 ;
4053 PyObject * obj1 = 0 ;
4054 char *kwnames[] = {
4055 (char *) "self",(char *) "rect", NULL
4056 };
4057
4058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4060 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4061 {
4062 arg2 = &temp2;
4063 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4064 }
4065 {
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 (arg1)->SetSize((wxRect const &)*arg2);
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 Py_INCREF(Py_None); resultobj = Py_None;
4073 return resultobj;
4074 fail:
4075 return NULL;
4076}
4077
4078
c370783e 4079static PyObject *_wrap_GridCellEditor_Show(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4080 PyObject *resultobj = NULL;
d14a1e28
RD
4081 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
4082 bool arg2 ;
4083 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
4084 PyObject * obj0 = 0 ;
4085 PyObject * obj1 = 0 ;
4086 PyObject * obj2 = 0 ;
4087 char *kwnames[] = {
4088 (char *) "self",(char *) "show",(char *) "attr", NULL
4089 };
4090
4091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4093 if (SWIG_arg_fail(1)) SWIG_fail;
4094 {
32fe5131 4095 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4096 if (SWIG_arg_fail(2)) SWIG_fail;
4097 }
d14a1e28 4098 if (obj2) {
36ed4f51
RD
4099 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
4100 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4101 }
4102 {
4103 PyThreadState* __tstate = wxPyBeginAllowThreads();
4104 (arg1)->Show(arg2,arg3);
4105
4106 wxPyEndAllowThreads(__tstate);
4107 if (PyErr_Occurred()) SWIG_fail;
4108 }
4109 Py_INCREF(Py_None); resultobj = Py_None;
4110 return resultobj;
4111 fail:
4112 return NULL;
4113}
4114
4115
c370783e 4116static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4117 PyObject *resultobj = NULL;
d14a1e28
RD
4118 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
4119 wxRect *arg2 = 0 ;
4120 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
4121 wxRect temp2 ;
4122 PyObject * obj0 = 0 ;
4123 PyObject * obj1 = 0 ;
4124 PyObject * obj2 = 0 ;
4125 char *kwnames[] = {
4126 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
4127 };
4128
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4131 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4132 {
4133 arg2 = &temp2;
4134 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4135 }
36ed4f51
RD
4136 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
4137 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4138 {
4139 PyThreadState* __tstate = wxPyBeginAllowThreads();
4140 (arg1)->PaintBackground((wxRect const &)*arg2,arg3);
4141
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 Py_INCREF(Py_None); resultobj = Py_None;
4146 return resultobj;
4147 fail:
4148 return NULL;
4149}
4150
4151
c370783e 4152static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4153 PyObject *resultobj = NULL;
d14a1e28
RD
4154 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
4155 wxKeyEvent *arg2 = 0 ;
4156 bool result;
4157 PyObject * obj0 = 0 ;
4158 PyObject * obj1 = 0 ;
4159 char *kwnames[] = {
4160 (char *) "self",(char *) "event", NULL
4161 };
4162
4163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4165 if (SWIG_arg_fail(1)) SWIG_fail;
4166 {
4167 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
4168 if (SWIG_arg_fail(2)) SWIG_fail;
4169 if (arg2 == NULL) {
4170 SWIG_null_ref("wxKeyEvent");
4171 }
4172 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4173 }
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 result = (bool)(arg1)->IsAcceptedKey(*arg2);
4177
4178 wxPyEndAllowThreads(__tstate);
4179 if (PyErr_Occurred()) SWIG_fail;
4180 }
fbc46b20
RD
4181 {
4182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4183 }
d14a1e28
RD
4184 return resultobj;
4185 fail:
4186 return NULL;
4187}
4188
4189
c370783e 4190static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4191 PyObject *resultobj = NULL;
d14a1e28
RD
4192 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
4193 wxKeyEvent *arg2 = 0 ;
4194 PyObject * obj0 = 0 ;
4195 PyObject * obj1 = 0 ;
4196 char *kwnames[] = {
4197 (char *) "self",(char *) "event", NULL
4198 };
4199
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4202 if (SWIG_arg_fail(1)) SWIG_fail;
4203 {
4204 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
4205 if (SWIG_arg_fail(2)) SWIG_fail;
4206 if (arg2 == NULL) {
4207 SWIG_null_ref("wxKeyEvent");
4208 }
4209 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4210 }
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 (arg1)->StartingKey(*arg2);
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 Py_INCREF(Py_None); resultobj = Py_None;
4219 return resultobj;
4220 fail:
4221 return NULL;
4222}
4223
4224
c370783e 4225static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4226 PyObject *resultobj = NULL;
d14a1e28
RD
4227 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
4228 PyObject * obj0 = 0 ;
4229 char *kwnames[] = {
4230 (char *) "self", NULL
4231 };
4232
4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_StartingClick",kwnames,&obj0)) goto fail;
36ed4f51
RD
4234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4235 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4236 {
4237 PyThreadState* __tstate = wxPyBeginAllowThreads();
4238 (arg1)->StartingClick();
4239
4240 wxPyEndAllowThreads(__tstate);
4241 if (PyErr_Occurred()) SWIG_fail;
4242 }
4243 Py_INCREF(Py_None); resultobj = Py_None;
4244 return resultobj;
4245 fail:
4246 return NULL;
4247}
4248
4249
c370783e 4250static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4251 PyObject *resultobj = NULL;
d14a1e28
RD
4252 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
4253 wxKeyEvent *arg2 = 0 ;
4254 PyObject * obj0 = 0 ;
4255 PyObject * obj1 = 0 ;
4256 char *kwnames[] = {
4257 (char *) "self",(char *) "event", NULL
4258 };
4259
4260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4262 if (SWIG_arg_fail(1)) SWIG_fail;
4263 {
4264 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
4265 if (SWIG_arg_fail(2)) SWIG_fail;
4266 if (arg2 == NULL) {
4267 SWIG_null_ref("wxKeyEvent");
4268 }
4269 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4270 }
4271 {
4272 PyThreadState* __tstate = wxPyBeginAllowThreads();
4273 (arg1)->HandleReturn(*arg2);
4274
4275 wxPyEndAllowThreads(__tstate);
4276 if (PyErr_Occurred()) SWIG_fail;
4277 }
4278 Py_INCREF(Py_None); resultobj = Py_None;
4279 return resultobj;
4280 fail:
4281 return NULL;
4282}
4283
4284
c370783e 4285static PyObject *_wrap_GridCellEditor_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4286 PyObject *resultobj = NULL;
d14a1e28
RD
4287 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
4288 PyObject * obj0 = 0 ;
4289 char *kwnames[] = {
4290 (char *) "self", NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
4294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4295 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 (arg1)->Destroy();
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 Py_INCREF(Py_None); resultobj = Py_None;
4304 return resultobj;
4305 fail:
4306 return NULL;
4307}
4308
4309
c370783e 4310static PyObject * GridCellEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4311 PyObject *obj;
4312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4313 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor, obj);
4314 Py_INCREF(obj);
4315 return Py_BuildValue((char *)"");
4316}
c370783e 4317static PyObject *_wrap_new_PyGridCellEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4318 PyObject *resultobj = NULL;
d14a1e28
RD
4319 wxPyGridCellEditor *result;
4320 char *kwnames[] = {
4321 NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellEditor",kwnames)) goto fail;
4325 {
4326 PyThreadState* __tstate = wxPyBeginAllowThreads();
4327 result = (wxPyGridCellEditor *)new wxPyGridCellEditor();
4328
4329 wxPyEndAllowThreads(__tstate);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 }
2f4c0a16 4332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellEditor, 1);
d14a1e28
RD
4333 return resultobj;
4334 fail:
4335 return NULL;
4336}
4337
4338
c370783e 4339static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4340 PyObject *resultobj = NULL;
d14a1e28
RD
4341 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
4342 PyObject *arg2 = (PyObject *) 0 ;
4343 PyObject *arg3 = (PyObject *) 0 ;
4344 PyObject * obj0 = 0 ;
4345 PyObject * obj1 = 0 ;
4346 PyObject * obj2 = 0 ;
4347 char *kwnames[] = {
4348 (char *) "self",(char *) "self",(char *) "_class", NULL
4349 };
4350
4351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4353 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4354 arg2 = obj1;
4355 arg3 = obj2;
4356 {
4357 PyThreadState* __tstate = wxPyBeginAllowThreads();
4358 (arg1)->_setCallbackInfo(arg2,arg3);
4359
4360 wxPyEndAllowThreads(__tstate);
4361 if (PyErr_Occurred()) SWIG_fail;
4362 }
4363 Py_INCREF(Py_None); resultobj = Py_None;
4364 return resultobj;
4365 fail:
4366 return NULL;
4367}
4368
4369
7f7aa166 4370static PyObject *_wrap_PyGridCellEditor_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4371 PyObject *resultobj = NULL;
d14a1e28
RD
4372 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
4373 wxRect *arg2 = 0 ;
4374 wxRect temp2 ;
4375 PyObject * obj0 = 0 ;
4376 PyObject * obj1 = 0 ;
4377 char *kwnames[] = {
4378 (char *) "self",(char *) "rect", NULL
4379 };
4380
7f7aa166 4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4383 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4384 {
4385 arg2 = &temp2;
4386 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4387 }
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 4390 (arg1)->SetSize((wxRect const &)*arg2);
d14a1e28
RD
4391
4392 wxPyEndAllowThreads(__tstate);
4393 if (PyErr_Occurred()) SWIG_fail;
4394 }
4395 Py_INCREF(Py_None); resultobj = Py_None;
4396 return resultobj;
4397 fail:
4398 return NULL;
4399}
4400
4401
7f7aa166 4402static PyObject *_wrap_PyGridCellEditor_Show(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4403 PyObject *resultobj = NULL;
d14a1e28
RD
4404 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
4405 bool arg2 ;
4406 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
4407 PyObject * obj0 = 0 ;
4408 PyObject * obj1 = 0 ;
4409 PyObject * obj2 = 0 ;
4410 char *kwnames[] = {
4411 (char *) "self",(char *) "show",(char *) "attr", NULL
4412 };
4413
7f7aa166 4414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyGridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4416 if (SWIG_arg_fail(1)) SWIG_fail;
4417 {
32fe5131 4418 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4419 if (SWIG_arg_fail(2)) SWIG_fail;
4420 }
d14a1e28 4421 if (obj2) {
36ed4f51
RD
4422 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
4423 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4424 }
4425 {
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 4427 (arg1)->Show(arg2,arg3);
d14a1e28
RD
4428
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 Py_INCREF(Py_None); resultobj = Py_None;
4433 return resultobj;
4434 fail:
4435 return NULL;
4436}
4437
4438
7f7aa166 4439static PyObject *_wrap_PyGridCellEditor_PaintBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4440 PyObject *resultobj = NULL;
d14a1e28
RD
4441 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
4442 wxRect *arg2 = 0 ;
4443 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
4444 wxRect temp2 ;
4445 PyObject * obj0 = 0 ;
4446 PyObject * obj1 = 0 ;
4447 PyObject * obj2 = 0 ;
4448 char *kwnames[] = {
4449 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
4450 };
4451
7f7aa166 4452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4454 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4455 {
4456 arg2 = &temp2;
4457 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4458 }
36ed4f51
RD
4459 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
4460 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4461 {
4462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 4463 (arg1)->PaintBackground((wxRect const &)*arg2,arg3);
d14a1e28
RD
4464
4465 wxPyEndAllowThreads(__tstate);
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
4468 Py_INCREF(Py_None); resultobj = Py_None;
4469 return resultobj;
4470 fail:
4471 return NULL;
4472}
4473
4474
7f7aa166 4475static PyObject *_wrap_PyGridCellEditor_IsAcceptedKey(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4476 PyObject *resultobj = NULL;
d14a1e28
RD
4477 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
4478 wxKeyEvent *arg2 = 0 ;
4479 bool result;
4480 PyObject * obj0 = 0 ;
4481 PyObject * obj1 = 0 ;
4482 char *kwnames[] = {
4483 (char *) "self",(char *) "event", NULL
4484 };
4485
7f7aa166 4486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4488 if (SWIG_arg_fail(1)) SWIG_fail;
4489 {
4490 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
4491 if (SWIG_arg_fail(2)) SWIG_fail;
4492 if (arg2 == NULL) {
4493 SWIG_null_ref("wxKeyEvent");
4494 }
4495 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4496 }
4497 {
4498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 4499 result = (bool)(arg1)->IsAcceptedKey(*arg2);
d14a1e28
RD
4500
4501 wxPyEndAllowThreads(__tstate);
4502 if (PyErr_Occurred()) SWIG_fail;
4503 }
fbc46b20
RD
4504 {
4505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4506 }
d14a1e28
RD
4507 return resultobj;
4508 fail:
4509 return NULL;
4510}
4511
4512
7f7aa166 4513static PyObject *_wrap_PyGridCellEditor_StartingKey(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4514 PyObject *resultobj = NULL;
d14a1e28
RD
4515 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
4516 wxKeyEvent *arg2 = 0 ;
4517 PyObject * obj0 = 0 ;
4518 PyObject * obj1 = 0 ;
4519 char *kwnames[] = {
4520 (char *) "self",(char *) "event", NULL
4521 };
4522
7f7aa166 4523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4525 if (SWIG_arg_fail(1)) SWIG_fail;
4526 {
4527 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
4528 if (SWIG_arg_fail(2)) SWIG_fail;
4529 if (arg2 == NULL) {
4530 SWIG_null_ref("wxKeyEvent");
4531 }
4532 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4533 }
4534 {
4535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 4536 (arg1)->StartingKey(*arg2);
d14a1e28
RD
4537
4538 wxPyEndAllowThreads(__tstate);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 }
4541 Py_INCREF(Py_None); resultobj = Py_None;
4542 return resultobj;
4543 fail:
4544 return NULL;
4545}
4546
4547
7f7aa166 4548static PyObject *_wrap_PyGridCellEditor_StartingClick(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4549 PyObject *resultobj = NULL;
d14a1e28
RD
4550 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
4551 PyObject * obj0 = 0 ;
4552 char *kwnames[] = {
4553 (char *) "self", NULL
4554 };
4555
7f7aa166 4556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_StartingClick",kwnames,&obj0)) goto fail;
36ed4f51
RD
4557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4558 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4559 {
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 4561 (arg1)->StartingClick();
d14a1e28
RD
4562
4563 wxPyEndAllowThreads(__tstate);
4564 if (PyErr_Occurred()) SWIG_fail;
4565 }
4566 Py_INCREF(Py_None); resultobj = Py_None;
4567 return resultobj;
4568 fail:
4569 return NULL;
4570}
4571
4572
7f7aa166 4573static PyObject *_wrap_PyGridCellEditor_HandleReturn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4574 PyObject *resultobj = NULL;
d14a1e28
RD
4575 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
4576 wxKeyEvent *arg2 = 0 ;
4577 PyObject * obj0 = 0 ;
4578 PyObject * obj1 = 0 ;
4579 char *kwnames[] = {
4580 (char *) "self",(char *) "event", NULL
4581 };
4582
7f7aa166 4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4585 if (SWIG_arg_fail(1)) SWIG_fail;
4586 {
4587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
4588 if (SWIG_arg_fail(2)) SWIG_fail;
4589 if (arg2 == NULL) {
4590 SWIG_null_ref("wxKeyEvent");
4591 }
4592 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4593 }
4594 {
4595 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 4596 (arg1)->HandleReturn(*arg2);
d14a1e28
RD
4597
4598 wxPyEndAllowThreads(__tstate);
4599 if (PyErr_Occurred()) SWIG_fail;
4600 }
4601 Py_INCREF(Py_None); resultobj = Py_None;
4602 return resultobj;
4603 fail:
4604 return NULL;
4605}
4606
4607
7f7aa166 4608static PyObject *_wrap_PyGridCellEditor_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4609 PyObject *resultobj = NULL;
d14a1e28
RD
4610 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
4611 PyObject * obj0 = 0 ;
4612 char *kwnames[] = {
4613 (char *) "self", NULL
4614 };
4615
7f7aa166 4616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
4617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4618 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4619 {
4620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 4621 (arg1)->Destroy();
d14a1e28
RD
4622
4623 wxPyEndAllowThreads(__tstate);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 }
4626 Py_INCREF(Py_None); resultobj = Py_None;
4627 return resultobj;
4628 fail:
4629 return NULL;
4630}
4631
4632
7f7aa166 4633static PyObject *_wrap_PyGridCellEditor_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4634 PyObject *resultobj = NULL;
d14a1e28
RD
4635 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
4636 wxString *arg2 = 0 ;
b411df4a 4637 bool temp2 = false ;
d14a1e28
RD
4638 PyObject * obj0 = 0 ;
4639 PyObject * obj1 = 0 ;
4640 char *kwnames[] = {
4641 (char *) "self",(char *) "params", NULL
4642 };
4643
7f7aa166 4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
4646 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4647 {
4648 arg2 = wxString_in_helper(obj1);
4649 if (arg2 == NULL) SWIG_fail;
b411df4a 4650 temp2 = true;
d14a1e28
RD
4651 }
4652 {
4653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 4654 (arg1)->SetParameters((wxString const &)*arg2);
d14a1e28
RD
4655
4656 wxPyEndAllowThreads(__tstate);
4657 if (PyErr_Occurred()) SWIG_fail;
4658 }
4659 Py_INCREF(Py_None); resultobj = Py_None;
4660 {
4661 if (temp2)
4662 delete arg2;
4663 }
4664 return resultobj;
4665 fail:
4666 {
4667 if (temp2)
4668 delete arg2;
4669 }
4670 return NULL;
4671}
4672
4673
c370783e 4674static PyObject * PyGridCellEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4675 PyObject *obj;
4676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4677 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor, obj);
4678 Py_INCREF(obj);
4679 return Py_BuildValue((char *)"");
4680}
c370783e 4681static PyObject *_wrap_new_GridCellTextEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4682 PyObject *resultobj = NULL;
d14a1e28
RD
4683 wxGridCellTextEditor *result;
4684 char *kwnames[] = {
4685 NULL
4686 };
4687
4688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellTextEditor",kwnames)) goto fail;
4689 {
4690 PyThreadState* __tstate = wxPyBeginAllowThreads();
4691 result = (wxGridCellTextEditor *)new wxGridCellTextEditor();
4692
4693 wxPyEndAllowThreads(__tstate);
4694 if (PyErr_Occurred()) SWIG_fail;
4695 }
2f4c0a16 4696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellTextEditor, 1);
d14a1e28
RD
4697 return resultobj;
4698 fail:
4699 return NULL;
4700}
4701
4702
c370783e 4703static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4704 PyObject *resultobj = NULL;
d14a1e28
RD
4705 wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ;
4706 wxString result;
4707 PyObject * obj0 = 0 ;
4708 char *kwnames[] = {
4709 (char *) "self", NULL
4710 };
4711
4712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellTextEditor_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
4713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellTextEditor, SWIG_POINTER_EXCEPTION | 0);
4714 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4715 {
4716 PyThreadState* __tstate = wxPyBeginAllowThreads();
4717 result = (arg1)->GetValue();
4718
4719 wxPyEndAllowThreads(__tstate);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 {
4723#if wxUSE_UNICODE
4724 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4725#else
4726 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4727#endif
4728 }
4729 return resultobj;
4730 fail:
4731 return NULL;
4732}
4733
4734
c370783e 4735static PyObject * GridCellTextEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4736 PyObject *obj;
4737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4738 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor, obj);
4739 Py_INCREF(obj);
4740 return Py_BuildValue((char *)"");
4741}
c370783e 4742static PyObject *_wrap_new_GridCellNumberEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4743 PyObject *resultobj = NULL;
d14a1e28
RD
4744 int arg1 = (int) -1 ;
4745 int arg2 = (int) -1 ;
4746 wxGridCellNumberEditor *result;
8edf1c75
RD
4747 PyObject * obj0 = 0 ;
4748 PyObject * obj1 = 0 ;
d14a1e28
RD
4749 char *kwnames[] = {
4750 (char *) "min",(char *) "max", NULL
4751 };
4752
8edf1c75
RD
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellNumberEditor",kwnames,&obj0,&obj1)) goto fail;
4754 if (obj0) {
36ed4f51 4755 {
32fe5131 4756 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
4757 if (SWIG_arg_fail(1)) SWIG_fail;
4758 }
8edf1c75
RD
4759 }
4760 if (obj1) {
36ed4f51 4761 {
32fe5131 4762 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4763 if (SWIG_arg_fail(2)) SWIG_fail;
4764 }
8edf1c75 4765 }
d14a1e28
RD
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 result = (wxGridCellNumberEditor *)new wxGridCellNumberEditor(arg1,arg2);
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
2f4c0a16 4773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberEditor, 1);
d14a1e28
RD
4774 return resultobj;
4775 fail:
4776 return NULL;
4777}
4778
4779
c370783e 4780static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4781 PyObject *resultobj = NULL;
d14a1e28
RD
4782 wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ;
4783 wxString result;
4784 PyObject * obj0 = 0 ;
4785 char *kwnames[] = {
4786 (char *) "self", NULL
4787 };
4788
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellNumberEditor_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
4790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellNumberEditor, SWIG_POINTER_EXCEPTION | 0);
4791 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4792 {
4793 PyThreadState* __tstate = wxPyBeginAllowThreads();
4794 result = (arg1)->GetValue();
4795
4796 wxPyEndAllowThreads(__tstate);
4797 if (PyErr_Occurred()) SWIG_fail;
4798 }
4799 {
4800#if wxUSE_UNICODE
4801 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4802#else
4803 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4804#endif
4805 }
4806 return resultobj;
4807 fail:
4808 return NULL;
4809}
4810
4811
c370783e 4812static PyObject * GridCellNumberEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4813 PyObject *obj;
4814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4815 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor, obj);
4816 Py_INCREF(obj);
4817 return Py_BuildValue((char *)"");
4818}
c370783e 4819static PyObject *_wrap_new_GridCellFloatEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4820 PyObject *resultobj = NULL;
377d47bd
RD
4821 int arg1 = (int) -1 ;
4822 int arg2 = (int) -1 ;
d14a1e28 4823 wxGridCellFloatEditor *result;
377d47bd
RD
4824 PyObject * obj0 = 0 ;
4825 PyObject * obj1 = 0 ;
d14a1e28 4826 char *kwnames[] = {
377d47bd 4827 (char *) "width",(char *) "precision", NULL
d14a1e28
RD
4828 };
4829
377d47bd
RD
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatEditor",kwnames,&obj0,&obj1)) goto fail;
4831 if (obj0) {
36ed4f51 4832 {
32fe5131 4833 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
4834 if (SWIG_arg_fail(1)) SWIG_fail;
4835 }
377d47bd
RD
4836 }
4837 if (obj1) {
36ed4f51 4838 {
32fe5131 4839 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4840 if (SWIG_arg_fail(2)) SWIG_fail;
4841 }
377d47bd 4842 }
d14a1e28
RD
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
377d47bd 4845 result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor(arg1,arg2);
d14a1e28
RD
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
2f4c0a16 4850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatEditor, 1);
d14a1e28
RD
4851 return resultobj;
4852 fail:
4853 return NULL;
4854}
4855
4856
c370783e 4857static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4858 PyObject *resultobj = NULL;
d14a1e28
RD
4859 wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ;
4860 wxString result;
4861 PyObject * obj0 = 0 ;
4862 char *kwnames[] = {
4863 (char *) "self", NULL
4864 };
4865
4866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
4867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellFloatEditor, SWIG_POINTER_EXCEPTION | 0);
4868 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 result = (arg1)->GetValue();
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 {
4877#if wxUSE_UNICODE
4878 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4879#else
4880 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4881#endif
4882 }
4883 return resultobj;
4884 fail:
4885 return NULL;
4886}
4887
4888
c370783e 4889static PyObject * GridCellFloatEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4890 PyObject *obj;
4891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4892 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj);
4893 Py_INCREF(obj);
4894 return Py_BuildValue((char *)"");
4895}
c370783e 4896static PyObject *_wrap_new_GridCellBoolEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4897 PyObject *resultobj = NULL;
d14a1e28
RD
4898 wxGridCellBoolEditor *result;
4899 char *kwnames[] = {
4900 NULL
4901 };
4902
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail;
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor();
4907
4908 wxPyEndAllowThreads(__tstate);
4909 if (PyErr_Occurred()) SWIG_fail;
4910 }
2f4c0a16 4911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolEditor, 1);
d14a1e28
RD
4912 return resultobj;
4913 fail:
4914 return NULL;
4915}
4916
4917
c370783e 4918static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4919 PyObject *resultobj = NULL;
d14a1e28
RD
4920 wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
4921 wxString result;
4922 PyObject * obj0 = 0 ;
4923 char *kwnames[] = {
4924 (char *) "self", NULL
4925 };
4926
4927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
4928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellBoolEditor, SWIG_POINTER_EXCEPTION | 0);
4929 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4930 {
4931 PyThreadState* __tstate = wxPyBeginAllowThreads();
4932 result = (arg1)->GetValue();
4933
4934 wxPyEndAllowThreads(__tstate);
4935 if (PyErr_Occurred()) SWIG_fail;
4936 }
4937 {
4938#if wxUSE_UNICODE
4939 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4940#else
4941 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4942#endif
4943 }
4944 return resultobj;
4945 fail:
4946 return NULL;
4947}
4948
4949
c370783e 4950static PyObject * GridCellBoolEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4951 PyObject *obj;
4952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4953 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj);
4954 Py_INCREF(obj);
4955 return Py_BuildValue((char *)"");
4956}
c370783e 4957static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4958 PyObject *resultobj = NULL;
d14a1e28
RD
4959 int arg1 = (int) 0 ;
4960 wxString *arg2 = (wxString *) NULL ;
b411df4a 4961 bool arg3 = (bool) false ;
d14a1e28 4962 wxGridCellChoiceEditor *result;
44127b65 4963 PyObject * obj0 = 0 ;
d14a1e28 4964 PyObject * obj1 = 0 ;
d14a1e28 4965 char *kwnames[] = {
44127b65 4966 (char *) "choices",(char *) "allowOthers", NULL
d14a1e28
RD
4967 };
4968
44127b65
RD
4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail;
4970 if (obj0) {
4971 {
4972 arg1 = PyList_Size(obj0);
4973 arg2 = wxString_LIST_helper(obj0);
4974 if (arg2 == NULL) SWIG_fail;
4975 }
d14a1e28 4976 }
44127b65 4977 if (obj1) {
36ed4f51 4978 {
32fe5131 4979 arg3 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4980 if (SWIG_arg_fail(3)) SWIG_fail;
4981 }
d14a1e28
RD
4982 }
4983 {
4984 PyThreadState* __tstate = wxPyBeginAllowThreads();
4985 result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3);
4986
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
2f4c0a16 4990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellChoiceEditor, 1);
44127b65
RD
4991 {
4992 if (arg2) delete [] arg2;
4993 }
d14a1e28
RD
4994 return resultobj;
4995 fail:
44127b65
RD
4996 {
4997 if (arg2) delete [] arg2;
4998 }
d14a1e28
RD
4999 return NULL;
5000}
5001
5002
c370783e 5003static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5004 PyObject *resultobj = NULL;
d14a1e28
RD
5005 wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
5006 wxString result;
5007 PyObject * obj0 = 0 ;
5008 char *kwnames[] = {
5009 (char *) "self", NULL
5010 };
5011
5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
5013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellChoiceEditor, SWIG_POINTER_EXCEPTION | 0);
5014 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 result = (arg1)->GetValue();
5018
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 {
5023#if wxUSE_UNICODE
5024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5025#else
5026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5027#endif
5028 }
5029 return resultobj;
5030 fail:
5031 return NULL;
5032}
5033
5034
c370783e 5035static PyObject * GridCellChoiceEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5036 PyObject *obj;
5037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5038 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj);
5039 Py_INCREF(obj);
5040 return Py_BuildValue((char *)"");
5041}
c370783e 5042static PyObject *_wrap_new_GridCellEnumEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5043 PyObject *resultobj = NULL;
d14a1e28
RD
5044 wxString const &arg1_defvalue = wxPyEmptyString ;
5045 wxString *arg1 = (wxString *) &arg1_defvalue ;
5046 wxGridCellEnumEditor *result;
b411df4a 5047 bool temp1 = false ;
d14a1e28
RD
5048 PyObject * obj0 = 0 ;
5049 char *kwnames[] = {
5050 (char *) "choices", NULL
5051 };
5052
5053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail;
5054 if (obj0) {
5055 {
5056 arg1 = wxString_in_helper(obj0);
5057 if (arg1 == NULL) SWIG_fail;
b411df4a 5058 temp1 = true;
d14a1e28
RD
5059 }
5060 }
5061 {
5062 PyThreadState* __tstate = wxPyBeginAllowThreads();
5063 result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1);
5064
5065 wxPyEndAllowThreads(__tstate);
5066 if (PyErr_Occurred()) SWIG_fail;
5067 }
2f4c0a16 5068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumEditor, 1);
d14a1e28
RD
5069 {
5070 if (temp1)
5071 delete arg1;
5072 }
5073 return resultobj;
5074 fail:
5075 {
5076 if (temp1)
5077 delete arg1;
5078 }
5079 return NULL;
5080}
5081
5082
c370783e 5083static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5084 PyObject *resultobj = NULL;
d14a1e28
RD
5085 wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ;
5086 wxString result;
5087 PyObject * obj0 = 0 ;
5088 char *kwnames[] = {
5089 (char *) "self", NULL
5090 };
5091
5092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
5093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEnumEditor, SWIG_POINTER_EXCEPTION | 0);
5094 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5095 {
5096 PyThreadState* __tstate = wxPyBeginAllowThreads();
5097 result = (arg1)->GetValue();
5098
5099 wxPyEndAllowThreads(__tstate);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 {
5103#if wxUSE_UNICODE
5104 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5105#else
5106 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5107#endif
5108 }
5109 return resultobj;
5110 fail:
5111 return NULL;
5112}
5113
5114
c370783e 5115static PyObject * GridCellEnumEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5116 PyObject *obj;
5117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5118 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj);
5119 Py_INCREF(obj);
5120 return Py_BuildValue((char *)"");
5121}
c370783e 5122static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5123 PyObject *resultobj = NULL;
d14a1e28
RD
5124 wxGridCellAutoWrapStringEditor *result;
5125 char *kwnames[] = {
5126 NULL
5127 };
5128
5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail;
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor();
5133
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
2f4c0a16 5137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1);
d14a1e28
RD
5138 return resultobj;
5139 fail:
5140 return NULL;
5141}
5142
5143
c370783e 5144static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5145 PyObject *resultobj = NULL;
d14a1e28
RD
5146 wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ;
5147 wxString result;
5148 PyObject * obj0 = 0 ;
5149 char *kwnames[] = {
5150 (char *) "self", NULL
5151 };
5152
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
5154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAutoWrapStringEditor, SWIG_POINTER_EXCEPTION | 0);
5155 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5156 {
5157 PyThreadState* __tstate = wxPyBeginAllowThreads();
5158 result = (arg1)->GetValue();
5159
5160 wxPyEndAllowThreads(__tstate);
5161 if (PyErr_Occurred()) SWIG_fail;
5162 }
5163 {
5164#if wxUSE_UNICODE
5165 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5166#else
5167 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5168#endif
5169 }
5170 return resultobj;
5171 fail:
5172 return NULL;
5173}
5174
5175
c370783e 5176static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5177 PyObject *obj;
5178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5179 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj);
5180 Py_INCREF(obj);
5181 return Py_BuildValue((char *)"");
5182}
c370783e 5183static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5184 PyObject *resultobj = NULL;
d14a1e28
RD
5185 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5186 PyObject *arg2 = (PyObject *) 0 ;
5187 PyObject * obj0 = 0 ;
5188 PyObject * obj1 = 0 ;
5189 char *kwnames[] = {
5190 (char *) "self",(char *) "_self", NULL
5191 };
5192
5193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5195 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5196 arg2 = obj1;
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 wxGridCellAttr__setOORInfo(arg1,arg2);
5200
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 Py_INCREF(Py_None); resultobj = Py_None;
5205 return resultobj;
5206 fail:
5207 return NULL;
5208}
5209
5210
c370783e 5211static PyObject *_wrap_new_GridCellAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5212 PyObject *resultobj = NULL;
d14a1e28
RD
5213 wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ;
5214 wxGridCellAttr *result;
5215 PyObject * obj0 = 0 ;
5216 char *kwnames[] = {
5217 (char *) "attrDefault", NULL
5218 };
5219
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail;
5221 if (obj0) {
36ed4f51
RD
5222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5223 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5224 }
5225 {
5226 PyThreadState* __tstate = wxPyBeginAllowThreads();
5227 result = (wxGridCellAttr *)new wxGridCellAttr(arg1);
5228
5229 wxPyEndAllowThreads(__tstate);
5230 if (PyErr_Occurred()) SWIG_fail;
5231 }
5232 {
7e08d4ef 5233 resultobj = wxPyMake_wxGridCellAttr(result, (bool)1);
d14a1e28
RD
5234 }
5235 return resultobj;
5236 fail:
5237 return NULL;
5238}
5239
5240
c370783e 5241static PyObject *_wrap_GridCellAttr_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5242 PyObject *resultobj = NULL;
d14a1e28
RD
5243 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5244 wxGridCellAttr *result;
5245 PyObject * obj0 = 0 ;
5246 char *kwnames[] = {
5247 (char *) "self", NULL
5248 };
5249
5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail;
36ed4f51
RD
5251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5252 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5253 {
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone();
5256
5257 wxPyEndAllowThreads(__tstate);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 {
7e08d4ef 5261 resultobj = wxPyMake_wxGridCellAttr(result, (bool)0);
d14a1e28
RD
5262 }
5263 return resultobj;
5264 fail:
5265 return NULL;
5266}
5267
5268
c370783e 5269static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5270 PyObject *resultobj = NULL;
d14a1e28
RD
5271 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5272 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5273 PyObject * obj0 = 0 ;
5274 PyObject * obj1 = 0 ;
5275 char *kwnames[] = {
5276 (char *) "self",(char *) "mergefrom", NULL
5277 };
5278
5279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5281 if (SWIG_arg_fail(1)) SWIG_fail;
5282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5283 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5284 {
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 (arg1)->MergeWith(arg2);
5287
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 Py_INCREF(Py_None); resultobj = Py_None;
5292 return resultobj;
5293 fail:
5294 return NULL;
5295}
5296
5297
c370783e 5298static PyObject *_wrap_GridCellAttr_IncRef(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5299 PyObject *resultobj = NULL;
d14a1e28
RD
5300 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5301 PyObject * obj0 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "self", NULL
5304 };
5305
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail;
36ed4f51
RD
5307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5308 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5309 {
5310 PyThreadState* __tstate = wxPyBeginAllowThreads();
5311 (arg1)->IncRef();
5312
5313 wxPyEndAllowThreads(__tstate);
5314 if (PyErr_Occurred()) SWIG_fail;
5315 }
5316 Py_INCREF(Py_None); resultobj = Py_None;
5317 return resultobj;
5318 fail:
5319 return NULL;
5320}
5321
5322
c370783e 5323static PyObject *_wrap_GridCellAttr_DecRef(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5324 PyObject *resultobj = NULL;
d14a1e28
RD
5325 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5326 PyObject * obj0 = 0 ;
5327 char *kwnames[] = {
5328 (char *) "self", NULL
5329 };
5330
5331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_DecRef",kwnames,&obj0)) goto fail;
36ed4f51
RD
5332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5333 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 (arg1)->DecRef();
5337
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) SWIG_fail;
5340 }
5341 Py_INCREF(Py_None); resultobj = Py_None;
5342 return resultobj;
5343 fail:
5344 return NULL;
5345}
5346
5347
c370783e 5348static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5349 PyObject *resultobj = NULL;
d14a1e28
RD
5350 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5351 wxColour *arg2 = 0 ;
5352 wxColour temp2 ;
5353 PyObject * obj0 = 0 ;
5354 PyObject * obj1 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "self",(char *) "colText", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5362 {
5363 arg2 = &temp2;
5364 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5365 }
5366 {
5367 PyThreadState* __tstate = wxPyBeginAllowThreads();
5368 (arg1)->SetTextColour((wxColour const &)*arg2);
5369
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 Py_INCREF(Py_None); resultobj = Py_None;
5374 return resultobj;
5375 fail:
5376 return NULL;
5377}
5378
5379
c370783e 5380static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5381 PyObject *resultobj = NULL;
d14a1e28
RD
5382 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5383 wxColour *arg2 = 0 ;
5384 wxColour temp2 ;
5385 PyObject * obj0 = 0 ;
5386 PyObject * obj1 = 0 ;
5387 char *kwnames[] = {
5388 (char *) "self",(char *) "colBack", NULL
5389 };
5390
5391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5393 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5394 {
5395 arg2 = &temp2;
5396 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5397 }
5398 {
5399 PyThreadState* __tstate = wxPyBeginAllowThreads();
5400 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5401
5402 wxPyEndAllowThreads(__tstate);
5403 if (PyErr_Occurred()) SWIG_fail;
5404 }
5405 Py_INCREF(Py_None); resultobj = Py_None;
5406 return resultobj;
5407 fail:
5408 return NULL;
5409}
5410
5411
c370783e 5412static PyObject *_wrap_GridCellAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5413 PyObject *resultobj = NULL;
d14a1e28
RD
5414 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5415 wxFont *arg2 = 0 ;
5416 PyObject * obj0 = 0 ;
5417 PyObject * obj1 = 0 ;
5418 char *kwnames[] = {
5419 (char *) "self",(char *) "font", NULL
5420 };
5421
5422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5424 if (SWIG_arg_fail(1)) SWIG_fail;
5425 {
5426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
5427 if (SWIG_arg_fail(2)) SWIG_fail;
5428 if (arg2 == NULL) {
5429 SWIG_null_ref("wxFont");
5430 }
5431 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5432 }
5433 {
5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
5435 (arg1)->SetFont((wxFont const &)*arg2);
5436
5437 wxPyEndAllowThreads(__tstate);
5438 if (PyErr_Occurred()) SWIG_fail;
5439 }
5440 Py_INCREF(Py_None); resultobj = Py_None;
5441 return resultobj;
5442 fail:
5443 return NULL;
5444}
5445
5446
c370783e 5447static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5448 PyObject *resultobj = NULL;
d14a1e28
RD
5449 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5450 int arg2 ;
5451 int arg3 ;
5452 PyObject * obj0 = 0 ;
8edf1c75
RD
5453 PyObject * obj1 = 0 ;
5454 PyObject * obj2 = 0 ;
d14a1e28
RD
5455 char *kwnames[] = {
5456 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
5457 };
5458
8edf1c75 5459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5461 if (SWIG_arg_fail(1)) SWIG_fail;
5462 {
32fe5131 5463 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5464 if (SWIG_arg_fail(2)) SWIG_fail;
5465 }
5466 {
32fe5131 5467 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5468 if (SWIG_arg_fail(3)) SWIG_fail;
5469 }
d14a1e28
RD
5470 {
5471 PyThreadState* __tstate = wxPyBeginAllowThreads();
5472 (arg1)->SetAlignment(arg2,arg3);
5473
5474 wxPyEndAllowThreads(__tstate);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 }
5477 Py_INCREF(Py_None); resultobj = Py_None;
5478 return resultobj;
5479 fail:
5480 return NULL;
5481}
5482
5483
c370783e 5484static PyObject *_wrap_GridCellAttr_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5485 PyObject *resultobj = NULL;
d14a1e28
RD
5486 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5487 int arg2 ;
5488 int arg3 ;
5489 PyObject * obj0 = 0 ;
8edf1c75
RD
5490 PyObject * obj1 = 0 ;
5491 PyObject * obj2 = 0 ;
d14a1e28
RD
5492 char *kwnames[] = {
5493 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
5494 };
5495
8edf1c75 5496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5498 if (SWIG_arg_fail(1)) SWIG_fail;
5499 {
32fe5131 5500 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5501 if (SWIG_arg_fail(2)) SWIG_fail;
5502 }
5503 {
32fe5131 5504 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5505 if (SWIG_arg_fail(3)) SWIG_fail;
5506 }
d14a1e28
RD
5507 {
5508 PyThreadState* __tstate = wxPyBeginAllowThreads();
5509 (arg1)->SetSize(arg2,arg3);
5510
5511 wxPyEndAllowThreads(__tstate);
5512 if (PyErr_Occurred()) SWIG_fail;
5513 }
5514 Py_INCREF(Py_None); resultobj = Py_None;
5515 return resultobj;
5516 fail:
5517 return NULL;
5518}
5519
5520
c370783e 5521static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5522 PyObject *resultobj = NULL;
d14a1e28 5523 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
b411df4a 5524 bool arg2 = (bool) true ;
d14a1e28
RD
5525 PyObject * obj0 = 0 ;
5526 PyObject * obj1 = 0 ;
5527 char *kwnames[] = {
5528 (char *) "self",(char *) "allow", NULL
5529 };
5530
5531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5533 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5534 if (obj1) {
36ed4f51 5535 {
32fe5131 5536 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
5537 if (SWIG_arg_fail(2)) SWIG_fail;
5538 }
d14a1e28
RD
5539 }
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 (arg1)->SetOverflow(arg2);
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 Py_INCREF(Py_None); resultobj = Py_None;
5548 return resultobj;
5549 fail:
5550 return NULL;
5551}
5552
5553
c370783e 5554static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5555 PyObject *resultobj = NULL;
d14a1e28 5556 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
b411df4a 5557 bool arg2 = (bool) true ;
d14a1e28
RD
5558 PyObject * obj0 = 0 ;
5559 PyObject * obj1 = 0 ;
5560 char *kwnames[] = {
5561 (char *) "self",(char *) "isReadOnly", NULL
5562 };
5563
5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5566 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5567 if (obj1) {
36ed4f51 5568 {
32fe5131 5569 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
5570 if (SWIG_arg_fail(2)) SWIG_fail;
5571 }
d14a1e28
RD
5572 }
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 (arg1)->SetReadOnly(arg2);
5576
5577 wxPyEndAllowThreads(__tstate);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 }
5580 Py_INCREF(Py_None); resultobj = Py_None;
5581 return resultobj;
5582 fail:
5583 return NULL;
5584}
5585
5586
c370783e 5587static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5588 PyObject *resultobj = NULL;
d14a1e28
RD
5589 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5590 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
5591 PyObject * obj0 = 0 ;
5592 PyObject * obj1 = 0 ;
5593 char *kwnames[] = {
5594 (char *) "self",(char *) "renderer", NULL
5595 };
5596
5597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5599 if (SWIG_arg_fail(1)) SWIG_fail;
5600 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellRenderer, SWIG_POINTER_EXCEPTION | 0);
5601 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 (arg1)->SetRenderer(arg2);
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 Py_INCREF(Py_None); resultobj = Py_None;
5610 return resultobj;
5611 fail:
5612 return NULL;
5613}
5614
5615
c370783e 5616static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5617 PyObject *resultobj = NULL;
d14a1e28
RD
5618 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5619 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
5620 PyObject * obj0 = 0 ;
5621 PyObject * obj1 = 0 ;
5622 char *kwnames[] = {
5623 (char *) "self",(char *) "editor", NULL
5624 };
5625
5626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5628 if (SWIG_arg_fail(1)) SWIG_fail;
5629 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
5630 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 (arg1)->SetEditor(arg2);
5634
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 Py_INCREF(Py_None); resultobj = Py_None;
5639 return resultobj;
5640 fail:
5641 return NULL;
5642}
5643
5644
c370783e 5645static PyObject *_wrap_GridCellAttr_SetKind(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5646 PyObject *resultobj = NULL;
d14a1e28 5647 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
36ed4f51 5648 wxGridCellAttr::wxAttrKind arg2 ;
d14a1e28 5649 PyObject * obj0 = 0 ;
8edf1c75 5650 PyObject * obj1 = 0 ;
d14a1e28
RD
5651 char *kwnames[] = {
5652 (char *) "self",(char *) "kind", NULL
5653 };
5654
8edf1c75 5655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetKind",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5657 if (SWIG_arg_fail(1)) SWIG_fail;
5658 {
32fe5131 5659 arg2 = static_cast<wxGridCellAttr::wxAttrKind >(SWIG_As_int(obj1));
36ed4f51
RD
5660 if (SWIG_arg_fail(2)) SWIG_fail;
5661 }
d14a1e28
RD
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 5664 (arg1)->SetKind(arg2);
d14a1e28
RD
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 Py_INCREF(Py_None); resultobj = Py_None;
5670 return resultobj;
5671 fail:
5672 return NULL;
5673}
5674
5675
c370783e 5676static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5677 PyObject *resultobj = NULL;
d14a1e28
RD
5678 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5679 bool result;
5680 PyObject * obj0 = 0 ;
5681 char *kwnames[] = {
5682 (char *) "self", NULL
5683 };
5684
5685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
5686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5687 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5688 {
5689 PyThreadState* __tstate = wxPyBeginAllowThreads();
5690 result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour();
5691
5692 wxPyEndAllowThreads(__tstate);
5693 if (PyErr_Occurred()) SWIG_fail;
5694 }
fbc46b20
RD
5695 {
5696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5697 }
d14a1e28
RD
5698 return resultobj;
5699 fail:
5700 return NULL;
5701}
5702
5703
c370783e 5704static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5705 PyObject *resultobj = NULL;
d14a1e28
RD
5706 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5707 bool result;
5708 PyObject * obj0 = 0 ;
5709 char *kwnames[] = {
5710 (char *) "self", NULL
5711 };
5712
5713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
5714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5715 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5716 {
5717 PyThreadState* __tstate = wxPyBeginAllowThreads();
5718 result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour();
5719
5720 wxPyEndAllowThreads(__tstate);
5721 if (PyErr_Occurred()) SWIG_fail;
5722 }
fbc46b20
RD
5723 {
5724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5725 }
d14a1e28
RD
5726 return resultobj;
5727 fail:
5728 return NULL;
5729}
5730
5731
c370783e 5732static PyObject *_wrap_GridCellAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5733 PyObject *resultobj = NULL;
d14a1e28
RD
5734 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5735 bool result;
5736 PyObject * obj0 = 0 ;
5737 char *kwnames[] = {
5738 (char *) "self", NULL
5739 };
5740
5741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
5742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5743 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 result = (bool)((wxGridCellAttr const *)arg1)->HasFont();
5747
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
fbc46b20
RD
5751 {
5752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5753 }
d14a1e28
RD
5754 return resultobj;
5755 fail:
5756 return NULL;
5757}
5758
5759
c370783e 5760static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5761 PyObject *resultobj = NULL;
d14a1e28
RD
5762 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5763 bool result;
5764 PyObject * obj0 = 0 ;
5765 char *kwnames[] = {
5766 (char *) "self", NULL
5767 };
5768
5769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
5770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5771 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment();
5775
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
fbc46b20
RD
5779 {
5780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5781 }
d14a1e28
RD
5782 return resultobj;
5783 fail:
5784 return NULL;
5785}
5786
5787
c370783e 5788static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5789 PyObject *resultobj = NULL;
d14a1e28
RD
5790 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5791 bool result;
5792 PyObject * obj0 = 0 ;
5793 char *kwnames[] = {
5794 (char *) "self", NULL
5795 };
5796
5797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail;
36ed4f51
RD
5798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5799 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5800 {
5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
5802 result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer();
5803
5804 wxPyEndAllowThreads(__tstate);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 }
fbc46b20
RD
5807 {
5808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5809 }
d14a1e28
RD
5810 return resultobj;
5811 fail:
5812 return NULL;
5813}
5814
5815
c370783e 5816static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5817 PyObject *resultobj = NULL;
d14a1e28
RD
5818 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5819 bool result;
5820 PyObject * obj0 = 0 ;
5821 char *kwnames[] = {
5822 (char *) "self", NULL
5823 };
5824
5825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail;
36ed4f51
RD
5826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5827 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5828 {
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = (bool)((wxGridCellAttr const *)arg1)->HasEditor();
5831
5832 wxPyEndAllowThreads(__tstate);
5833 if (PyErr_Occurred()) SWIG_fail;
5834 }
fbc46b20
RD
5835 {
5836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5837 }
d14a1e28
RD
5838 return resultobj;
5839 fail:
5840 return NULL;
5841}
5842
5843
c370783e 5844static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5845 PyObject *resultobj = NULL;
d14a1e28
RD
5846 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5847 bool result;
5848 PyObject * obj0 = 0 ;
5849 char *kwnames[] = {
5850 (char *) "self", NULL
5851 };
5852
5853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
5854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5855 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 result = (bool)((wxGridCellAttr const *)arg1)->HasReadWriteMode();
5859
5860 wxPyEndAllowThreads(__tstate);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 }
fbc46b20
RD
5863 {
5864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5865 }
d14a1e28
RD
5866 return resultobj;
5867 fail:
5868 return NULL;
5869}
5870
5871
c370783e 5872static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5873 PyObject *resultobj = NULL;
d14a1e28
RD
5874 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5875 bool result;
5876 PyObject * obj0 = 0 ;
5877 char *kwnames[] = {
5878 (char *) "self", NULL
5879 };
5880
5881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
5882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5883 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5884 {
5885 PyThreadState* __tstate = wxPyBeginAllowThreads();
5886 result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode();
5887
5888 wxPyEndAllowThreads(__tstate);
5889 if (PyErr_Occurred()) SWIG_fail;
5890 }
fbc46b20
RD
5891 {
5892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5893 }
d14a1e28
RD
5894 return resultobj;
5895 fail:
5896 return NULL;
5897}
5898
5899
c370783e 5900static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5901 PyObject *resultobj = NULL;
d14a1e28
RD
5902 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5903 wxColour result;
5904 PyObject * obj0 = 0 ;
5905 char *kwnames[] = {
5906 (char *) "self", NULL
5907 };
5908
5909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
5910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5911 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5912 {
5913 PyThreadState* __tstate = wxPyBeginAllowThreads();
5914 result = ((wxGridCellAttr const *)arg1)->GetTextColour();
5915
5916 wxPyEndAllowThreads(__tstate);
5917 if (PyErr_Occurred()) SWIG_fail;
5918 }
5919 {
5920 wxColour * resultptr;
32fe5131 5921 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 5922 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5923 }
5924 return resultobj;
5925 fail:
5926 return NULL;
5927}
5928
5929
c370783e 5930static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5931 PyObject *resultobj = NULL;
d14a1e28
RD
5932 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5933 wxColour result;
5934 PyObject * obj0 = 0 ;
5935 char *kwnames[] = {
5936 (char *) "self", NULL
5937 };
5938
5939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
5940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5941 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 result = ((wxGridCellAttr const *)arg1)->GetBackgroundColour();
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 {
5950 wxColour * resultptr;
32fe5131 5951 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 5952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5953 }
5954 return resultobj;
5955 fail:
5956 return NULL;
5957}
5958
5959
c370783e 5960static PyObject *_wrap_GridCellAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5961 PyObject *resultobj = NULL;
d14a1e28
RD
5962 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5963 wxFont result;
5964 PyObject * obj0 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
5970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
5971 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 result = ((wxGridCellAttr const *)arg1)->GetFont();
5975
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
5979 {
5980 wxFont * resultptr;
32fe5131 5981 resultptr = new wxFont(static_cast<wxFont & >(result));
2f4c0a16 5982 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
5983 }
5984 return resultobj;
5985 fail:
5986 return NULL;
5987}
5988
5989
c370783e 5990static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5991 PyObject *resultobj = NULL;
d14a1e28
RD
5992 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
5993 int *arg2 = (int *) 0 ;
5994 int *arg3 = (int *) 0 ;
5995 int temp2 ;
c370783e 5996 int res2 = 0 ;
d14a1e28 5997 int temp3 ;
c370783e 5998 int res3 = 0 ;
d14a1e28
RD
5999 PyObject * obj0 = 0 ;
6000 char *kwnames[] = {
6001 (char *) "self", NULL
6002 };
6003
c370783e
RD
6004 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6005 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 6006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
6007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6008 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6009 {
6010 PyThreadState* __tstate = wxPyBeginAllowThreads();
6011 ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3);
6012
6013 wxPyEndAllowThreads(__tstate);
6014 if (PyErr_Occurred()) SWIG_fail;
6015 }
6016 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
6017 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6018 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6019 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6020 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
6021 return resultobj;
6022 fail:
6023 return NULL;
6024}
6025
6026
c370783e 6027static PyObject *_wrap_GridCellAttr_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6028 PyObject *resultobj = NULL;
d14a1e28
RD
6029 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
6030 int *arg2 = (int *) 0 ;
6031 int *arg3 = (int *) 0 ;
6032 int temp2 ;
c370783e 6033 int res2 = 0 ;
d14a1e28 6034 int temp3 ;
c370783e 6035 int res3 = 0 ;
d14a1e28
RD
6036 PyObject * obj0 = 0 ;
6037 char *kwnames[] = {
6038 (char *) "self", NULL
6039 };
6040
c370783e
RD
6041 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6042 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
6044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6045 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6046 {
6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
6048 ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3);
6049
6050 wxPyEndAllowThreads(__tstate);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
6053 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
6054 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6055 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6056 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6057 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
6058 return resultobj;
6059 fail:
6060 return NULL;
6061}
6062
6063
c370783e 6064static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6065 PyObject *resultobj = NULL;
d14a1e28
RD
6066 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
6067 bool result;
6068 PyObject * obj0 = 0 ;
6069 char *kwnames[] = {
6070 (char *) "self", NULL
6071 };
6072
6073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail;
36ed4f51
RD
6074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6075 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow();
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
fbc46b20
RD
6083 {
6084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6085 }
d14a1e28
RD
6086 return resultobj;
6087 fail:
6088 return NULL;
6089}
6090
6091
c370783e 6092static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6093 PyObject *resultobj = NULL;
d14a1e28
RD
6094 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
6095 wxGrid *arg2 = (wxGrid *) 0 ;
6096 int arg3 ;
6097 int arg4 ;
6098 wxGridCellRenderer *result;
6099 PyObject * obj0 = 0 ;
6100 PyObject * obj1 = 0 ;
8edf1c75
RD
6101 PyObject * obj2 = 0 ;
6102 PyObject * obj3 = 0 ;
d14a1e28
RD
6103 char *kwnames[] = {
6104 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6105 };
6106
8edf1c75 6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6109 if (SWIG_arg_fail(1)) SWIG_fail;
6110 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
6111 if (SWIG_arg_fail(2)) SWIG_fail;
6112 {
32fe5131 6113 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6114 if (SWIG_arg_fail(3)) SWIG_fail;
6115 }
6116 {
32fe5131 6117 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
6118 if (SWIG_arg_fail(4)) SWIG_fail;
6119 }
d14a1e28
RD
6120 {
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
6122 result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4);
6123
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 {
7e08d4ef 6128 resultobj = wxPyMake_wxGridCellRenderer(result, (bool)0);
d14a1e28
RD
6129 }
6130 return resultobj;
6131 fail:
6132 return NULL;
6133}
6134
6135
c370783e 6136static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6137 PyObject *resultobj = NULL;
d14a1e28
RD
6138 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
6139 wxGrid *arg2 = (wxGrid *) 0 ;
6140 int arg3 ;
6141 int arg4 ;
6142 wxGridCellEditor *result;
6143 PyObject * obj0 = 0 ;
6144 PyObject * obj1 = 0 ;
8edf1c75
RD
6145 PyObject * obj2 = 0 ;
6146 PyObject * obj3 = 0 ;
d14a1e28
RD
6147 char *kwnames[] = {
6148 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6149 };
6150
8edf1c75 6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6153 if (SWIG_arg_fail(1)) SWIG_fail;
6154 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
6155 if (SWIG_arg_fail(2)) SWIG_fail;
6156 {
32fe5131 6157 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6158 if (SWIG_arg_fail(3)) SWIG_fail;
6159 }
6160 {
32fe5131 6161 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
6162 if (SWIG_arg_fail(4)) SWIG_fail;
6163 }
d14a1e28
RD
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4);
6167
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 {
7e08d4ef 6172 resultobj = wxPyMake_wxGridCellEditor(result, (bool)0);
d14a1e28
RD
6173 }
6174 return resultobj;
6175 fail:
6176 return NULL;
6177}
6178
6179
c370783e 6180static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6181 PyObject *resultobj = NULL;
d14a1e28
RD
6182 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
6183 bool result;
6184 PyObject * obj0 = 0 ;
6185 char *kwnames[] = {
6186 (char *) "self", NULL
6187 };
6188
6189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail;
36ed4f51
RD
6190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6191 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly();
6195
6196 wxPyEndAllowThreads(__tstate);
6197 if (PyErr_Occurred()) SWIG_fail;
6198 }
fbc46b20
RD
6199 {
6200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6201 }
d14a1e28
RD
6202 return resultobj;
6203 fail:
6204 return NULL;
6205}
6206
6207
c370783e 6208static PyObject *_wrap_GridCellAttr_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6209 PyObject *resultobj = NULL;
fd2dc343 6210 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
36ed4f51 6211 wxGridCellAttr::wxAttrKind result;
fd2dc343
RD
6212 PyObject * obj0 = 0 ;
6213 char *kwnames[] = {
6214 (char *) "self", NULL
6215 };
6216
6217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetKind",kwnames,&obj0)) goto fail;
36ed4f51
RD
6218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6219 if (SWIG_arg_fail(1)) SWIG_fail;
fd2dc343
RD
6220 {
6221 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6222 result = (wxGridCellAttr::wxAttrKind)(arg1)->GetKind();
fd2dc343
RD
6223
6224 wxPyEndAllowThreads(__tstate);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 }
36ed4f51 6227 resultobj = SWIG_From_int((result));
fd2dc343
RD
6228 return resultobj;
6229 fail:
6230 return NULL;
6231}
6232
6233
c370783e 6234static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6235 PyObject *resultobj = NULL;
d14a1e28
RD
6236 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
6237 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6238 PyObject * obj0 = 0 ;
6239 PyObject * obj1 = 0 ;
6240 char *kwnames[] = {
6241 (char *) "self",(char *) "defAttr", NULL
6242 };
6243
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6246 if (SWIG_arg_fail(1)) SWIG_fail;
6247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6248 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6249 {
6250 PyThreadState* __tstate = wxPyBeginAllowThreads();
6251 (arg1)->SetDefAttr(arg2);
6252
6253 wxPyEndAllowThreads(__tstate);
6254 if (PyErr_Occurred()) SWIG_fail;
6255 }
6256 Py_INCREF(Py_None); resultobj = Py_None;
6257 return resultobj;
6258 fail:
6259 return NULL;
6260}
6261
6262
c370783e 6263static PyObject * GridCellAttr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6264 PyObject *obj;
6265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6266 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj);
6267 Py_INCREF(obj);
6268 return Py_BuildValue((char *)"");
6269}
c370783e 6270static PyObject *_wrap_new_GridCellAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6271 PyObject *resultobj = NULL;
d14a1e28
RD
6272 wxGridCellAttrProvider *result;
6273 char *kwnames[] = {
6274 NULL
6275 };
6276
6277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail;
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
6280 result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider();
6281
6282 wxPyEndAllowThreads(__tstate);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
6285 {
7e08d4ef 6286 resultobj = wxPyMake_wxGridCellAttrProvider(result, (bool)1);
d14a1e28
RD
6287 }
6288 return resultobj;
6289 fail:
6290 return NULL;
6291}
6292
6293
c370783e 6294static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6295 PyObject *resultobj = NULL;
d14a1e28
RD
6296 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
6297 PyObject *arg2 = (PyObject *) 0 ;
6298 PyObject * obj0 = 0 ;
6299 PyObject * obj1 = 0 ;
6300 char *kwnames[] = {
6301 (char *) "self",(char *) "_self", NULL
6302 };
6303
6304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0);
6306 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6307 arg2 = obj1;
6308 {
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 wxGridCellAttrProvider__setOORInfo(arg1,arg2);
6311
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
6315 Py_INCREF(Py_None); resultobj = Py_None;
6316 return resultobj;
6317 fail:
6318 return NULL;
6319}
6320
6321
c370783e 6322static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6323 PyObject *resultobj = NULL;
d14a1e28
RD
6324 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
6325 int arg2 ;
6326 int arg3 ;
36ed4f51 6327 wxGridCellAttr::wxAttrKind arg4 ;
d14a1e28
RD
6328 wxGridCellAttr *result;
6329 PyObject * obj0 = 0 ;
8edf1c75
RD
6330 PyObject * obj1 = 0 ;
6331 PyObject * obj2 = 0 ;
6332 PyObject * obj3 = 0 ;
d14a1e28
RD
6333 char *kwnames[] = {
6334 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6335 };
6336
8edf1c75 6337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0);
6339 if (SWIG_arg_fail(1)) SWIG_fail;
6340 {
32fe5131 6341 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6342 if (SWIG_arg_fail(2)) SWIG_fail;
6343 }
6344 {
32fe5131 6345 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6346 if (SWIG_arg_fail(3)) SWIG_fail;
6347 }
6348 {
32fe5131 6349 arg4 = static_cast<wxGridCellAttr::wxAttrKind >(SWIG_As_int(obj3));
36ed4f51
RD
6350 if (SWIG_arg_fail(4)) SWIG_fail;
6351 }
d14a1e28
RD
6352 {
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6354 result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,arg4);
d14a1e28
RD
6355
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 {
7e08d4ef 6360 resultobj = wxPyMake_wxGridCellAttr(result, (bool)0);
d14a1e28
RD
6361 }
6362 return resultobj;
6363 fail:
6364 return NULL;
6365}
6366
6367
c370783e 6368static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6369 PyObject *resultobj = NULL;
d14a1e28
RD
6370 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
6371 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6372 int arg3 ;
6373 int arg4 ;
6374 PyObject * obj0 = 0 ;
6375 PyObject * obj1 = 0 ;
8edf1c75
RD
6376 PyObject * obj2 = 0 ;
6377 PyObject * obj3 = 0 ;
d14a1e28
RD
6378 char *kwnames[] = {
6379 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6380 };
6381
8edf1c75 6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0);
6384 if (SWIG_arg_fail(1)) SWIG_fail;
6385 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6386 if (SWIG_arg_fail(2)) SWIG_fail;
6387 {
32fe5131 6388 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6389 if (SWIG_arg_fail(3)) SWIG_fail;
6390 }
6391 {
32fe5131 6392 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
6393 if (SWIG_arg_fail(4)) SWIG_fail;
6394 }
d14a1e28
RD
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 (arg1)->SetAttr(arg2,arg3,arg4);
6398
6399 wxPyEndAllowThreads(__tstate);
6400 if (PyErr_Occurred()) SWIG_fail;
6401 }
6402 Py_INCREF(Py_None); resultobj = Py_None;
6403 return resultobj;
6404 fail:
6405 return NULL;
6406}
6407
6408
c370783e 6409static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6410 PyObject *resultobj = NULL;
d14a1e28
RD
6411 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
6412 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6413 int arg3 ;
6414 PyObject * obj0 = 0 ;
6415 PyObject * obj1 = 0 ;
8edf1c75 6416 PyObject * obj2 = 0 ;
d14a1e28
RD
6417 char *kwnames[] = {
6418 (char *) "self",(char *) "attr",(char *) "row", NULL
6419 };
6420
8edf1c75 6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0);
6423 if (SWIG_arg_fail(1)) SWIG_fail;
6424 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6425 if (SWIG_arg_fail(2)) SWIG_fail;
6426 {
32fe5131 6427 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6428 if (SWIG_arg_fail(3)) SWIG_fail;
6429 }
d14a1e28
RD
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 (arg1)->SetRowAttr(arg2,arg3);
6433
6434 wxPyEndAllowThreads(__tstate);
6435 if (PyErr_Occurred()) SWIG_fail;
6436 }
6437 Py_INCREF(Py_None); resultobj = Py_None;
6438 return resultobj;
6439 fail:
6440 return NULL;
6441}
6442
6443
c370783e 6444static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6445 PyObject *resultobj = NULL;
d14a1e28
RD
6446 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
6447 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6448 int arg3 ;
6449 PyObject * obj0 = 0 ;
6450 PyObject * obj1 = 0 ;
8edf1c75 6451 PyObject * obj2 = 0 ;
d14a1e28
RD
6452 char *kwnames[] = {
6453 (char *) "self",(char *) "attr",(char *) "col", NULL
6454 };
6455
8edf1c75 6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0);
6458 if (SWIG_arg_fail(1)) SWIG_fail;
6459 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6460 if (SWIG_arg_fail(2)) SWIG_fail;
6461 {
32fe5131 6462 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6463 if (SWIG_arg_fail(3)) SWIG_fail;
6464 }
d14a1e28
RD
6465 {
6466 PyThreadState* __tstate = wxPyBeginAllowThreads();
6467 (arg1)->SetColAttr(arg2,arg3);
6468
6469 wxPyEndAllowThreads(__tstate);
6470 if (PyErr_Occurred()) SWIG_fail;
6471 }
6472 Py_INCREF(Py_None); resultobj = Py_None;
6473 return resultobj;
6474 fail:
6475 return NULL;
6476}
6477
6478
c370783e 6479static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6480 PyObject *resultobj = NULL;
d14a1e28
RD
6481 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
6482 size_t arg2 ;
6483 int arg3 ;
6484 PyObject * obj0 = 0 ;
6485 PyObject * obj1 = 0 ;
8edf1c75 6486 PyObject * obj2 = 0 ;
d14a1e28
RD
6487 char *kwnames[] = {
6488 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6489 };
6490
8edf1c75 6491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0);
6493 if (SWIG_arg_fail(1)) SWIG_fail;
6494 {
32fe5131 6495 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
6496 if (SWIG_arg_fail(2)) SWIG_fail;
6497 }
6498 {
32fe5131 6499 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6500 if (SWIG_arg_fail(3)) SWIG_fail;
6501 }
d14a1e28
RD
6502 {
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 (arg1)->UpdateAttrRows(arg2,arg3);
6505
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 Py_INCREF(Py_None); resultobj = Py_None;
6510 return resultobj;
6511 fail:
6512 return NULL;
6513}
6514
6515
c370783e 6516static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6517 PyObject *resultobj = NULL;
d14a1e28
RD
6518 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
6519 size_t arg2 ;
6520 int arg3 ;
6521 PyObject * obj0 = 0 ;
6522 PyObject * obj1 = 0 ;
8edf1c75 6523 PyObject * obj2 = 0 ;
d14a1e28
RD
6524 char *kwnames[] = {
6525 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6526 };
6527
8edf1c75 6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0);
6530 if (SWIG_arg_fail(1)) SWIG_fail;
6531 {
32fe5131 6532 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
6533 if (SWIG_arg_fail(2)) SWIG_fail;
6534 }
6535 {
32fe5131 6536 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6537 if (SWIG_arg_fail(3)) SWIG_fail;
6538 }
d14a1e28
RD
6539 {
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 (arg1)->UpdateAttrCols(arg2,arg3);
6542
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
6546 Py_INCREF(Py_None); resultobj = Py_None;
6547 return resultobj;
6548 fail:
6549 return NULL;
6550}
6551
6552
c370783e 6553static PyObject * GridCellAttrProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6554 PyObject *obj;
6555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6556 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj);
6557 Py_INCREF(obj);
6558 return Py_BuildValue((char *)"");
6559}
c370783e 6560static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6561 PyObject *resultobj = NULL;
d14a1e28
RD
6562 wxPyGridCellAttrProvider *result;
6563 char *kwnames[] = {
6564 NULL
6565 };
6566
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail;
6568 {
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider();
6571
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
2f4c0a16 6575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellAttrProvider, 1);
d14a1e28
RD
6576 return resultobj;
6577 fail:
6578 return NULL;
6579}
6580
6581
c370783e 6582static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6583 PyObject *resultobj = NULL;
d14a1e28
RD
6584 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
6585 PyObject *arg2 = (PyObject *) 0 ;
6586 PyObject *arg3 = (PyObject *) 0 ;
6587 PyObject * obj0 = 0 ;
6588 PyObject * obj1 = 0 ;
6589 PyObject * obj2 = 0 ;
6590 char *kwnames[] = {
6591 (char *) "self",(char *) "self",(char *) "_class", NULL
6592 };
6593
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0);
6596 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6597 arg2 = obj1;
6598 arg3 = obj2;
6599 {
6600 PyThreadState* __tstate = wxPyBeginAllowThreads();
6601 (arg1)->_setCallbackInfo(arg2,arg3);
6602
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
6606 Py_INCREF(Py_None); resultobj = Py_None;
6607 return resultobj;
6608 fail:
6609 return NULL;
6610}
6611
6612
7f7aa166 6613static PyObject *_wrap_PyGridCellAttrProvider_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6614 PyObject *resultobj = NULL;
d14a1e28
RD
6615 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
6616 int arg2 ;
6617 int arg3 ;
36ed4f51 6618 wxGridCellAttr::wxAttrKind arg4 ;
d14a1e28
RD
6619 wxGridCellAttr *result;
6620 PyObject * obj0 = 0 ;
8edf1c75
RD
6621 PyObject * obj1 = 0 ;
6622 PyObject * obj2 = 0 ;
6623 PyObject * obj3 = 0 ;
d14a1e28
RD
6624 char *kwnames[] = {
6625 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6626 };
6627
7f7aa166 6628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0);
6630 if (SWIG_arg_fail(1)) SWIG_fail;
6631 {
32fe5131 6632 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6633 if (SWIG_arg_fail(2)) SWIG_fail;
6634 }
6635 {
32fe5131 6636 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6637 if (SWIG_arg_fail(3)) SWIG_fail;
6638 }
6639 {
32fe5131 6640 arg4 = static_cast<wxGridCellAttr::wxAttrKind >(SWIG_As_int(obj3));
36ed4f51
RD
6641 if (SWIG_arg_fail(4)) SWIG_fail;
6642 }
d14a1e28
RD
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 6645 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,arg4);
d14a1e28
RD
6646
6647 wxPyEndAllowThreads(__tstate);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 {
7e08d4ef 6651 resultobj = wxPyMake_wxGridCellAttr(result, (bool)0);
d14a1e28
RD
6652 }
6653 return resultobj;
6654 fail:
6655 return NULL;
6656}
6657
6658
7f7aa166 6659static PyObject *_wrap_PyGridCellAttrProvider_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6660 PyObject *resultobj = NULL;
d14a1e28
RD
6661 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
6662 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6663 int arg3 ;
6664 int arg4 ;
6665 PyObject * obj0 = 0 ;
6666 PyObject * obj1 = 0 ;
8edf1c75
RD
6667 PyObject * obj2 = 0 ;
6668 PyObject * obj3 = 0 ;
d14a1e28
RD
6669 char *kwnames[] = {
6670 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6671 };
6672
7f7aa166 6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0);
6675 if (SWIG_arg_fail(1)) SWIG_fail;
6676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6677 if (SWIG_arg_fail(2)) SWIG_fail;
6678 {
32fe5131 6679 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6680 if (SWIG_arg_fail(3)) SWIG_fail;
6681 }
6682 {
32fe5131 6683 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
6684 if (SWIG_arg_fail(4)) SWIG_fail;
6685 }
d14a1e28
RD
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 6688 (arg1)->SetAttr(arg2,arg3,arg4);
d14a1e28
RD
6689
6690 wxPyEndAllowThreads(__tstate);
6691 if (PyErr_Occurred()) SWIG_fail;
6692 }
6693 Py_INCREF(Py_None); resultobj = Py_None;
6694 return resultobj;
6695 fail:
6696 return NULL;
6697}
6698
6699
7f7aa166 6700static PyObject *_wrap_PyGridCellAttrProvider_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6701 PyObject *resultobj = NULL;
d14a1e28
RD
6702 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
6703 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6704 int arg3 ;
6705 PyObject * obj0 = 0 ;
6706 PyObject * obj1 = 0 ;
8edf1c75 6707 PyObject * obj2 = 0 ;
d14a1e28
RD
6708 char *kwnames[] = {
6709 (char *) "self",(char *) "attr",(char *) "row", NULL
6710 };
6711
7f7aa166 6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0);
6714 if (SWIG_arg_fail(1)) SWIG_fail;
6715 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6716 if (SWIG_arg_fail(2)) SWIG_fail;
6717 {
32fe5131 6718 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6719 if (SWIG_arg_fail(3)) SWIG_fail;
6720 }
d14a1e28
RD
6721 {
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 6723 (arg1)->SetRowAttr(arg2,arg3);
d14a1e28
RD
6724
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 Py_INCREF(Py_None); resultobj = Py_None;
6729 return resultobj;
6730 fail:
6731 return NULL;
6732}
6733
6734
7f7aa166 6735static PyObject *_wrap_PyGridCellAttrProvider_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6736 PyObject *resultobj = NULL;
d14a1e28
RD
6737 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
6738 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6739 int arg3 ;
6740 PyObject * obj0 = 0 ;
6741 PyObject * obj1 = 0 ;
8edf1c75 6742 PyObject * obj2 = 0 ;
d14a1e28
RD
6743 char *kwnames[] = {
6744 (char *) "self",(char *) "attr",(char *) "col", NULL
6745 };
6746
7f7aa166 6747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0);
6749 if (SWIG_arg_fail(1)) SWIG_fail;
6750 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
6751 if (SWIG_arg_fail(2)) SWIG_fail;
6752 {
32fe5131 6753 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6754 if (SWIG_arg_fail(3)) SWIG_fail;
6755 }
d14a1e28
RD
6756 {
6757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 6758 (arg1)->SetColAttr(arg2,arg3);
d14a1e28
RD
6759
6760 wxPyEndAllowThreads(__tstate);
6761 if (PyErr_Occurred()) SWIG_fail;
6762 }
6763 Py_INCREF(Py_None); resultobj = Py_None;
6764 return resultobj;
6765 fail:
6766 return NULL;
6767}
6768
6769
c370783e 6770static PyObject * PyGridCellAttrProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6771 PyObject *obj;
6772 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6773 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj);
6774 Py_INCREF(obj);
6775 return Py_BuildValue((char *)"");
6776}
c370783e 6777static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6778 PyObject *resultobj = NULL;
d14a1e28
RD
6779 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6780 PyObject *arg2 = (PyObject *) 0 ;
6781 PyObject * obj0 = 0 ;
6782 PyObject * obj1 = 0 ;
6783 char *kwnames[] = {
6784 (char *) "self",(char *) "_self", NULL
6785 };
6786
6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
6789 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6790 arg2 = obj1;
6791 {
6792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6793 wxGridTableBase__setOORInfo(arg1,arg2);
6794
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 Py_INCREF(Py_None); resultobj = Py_None;
6799 return resultobj;
6800 fail:
6801 return NULL;
6802}
6803
6804
c370783e 6805static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6806 PyObject *resultobj = NULL;
d14a1e28
RD
6807 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6808 wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ;
6809 PyObject * obj0 = 0 ;
6810 PyObject * obj1 = 0 ;
6811 char *kwnames[] = {
6812 (char *) "self",(char *) "attrProvider", NULL
6813 };
6814
6815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
6817 if (SWIG_arg_fail(1)) SWIG_fail;
6818 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0);
6819 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6820 {
6821 PyThreadState* __tstate = wxPyBeginAllowThreads();
6822 (arg1)->SetAttrProvider(arg2);
6823
6824 wxPyEndAllowThreads(__tstate);
6825 if (PyErr_Occurred()) SWIG_fail;
6826 }
6827 Py_INCREF(Py_None); resultobj = Py_None;
6828 return resultobj;
6829 fail:
6830 return NULL;
6831}
6832
6833
c370783e 6834static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6835 PyObject *resultobj = NULL;
d14a1e28
RD
6836 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6837 wxGridCellAttrProvider *result;
6838 PyObject * obj0 = 0 ;
6839 char *kwnames[] = {
6840 (char *) "self", NULL
6841 };
6842
6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail;
36ed4f51
RD
6844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
6845 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6846 {
6847 PyThreadState* __tstate = wxPyBeginAllowThreads();
6848 result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider();
6849
6850 wxPyEndAllowThreads(__tstate);
6851 if (PyErr_Occurred()) SWIG_fail;
6852 }
6853 {
7e08d4ef 6854 resultobj = wxPyMake_wxGridCellAttrProvider(result, (bool)0);
d14a1e28
RD
6855 }
6856 return resultobj;
6857 fail:
6858 return NULL;
6859}
6860
6861
c370783e 6862static PyObject *_wrap_GridTableBase_SetView(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6863 PyObject *resultobj = NULL;
d14a1e28
RD
6864 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6865 wxGrid *arg2 = (wxGrid *) 0 ;
6866 PyObject * obj0 = 0 ;
6867 PyObject * obj1 = 0 ;
6868 char *kwnames[] = {
6869 (char *) "self",(char *) "grid", NULL
6870 };
6871
6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
6874 if (SWIG_arg_fail(1)) SWIG_fail;
6875 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
6876 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 (arg1)->SetView(arg2);
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 Py_INCREF(Py_None); resultobj = Py_None;
6885 return resultobj;
6886 fail:
6887 return NULL;
6888}
6889
6890
c370783e 6891static PyObject *_wrap_GridTableBase_GetView(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6892 PyObject *resultobj = NULL;
d14a1e28
RD
6893 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6894 wxGrid *result;
6895 PyObject * obj0 = 0 ;
6896 char *kwnames[] = {
6897 (char *) "self", NULL
6898 };
6899
6900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail;
36ed4f51
RD
6901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
6902 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
6905 result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView();
6906
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 {
7e08d4ef 6911 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
6912 }
6913 return resultobj;
6914 fail:
6915 return NULL;
6916}
6917
6918
c370783e 6919static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6920 PyObject *resultobj = NULL;
d14a1e28
RD
6921 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6922 int result;
6923 PyObject * obj0 = 0 ;
6924 char *kwnames[] = {
6925 (char *) "self", NULL
6926 };
6927
6928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail;
36ed4f51
RD
6929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
6930 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6931 {
6932 PyThreadState* __tstate = wxPyBeginAllowThreads();
6933 result = (int)(arg1)->GetNumberRows();
6934
6935 wxPyEndAllowThreads(__tstate);
6936 if (PyErr_Occurred()) SWIG_fail;
6937 }
36ed4f51 6938 {
32fe5131 6939 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6940 }
d14a1e28
RD
6941 return resultobj;
6942 fail:
6943 return NULL;
6944}
6945
6946
c370783e 6947static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6948 PyObject *resultobj = NULL;
d14a1e28
RD
6949 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6950 int result;
6951 PyObject * obj0 = 0 ;
6952 char *kwnames[] = {
6953 (char *) "self", NULL
6954 };
6955
6956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail;
36ed4f51
RD
6957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
6958 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 result = (int)(arg1)->GetNumberCols();
6962
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
36ed4f51 6966 {
32fe5131 6967 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6968 }
d14a1e28
RD
6969 return resultobj;
6970 fail:
6971 return NULL;
6972}
6973
6974
c370783e 6975static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6976 PyObject *resultobj = NULL;
d14a1e28
RD
6977 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6978 int arg2 ;
6979 int arg3 ;
6980 bool result;
6981 PyObject * obj0 = 0 ;
8edf1c75
RD
6982 PyObject * obj1 = 0 ;
6983 PyObject * obj2 = 0 ;
d14a1e28
RD
6984 char *kwnames[] = {
6985 (char *) "self",(char *) "row",(char *) "col", NULL
6986 };
6987
8edf1c75 6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
6990 if (SWIG_arg_fail(1)) SWIG_fail;
6991 {
32fe5131 6992 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6993 if (SWIG_arg_fail(2)) SWIG_fail;
6994 }
6995 {
32fe5131 6996 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6997 if (SWIG_arg_fail(3)) SWIG_fail;
6998 }
d14a1e28
RD
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 result = (bool)(arg1)->IsEmptyCell(arg2,arg3);
7002
7003 wxPyEndAllowThreads(__tstate);
7004 if (PyErr_Occurred()) SWIG_fail;
7005 }
fbc46b20
RD
7006 {
7007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7008 }
d14a1e28
RD
7009 return resultobj;
7010 fail:
7011 return NULL;
7012}
7013
7014
c370783e 7015static PyObject *_wrap_GridTableBase_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7016 PyObject *resultobj = NULL;
d14a1e28
RD
7017 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7018 int arg2 ;
7019 int arg3 ;
7020 wxString result;
7021 PyObject * obj0 = 0 ;
8edf1c75
RD
7022 PyObject * obj1 = 0 ;
7023 PyObject * obj2 = 0 ;
d14a1e28
RD
7024 char *kwnames[] = {
7025 (char *) "self",(char *) "row",(char *) "col", NULL
7026 };
7027
8edf1c75 7028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7030 if (SWIG_arg_fail(1)) SWIG_fail;
7031 {
32fe5131 7032 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7033 if (SWIG_arg_fail(2)) SWIG_fail;
7034 }
7035 {
32fe5131 7036 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7037 if (SWIG_arg_fail(3)) SWIG_fail;
7038 }
d14a1e28
RD
7039 {
7040 PyThreadState* __tstate = wxPyBeginAllowThreads();
7041 result = (arg1)->GetValue(arg2,arg3);
7042
7043 wxPyEndAllowThreads(__tstate);
7044 if (PyErr_Occurred()) SWIG_fail;
7045 }
7046 {
7047#if wxUSE_UNICODE
7048 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7049#else
7050 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7051#endif
7052 }
7053 return resultobj;
7054 fail:
7055 return NULL;
7056}
7057
7058
c370783e 7059static PyObject *_wrap_GridTableBase_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7060 PyObject *resultobj = NULL;
d14a1e28
RD
7061 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7062 int arg2 ;
7063 int arg3 ;
7064 wxString *arg4 = 0 ;
b411df4a 7065 bool temp4 = false ;
d14a1e28 7066 PyObject * obj0 = 0 ;
8edf1c75
RD
7067 PyObject * obj1 = 0 ;
7068 PyObject * obj2 = 0 ;
d14a1e28
RD
7069 PyObject * obj3 = 0 ;
7070 char *kwnames[] = {
7071 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7072 };
7073
8edf1c75 7074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7076 if (SWIG_arg_fail(1)) SWIG_fail;
7077 {
32fe5131 7078 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7079 if (SWIG_arg_fail(2)) SWIG_fail;
7080 }
7081 {
32fe5131 7082 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7083 if (SWIG_arg_fail(3)) SWIG_fail;
7084 }
d14a1e28
RD
7085 {
7086 arg4 = wxString_in_helper(obj3);
7087 if (arg4 == NULL) SWIG_fail;
b411df4a 7088 temp4 = true;
d14a1e28
RD
7089 }
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4);
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 Py_INCREF(Py_None); resultobj = Py_None;
7098 {
7099 if (temp4)
7100 delete arg4;
7101 }
7102 return resultobj;
7103 fail:
7104 {
7105 if (temp4)
7106 delete arg4;
7107 }
7108 return NULL;
7109}
7110
7111
c370783e 7112static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7113 PyObject *resultobj = NULL;
d14a1e28
RD
7114 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7115 int arg2 ;
7116 int arg3 ;
7117 wxString result;
7118 PyObject * obj0 = 0 ;
8edf1c75
RD
7119 PyObject * obj1 = 0 ;
7120 PyObject * obj2 = 0 ;
d14a1e28
RD
7121 char *kwnames[] = {
7122 (char *) "self",(char *) "row",(char *) "col", NULL
7123 };
7124
8edf1c75 7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7127 if (SWIG_arg_fail(1)) SWIG_fail;
7128 {
32fe5131 7129 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7130 if (SWIG_arg_fail(2)) SWIG_fail;
7131 }
7132 {
32fe5131 7133 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7134 if (SWIG_arg_fail(3)) SWIG_fail;
7135 }
d14a1e28
RD
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 result = (arg1)->GetTypeName(arg2,arg3);
7139
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 {
7144#if wxUSE_UNICODE
7145 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7146#else
7147 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7148#endif
7149 }
7150 return resultobj;
7151 fail:
7152 return NULL;
7153}
7154
7155
c370783e 7156static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7157 PyObject *resultobj = NULL;
d14a1e28
RD
7158 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7159 int arg2 ;
7160 int arg3 ;
7161 wxString *arg4 = 0 ;
7162 bool result;
b411df4a 7163 bool temp4 = false ;
d14a1e28 7164 PyObject * obj0 = 0 ;
8edf1c75
RD
7165 PyObject * obj1 = 0 ;
7166 PyObject * obj2 = 0 ;
d14a1e28
RD
7167 PyObject * obj3 = 0 ;
7168 char *kwnames[] = {
7169 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7170 };
7171
8edf1c75 7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7174 if (SWIG_arg_fail(1)) SWIG_fail;
7175 {
32fe5131 7176 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7177 if (SWIG_arg_fail(2)) SWIG_fail;
7178 }
7179 {
32fe5131 7180 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7181 if (SWIG_arg_fail(3)) SWIG_fail;
7182 }
d14a1e28
RD
7183 {
7184 arg4 = wxString_in_helper(obj3);
7185 if (arg4 == NULL) SWIG_fail;
b411df4a 7186 temp4 = true;
d14a1e28
RD
7187 }
7188 {
7189 PyThreadState* __tstate = wxPyBeginAllowThreads();
7190 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
7191
7192 wxPyEndAllowThreads(__tstate);
7193 if (PyErr_Occurred()) SWIG_fail;
7194 }
fbc46b20
RD
7195 {
7196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7197 }
d14a1e28
RD
7198 {
7199 if (temp4)
7200 delete arg4;
7201 }
7202 return resultobj;
7203 fail:
7204 {
7205 if (temp4)
7206 delete arg4;
7207 }
7208 return NULL;
7209}
7210
7211
c370783e 7212static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7213 PyObject *resultobj = NULL;
d14a1e28
RD
7214 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7215 int arg2 ;
7216 int arg3 ;
7217 wxString *arg4 = 0 ;
7218 bool result;
b411df4a 7219 bool temp4 = false ;
d14a1e28 7220 PyObject * obj0 = 0 ;
8edf1c75
RD
7221 PyObject * obj1 = 0 ;
7222 PyObject * obj2 = 0 ;
d14a1e28
RD
7223 PyObject * obj3 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
7226 };
7227
8edf1c75 7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7230 if (SWIG_arg_fail(1)) SWIG_fail;
7231 {
32fe5131 7232 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7233 if (SWIG_arg_fail(2)) SWIG_fail;
7234 }
7235 {
32fe5131 7236 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7237 if (SWIG_arg_fail(3)) SWIG_fail;
7238 }
d14a1e28
RD
7239 {
7240 arg4 = wxString_in_helper(obj3);
7241 if (arg4 == NULL) SWIG_fail;
b411df4a 7242 temp4 = true;
d14a1e28
RD
7243 }
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
fbc46b20
RD
7251 {
7252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7253 }
d14a1e28
RD
7254 {
7255 if (temp4)
7256 delete arg4;
7257 }
7258 return resultobj;
7259 fail:
7260 {
7261 if (temp4)
7262 delete arg4;
7263 }
7264 return NULL;
7265}
7266
7267
c370783e 7268static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7269 PyObject *resultobj = NULL;
d14a1e28
RD
7270 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7271 int arg2 ;
7272 int arg3 ;
7273 long result;
7274 PyObject * obj0 = 0 ;
8edf1c75
RD
7275 PyObject * obj1 = 0 ;
7276 PyObject * obj2 = 0 ;
d14a1e28
RD
7277 char *kwnames[] = {
7278 (char *) "self",(char *) "row",(char *) "col", NULL
7279 };
7280
8edf1c75 7281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7283 if (SWIG_arg_fail(1)) SWIG_fail;
7284 {
32fe5131 7285 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7286 if (SWIG_arg_fail(2)) SWIG_fail;
7287 }
7288 {
32fe5131 7289 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7290 if (SWIG_arg_fail(3)) SWIG_fail;
7291 }
d14a1e28
RD
7292 {
7293 PyThreadState* __tstate = wxPyBeginAllowThreads();
7294 result = (long)(arg1)->GetValueAsLong(arg2,arg3);
7295
7296 wxPyEndAllowThreads(__tstate);
7297 if (PyErr_Occurred()) SWIG_fail;
7298 }
36ed4f51 7299 {
32fe5131 7300 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 7301 }
d14a1e28
RD
7302 return resultobj;
7303 fail:
7304 return NULL;
7305}
7306
7307
c370783e 7308static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7309 PyObject *resultobj = NULL;
d14a1e28
RD
7310 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7311 int arg2 ;
7312 int arg3 ;
7313 double result;
7314 PyObject * obj0 = 0 ;
8edf1c75
RD
7315 PyObject * obj1 = 0 ;
7316 PyObject * obj2 = 0 ;
d14a1e28
RD
7317 char *kwnames[] = {
7318 (char *) "self",(char *) "row",(char *) "col", NULL
7319 };
7320
8edf1c75 7321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7323 if (SWIG_arg_fail(1)) SWIG_fail;
7324 {
32fe5131 7325 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7326 if (SWIG_arg_fail(2)) SWIG_fail;
7327 }
7328 {
32fe5131 7329 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7330 if (SWIG_arg_fail(3)) SWIG_fail;
7331 }
d14a1e28
RD
7332 {
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 result = (double)(arg1)->GetValueAsDouble(arg2,arg3);
7335
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
36ed4f51 7339 {
32fe5131 7340 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 7341 }
d14a1e28
RD
7342 return resultobj;
7343 fail:
7344 return NULL;
7345}
7346
7347
c370783e 7348static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7349 PyObject *resultobj = NULL;
d14a1e28
RD
7350 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7351 int arg2 ;
7352 int arg3 ;
7353 bool result;
7354 PyObject * obj0 = 0 ;
8edf1c75
RD
7355 PyObject * obj1 = 0 ;
7356 PyObject * obj2 = 0 ;
d14a1e28
RD
7357 char *kwnames[] = {
7358 (char *) "self",(char *) "row",(char *) "col", NULL
7359 };
7360
8edf1c75 7361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7363 if (SWIG_arg_fail(1)) SWIG_fail;
7364 {
32fe5131 7365 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7366 if (SWIG_arg_fail(2)) SWIG_fail;
7367 }
7368 {
32fe5131 7369 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7370 if (SWIG_arg_fail(3)) SWIG_fail;
7371 }
d14a1e28
RD
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = (bool)(arg1)->GetValueAsBool(arg2,arg3);
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
fbc46b20
RD
7379 {
7380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7381 }
d14a1e28
RD
7382 return resultobj;
7383 fail:
7384 return NULL;
7385}
7386
7387
c370783e 7388static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7389 PyObject *resultobj = NULL;
d14a1e28
RD
7390 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7391 int arg2 ;
7392 int arg3 ;
7393 long arg4 ;
7394 PyObject * obj0 = 0 ;
8edf1c75
RD
7395 PyObject * obj1 = 0 ;
7396 PyObject * obj2 = 0 ;
7397 PyObject * obj3 = 0 ;
d14a1e28
RD
7398 char *kwnames[] = {
7399 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7400 };
7401
8edf1c75 7402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7404 if (SWIG_arg_fail(1)) SWIG_fail;
7405 {
32fe5131 7406 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7407 if (SWIG_arg_fail(2)) SWIG_fail;
7408 }
7409 {
32fe5131 7410 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7411 if (SWIG_arg_fail(3)) SWIG_fail;
7412 }
7413 {
32fe5131 7414 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
7415 if (SWIG_arg_fail(4)) SWIG_fail;
7416 }
d14a1e28
RD
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 (arg1)->SetValueAsLong(arg2,arg3,arg4);
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 Py_INCREF(Py_None); resultobj = Py_None;
7425 return resultobj;
7426 fail:
7427 return NULL;
7428}
7429
7430
c370783e 7431static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7432 PyObject *resultobj = NULL;
d14a1e28
RD
7433 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7434 int arg2 ;
7435 int arg3 ;
7436 double arg4 ;
7437 PyObject * obj0 = 0 ;
8edf1c75
RD
7438 PyObject * obj1 = 0 ;
7439 PyObject * obj2 = 0 ;
7440 PyObject * obj3 = 0 ;
d14a1e28
RD
7441 char *kwnames[] = {
7442 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7443 };
7444
8edf1c75 7445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7447 if (SWIG_arg_fail(1)) SWIG_fail;
7448 {
32fe5131 7449 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7450 if (SWIG_arg_fail(2)) SWIG_fail;
7451 }
7452 {
32fe5131 7453 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7454 if (SWIG_arg_fail(3)) SWIG_fail;
7455 }
7456 {
32fe5131 7457 arg4 = static_cast<double >(SWIG_As_double(obj3));
36ed4f51
RD
7458 if (SWIG_arg_fail(4)) SWIG_fail;
7459 }
d14a1e28
RD
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 (arg1)->SetValueAsDouble(arg2,arg3,arg4);
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 Py_INCREF(Py_None); resultobj = Py_None;
7468 return resultobj;
7469 fail:
7470 return NULL;
7471}
7472
7473
c370783e 7474static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7475 PyObject *resultobj = NULL;
d14a1e28
RD
7476 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7477 int arg2 ;
7478 int arg3 ;
7479 bool arg4 ;
7480 PyObject * obj0 = 0 ;
8edf1c75
RD
7481 PyObject * obj1 = 0 ;
7482 PyObject * obj2 = 0 ;
d14a1e28
RD
7483 PyObject * obj3 = 0 ;
7484 char *kwnames[] = {
7485 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
7486 };
7487
8edf1c75 7488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7490 if (SWIG_arg_fail(1)) SWIG_fail;
7491 {
32fe5131 7492 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7493 if (SWIG_arg_fail(2)) SWIG_fail;
7494 }
7495 {
32fe5131 7496 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7497 if (SWIG_arg_fail(3)) SWIG_fail;
7498 }
7499 {
32fe5131 7500 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
7501 if (SWIG_arg_fail(4)) SWIG_fail;
7502 }
d14a1e28
RD
7503 {
7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
7505 (arg1)->SetValueAsBool(arg2,arg3,arg4);
7506
7507 wxPyEndAllowThreads(__tstate);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 }
7510 Py_INCREF(Py_None); resultobj = Py_None;
7511 return resultobj;
7512 fail:
7513 return NULL;
7514}
7515
7516
c370783e 7517static PyObject *_wrap_GridTableBase_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7518 PyObject *resultobj = NULL;
d14a1e28
RD
7519 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7520 PyObject * obj0 = 0 ;
7521 char *kwnames[] = {
7522 (char *) "self", NULL
7523 };
7524
7525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
7526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7527 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7528 {
7529 PyThreadState* __tstate = wxPyBeginAllowThreads();
7530 (arg1)->Clear();
7531
7532 wxPyEndAllowThreads(__tstate);
7533 if (PyErr_Occurred()) SWIG_fail;
7534 }
7535 Py_INCREF(Py_None); resultobj = Py_None;
7536 return resultobj;
7537 fail:
7538 return NULL;
7539}
7540
7541
c370783e 7542static PyObject *_wrap_GridTableBase_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7543 PyObject *resultobj = NULL;
d14a1e28
RD
7544 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7545 size_t arg2 = (size_t) 0 ;
7546 size_t arg3 = (size_t) 1 ;
7547 bool result;
7548 PyObject * obj0 = 0 ;
7549 PyObject * obj1 = 0 ;
7550 PyObject * obj2 = 0 ;
7551 char *kwnames[] = {
7552 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7553 };
7554
7555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7557 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7558 if (obj1) {
36ed4f51 7559 {
32fe5131 7560 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
7561 if (SWIG_arg_fail(2)) SWIG_fail;
7562 }
d14a1e28
RD
7563 }
7564 if (obj2) {
36ed4f51 7565 {
32fe5131 7566 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
7567 if (SWIG_arg_fail(3)) SWIG_fail;
7568 }
d14a1e28
RD
7569 }
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (bool)(arg1)->InsertRows(arg2,arg3);
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
fbc46b20
RD
7577 {
7578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7579 }
d14a1e28
RD
7580 return resultobj;
7581 fail:
7582 return NULL;
7583}
7584
7585
c370783e 7586static PyObject *_wrap_GridTableBase_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7587 PyObject *resultobj = NULL;
d14a1e28
RD
7588 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7589 size_t arg2 = (size_t) 1 ;
7590 bool result;
7591 PyObject * obj0 = 0 ;
7592 PyObject * obj1 = 0 ;
7593 char *kwnames[] = {
7594 (char *) "self",(char *) "numRows", NULL
7595 };
7596
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7599 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7600 if (obj1) {
36ed4f51 7601 {
32fe5131 7602 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
7603 if (SWIG_arg_fail(2)) SWIG_fail;
7604 }
d14a1e28
RD
7605 }
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 result = (bool)(arg1)->AppendRows(arg2);
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
fbc46b20
RD
7613 {
7614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7615 }
d14a1e28
RD
7616 return resultobj;
7617 fail:
7618 return NULL;
7619}
7620
7621
c370783e 7622static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7623 PyObject *resultobj = NULL;
d14a1e28
RD
7624 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7625 size_t arg2 = (size_t) 0 ;
7626 size_t arg3 = (size_t) 1 ;
7627 bool result;
7628 PyObject * obj0 = 0 ;
7629 PyObject * obj1 = 0 ;
7630 PyObject * obj2 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7637 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7638 if (obj1) {
36ed4f51 7639 {
32fe5131 7640 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
7641 if (SWIG_arg_fail(2)) SWIG_fail;
7642 }
d14a1e28
RD
7643 }
7644 if (obj2) {
36ed4f51 7645 {
32fe5131 7646 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
7647 if (SWIG_arg_fail(3)) SWIG_fail;
7648 }
d14a1e28
RD
7649 }
7650 {
7651 PyThreadState* __tstate = wxPyBeginAllowThreads();
7652 result = (bool)(arg1)->DeleteRows(arg2,arg3);
7653
7654 wxPyEndAllowThreads(__tstate);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 }
fbc46b20
RD
7657 {
7658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7659 }
d14a1e28
RD
7660 return resultobj;
7661 fail:
7662 return NULL;
7663}
7664
7665
c370783e 7666static PyObject *_wrap_GridTableBase_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7667 PyObject *resultobj = NULL;
d14a1e28
RD
7668 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7669 size_t arg2 = (size_t) 0 ;
7670 size_t arg3 = (size_t) 1 ;
7671 bool result;
7672 PyObject * obj0 = 0 ;
7673 PyObject * obj1 = 0 ;
7674 PyObject * obj2 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7681 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7682 if (obj1) {
36ed4f51 7683 {
32fe5131 7684 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
7685 if (SWIG_arg_fail(2)) SWIG_fail;
7686 }
d14a1e28
RD
7687 }
7688 if (obj2) {
36ed4f51 7689 {
32fe5131 7690 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
7691 if (SWIG_arg_fail(3)) SWIG_fail;
7692 }
d14a1e28
RD
7693 }
7694 {
7695 PyThreadState* __tstate = wxPyBeginAllowThreads();
7696 result = (bool)(arg1)->InsertCols(arg2,arg3);
7697
7698 wxPyEndAllowThreads(__tstate);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
fbc46b20
RD
7701 {
7702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7703 }
d14a1e28
RD
7704 return resultobj;
7705 fail:
7706 return NULL;
7707}
7708
7709
c370783e 7710static PyObject *_wrap_GridTableBase_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7711 PyObject *resultobj = NULL;
d14a1e28
RD
7712 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7713 size_t arg2 = (size_t) 1 ;
7714 bool result;
7715 PyObject * obj0 = 0 ;
7716 PyObject * obj1 = 0 ;
7717 char *kwnames[] = {
7718 (char *) "self",(char *) "numCols", NULL
7719 };
7720
7721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7724 if (obj1) {
36ed4f51 7725 {
32fe5131 7726 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
7727 if (SWIG_arg_fail(2)) SWIG_fail;
7728 }
d14a1e28
RD
7729 }
7730 {
7731 PyThreadState* __tstate = wxPyBeginAllowThreads();
7732 result = (bool)(arg1)->AppendCols(arg2);
7733
7734 wxPyEndAllowThreads(__tstate);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
fbc46b20
RD
7737 {
7738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7739 }
d14a1e28
RD
7740 return resultobj;
7741 fail:
7742 return NULL;
7743}
7744
7745
c370783e 7746static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7747 PyObject *resultobj = NULL;
d14a1e28
RD
7748 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7749 size_t arg2 = (size_t) 0 ;
7750 size_t arg3 = (size_t) 1 ;
7751 bool result;
7752 PyObject * obj0 = 0 ;
7753 PyObject * obj1 = 0 ;
7754 PyObject * obj2 = 0 ;
7755 char *kwnames[] = {
7756 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7757 };
7758
7759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7761 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7762 if (obj1) {
36ed4f51 7763 {
32fe5131 7764 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
7765 if (SWIG_arg_fail(2)) SWIG_fail;
7766 }
d14a1e28
RD
7767 }
7768 if (obj2) {
36ed4f51 7769 {
32fe5131 7770 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
7771 if (SWIG_arg_fail(3)) SWIG_fail;
7772 }
d14a1e28
RD
7773 }
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 result = (bool)(arg1)->DeleteCols(arg2,arg3);
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
fbc46b20
RD
7781 {
7782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7783 }
d14a1e28
RD
7784 return resultobj;
7785 fail:
7786 return NULL;
7787}
7788
7789
c370783e 7790static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7791 PyObject *resultobj = NULL;
d14a1e28
RD
7792 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7793 int arg2 ;
7794 wxString result;
7795 PyObject * obj0 = 0 ;
8edf1c75 7796 PyObject * obj1 = 0 ;
d14a1e28
RD
7797 char *kwnames[] = {
7798 (char *) "self",(char *) "row", NULL
7799 };
7800
8edf1c75 7801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7803 if (SWIG_arg_fail(1)) SWIG_fail;
7804 {
32fe5131 7805 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7806 if (SWIG_arg_fail(2)) SWIG_fail;
7807 }
d14a1e28
RD
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 result = (arg1)->GetRowLabelValue(arg2);
7811
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 {
7816#if wxUSE_UNICODE
7817 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7818#else
7819 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7820#endif
7821 }
7822 return resultobj;
7823 fail:
7824 return NULL;
7825}
7826
7827
c370783e 7828static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7829 PyObject *resultobj = NULL;
d14a1e28
RD
7830 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7831 int arg2 ;
7832 wxString result;
7833 PyObject * obj0 = 0 ;
8edf1c75 7834 PyObject * obj1 = 0 ;
d14a1e28
RD
7835 char *kwnames[] = {
7836 (char *) "self",(char *) "col", NULL
7837 };
7838
8edf1c75 7839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7841 if (SWIG_arg_fail(1)) SWIG_fail;
7842 {
32fe5131 7843 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7844 if (SWIG_arg_fail(2)) SWIG_fail;
7845 }
d14a1e28
RD
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 result = (arg1)->GetColLabelValue(arg2);
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 {
7854#if wxUSE_UNICODE
7855 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7856#else
7857 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7858#endif
7859 }
7860 return resultobj;
7861 fail:
7862 return NULL;
7863}
7864
7865
c370783e 7866static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7867 PyObject *resultobj = NULL;
d14a1e28
RD
7868 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7869 int arg2 ;
7870 wxString *arg3 = 0 ;
b411df4a 7871 bool temp3 = false ;
d14a1e28 7872 PyObject * obj0 = 0 ;
8edf1c75 7873 PyObject * obj1 = 0 ;
d14a1e28
RD
7874 PyObject * obj2 = 0 ;
7875 char *kwnames[] = {
7876 (char *) "self",(char *) "row",(char *) "value", NULL
7877 };
7878
8edf1c75 7879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7881 if (SWIG_arg_fail(1)) SWIG_fail;
7882 {
32fe5131 7883 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7884 if (SWIG_arg_fail(2)) SWIG_fail;
7885 }
d14a1e28
RD
7886 {
7887 arg3 = wxString_in_helper(obj2);
7888 if (arg3 == NULL) SWIG_fail;
b411df4a 7889 temp3 = true;
d14a1e28
RD
7890 }
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
7894
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 }
7898 Py_INCREF(Py_None); resultobj = Py_None;
7899 {
7900 if (temp3)
7901 delete arg3;
7902 }
7903 return resultobj;
7904 fail:
7905 {
7906 if (temp3)
7907 delete arg3;
7908 }
7909 return NULL;
7910}
7911
7912
c370783e 7913static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7914 PyObject *resultobj = NULL;
d14a1e28
RD
7915 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7916 int arg2 ;
7917 wxString *arg3 = 0 ;
b411df4a 7918 bool temp3 = false ;
d14a1e28 7919 PyObject * obj0 = 0 ;
8edf1c75 7920 PyObject * obj1 = 0 ;
d14a1e28
RD
7921 PyObject * obj2 = 0 ;
7922 char *kwnames[] = {
7923 (char *) "self",(char *) "col",(char *) "value", NULL
7924 };
7925
8edf1c75 7926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7928 if (SWIG_arg_fail(1)) SWIG_fail;
7929 {
32fe5131 7930 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7931 if (SWIG_arg_fail(2)) SWIG_fail;
7932 }
d14a1e28
RD
7933 {
7934 arg3 = wxString_in_helper(obj2);
7935 if (arg3 == NULL) SWIG_fail;
b411df4a 7936 temp3 = true;
d14a1e28
RD
7937 }
7938 {
7939 PyThreadState* __tstate = wxPyBeginAllowThreads();
7940 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
7941
7942 wxPyEndAllowThreads(__tstate);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 }
7945 Py_INCREF(Py_None); resultobj = Py_None;
7946 {
7947 if (temp3)
7948 delete arg3;
7949 }
7950 return resultobj;
7951 fail:
7952 {
7953 if (temp3)
7954 delete arg3;
7955 }
7956 return NULL;
7957}
7958
7959
c370783e 7960static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7961 PyObject *resultobj = NULL;
d14a1e28
RD
7962 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7963 bool result;
7964 PyObject * obj0 = 0 ;
7965 char *kwnames[] = {
7966 (char *) "self", NULL
7967 };
7968
7969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
7970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
7971 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7972 {
7973 PyThreadState* __tstate = wxPyBeginAllowThreads();
7974 result = (bool)(arg1)->CanHaveAttributes();
7975
7976 wxPyEndAllowThreads(__tstate);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 }
fbc46b20
RD
7979 {
7980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7981 }
d14a1e28
RD
7982 return resultobj;
7983 fail:
7984 return NULL;
7985}
7986
7987
c370783e 7988static PyObject *_wrap_GridTableBase_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7989 PyObject *resultobj = NULL;
d14a1e28
RD
7990 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7991 int arg2 ;
7992 int arg3 ;
36ed4f51 7993 wxGridCellAttr::wxAttrKind arg4 ;
d14a1e28
RD
7994 wxGridCellAttr *result;
7995 PyObject * obj0 = 0 ;
8edf1c75
RD
7996 PyObject * obj1 = 0 ;
7997 PyObject * obj2 = 0 ;
7998 PyObject * obj3 = 0 ;
d14a1e28
RD
7999 char *kwnames[] = {
8000 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
8001 };
8002
8edf1c75 8003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8005 if (SWIG_arg_fail(1)) SWIG_fail;
8006 {
32fe5131 8007 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8008 if (SWIG_arg_fail(2)) SWIG_fail;
8009 }
8010 {
32fe5131 8011 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8012 if (SWIG_arg_fail(3)) SWIG_fail;
8013 }
8014 {
32fe5131 8015 arg4 = static_cast<wxGridCellAttr::wxAttrKind >(SWIG_As_int(obj3));
36ed4f51
RD
8016 if (SWIG_arg_fail(4)) SWIG_fail;
8017 }
d14a1e28
RD
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8020 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,arg4);
d14a1e28
RD
8021
8022 wxPyEndAllowThreads(__tstate);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
8025 {
7e08d4ef 8026 resultobj = wxPyMake_wxGridCellAttr(result, (bool)0);
d14a1e28
RD
8027 }
8028 return resultobj;
8029 fail:
8030 return NULL;
8031}
8032
8033
c370783e 8034static PyObject *_wrap_GridTableBase_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8035 PyObject *resultobj = NULL;
d14a1e28
RD
8036 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
8037 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
8038 int arg3 ;
8039 int arg4 ;
8040 PyObject * obj0 = 0 ;
8041 PyObject * obj1 = 0 ;
8edf1c75
RD
8042 PyObject * obj2 = 0 ;
8043 PyObject * obj3 = 0 ;
d14a1e28
RD
8044 char *kwnames[] = {
8045 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
8046 };
8047
8edf1c75 8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail;
8051 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
8052 if (SWIG_arg_fail(2)) SWIG_fail;
8053 {
32fe5131 8054 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8055 if (SWIG_arg_fail(3)) SWIG_fail;
8056 }
8057 {
32fe5131 8058 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
8059 if (SWIG_arg_fail(4)) SWIG_fail;
8060 }
d14a1e28
RD
8061 {
8062 PyThreadState* __tstate = wxPyBeginAllowThreads();
8063 (arg1)->SetAttr(arg2,arg3,arg4);
8064
8065 wxPyEndAllowThreads(__tstate);
8066 if (PyErr_Occurred()) SWIG_fail;
8067 }
8068 Py_INCREF(Py_None); resultobj = Py_None;
8069 return resultobj;
8070 fail:
8071 return NULL;
8072}
8073
8074
c370783e 8075static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8076 PyObject *resultobj = NULL;
d14a1e28
RD
8077 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
8078 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
8079 int arg3 ;
8080 PyObject * obj0 = 0 ;
8081 PyObject * obj1 = 0 ;
8edf1c75 8082 PyObject * obj2 = 0 ;
d14a1e28
RD
8083 char *kwnames[] = {
8084 (char *) "self",(char *) "attr",(char *) "row", NULL
8085 };
8086
8edf1c75 8087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8089 if (SWIG_arg_fail(1)) SWIG_fail;
8090 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
8091 if (SWIG_arg_fail(2)) SWIG_fail;
8092 {
32fe5131 8093 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8094 if (SWIG_arg_fail(3)) SWIG_fail;
8095 }
d14a1e28
RD
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 (arg1)->SetRowAttr(arg2,arg3);
8099
8100 wxPyEndAllowThreads(__tstate);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
8103 Py_INCREF(Py_None); resultobj = Py_None;
8104 return resultobj;
8105 fail:
8106 return NULL;
8107}
8108
8109
c370783e 8110static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8111 PyObject *resultobj = NULL;
d14a1e28
RD
8112 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
8113 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
8114 int arg3 ;
8115 PyObject * obj0 = 0 ;
8116 PyObject * obj1 = 0 ;
8edf1c75 8117 PyObject * obj2 = 0 ;
d14a1e28
RD
8118 char *kwnames[] = {
8119 (char *) "self",(char *) "attr",(char *) "col", NULL
8120 };
8121
8edf1c75 8122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8124 if (SWIG_arg_fail(1)) SWIG_fail;
8125 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
8126 if (SWIG_arg_fail(2)) SWIG_fail;
8127 {
32fe5131 8128 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8129 if (SWIG_arg_fail(3)) SWIG_fail;
8130 }
d14a1e28
RD
8131 {
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 (arg1)->SetColAttr(arg2,arg3);
8134
8135 wxPyEndAllowThreads(__tstate);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
8138 Py_INCREF(Py_None); resultobj = Py_None;
8139 return resultobj;
8140 fail:
8141 return NULL;
8142}
8143
8144
c370783e 8145static PyObject * GridTableBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8146 PyObject *obj;
8147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8148 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj);
8149 Py_INCREF(obj);
8150 return Py_BuildValue((char *)"");
8151}
c370783e 8152static PyObject *_wrap_new_PyGridTableBase(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8153 PyObject *resultobj = NULL;
d14a1e28
RD
8154 wxPyGridTableBase *result;
8155 char *kwnames[] = {
8156 NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail;
8160 {
8161 PyThreadState* __tstate = wxPyBeginAllowThreads();
8162 result = (wxPyGridTableBase *)new wxPyGridTableBase();
8163
8164 wxPyEndAllowThreads(__tstate);
8165 if (PyErr_Occurred()) SWIG_fail;
8166 }
2f4c0a16 8167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridTableBase, 1);
d14a1e28
RD
8168 return resultobj;
8169 fail:
8170 return NULL;
8171}
8172
8173
c370783e 8174static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8175 PyObject *resultobj = NULL;
d14a1e28
RD
8176 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8177 PyObject *arg2 = (PyObject *) 0 ;
8178 PyObject *arg3 = (PyObject *) 0 ;
8179 PyObject * obj0 = 0 ;
8180 PyObject * obj1 = 0 ;
8181 PyObject * obj2 = 0 ;
8182 char *kwnames[] = {
8183 (char *) "self",(char *) "self",(char *) "_class", NULL
8184 };
8185
8186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8188 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8189 arg2 = obj1;
8190 arg3 = obj2;
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 (arg1)->_setCallbackInfo(arg2,arg3);
8194
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
8198 Py_INCREF(Py_None); resultobj = Py_None;
8199 return resultobj;
8200 fail:
8201 return NULL;
8202}
8203
8204
c370783e 8205static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8206 PyObject *resultobj = NULL;
d14a1e28
RD
8207 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8208 PyObject * obj0 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
8214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8215 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8216 {
8217 PyThreadState* __tstate = wxPyBeginAllowThreads();
8218 wxPyGridTableBase_Destroy(arg1);
8219
8220 wxPyEndAllowThreads(__tstate);
8221 if (PyErr_Occurred()) SWIG_fail;
8222 }
8223 Py_INCREF(Py_None); resultobj = Py_None;
8224 return resultobj;
8225 fail:
8226 return NULL;
8227}
8228
8229
7f7aa166 8230static PyObject *_wrap_PyGridTableBase_GetTypeName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8231 PyObject *resultobj = NULL;
d14a1e28
RD
8232 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8233 int arg2 ;
8234 int arg3 ;
8235 wxString result;
8236 PyObject * obj0 = 0 ;
8edf1c75
RD
8237 PyObject * obj1 = 0 ;
8238 PyObject * obj2 = 0 ;
d14a1e28
RD
8239 char *kwnames[] = {
8240 (char *) "self",(char *) "row",(char *) "col", NULL
8241 };
8242
7f7aa166 8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8245 if (SWIG_arg_fail(1)) SWIG_fail;
8246 {
32fe5131 8247 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8248 if (SWIG_arg_fail(2)) SWIG_fail;
8249 }
8250 {
32fe5131 8251 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8252 if (SWIG_arg_fail(3)) SWIG_fail;
8253 }
d14a1e28
RD
8254 {
8255 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8256 result = (arg1)->GetTypeName(arg2,arg3);
d14a1e28
RD
8257
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
8261 {
8262#if wxUSE_UNICODE
8263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8264#else
8265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8266#endif
8267 }
8268 return resultobj;
8269 fail:
8270 return NULL;
8271}
8272
8273
7f7aa166 8274static PyObject *_wrap_PyGridTableBase_CanGetValueAs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8275 PyObject *resultobj = NULL;
d14a1e28
RD
8276 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8277 int arg2 ;
8278 int arg3 ;
8279 wxString *arg4 = 0 ;
8280 bool result;
b411df4a 8281 bool temp4 = false ;
d14a1e28 8282 PyObject * obj0 = 0 ;
8edf1c75
RD
8283 PyObject * obj1 = 0 ;
8284 PyObject * obj2 = 0 ;
d14a1e28
RD
8285 PyObject * obj3 = 0 ;
8286 char *kwnames[] = {
8287 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8288 };
8289
7f7aa166 8290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8292 if (SWIG_arg_fail(1)) SWIG_fail;
8293 {
32fe5131 8294 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8295 if (SWIG_arg_fail(2)) SWIG_fail;
8296 }
8297 {
32fe5131 8298 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8299 if (SWIG_arg_fail(3)) SWIG_fail;
8300 }
d14a1e28
RD
8301 {
8302 arg4 = wxString_in_helper(obj3);
8303 if (arg4 == NULL) SWIG_fail;
b411df4a 8304 temp4 = true;
d14a1e28
RD
8305 }
8306 {
8307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8308 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
d14a1e28
RD
8309
8310 wxPyEndAllowThreads(__tstate);
8311 if (PyErr_Occurred()) SWIG_fail;
8312 }
fbc46b20
RD
8313 {
8314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8315 }
d14a1e28
RD
8316 {
8317 if (temp4)
8318 delete arg4;
8319 }
8320 return resultobj;
8321 fail:
8322 {
8323 if (temp4)
8324 delete arg4;
8325 }
8326 return NULL;
8327}
8328
8329
7f7aa166 8330static PyObject *_wrap_PyGridTableBase_CanSetValueAs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8331 PyObject *resultobj = NULL;
d14a1e28
RD
8332 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8333 int arg2 ;
8334 int arg3 ;
8335 wxString *arg4 = 0 ;
8336 bool result;
b411df4a 8337 bool temp4 = false ;
d14a1e28 8338 PyObject * obj0 = 0 ;
8edf1c75
RD
8339 PyObject * obj1 = 0 ;
8340 PyObject * obj2 = 0 ;
d14a1e28
RD
8341 PyObject * obj3 = 0 ;
8342 char *kwnames[] = {
8343 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8344 };
8345
7f7aa166 8346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8348 if (SWIG_arg_fail(1)) SWIG_fail;
8349 {
32fe5131 8350 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8351 if (SWIG_arg_fail(2)) SWIG_fail;
8352 }
8353 {
32fe5131 8354 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8355 if (SWIG_arg_fail(3)) SWIG_fail;
8356 }
d14a1e28
RD
8357 {
8358 arg4 = wxString_in_helper(obj3);
8359 if (arg4 == NULL) SWIG_fail;
b411df4a 8360 temp4 = true;
d14a1e28
RD
8361 }
8362 {
8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8364 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
d14a1e28
RD
8365
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
fbc46b20
RD
8369 {
8370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8371 }
d14a1e28
RD
8372 {
8373 if (temp4)
8374 delete arg4;
8375 }
8376 return resultobj;
8377 fail:
8378 {
8379 if (temp4)
8380 delete arg4;
8381 }
8382 return NULL;
8383}
8384
8385
7f7aa166 8386static PyObject *_wrap_PyGridTableBase_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8387 PyObject *resultobj = NULL;
d14a1e28
RD
8388 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8389 PyObject * obj0 = 0 ;
8390 char *kwnames[] = {
8391 (char *) "self", NULL
8392 };
8393
7f7aa166 8394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
8395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8396 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8397 {
8398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8399 (arg1)->Clear();
d14a1e28
RD
8400
8401 wxPyEndAllowThreads(__tstate);
8402 if (PyErr_Occurred()) SWIG_fail;
8403 }
8404 Py_INCREF(Py_None); resultobj = Py_None;
8405 return resultobj;
8406 fail:
8407 return NULL;
8408}
8409
8410
7f7aa166 8411static PyObject *_wrap_PyGridTableBase_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8412 PyObject *resultobj = NULL;
d14a1e28
RD
8413 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8414 size_t arg2 = (size_t) 0 ;
8415 size_t arg3 = (size_t) 1 ;
8416 bool result;
8417 PyObject * obj0 = 0 ;
8418 PyObject * obj1 = 0 ;
8419 PyObject * obj2 = 0 ;
8420 char *kwnames[] = {
8421 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8422 };
8423
7f7aa166 8424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8426 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 8427 if (obj1) {
36ed4f51 8428 {
32fe5131 8429 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
8430 if (SWIG_arg_fail(2)) SWIG_fail;
8431 }
d14a1e28
RD
8432 }
8433 if (obj2) {
36ed4f51 8434 {
32fe5131 8435 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
8436 if (SWIG_arg_fail(3)) SWIG_fail;
8437 }
d14a1e28
RD
8438 }
8439 {
8440 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8441 result = (bool)(arg1)->InsertRows(arg2,arg3);
d14a1e28
RD
8442
8443 wxPyEndAllowThreads(__tstate);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
fbc46b20
RD
8446 {
8447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8448 }
d14a1e28
RD
8449 return resultobj;
8450 fail:
8451 return NULL;
8452}
8453
8454
7f7aa166 8455static PyObject *_wrap_PyGridTableBase_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8456 PyObject *resultobj = NULL;
d14a1e28
RD
8457 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8458 size_t arg2 = (size_t) 1 ;
8459 bool result;
8460 PyObject * obj0 = 0 ;
8461 PyObject * obj1 = 0 ;
8462 char *kwnames[] = {
8463 (char *) "self",(char *) "numRows", NULL
8464 };
8465
7f7aa166 8466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8468 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 8469 if (obj1) {
36ed4f51 8470 {
32fe5131 8471 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
8472 if (SWIG_arg_fail(2)) SWIG_fail;
8473 }
d14a1e28
RD
8474 }
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8477 result = (bool)(arg1)->AppendRows(arg2);
d14a1e28
RD
8478
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
fbc46b20
RD
8482 {
8483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8484 }
d14a1e28
RD
8485 return resultobj;
8486 fail:
8487 return NULL;
8488}
8489
8490
7f7aa166 8491static PyObject *_wrap_PyGridTableBase_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8492 PyObject *resultobj = NULL;
d14a1e28
RD
8493 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8494 size_t arg2 = (size_t) 0 ;
8495 size_t arg3 = (size_t) 1 ;
8496 bool result;
8497 PyObject * obj0 = 0 ;
8498 PyObject * obj1 = 0 ;
8499 PyObject * obj2 = 0 ;
8500 char *kwnames[] = {
8501 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8502 };
8503
7f7aa166 8504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8506 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 8507 if (obj1) {
36ed4f51 8508 {
32fe5131 8509 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
8510 if (SWIG_arg_fail(2)) SWIG_fail;
8511 }
d14a1e28
RD
8512 }
8513 if (obj2) {
36ed4f51 8514 {
32fe5131 8515 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
8516 if (SWIG_arg_fail(3)) SWIG_fail;
8517 }
d14a1e28
RD
8518 }
8519 {
8520 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8521 result = (bool)(arg1)->DeleteRows(arg2,arg3);
d14a1e28
RD
8522
8523 wxPyEndAllowThreads(__tstate);
8524 if (PyErr_Occurred()) SWIG_fail;
8525 }
fbc46b20
RD
8526 {
8527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8528 }
d14a1e28
RD
8529 return resultobj;
8530 fail:
8531 return NULL;
8532}
8533
8534
7f7aa166 8535static PyObject *_wrap_PyGridTableBase_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8536 PyObject *resultobj = NULL;
d14a1e28
RD
8537 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8538 size_t arg2 = (size_t) 0 ;
8539 size_t arg3 = (size_t) 1 ;
8540 bool result;
8541 PyObject * obj0 = 0 ;
8542 PyObject * obj1 = 0 ;
8543 PyObject * obj2 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8546 };
8547
7f7aa166 8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8550 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 8551 if (obj1) {
36ed4f51 8552 {
32fe5131 8553 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
8554 if (SWIG_arg_fail(2)) SWIG_fail;
8555 }
d14a1e28
RD
8556 }
8557 if (obj2) {
36ed4f51 8558 {
32fe5131 8559 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
8560 if (SWIG_arg_fail(3)) SWIG_fail;
8561 }
d14a1e28
RD
8562 }
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8565 result = (bool)(arg1)->InsertCols(arg2,arg3);
d14a1e28
RD
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
fbc46b20
RD
8570 {
8571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8572 }
d14a1e28
RD
8573 return resultobj;
8574 fail:
8575 return NULL;
8576}
8577
8578
7f7aa166 8579static PyObject *_wrap_PyGridTableBase_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8580 PyObject *resultobj = NULL;
d14a1e28
RD
8581 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8582 size_t arg2 = (size_t) 1 ;
8583 bool result;
8584 PyObject * obj0 = 0 ;
8585 PyObject * obj1 = 0 ;
8586 char *kwnames[] = {
8587 (char *) "self",(char *) "numCols", NULL
8588 };
8589
7f7aa166 8590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8592 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 8593 if (obj1) {
36ed4f51 8594 {
32fe5131 8595 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
8596 if (SWIG_arg_fail(2)) SWIG_fail;
8597 }
d14a1e28
RD
8598 }
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8601 result = (bool)(arg1)->AppendCols(arg2);
d14a1e28
RD
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
fbc46b20
RD
8606 {
8607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8608 }
d14a1e28
RD
8609 return resultobj;
8610 fail:
8611 return NULL;
8612}
8613
8614
7f7aa166 8615static PyObject *_wrap_PyGridTableBase_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8616 PyObject *resultobj = NULL;
d14a1e28
RD
8617 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8618 size_t arg2 = (size_t) 0 ;
8619 size_t arg3 = (size_t) 1 ;
8620 bool result;
8621 PyObject * obj0 = 0 ;
8622 PyObject * obj1 = 0 ;
8623 PyObject * obj2 = 0 ;
8624 char *kwnames[] = {
8625 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8626 };
8627
7f7aa166 8628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8630 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 8631 if (obj1) {
36ed4f51 8632 {
32fe5131 8633 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
8634 if (SWIG_arg_fail(2)) SWIG_fail;
8635 }
d14a1e28
RD
8636 }
8637 if (obj2) {
36ed4f51 8638 {
32fe5131 8639 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
8640 if (SWIG_arg_fail(3)) SWIG_fail;
8641 }
d14a1e28
RD
8642 }
8643 {
8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8645 result = (bool)(arg1)->DeleteCols(arg2,arg3);
d14a1e28
RD
8646
8647 wxPyEndAllowThreads(__tstate);
8648 if (PyErr_Occurred()) SWIG_fail;
8649 }
fbc46b20
RD
8650 {
8651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8652 }
d14a1e28
RD
8653 return resultobj;
8654 fail:
8655 return NULL;
8656}
8657
8658
7f7aa166 8659static PyObject *_wrap_PyGridTableBase_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8660 PyObject *resultobj = NULL;
d14a1e28
RD
8661 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8662 int arg2 ;
8663 wxString result;
8664 PyObject * obj0 = 0 ;
8edf1c75 8665 PyObject * obj1 = 0 ;
d14a1e28
RD
8666 char *kwnames[] = {
8667 (char *) "self",(char *) "row", NULL
8668 };
8669
7f7aa166 8670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8672 if (SWIG_arg_fail(1)) SWIG_fail;
8673 {
32fe5131 8674 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8675 if (SWIG_arg_fail(2)) SWIG_fail;
8676 }
d14a1e28
RD
8677 {
8678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8679 result = (arg1)->GetRowLabelValue(arg2);
d14a1e28
RD
8680
8681 wxPyEndAllowThreads(__tstate);
8682 if (PyErr_Occurred()) SWIG_fail;
8683 }
8684 {
8685#if wxUSE_UNICODE
8686 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8687#else
8688 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8689#endif
8690 }
8691 return resultobj;
8692 fail:
8693 return NULL;
8694}
8695
8696
7f7aa166 8697static PyObject *_wrap_PyGridTableBase_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8698 PyObject *resultobj = NULL;
d14a1e28
RD
8699 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8700 int arg2 ;
8701 wxString result;
8702 PyObject * obj0 = 0 ;
8edf1c75 8703 PyObject * obj1 = 0 ;
d14a1e28
RD
8704 char *kwnames[] = {
8705 (char *) "self",(char *) "col", NULL
8706 };
8707
7f7aa166 8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8710 if (SWIG_arg_fail(1)) SWIG_fail;
8711 {
32fe5131 8712 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8713 if (SWIG_arg_fail(2)) SWIG_fail;
8714 }
d14a1e28
RD
8715 {
8716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8717 result = (arg1)->GetColLabelValue(arg2);
d14a1e28
RD
8718
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 {
8723#if wxUSE_UNICODE
8724 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8725#else
8726 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8727#endif
8728 }
8729 return resultobj;
8730 fail:
8731 return NULL;
8732}
8733
8734
7f7aa166 8735static PyObject *_wrap_PyGridTableBase_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8736 PyObject *resultobj = NULL;
d14a1e28
RD
8737 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8738 int arg2 ;
8739 wxString *arg3 = 0 ;
b411df4a 8740 bool temp3 = false ;
d14a1e28 8741 PyObject * obj0 = 0 ;
8edf1c75 8742 PyObject * obj1 = 0 ;
d14a1e28
RD
8743 PyObject * obj2 = 0 ;
8744 char *kwnames[] = {
8745 (char *) "self",(char *) "row",(char *) "value", NULL
8746 };
8747
7f7aa166 8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8750 if (SWIG_arg_fail(1)) SWIG_fail;
8751 {
32fe5131 8752 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8753 if (SWIG_arg_fail(2)) SWIG_fail;
8754 }
d14a1e28
RD
8755 {
8756 arg3 = wxString_in_helper(obj2);
8757 if (arg3 == NULL) SWIG_fail;
b411df4a 8758 temp3 = true;
d14a1e28
RD
8759 }
8760 {
8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8762 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
d14a1e28
RD
8763
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 Py_INCREF(Py_None); resultobj = Py_None;
8768 {
8769 if (temp3)
8770 delete arg3;
8771 }
8772 return resultobj;
8773 fail:
8774 {
8775 if (temp3)
8776 delete arg3;
8777 }
8778 return NULL;
8779}
8780
8781
7f7aa166 8782static PyObject *_wrap_PyGridTableBase_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8783 PyObject *resultobj = NULL;
d14a1e28
RD
8784 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8785 int arg2 ;
8786 wxString *arg3 = 0 ;
b411df4a 8787 bool temp3 = false ;
d14a1e28 8788 PyObject * obj0 = 0 ;
8edf1c75 8789 PyObject * obj1 = 0 ;
d14a1e28
RD
8790 PyObject * obj2 = 0 ;
8791 char *kwnames[] = {
8792 (char *) "self",(char *) "col",(char *) "value", NULL
8793 };
8794
7f7aa166 8795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8797 if (SWIG_arg_fail(1)) SWIG_fail;
8798 {
32fe5131 8799 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8800 if (SWIG_arg_fail(2)) SWIG_fail;
8801 }
d14a1e28
RD
8802 {
8803 arg3 = wxString_in_helper(obj2);
8804 if (arg3 == NULL) SWIG_fail;
b411df4a 8805 temp3 = true;
d14a1e28
RD
8806 }
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8809 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
d14a1e28
RD
8810
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
8814 Py_INCREF(Py_None); resultobj = Py_None;
8815 {
8816 if (temp3)
8817 delete arg3;
8818 }
8819 return resultobj;
8820 fail:
8821 {
8822 if (temp3)
8823 delete arg3;
8824 }
8825 return NULL;
8826}
8827
8828
7f7aa166 8829static PyObject *_wrap_PyGridTableBase_CanHaveAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8830 PyObject *resultobj = NULL;
d14a1e28
RD
8831 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8832 bool result;
8833 PyObject * obj0 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self", NULL
8836 };
8837
7f7aa166 8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
8839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8843 result = (bool)(arg1)->CanHaveAttributes();
d14a1e28
RD
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
fbc46b20
RD
8848 {
8849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8850 }
d14a1e28
RD
8851 return resultobj;
8852 fail:
8853 return NULL;
8854}
8855
8856
7f7aa166 8857static PyObject *_wrap_PyGridTableBase_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8858 PyObject *resultobj = NULL;
d14a1e28
RD
8859 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8860 int arg2 ;
8861 int arg3 ;
36ed4f51 8862 wxGridCellAttr::wxAttrKind arg4 ;
d14a1e28
RD
8863 wxGridCellAttr *result;
8864 PyObject * obj0 = 0 ;
8edf1c75
RD
8865 PyObject * obj1 = 0 ;
8866 PyObject * obj2 = 0 ;
8867 PyObject * obj3 = 0 ;
d14a1e28
RD
8868 char *kwnames[] = {
8869 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
8870 };
8871
7f7aa166 8872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail;
8875 {
32fe5131 8876 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8877 if (SWIG_arg_fail(2)) SWIG_fail;
8878 }
8879 {
32fe5131 8880 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8881 if (SWIG_arg_fail(3)) SWIG_fail;
8882 }
8883 {
32fe5131 8884 arg4 = static_cast<wxGridCellAttr::wxAttrKind >(SWIG_As_int(obj3));
36ed4f51
RD
8885 if (SWIG_arg_fail(4)) SWIG_fail;
8886 }
d14a1e28
RD
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8889 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,arg4);
d14a1e28
RD
8890
8891 wxPyEndAllowThreads(__tstate);
8892 if (PyErr_Occurred()) SWIG_fail;
8893 }
8894 {
7e08d4ef 8895 resultobj = wxPyMake_wxGridCellAttr(result, (bool)0);
d14a1e28
RD
8896 }
8897 return resultobj;
8898 fail:
8899 return NULL;
8900}
8901
8902
7f7aa166 8903static PyObject *_wrap_PyGridTableBase_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8904 PyObject *resultobj = NULL;
d14a1e28
RD
8905 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8906 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
8907 int arg3 ;
8908 int arg4 ;
8909 PyObject * obj0 = 0 ;
8910 PyObject * obj1 = 0 ;
8edf1c75
RD
8911 PyObject * obj2 = 0 ;
8912 PyObject * obj3 = 0 ;
d14a1e28
RD
8913 char *kwnames[] = {
8914 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
8915 };
8916
7f7aa166 8917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8919 if (SWIG_arg_fail(1)) SWIG_fail;
8920 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
8921 if (SWIG_arg_fail(2)) SWIG_fail;
8922 {
32fe5131 8923 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8924 if (SWIG_arg_fail(3)) SWIG_fail;
8925 }
8926 {
32fe5131 8927 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
8928 if (SWIG_arg_fail(4)) SWIG_fail;
8929 }
d14a1e28
RD
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8932 (arg1)->SetAttr(arg2,arg3,arg4);
d14a1e28
RD
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 Py_INCREF(Py_None); resultobj = Py_None;
8938 return resultobj;
8939 fail:
8940 return NULL;
8941}
8942
8943
7f7aa166 8944static PyObject *_wrap_PyGridTableBase_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8945 PyObject *resultobj = NULL;
d14a1e28
RD
8946 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8947 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
8948 int arg3 ;
8949 PyObject * obj0 = 0 ;
8950 PyObject * obj1 = 0 ;
8edf1c75 8951 PyObject * obj2 = 0 ;
d14a1e28
RD
8952 char *kwnames[] = {
8953 (char *) "self",(char *) "attr",(char *) "row", NULL
8954 };
8955
7f7aa166 8956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8958 if (SWIG_arg_fail(1)) SWIG_fail;
8959 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
8960 if (SWIG_arg_fail(2)) SWIG_fail;
8961 {
32fe5131 8962 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8963 if (SWIG_arg_fail(3)) SWIG_fail;
8964 }
d14a1e28
RD
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8967 (arg1)->SetRowAttr(arg2,arg3);
d14a1e28
RD
8968
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 Py_INCREF(Py_None); resultobj = Py_None;
8973 return resultobj;
8974 fail:
8975 return NULL;
8976}
8977
8978
7f7aa166 8979static PyObject *_wrap_PyGridTableBase_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8980 PyObject *resultobj = NULL;
d14a1e28
RD
8981 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
8982 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
8983 int arg3 ;
8984 PyObject * obj0 = 0 ;
8985 PyObject * obj1 = 0 ;
8edf1c75 8986 PyObject * obj2 = 0 ;
d14a1e28
RD
8987 char *kwnames[] = {
8988 (char *) "self",(char *) "attr",(char *) "col", NULL
8989 };
8990
7f7aa166 8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0);
8993 if (SWIG_arg_fail(1)) SWIG_fail;
8994 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
8995 if (SWIG_arg_fail(2)) SWIG_fail;
8996 {
32fe5131 8997 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8998 if (SWIG_arg_fail(3)) SWIG_fail;
8999 }
d14a1e28
RD
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 9002 (arg1)->SetColAttr(arg2,arg3);
d14a1e28
RD
9003
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 Py_INCREF(Py_None); resultobj = Py_None;
9008 return resultobj;
9009 fail:
9010 return NULL;
9011}
9012
9013
c370783e 9014static PyObject * PyGridTableBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9015 PyObject *obj;
9016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9017 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj);
9018 Py_INCREF(obj);
9019 return Py_BuildValue((char *)"");
9020}
c370783e 9021static PyObject *_wrap_new_GridStringTable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9022 PyObject *resultobj = NULL;
d14a1e28
RD
9023 int arg1 = (int) 0 ;
9024 int arg2 = (int) 0 ;
9025 wxGridStringTable *result;
8edf1c75
RD
9026 PyObject * obj0 = 0 ;
9027 PyObject * obj1 = 0 ;
d14a1e28
RD
9028 char *kwnames[] = {
9029 (char *) "numRows",(char *) "numCols", NULL
9030 };
9031
8edf1c75
RD
9032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridStringTable",kwnames,&obj0,&obj1)) goto fail;
9033 if (obj0) {
36ed4f51 9034 {
32fe5131 9035 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
9036 if (SWIG_arg_fail(1)) SWIG_fail;
9037 }
8edf1c75
RD
9038 }
9039 if (obj1) {
36ed4f51 9040 {
32fe5131 9041 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9042 if (SWIG_arg_fail(2)) SWIG_fail;
9043 }
8edf1c75 9044 }
d14a1e28
RD
9045 {
9046 PyThreadState* __tstate = wxPyBeginAllowThreads();
9047 result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2);
9048
9049 wxPyEndAllowThreads(__tstate);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 }
2f4c0a16 9052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridStringTable, 1);
d14a1e28
RD
9053 return resultobj;
9054 fail:
9055 return NULL;
9056}
9057
9058
c370783e 9059static PyObject * GridStringTable_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9060 PyObject *obj;
9061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9062 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj);
9063 Py_INCREF(obj);
9064 return Py_BuildValue((char *)"");
9065}
c370783e 9066static PyObject *_wrap_new_GridTableMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9067 PyObject *resultobj = NULL;
d14a1e28
RD
9068 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
9069 int arg2 ;
9070 int arg3 = (int) -1 ;
9071 int arg4 = (int) -1 ;
9072 wxGridTableMessage *result;
9073 PyObject * obj0 = 0 ;
8edf1c75
RD
9074 PyObject * obj1 = 0 ;
9075 PyObject * obj2 = 0 ;
9076 PyObject * obj3 = 0 ;
d14a1e28
RD
9077 char *kwnames[] = {
9078 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
9079 };
9080
8edf1c75 9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GridTableMessage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
9083 if (SWIG_arg_fail(1)) SWIG_fail;
9084 {
32fe5131 9085 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9086 if (SWIG_arg_fail(2)) SWIG_fail;
9087 }
8edf1c75 9088 if (obj2) {
36ed4f51 9089 {
32fe5131 9090 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9091 if (SWIG_arg_fail(3)) SWIG_fail;
9092 }
8edf1c75
RD
9093 }
9094 if (obj3) {
36ed4f51 9095 {
32fe5131 9096 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
9097 if (SWIG_arg_fail(4)) SWIG_fail;
9098 }
8edf1c75 9099 }
d14a1e28
RD
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4);
9103
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
2f4c0a16 9107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridTableMessage, 1);
d14a1e28
RD
9108 return resultobj;
9109 fail:
9110 return NULL;
9111}
9112
9113
c370783e 9114static PyObject *_wrap_delete_GridTableMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9115 PyObject *resultobj = NULL;
d14a1e28
RD
9116 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
9117 PyObject * obj0 = 0 ;
9118 char *kwnames[] = {
9119 (char *) "self", NULL
9120 };
9121
9122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail;
36ed4f51
RD
9123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0);
9124 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9125 {
9126 PyThreadState* __tstate = wxPyBeginAllowThreads();
9127 delete arg1;
9128
9129 wxPyEndAllowThreads(__tstate);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 }
9132 Py_INCREF(Py_None); resultobj = Py_None;
9133 return resultobj;
9134 fail:
9135 return NULL;
9136}
9137
9138
c370783e 9139static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9140 PyObject *resultobj = NULL;
d14a1e28
RD
9141 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
9142 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
9143 PyObject * obj0 = 0 ;
9144 PyObject * obj1 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self",(char *) "table", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail;
9152 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
9153 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9154 {
9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
9156 (arg1)->SetTableObject(arg2);
9157
9158 wxPyEndAllowThreads(__tstate);
9159 if (PyErr_Occurred()) SWIG_fail;
9160 }
9161 Py_INCREF(Py_None); resultobj = Py_None;
9162 return resultobj;
9163 fail:
9164 return NULL;
9165}
9166
9167
c370783e 9168static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9169 PyObject *resultobj = NULL;
d14a1e28
RD
9170 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
9171 wxGridTableBase *result;
9172 PyObject * obj0 = 0 ;
9173 char *kwnames[] = {
9174 (char *) "self", NULL
9175 };
9176
9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail;
36ed4f51
RD
9178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0);
9179 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9180 {
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject();
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 {
7e08d4ef 9188 resultobj = wxPyMake_wxGridTableBase(result, (bool)0);
d14a1e28
RD
9189 }
9190 return resultobj;
9191 fail:
9192 return NULL;
9193}
9194
9195
c370783e 9196static PyObject *_wrap_GridTableMessage_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9197 PyObject *resultobj = NULL;
d14a1e28
RD
9198 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
9199 int arg2 ;
9200 PyObject * obj0 = 0 ;
8edf1c75 9201 PyObject * obj1 = 0 ;
d14a1e28
RD
9202 char *kwnames[] = {
9203 (char *) "self",(char *) "id", NULL
9204 };
9205
8edf1c75 9206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0);
9208 if (SWIG_arg_fail(1)) SWIG_fail;
9209 {
32fe5131 9210 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9211 if (SWIG_arg_fail(2)) SWIG_fail;
9212 }
d14a1e28
RD
9213 {
9214 PyThreadState* __tstate = wxPyBeginAllowThreads();
9215 (arg1)->SetId(arg2);
9216
9217 wxPyEndAllowThreads(__tstate);
9218 if (PyErr_Occurred()) SWIG_fail;
9219 }
9220 Py_INCREF(Py_None); resultobj = Py_None;
9221 return resultobj;
9222 fail:
9223 return NULL;
9224}
9225
9226
c370783e 9227static PyObject *_wrap_GridTableMessage_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9228 PyObject *resultobj = NULL;
d14a1e28
RD
9229 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
9230 int result;
9231 PyObject * obj0 = 0 ;
9232 char *kwnames[] = {
9233 (char *) "self", NULL
9234 };
9235
9236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
9237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0);
9238 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 result = (int)(arg1)->GetId();
9242
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) SWIG_fail;
9245 }
36ed4f51 9246 {
32fe5131 9247 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9248 }
d14a1e28
RD
9249 return resultobj;
9250 fail:
9251 return NULL;
9252}
9253
9254
c370783e 9255static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9256 PyObject *resultobj = NULL;
d14a1e28
RD
9257 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
9258 int arg2 ;
9259 PyObject * obj0 = 0 ;
8edf1c75 9260 PyObject * obj1 = 0 ;
d14a1e28
RD
9261 char *kwnames[] = {
9262 (char *) "self",(char *) "comInt1", NULL
9263 };
9264
8edf1c75 9265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0);
9267 if (SWIG_arg_fail(1)) SWIG_fail;
9268 {
32fe5131 9269 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9270 if (SWIG_arg_fail(2)) SWIG_fail;
9271 }
d14a1e28
RD
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 (arg1)->SetCommandInt(arg2);
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
9279 Py_INCREF(Py_None); resultobj = Py_None;
9280 return resultobj;
9281 fail:
9282 return NULL;
9283}
9284
9285
c370783e 9286static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9287 PyObject *resultobj = NULL;
d14a1e28
RD
9288 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
9289 int result;
9290 PyObject * obj0 = 0 ;
9291 char *kwnames[] = {
9292 (char *) "self", NULL
9293 };
9294
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail;
36ed4f51
RD
9296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0);
9297 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9298 {
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 result = (int)(arg1)->GetCommandInt();
9301
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
36ed4f51 9305 {
32fe5131 9306 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9307 }
d14a1e28
RD
9308 return resultobj;
9309 fail:
9310 return NULL;
9311}
9312
9313
c370783e 9314static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9315 PyObject *resultobj = NULL;
d14a1e28
RD
9316 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
9317 int arg2 ;
9318 PyObject * obj0 = 0 ;
8edf1c75 9319 PyObject * obj1 = 0 ;
d14a1e28
RD
9320 char *kwnames[] = {
9321 (char *) "self",(char *) "comInt2", NULL
9322 };
9323
8edf1c75 9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0);
9326 if (SWIG_arg_fail(1)) SWIG_fail;
9327 {
32fe5131 9328 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9329 if (SWIG_arg_fail(2)) SWIG_fail;
9330 }
d14a1e28
RD
9331 {
9332 PyThreadState* __tstate = wxPyBeginAllowThreads();
9333 (arg1)->SetCommandInt2(arg2);
9334
9335 wxPyEndAllowThreads(__tstate);
9336 if (PyErr_Occurred()) SWIG_fail;
9337 }
9338 Py_INCREF(Py_None); resultobj = Py_None;
9339 return resultobj;
9340 fail:
9341 return NULL;
9342}
9343
9344
c370783e 9345static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9346 PyObject *resultobj = NULL;
d14a1e28
RD
9347 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
9348 int result;
9349 PyObject * obj0 = 0 ;
9350 char *kwnames[] = {
9351 (char *) "self", NULL
9352 };
9353
9354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail;
36ed4f51
RD
9355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0);
9356 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 result = (int)(arg1)->GetCommandInt2();
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
36ed4f51 9364 {
32fe5131 9365 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9366 }
d14a1e28
RD
9367 return resultobj;
9368 fail:
9369 return NULL;
9370}
9371
9372
c370783e 9373static PyObject * GridTableMessage_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9374 PyObject *obj;
9375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9376 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj);
9377 Py_INCREF(obj);
9378 return Py_BuildValue((char *)"");
9379}
c370783e 9380static PyObject *_wrap_new_GridCellCoords(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9381 PyObject *resultobj = NULL;
d14a1e28
RD
9382 int arg1 = (int) -1 ;
9383 int arg2 = (int) -1 ;
9384 wxGridCellCoords *result;
8edf1c75
RD
9385 PyObject * obj0 = 0 ;
9386 PyObject * obj1 = 0 ;
d14a1e28
RD
9387 char *kwnames[] = {
9388 (char *) "r",(char *) "c", NULL
9389 };
9390
8edf1c75
RD
9391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellCoords",kwnames,&obj0,&obj1)) goto fail;
9392 if (obj0) {
36ed4f51 9393 {
32fe5131 9394 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
9395 if (SWIG_arg_fail(1)) SWIG_fail;
9396 }
8edf1c75
RD
9397 }
9398 if (obj1) {
36ed4f51 9399 {
32fe5131 9400 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9401 if (SWIG_arg_fail(2)) SWIG_fail;
9402 }
8edf1c75 9403 }
d14a1e28
RD
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2);
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
2f4c0a16 9411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
9412 return resultobj;
9413 fail:
9414 return NULL;
9415}
9416
9417
c370783e 9418static PyObject *_wrap_delete_GridCellCoords(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9419 PyObject *resultobj = NULL;
d14a1e28
RD
9420 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
9421 PyObject * obj0 = 0 ;
9422 char *kwnames[] = {
9423 (char *) "self", NULL
9424 };
9425
9426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail;
36ed4f51
RD
9427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0);
9428 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 delete arg1;
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 Py_INCREF(Py_None); resultobj = Py_None;
9437 return resultobj;
9438 fail:
9439 return NULL;
9440}
9441
9442
c370783e 9443static PyObject *_wrap_GridCellCoords_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9444 PyObject *resultobj = NULL;
d14a1e28
RD
9445 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
9446 int result;
9447 PyObject * obj0 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail;
36ed4f51
RD
9453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9455 {
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
9457 result = (int)((wxGridCellCoords const *)arg1)->GetRow();
9458
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) SWIG_fail;
9461 }
36ed4f51 9462 {
32fe5131 9463 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9464 }
d14a1e28
RD
9465 return resultobj;
9466 fail:
9467 return NULL;
9468}
9469
9470
c370783e 9471static PyObject *_wrap_GridCellCoords_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9472 PyObject *resultobj = NULL;
d14a1e28
RD
9473 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
9474 int arg2 ;
9475 PyObject * obj0 = 0 ;
8edf1c75 9476 PyObject * obj1 = 0 ;
d14a1e28
RD
9477 char *kwnames[] = {
9478 (char *) "self",(char *) "n", NULL
9479 };
9480
8edf1c75 9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetRow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0);
9483 if (SWIG_arg_fail(1)) SWIG_fail;
9484 {
32fe5131 9485 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9486 if (SWIG_arg_fail(2)) SWIG_fail;
9487 }
d14a1e28
RD
9488 {
9489 PyThreadState* __tstate = wxPyBeginAllowThreads();
9490 (arg1)->SetRow(arg2);
9491
9492 wxPyEndAllowThreads(__tstate);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 }
9495 Py_INCREF(Py_None); resultobj = Py_None;
9496 return resultobj;
9497 fail:
9498 return NULL;
9499}
9500
9501
c370783e 9502static PyObject *_wrap_GridCellCoords_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9503 PyObject *resultobj = NULL;
d14a1e28
RD
9504 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
9505 int result;
9506 PyObject * obj0 = 0 ;
9507 char *kwnames[] = {
9508 (char *) "self", NULL
9509 };
9510
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail;
36ed4f51
RD
9512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0);
9513 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 result = (int)((wxGridCellCoords const *)arg1)->GetCol();
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
36ed4f51 9521 {
32fe5131 9522 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9523 }
d14a1e28
RD
9524 return resultobj;
9525 fail:
9526 return NULL;
9527}
9528
9529
c370783e 9530static PyObject *_wrap_GridCellCoords_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9531 PyObject *resultobj = NULL;
d14a1e28
RD
9532 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
9533 int arg2 ;
9534 PyObject * obj0 = 0 ;
8edf1c75 9535 PyObject * obj1 = 0 ;
d14a1e28
RD
9536 char *kwnames[] = {
9537 (char *) "self",(char *) "n", NULL
9538 };
9539
8edf1c75 9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetCol",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0);
9542 if (SWIG_arg_fail(1)) SWIG_fail;
9543 {
32fe5131 9544 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9545 if (SWIG_arg_fail(2)) SWIG_fail;
9546 }
d14a1e28
RD
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 (arg1)->SetCol(arg2);
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 Py_INCREF(Py_None); resultobj = Py_None;
9555 return resultobj;
9556 fail:
9557 return NULL;
9558}
9559
9560
c370783e 9561static PyObject *_wrap_GridCellCoords_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9562 PyObject *resultobj = NULL;
d14a1e28
RD
9563 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
9564 int arg2 ;
9565 int arg3 ;
9566 PyObject * obj0 = 0 ;
8edf1c75
RD
9567 PyObject * obj1 = 0 ;
9568 PyObject * obj2 = 0 ;
d14a1e28
RD
9569 char *kwnames[] = {
9570 (char *) "self",(char *) "row",(char *) "col", NULL
9571 };
9572
8edf1c75 9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellCoords_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0);
9575 if (SWIG_arg_fail(1)) SWIG_fail;
9576 {
32fe5131 9577 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9578 if (SWIG_arg_fail(2)) SWIG_fail;
9579 }
9580 {
32fe5131 9581 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9582 if (SWIG_arg_fail(3)) SWIG_fail;
9583 }
d14a1e28
RD
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 (arg1)->Set(arg2,arg3);
9587
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) SWIG_fail;
9590 }
9591 Py_INCREF(Py_None); resultobj = Py_None;
9592 return resultobj;
9593 fail:
9594 return NULL;
9595}
9596
9597
c370783e 9598static PyObject *_wrap_GridCellCoords___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9599 PyObject *resultobj = NULL;
d14a1e28
RD
9600 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
9601 wxGridCellCoords *arg2 = 0 ;
9602 bool result;
38f59159 9603 wxGridCellCoords temp2 ;
d14a1e28
RD
9604 PyObject * obj0 = 0 ;
9605 PyObject * obj1 = 0 ;
9606 char *kwnames[] = {
9607 (char *) "self",(char *) "other", NULL
9608 };
9609
9610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0);
9612 if (SWIG_arg_fail(1)) SWIG_fail;
38f59159
RD
9613 {
9614 arg2 = &temp2;
9615 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
9616 }
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2);
9620
9621 wxPyEndAllowThreads(__tstate);
9622 if (PyErr_Occurred()) SWIG_fail;
9623 }
fbc46b20
RD
9624 {
9625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9626 }
d14a1e28
RD
9627 return resultobj;
9628 fail:
9629 return NULL;
9630}
9631
9632
c370783e 9633static PyObject *_wrap_GridCellCoords___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9634 PyObject *resultobj = NULL;
d14a1e28
RD
9635 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
9636 wxGridCellCoords *arg2 = 0 ;
9637 bool result;
38f59159 9638 wxGridCellCoords temp2 ;
d14a1e28
RD
9639 PyObject * obj0 = 0 ;
9640 PyObject * obj1 = 0 ;
9641 char *kwnames[] = {
9642 (char *) "self",(char *) "other", NULL
9643 };
9644
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0);
9647 if (SWIG_arg_fail(1)) SWIG_fail;
38f59159
RD
9648 {
9649 arg2 = &temp2;
9650 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
9651 }
9652 {
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2);
9655
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
fbc46b20
RD
9659 {
9660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9661 }
d14a1e28
RD
9662 return resultobj;
9663 fail:
9664 return NULL;
9665}
9666
9667
c370783e 9668static PyObject *_wrap_GridCellCoords_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9669 PyObject *resultobj = NULL;
d14a1e28
RD
9670 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
9671 PyObject *result;
9672 PyObject * obj0 = 0 ;
9673 char *kwnames[] = {
9674 (char *) "self", NULL
9675 };
9676
15817c7e 9677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_Get",kwnames,&obj0)) goto fail;
36ed4f51
RD
9678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0);
9679 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817c7e 9682 result = (PyObject *)wxGridCellCoords_Get(arg1);
d14a1e28
RD
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 resultobj = result;
9688 return resultobj;
9689 fail:
9690 return NULL;
9691}
9692
9693
c370783e 9694static PyObject * GridCellCoords_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9695 PyObject *obj;
9696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9697 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj);
9698 Py_INCREF(obj);
9699 return Py_BuildValue((char *)"");
9700}
c370783e 9701static PyObject *_wrap_new_Grid(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9702 PyObject *resultobj = NULL;
d14a1e28 9703 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 9704 int arg2 = (int) -1 ;
d14a1e28
RD
9705 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9706 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9707 wxSize const &arg4_defvalue = wxDefaultSize ;
9708 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9709 long arg5 = (long) wxWANTS_CHARS ;
9710 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9711 wxString *arg6 = (wxString *) &arg6_defvalue ;
9712 wxGrid *result;
9713 wxPoint temp3 ;
9714 wxSize temp4 ;
b411df4a 9715 bool temp6 = false ;
d14a1e28 9716 PyObject * obj0 = 0 ;
8edf1c75 9717 PyObject * obj1 = 0 ;
d14a1e28
RD
9718 PyObject * obj2 = 0 ;
9719 PyObject * obj3 = 0 ;
8edf1c75 9720 PyObject * obj4 = 0 ;
d14a1e28
RD
9721 PyObject * obj5 = 0 ;
9722 char *kwnames[] = {
9723 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9724 };
9725
bfddbb17 9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Grid",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
9727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9728 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 9729 if (obj1) {
36ed4f51 9730 {
32fe5131 9731 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9732 if (SWIG_arg_fail(2)) SWIG_fail;
9733 }
bfddbb17 9734 }
d14a1e28
RD
9735 if (obj2) {
9736 {
9737 arg3 = &temp3;
9738 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9739 }
9740 }
9741 if (obj3) {
9742 {
9743 arg4 = &temp4;
9744 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9745 }
9746 }
8edf1c75 9747 if (obj4) {
36ed4f51 9748 {
32fe5131 9749 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
9750 if (SWIG_arg_fail(5)) SWIG_fail;
9751 }
8edf1c75 9752 }
d14a1e28
RD
9753 if (obj5) {
9754 {
9755 arg6 = wxString_in_helper(obj5);
9756 if (arg6 == NULL) SWIG_fail;
b411df4a 9757 temp6 = true;
d14a1e28
RD
9758 }
9759 }
9760 {
0439c23b 9761 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9764
9765 wxPyEndAllowThreads(__tstate);
110da5b0 9766 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9767 }
b0f7404b 9768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGrid, 1);
d14a1e28
RD
9769 {
9770 if (temp6)
9771 delete arg6;
9772 }
9773 return resultobj;
9774 fail:
9775 {
9776 if (temp6)
9777 delete arg6;
9778 }
9779 return NULL;
9780}
9781
9782
c370783e 9783static PyObject *_wrap_new_PreGrid(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9784 PyObject *resultobj = NULL;
68e533f8
RD
9785 wxGrid *result;
9786 char *kwnames[] = {
9787 NULL
9788 };
9789
9790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGrid",kwnames)) goto fail;
9791 {
0439c23b 9792 if (!wxPyCheckForApp()) SWIG_fail;
68e533f8
RD
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 result = (wxGrid *)new wxGrid();
9795
9796 wxPyEndAllowThreads(__tstate);
110da5b0 9797 if (PyErr_Occurred()) SWIG_fail;
68e533f8 9798 }
b0f7404b 9799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGrid, 1);
68e533f8
RD
9800 return resultobj;
9801 fail:
9802 return NULL;
9803}
9804
9805
c370783e 9806static PyObject *_wrap_Grid_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9807 PyObject *resultobj = NULL;
68e533f8
RD
9808 wxGrid *arg1 = (wxGrid *) 0 ;
9809 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 9810 int arg3 = (int) -1 ;
68e533f8
RD
9811 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9812 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9813 wxSize const &arg5_defvalue = wxDefaultSize ;
9814 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9815 long arg6 = (long) wxWANTS_CHARS ;
9816 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9817 wxString *arg7 = (wxString *) &arg7_defvalue ;
9818 bool result;
9819 wxPoint temp4 ;
9820 wxSize temp5 ;
b411df4a 9821 bool temp7 = false ;
68e533f8
RD
9822 PyObject * obj0 = 0 ;
9823 PyObject * obj1 = 0 ;
9824 PyObject * obj2 = 0 ;
9825 PyObject * obj3 = 0 ;
9826 PyObject * obj4 = 0 ;
9827 PyObject * obj5 = 0 ;
9828 PyObject * obj6 = 0 ;
9829 char *kwnames[] = {
9830 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9831 };
9832
bfddbb17 9833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Grid_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
9834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
9835 if (SWIG_arg_fail(1)) SWIG_fail;
9836 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9837 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 9838 if (obj2) {
36ed4f51 9839 {
32fe5131 9840 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9841 if (SWIG_arg_fail(3)) SWIG_fail;
9842 }
bfddbb17 9843 }
68e533f8
RD
9844 if (obj3) {
9845 {
9846 arg4 = &temp4;
9847 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9848 }
9849 }
9850 if (obj4) {
9851 {
9852 arg5 = &temp5;
9853 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9854 }
9855 }
9856 if (obj5) {
36ed4f51 9857 {
32fe5131 9858 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
9859 if (SWIG_arg_fail(6)) SWIG_fail;
9860 }
68e533f8
RD
9861 }
9862 if (obj6) {
9863 {
9864 arg7 = wxString_in_helper(obj6);
9865 if (arg7 == NULL) SWIG_fail;
b411df4a 9866 temp7 = true;
68e533f8
RD
9867 }
9868 }
9869 {
9870 PyThreadState* __tstate = wxPyBeginAllowThreads();
9871 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9872
9873 wxPyEndAllowThreads(__tstate);
9874 if (PyErr_Occurred()) SWIG_fail;
9875 }
9876 {
9877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9878 }
9879 {
9880 if (temp7)
9881 delete arg7;
9882 }
9883 return resultobj;
9884 fail:
9885 {
9886 if (temp7)
9887 delete arg7;
9888 }
9889 return NULL;
9890}
9891
9892
c370783e 9893static PyObject *_wrap_Grid_CreateGrid(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9894 PyObject *resultobj = NULL;
d14a1e28
RD
9895 wxGrid *arg1 = (wxGrid *) 0 ;
9896 int arg2 ;
9897 int arg3 ;
9898 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
9899 bool result;
9900 PyObject * obj0 = 0 ;
8edf1c75
RD
9901 PyObject * obj1 = 0 ;
9902 PyObject * obj2 = 0 ;
9903 PyObject * obj3 = 0 ;
d14a1e28
RD
9904 char *kwnames[] = {
9905 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
9906 };
9907
8edf1c75 9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_CreateGrid",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
9910 if (SWIG_arg_fail(1)) SWIG_fail;
9911 {
32fe5131 9912 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9913 if (SWIG_arg_fail(2)) SWIG_fail;
9914 }
9915 {
32fe5131 9916 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9917 if (SWIG_arg_fail(3)) SWIG_fail;
9918 }
8edf1c75 9919 if (obj3) {
36ed4f51 9920 {
32fe5131 9921 arg4 = static_cast<WXGRIDSELECTIONMODES >(SWIG_As_int(obj3));
36ed4f51
RD
9922 if (SWIG_arg_fail(4)) SWIG_fail;
9923 }
8edf1c75 9924 }
d14a1e28
RD
9925 {
9926 PyThreadState* __tstate = wxPyBeginAllowThreads();
9927 result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4);
9928
9929 wxPyEndAllowThreads(__tstate);
9930 if (PyErr_Occurred()) SWIG_fail;
9931 }
fbc46b20
RD
9932 {
9933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9934 }
d14a1e28
RD
9935 return resultobj;
9936 fail:
9937 return NULL;
9938}
9939
9940
c370783e 9941static PyObject *_wrap_Grid_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9942 PyObject *resultobj = NULL;
d14a1e28
RD
9943 wxGrid *arg1 = (wxGrid *) 0 ;
9944 WXGRIDSELECTIONMODES arg2 ;
9945 PyObject * obj0 = 0 ;
8edf1c75 9946 PyObject * obj1 = 0 ;
d14a1e28
RD
9947 char *kwnames[] = {
9948 (char *) "self",(char *) "selmode", NULL
9949 };
9950
8edf1c75 9951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
9953 if (SWIG_arg_fail(1)) SWIG_fail;
9954 {
32fe5131 9955 arg2 = static_cast<WXGRIDSELECTIONMODES >(SWIG_As_int(obj1));
36ed4f51
RD
9956 if (SWIG_arg_fail(2)) SWIG_fail;
9957 }
d14a1e28
RD
9958 {
9959 PyThreadState* __tstate = wxPyBeginAllowThreads();
9960 (arg1)->SetSelectionMode(arg2);
9961
9962 wxPyEndAllowThreads(__tstate);
9963 if (PyErr_Occurred()) SWIG_fail;
9964 }
9965 Py_INCREF(Py_None); resultobj = Py_None;
9966 return resultobj;
9967 fail:
9968 return NULL;
9969}
9970
9971
c370783e 9972static PyObject *_wrap_Grid_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9973 PyObject *resultobj = NULL;
d14a1e28
RD
9974 wxGrid *arg1 = (wxGrid *) 0 ;
9975 WXGRIDSELECTIONMODES result;
9976 PyObject * obj0 = 0 ;
9977 char *kwnames[] = {
9978 (char *) "self", NULL
9979 };
9980
9981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
9982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
9983 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9984 {
9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9986 result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode();
9987
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
36ed4f51 9991 {
32fe5131 9992 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9993 }
d14a1e28
RD
9994 return resultobj;
9995 fail:
9996 return NULL;
9997}
9998
9999
c370783e 10000static PyObject *_wrap_Grid_GetNumberRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10001 PyObject *resultobj = NULL;
d14a1e28
RD
10002 wxGrid *arg1 = (wxGrid *) 0 ;
10003 int result;
10004 PyObject * obj0 = 0 ;
10005 char *kwnames[] = {
10006 (char *) "self", NULL
10007 };
10008
10009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail;
36ed4f51
RD
10010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10011 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 result = (int)(arg1)->GetNumberRows();
10015
10016 wxPyEndAllowThreads(__tstate);
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
36ed4f51 10019 {
32fe5131 10020 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10021 }
d14a1e28
RD
10022 return resultobj;
10023 fail:
10024 return NULL;
10025}
10026
10027
c370783e 10028static PyObject *_wrap_Grid_GetNumberCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10029 PyObject *resultobj = NULL;
d14a1e28
RD
10030 wxGrid *arg1 = (wxGrid *) 0 ;
10031 int result;
10032 PyObject * obj0 = 0 ;
10033 char *kwnames[] = {
10034 (char *) "self", NULL
10035 };
10036
10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail;
36ed4f51
RD
10038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10039 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10040 {
10041 PyThreadState* __tstate = wxPyBeginAllowThreads();
10042 result = (int)(arg1)->GetNumberCols();
10043
10044 wxPyEndAllowThreads(__tstate);
10045 if (PyErr_Occurred()) SWIG_fail;
10046 }
36ed4f51 10047 {
32fe5131 10048 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10049 }
d14a1e28
RD
10050 return resultobj;
10051 fail:
10052 return NULL;
10053}
10054
10055
c370783e 10056static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10057 PyObject *resultobj = NULL;
d14a1e28
RD
10058 wxGrid *arg1 = (wxGrid *) 0 ;
10059 wxGridTableMessage *arg2 = 0 ;
10060 bool result;
10061 PyObject * obj0 = 0 ;
10062 PyObject * obj1 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "self","arg2", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10069 if (SWIG_arg_fail(1)) SWIG_fail;
10070 {
10071 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0);
10072 if (SWIG_arg_fail(2)) SWIG_fail;
10073 if (arg2 == NULL) {
10074 SWIG_null_ref("wxGridTableMessage");
10075 }
10076 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10077 }
10078 {
10079 PyThreadState* __tstate = wxPyBeginAllowThreads();
10080 result = (bool)(arg1)->ProcessTableMessage(*arg2);
10081
10082 wxPyEndAllowThreads(__tstate);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 }
fbc46b20
RD
10085 {
10086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10087 }
d14a1e28
RD
10088 return resultobj;
10089 fail:
10090 return NULL;
10091}
10092
10093
c370783e 10094static PyObject *_wrap_Grid_GetTable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10095 PyObject *resultobj = NULL;
d14a1e28
RD
10096 wxGrid *arg1 = (wxGrid *) 0 ;
10097 wxGridTableBase *result;
10098 PyObject * obj0 = 0 ;
10099 char *kwnames[] = {
10100 (char *) "self", NULL
10101 };
10102
10103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail;
36ed4f51
RD
10104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10105 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10106 {
10107 PyThreadState* __tstate = wxPyBeginAllowThreads();
10108 result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable();
10109
10110 wxPyEndAllowThreads(__tstate);
10111 if (PyErr_Occurred()) SWIG_fail;
10112 }
10113 {
7e08d4ef 10114 resultobj = wxPyMake_wxGridTableBase(result, (bool)0);
d14a1e28
RD
10115 }
10116 return resultobj;
10117 fail:
10118 return NULL;
10119}
10120
10121
c370783e 10122static PyObject *_wrap_Grid_SetTable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10123 PyObject *resultobj = NULL;
d14a1e28
RD
10124 wxGrid *arg1 = (wxGrid *) 0 ;
10125 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
b411df4a 10126 bool arg3 = (bool) false ;
d14a1e28
RD
10127 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
10128 bool result;
10129 PyObject * obj0 = 0 ;
10130 PyObject * obj1 = 0 ;
10131 PyObject * obj2 = 0 ;
8edf1c75 10132 PyObject * obj3 = 0 ;
d14a1e28
RD
10133 char *kwnames[] = {
10134 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
10135 };
10136
8edf1c75 10137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10139 if (SWIG_arg_fail(1)) SWIG_fail;
10140 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0);
10141 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10142 if (obj2) {
36ed4f51 10143 {
32fe5131 10144 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
10145 if (SWIG_arg_fail(3)) SWIG_fail;
10146 }
8edf1c75
RD
10147 }
10148 if (obj3) {
36ed4f51 10149 {
32fe5131 10150 arg4 = static_cast<WXGRIDSELECTIONMODES >(SWIG_As_int(obj3));
36ed4f51
RD
10151 if (SWIG_arg_fail(4)) SWIG_fail;
10152 }
d14a1e28
RD
10153 }
10154 {
10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
10156 result = (bool)(arg1)->SetTable(arg2,arg3,arg4);
10157
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
fbc46b20
RD
10161 {
10162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10163 }
d14a1e28
RD
10164 return resultobj;
10165 fail:
10166 return NULL;
10167}
10168
10169
c370783e 10170static PyObject *_wrap_Grid_ClearGrid(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10171 PyObject *resultobj = NULL;
d14a1e28
RD
10172 wxGrid *arg1 = (wxGrid *) 0 ;
10173 PyObject * obj0 = 0 ;
10174 char *kwnames[] = {
10175 (char *) "self", NULL
10176 };
10177
10178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail;
36ed4f51
RD
10179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10180 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10181 {
10182 PyThreadState* __tstate = wxPyBeginAllowThreads();
10183 (arg1)->ClearGrid();
10184
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 Py_INCREF(Py_None); resultobj = Py_None;
10189 return resultobj;
10190 fail:
10191 return NULL;
10192}
10193
10194
c370783e 10195static PyObject *_wrap_Grid_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10196 PyObject *resultobj = NULL;
d14a1e28
RD
10197 wxGrid *arg1 = (wxGrid *) 0 ;
10198 int arg2 = (int) 0 ;
10199 int arg3 = (int) 1 ;
b411df4a 10200 bool arg4 = (bool) true ;
d14a1e28
RD
10201 bool result;
10202 PyObject * obj0 = 0 ;
8edf1c75
RD
10203 PyObject * obj1 = 0 ;
10204 PyObject * obj2 = 0 ;
d14a1e28
RD
10205 PyObject * obj3 = 0 ;
10206 char *kwnames[] = {
10207 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10208 };
10209
8edf1c75 10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10212 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 10213 if (obj1) {
36ed4f51 10214 {
32fe5131 10215 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10216 if (SWIG_arg_fail(2)) SWIG_fail;
10217 }
8edf1c75
RD
10218 }
10219 if (obj2) {
36ed4f51 10220 {
32fe5131 10221 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10222 if (SWIG_arg_fail(3)) SWIG_fail;
10223 }
8edf1c75 10224 }
d14a1e28 10225 if (obj3) {
36ed4f51 10226 {
32fe5131 10227 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
10228 if (SWIG_arg_fail(4)) SWIG_fail;
10229 }
d14a1e28
RD
10230 }
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 result = (bool)(arg1)->InsertRows(arg2,arg3,arg4);
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
fbc46b20
RD
10238 {
10239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10240 }
d14a1e28
RD
10241 return resultobj;
10242 fail:
10243 return NULL;
10244}
10245
10246
c370783e 10247static PyObject *_wrap_Grid_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10248 PyObject *resultobj = NULL;
d14a1e28
RD
10249 wxGrid *arg1 = (wxGrid *) 0 ;
10250 int arg2 = (int) 1 ;
b411df4a 10251 bool arg3 = (bool) true ;
d14a1e28
RD
10252 bool result;
10253 PyObject * obj0 = 0 ;
8edf1c75 10254 PyObject * obj1 = 0 ;
d14a1e28
RD
10255 PyObject * obj2 = 0 ;
10256 char *kwnames[] = {
10257 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
10258 };
10259
8edf1c75 10260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10262 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 10263 if (obj1) {
36ed4f51 10264 {
32fe5131 10265 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10266 if (SWIG_arg_fail(2)) SWIG_fail;
10267 }
8edf1c75 10268 }
d14a1e28 10269 if (obj2) {
36ed4f51 10270 {
32fe5131 10271 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
10272 if (SWIG_arg_fail(3)) SWIG_fail;
10273 }
d14a1e28
RD
10274 }
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 result = (bool)(arg1)->AppendRows(arg2,arg3);
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
fbc46b20
RD
10282 {
10283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10284 }
d14a1e28
RD
10285 return resultobj;
10286 fail:
10287 return NULL;
10288}
10289
10290
c370783e 10291static PyObject *_wrap_Grid_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10292 PyObject *resultobj = NULL;
d14a1e28
RD
10293 wxGrid *arg1 = (wxGrid *) 0 ;
10294 int arg2 = (int) 0 ;
10295 int arg3 = (int) 1 ;
b411df4a 10296 bool arg4 = (bool) true ;
d14a1e28
RD
10297 bool result;
10298 PyObject * obj0 = 0 ;
8edf1c75
RD
10299 PyObject * obj1 = 0 ;
10300 PyObject * obj2 = 0 ;
d14a1e28
RD
10301 PyObject * obj3 = 0 ;
10302 char *kwnames[] = {
10303 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10304 };
10305
8edf1c75 10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10308 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 10309 if (obj1) {
36ed4f51 10310 {
32fe5131 10311 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10312 if (SWIG_arg_fail(2)) SWIG_fail;
10313 }
8edf1c75
RD
10314 }
10315 if (obj2) {
36ed4f51 10316 {
32fe5131 10317 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10318 if (SWIG_arg_fail(3)) SWIG_fail;
10319 }
8edf1c75 10320 }
d14a1e28 10321 if (obj3) {
36ed4f51 10322 {
32fe5131 10323 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
10324 if (SWIG_arg_fail(4)) SWIG_fail;
10325 }
d14a1e28
RD
10326 }
10327 {
10328 PyThreadState* __tstate = wxPyBeginAllowThreads();
10329 result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4);
10330
10331 wxPyEndAllowThreads(__tstate);
10332 if (PyErr_Occurred()) SWIG_fail;
10333 }
fbc46b20
RD
10334 {
10335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10336 }
d14a1e28
RD
10337 return resultobj;
10338 fail:
10339 return NULL;
10340}
10341
10342
c370783e 10343static PyObject *_wrap_Grid_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10344 PyObject *resultobj = NULL;
d14a1e28
RD
10345 wxGrid *arg1 = (wxGrid *) 0 ;
10346 int arg2 = (int) 0 ;
10347 int arg3 = (int) 1 ;
b411df4a 10348 bool arg4 = (bool) true ;
d14a1e28
RD
10349 bool result;
10350 PyObject * obj0 = 0 ;
8edf1c75
RD
10351 PyObject * obj1 = 0 ;
10352 PyObject * obj2 = 0 ;
d14a1e28
RD
10353 PyObject * obj3 = 0 ;
10354 char *kwnames[] = {
10355 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10356 };
10357
8edf1c75 10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10360 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 10361 if (obj1) {
36ed4f51 10362 {
32fe5131 10363 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10364 if (SWIG_arg_fail(2)) SWIG_fail;
10365 }
8edf1c75
RD
10366 }
10367 if (obj2) {
36ed4f51 10368 {
32fe5131 10369 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10370 if (SWIG_arg_fail(3)) SWIG_fail;
10371 }
8edf1c75 10372 }
d14a1e28 10373 if (obj3) {
36ed4f51 10374 {
32fe5131 10375 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
10376 if (SWIG_arg_fail(4)) SWIG_fail;
10377 }
d14a1e28
RD
10378 }
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 result = (bool)(arg1)->InsertCols(arg2,arg3,arg4);
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
fbc46b20
RD
10386 {
10387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10388 }
d14a1e28
RD
10389 return resultobj;
10390 fail:
10391 return NULL;
10392}
10393
10394
c370783e 10395static PyObject *_wrap_Grid_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10396 PyObject *resultobj = NULL;
d14a1e28
RD
10397 wxGrid *arg1 = (wxGrid *) 0 ;
10398 int arg2 = (int) 1 ;
b411df4a 10399 bool arg3 = (bool) true ;
d14a1e28
RD
10400 bool result;
10401 PyObject * obj0 = 0 ;
8edf1c75 10402 PyObject * obj1 = 0 ;
d14a1e28
RD
10403 PyObject * obj2 = 0 ;
10404 char *kwnames[] = {
10405 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
10406 };
10407
8edf1c75 10408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10410 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 10411 if (obj1) {
36ed4f51 10412 {
32fe5131 10413 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10414 if (SWIG_arg_fail(2)) SWIG_fail;
10415 }
8edf1c75 10416 }
d14a1e28 10417 if (obj2) {
36ed4f51 10418 {
32fe5131 10419 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
10420 if (SWIG_arg_fail(3)) SWIG_fail;
10421 }
d14a1e28
RD
10422 }
10423 {
10424 PyThreadState* __tstate = wxPyBeginAllowThreads();
10425 result = (bool)(arg1)->AppendCols(arg2,arg3);
10426
10427 wxPyEndAllowThreads(__tstate);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
fbc46b20
RD
10430 {
10431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10432 }
d14a1e28
RD
10433 return resultobj;
10434 fail:
10435 return NULL;
10436}
10437
10438
c370783e 10439static PyObject *_wrap_Grid_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10440 PyObject *resultobj = NULL;
d14a1e28
RD
10441 wxGrid *arg1 = (wxGrid *) 0 ;
10442 int arg2 = (int) 0 ;
10443 int arg3 = (int) 1 ;
b411df4a 10444 bool arg4 = (bool) true ;
d14a1e28
RD
10445 bool result;
10446 PyObject * obj0 = 0 ;
8edf1c75
RD
10447 PyObject * obj1 = 0 ;
10448 PyObject * obj2 = 0 ;
d14a1e28
RD
10449 PyObject * obj3 = 0 ;
10450 char *kwnames[] = {
10451 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10452 };
10453
8edf1c75 10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10456 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 10457 if (obj1) {
36ed4f51 10458 {
32fe5131 10459 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10460 if (SWIG_arg_fail(2)) SWIG_fail;
10461 }
8edf1c75
RD
10462 }
10463 if (obj2) {
36ed4f51 10464 {
32fe5131 10465 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10466 if (SWIG_arg_fail(3)) SWIG_fail;
10467 }
8edf1c75 10468 }
d14a1e28 10469 if (obj3) {
36ed4f51 10470 {
32fe5131 10471 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
10472 if (SWIG_arg_fail(4)) SWIG_fail;
10473 }
d14a1e28
RD
10474 }
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4);
10478
10479 wxPyEndAllowThreads(__tstate);
10480 if (PyErr_Occurred()) SWIG_fail;
10481 }
fbc46b20
RD
10482 {
10483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10484 }
d14a1e28
RD
10485 return resultobj;
10486 fail:
10487 return NULL;
10488}
10489
10490
c370783e 10491static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10492 PyObject *resultobj = NULL;
d14a1e28
RD
10493 wxGrid *arg1 = (wxGrid *) 0 ;
10494 wxDC *arg2 = 0 ;
10495 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
10496 PyObject * obj0 = 0 ;
10497 PyObject * obj1 = 0 ;
10498 PyObject * obj2 = 0 ;
10499 char *kwnames[] = {
10500 (char *) "self",(char *) "dc",(char *) "attr", NULL
10501 };
10502
10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10505 if (SWIG_arg_fail(1)) SWIG_fail;
10506 {
10507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
10508 if (SWIG_arg_fail(2)) SWIG_fail;
10509 if (arg2 == NULL) {
10510 SWIG_null_ref("wxDC");
10511 }
10512 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10513 }
36ed4f51
RD
10514 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
10515 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10516 {
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3);
10519
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 Py_INCREF(Py_None); resultobj = Py_None;
10524 return resultobj;
10525 fail:
10526 return NULL;
10527}
10528
10529
c370783e 10530static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10531 PyObject *resultobj = NULL;
d14a1e28
RD
10532 wxGrid *arg1 = (wxGrid *) 0 ;
10533 wxDC *arg2 = 0 ;
10534 wxString *arg3 = 0 ;
10535 wxRect *arg4 = 0 ;
10536 int arg5 = (int) wxLEFT ;
10537 int arg6 = (int) wxTOP ;
10538 int arg7 = (int) wxHORIZONTAL ;
b411df4a 10539 bool temp3 = false ;
d14a1e28
RD
10540 wxRect temp4 ;
10541 PyObject * obj0 = 0 ;
10542 PyObject * obj1 = 0 ;
10543 PyObject * obj2 = 0 ;
10544 PyObject * obj3 = 0 ;
8edf1c75
RD
10545 PyObject * obj4 = 0 ;
10546 PyObject * obj5 = 0 ;
10547 PyObject * obj6 = 0 ;
d14a1e28
RD
10548 char *kwnames[] = {
10549 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
10550 };
10551
8edf1c75 10552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
10553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10554 if (SWIG_arg_fail(1)) SWIG_fail;
10555 {
10556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
10557 if (SWIG_arg_fail(2)) SWIG_fail;
10558 if (arg2 == NULL) {
10559 SWIG_null_ref("wxDC");
10560 }
10561 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10562 }
10563 {
10564 arg3 = wxString_in_helper(obj2);
10565 if (arg3 == NULL) SWIG_fail;
b411df4a 10566 temp3 = true;
d14a1e28
RD
10567 }
10568 {
10569 arg4 = &temp4;
10570 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
10571 }
8edf1c75 10572 if (obj4) {
36ed4f51 10573 {
32fe5131 10574 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
10575 if (SWIG_arg_fail(5)) SWIG_fail;
10576 }
8edf1c75
RD
10577 }
10578 if (obj5) {
36ed4f51 10579 {
32fe5131 10580 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
10581 if (SWIG_arg_fail(6)) SWIG_fail;
10582 }
8edf1c75
RD
10583 }
10584 if (obj6) {
36ed4f51 10585 {
32fe5131 10586 arg7 = static_cast<int >(SWIG_As_int(obj6));
36ed4f51
RD
10587 if (SWIG_arg_fail(7)) SWIG_fail;
10588 }
8edf1c75 10589 }
d14a1e28
RD
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 Py_INCREF(Py_None); resultobj = Py_None;
10598 {
10599 if (temp3)
10600 delete arg3;
10601 }
10602 return resultobj;
10603 fail:
10604 {
10605 if (temp3)
10606 delete arg3;
10607 }
10608 return NULL;
10609}
10610
10611
c370783e 10612static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10613 PyObject *resultobj = NULL;
d14a1e28
RD
10614 wxGrid *arg1 = (wxGrid *) 0 ;
10615 wxDC *arg2 = 0 ;
10616 wxArrayString *arg3 = 0 ;
10617 long *arg4 = (long *) 0 ;
10618 long *arg5 = (long *) 0 ;
b411df4a 10619 bool temp3 = false ;
d14a1e28 10620 long temp4 ;
c370783e 10621 int res4 = 0 ;
d14a1e28 10622 long temp5 ;
c370783e 10623 int res5 = 0 ;
d14a1e28
RD
10624 PyObject * obj0 = 0 ;
10625 PyObject * obj1 = 0 ;
10626 PyObject * obj2 = 0 ;
10627 char *kwnames[] = {
10628 (char *) "self",(char *) "dc",(char *) "lines", NULL
10629 };
10630
c370783e
RD
10631 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10632 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10635 if (SWIG_arg_fail(1)) SWIG_fail;
10636 {
10637 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
10638 if (SWIG_arg_fail(2)) SWIG_fail;
10639 if (arg2 == NULL) {
10640 SWIG_null_ref("wxDC");
10641 }
10642 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10643 }
10644 {
10645 if (! PySequence_Check(obj2)) {
10646 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10647 SWIG_fail;
10648 }
10649 arg3 = new wxArrayString;
b411df4a 10650 temp3 = true;
d14a1e28
RD
10651 int i, len=PySequence_Length(obj2);
10652 for (i=0; i<len; i++) {
10653 PyObject* item = PySequence_GetItem(obj2, i);
71237536 10654 wxString* s = wxString_in_helper(item);
377d47bd 10655 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
10656 arg3->Add(*s);
10657 delete s;
d14a1e28 10658 Py_DECREF(item);
d14a1e28
RD
10659 }
10660 }
10661 {
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5);
10664
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
10669 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10670 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10671 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
10672 SWIG_From_long((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_long, 0)));
d14a1e28 10673 {
0ffb2aa6 10674 if (temp3) delete arg3;
d14a1e28
RD
10675 }
10676 return resultobj;
10677 fail:
10678 {
0ffb2aa6 10679 if (temp3) delete arg3;
d14a1e28
RD
10680 }
10681 return NULL;
10682}
10683
10684
c370783e 10685static PyObject *_wrap_Grid_BeginBatch(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10686 PyObject *resultobj = NULL;
d14a1e28
RD
10687 wxGrid *arg1 = (wxGrid *) 0 ;
10688 PyObject * obj0 = 0 ;
10689 char *kwnames[] = {
10690 (char *) "self", NULL
10691 };
10692
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail;
36ed4f51
RD
10694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10695 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10696 {
10697 PyThreadState* __tstate = wxPyBeginAllowThreads();
10698 (arg1)->BeginBatch();
10699
10700 wxPyEndAllowThreads(__tstate);
10701 if (PyErr_Occurred()) SWIG_fail;
10702 }
10703 Py_INCREF(Py_None); resultobj = Py_None;
10704 return resultobj;
10705 fail:
10706 return NULL;
10707}
10708
10709
c370783e 10710static PyObject *_wrap_Grid_EndBatch(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10711 PyObject *resultobj = NULL;
d14a1e28
RD
10712 wxGrid *arg1 = (wxGrid *) 0 ;
10713 PyObject * obj0 = 0 ;
10714 char *kwnames[] = {
10715 (char *) "self", NULL
10716 };
10717
10718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_EndBatch",kwnames,&obj0)) goto fail;
36ed4f51
RD
10719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10720 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 (arg1)->EndBatch();
10724
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 Py_INCREF(Py_None); resultobj = Py_None;
10729 return resultobj;
10730 fail:
10731 return NULL;
10732}
10733
10734
c370783e 10735static PyObject *_wrap_Grid_GetBatchCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10736 PyObject *resultobj = NULL;
d14a1e28
RD
10737 wxGrid *arg1 = (wxGrid *) 0 ;
10738 int result;
10739 PyObject * obj0 = 0 ;
10740 char *kwnames[] = {
10741 (char *) "self", NULL
10742 };
10743
10744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
10745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10746 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 result = (int)(arg1)->GetBatchCount();
10750
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
36ed4f51 10754 {
32fe5131 10755 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10756 }
d14a1e28
RD
10757 return resultobj;
10758 fail:
10759 return NULL;
10760}
10761
10762
c370783e 10763static PyObject *_wrap_Grid_ForceRefresh(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10764 PyObject *resultobj = NULL;
d14a1e28
RD
10765 wxGrid *arg1 = (wxGrid *) 0 ;
10766 PyObject * obj0 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",kwnames,&obj0)) goto fail;
36ed4f51
RD
10772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10773 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10774 {
10775 PyThreadState* __tstate = wxPyBeginAllowThreads();
10776 (arg1)->ForceRefresh();
10777
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 Py_INCREF(Py_None); resultobj = Py_None;
10782 return resultobj;
10783 fail:
10784 return NULL;
10785}
10786
10787
c370783e 10788static PyObject *_wrap_Grid_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10789 PyObject *resultobj = NULL;
d14a1e28
RD
10790 wxGrid *arg1 = (wxGrid *) 0 ;
10791 bool result;
10792 PyObject * obj0 = 0 ;
10793 char *kwnames[] = {
10794 (char *) "self", NULL
10795 };
10796
10797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail;
36ed4f51
RD
10798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10799 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 result = (bool)(arg1)->IsEditable();
10803
10804 wxPyEndAllowThreads(__tstate);
10805 if (PyErr_Occurred()) SWIG_fail;
10806 }
fbc46b20
RD
10807 {
10808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10809 }
d14a1e28
RD
10810 return resultobj;
10811 fail:
10812 return NULL;
10813}
10814
10815
c370783e 10816static PyObject *_wrap_Grid_EnableEditing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10817 PyObject *resultobj = NULL;
d14a1e28
RD
10818 wxGrid *arg1 = (wxGrid *) 0 ;
10819 bool arg2 ;
10820 PyObject * obj0 = 0 ;
10821 PyObject * obj1 = 0 ;
10822 char *kwnames[] = {
10823 (char *) "self",(char *) "edit", NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10828 if (SWIG_arg_fail(1)) SWIG_fail;
10829 {
32fe5131 10830 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
10831 if (SWIG_arg_fail(2)) SWIG_fail;
10832 }
d14a1e28
RD
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 (arg1)->EnableEditing(arg2);
10836
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 Py_INCREF(Py_None); resultobj = Py_None;
10841 return resultobj;
10842 fail:
10843 return NULL;
10844}
10845
10846
c370783e 10847static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10848 PyObject *resultobj = NULL;
d14a1e28 10849 wxGrid *arg1 = (wxGrid *) 0 ;
b411df4a 10850 bool arg2 = (bool) true ;
d14a1e28
RD
10851 PyObject * obj0 = 0 ;
10852 PyObject * obj1 = 0 ;
10853 char *kwnames[] = {
10854 (char *) "self",(char *) "enable", NULL
10855 };
10856
10857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10859 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 10860 if (obj1) {
36ed4f51 10861 {
32fe5131 10862 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
10863 if (SWIG_arg_fail(2)) SWIG_fail;
10864 }
d14a1e28
RD
10865 }
10866 {
10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
10868 (arg1)->EnableCellEditControl(arg2);
10869
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 Py_INCREF(Py_None); resultobj = Py_None;
10874 return resultobj;
10875 fail:
10876 return NULL;
10877}
10878
10879
c370783e 10880static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10881 PyObject *resultobj = NULL;
d14a1e28
RD
10882 wxGrid *arg1 = (wxGrid *) 0 ;
10883 PyObject * obj0 = 0 ;
10884 char *kwnames[] = {
10885 (char *) "self", NULL
10886 };
10887
10888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
10889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10890 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 (arg1)->DisableCellEditControl();
10894
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 Py_INCREF(Py_None); resultobj = Py_None;
10899 return resultobj;
10900 fail:
10901 return NULL;
10902}
10903
10904
c370783e 10905static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10906 PyObject *resultobj = NULL;
d14a1e28
RD
10907 wxGrid *arg1 = (wxGrid *) 0 ;
10908 bool result;
10909 PyObject * obj0 = 0 ;
10910 char *kwnames[] = {
10911 (char *) "self", NULL
10912 };
10913
10914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
10915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10916 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10917 {
10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
10919 result = (bool)((wxGrid const *)arg1)->CanEnableCellControl();
10920
10921 wxPyEndAllowThreads(__tstate);
10922 if (PyErr_Occurred()) SWIG_fail;
10923 }
fbc46b20
RD
10924 {
10925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10926 }
d14a1e28
RD
10927 return resultobj;
10928 fail:
10929 return NULL;
10930}
10931
10932
c370783e 10933static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10934 PyObject *resultobj = NULL;
d14a1e28
RD
10935 wxGrid *arg1 = (wxGrid *) 0 ;
10936 bool result;
10937 PyObject * obj0 = 0 ;
10938 char *kwnames[] = {
10939 (char *) "self", NULL
10940 };
10941
10942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail;
36ed4f51
RD
10943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10944 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled();
10948
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
fbc46b20
RD
10952 {
10953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10954 }
d14a1e28
RD
10955 return resultobj;
10956 fail:
10957 return NULL;
10958}
10959
10960
c370783e 10961static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10962 PyObject *resultobj = NULL;
d14a1e28
RD
10963 wxGrid *arg1 = (wxGrid *) 0 ;
10964 bool result;
10965 PyObject * obj0 = 0 ;
10966 char *kwnames[] = {
10967 (char *) "self", NULL
10968 };
10969
10970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail;
36ed4f51
RD
10971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
10972 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown();
10976
10977 wxPyEndAllowThreads(__tstate);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 }
fbc46b20
RD
10980 {
10981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10982 }
d14a1e28
RD
10983 return resultobj;
10984 fail:
10985 return NULL;
10986}
10987
10988
c370783e 10989static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10990 PyObject *resultobj = NULL;
d14a1e28
RD
10991 wxGrid *arg1 = (wxGrid *) 0 ;
10992 bool result;
10993 PyObject * obj0 = 0 ;
10994 char *kwnames[] = {
10995 (char *) "self", NULL
10996 };
10997
10998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail;
36ed4f51
RD
10999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11000 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11001 {
11002 PyThreadState* __tstate = wxPyBeginAllowThreads();
11003 result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly();
11004
11005 wxPyEndAllowThreads(__tstate);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
fbc46b20
RD
11008 {
11009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11010 }
d14a1e28
RD
11011 return resultobj;
11012 fail:
11013 return NULL;
11014}
11015
11016
c370783e 11017static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11018 PyObject *resultobj = NULL;
d14a1e28
RD
11019 wxGrid *arg1 = (wxGrid *) 0 ;
11020 PyObject * obj0 = 0 ;
11021 char *kwnames[] = {
11022 (char *) "self", NULL
11023 };
11024
11025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
11026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11027 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 (arg1)->ShowCellEditControl();
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 Py_INCREF(Py_None); resultobj = Py_None;
11036 return resultobj;
11037 fail:
11038 return NULL;
11039}
11040
11041
c370783e 11042static PyObject *_wrap_Grid_HideCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11043 PyObject *resultobj = NULL;
d14a1e28
RD
11044 wxGrid *arg1 = (wxGrid *) 0 ;
11045 PyObject * obj0 = 0 ;
11046 char *kwnames[] = {
11047 (char *) "self", NULL
11048 };
11049
11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_HideCellEditControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
11051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11052 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 (arg1)->HideCellEditControl();
11056
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 Py_INCREF(Py_None); resultobj = Py_None;
11061 return resultobj;
11062 fail:
11063 return NULL;
11064}
11065
11066
c370783e 11067static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11068 PyObject *resultobj = NULL;
d14a1e28
RD
11069 wxGrid *arg1 = (wxGrid *) 0 ;
11070 PyObject * obj0 = 0 ;
11071 char *kwnames[] = {
11072 (char *) "self", NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SaveEditControlValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
11076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11077 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 (arg1)->SaveEditControlValue();
11081
11082 wxPyEndAllowThreads(__tstate);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
11085 Py_INCREF(Py_None); resultobj = Py_None;
11086 return resultobj;
11087 fail:
11088 return NULL;
11089}
11090
11091
c370783e 11092static PyObject *_wrap_Grid_XYToCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11093 PyObject *resultobj = NULL;
d14a1e28
RD
11094 wxGrid *arg1 = (wxGrid *) 0 ;
11095 int arg2 ;
11096 int arg3 ;
11097 wxGridCellCoords result;
11098 PyObject * obj0 = 0 ;
8edf1c75
RD
11099 PyObject * obj1 = 0 ;
11100 PyObject * obj2 = 0 ;
d14a1e28
RD
11101 char *kwnames[] = {
11102 (char *) "self",(char *) "x",(char *) "y", NULL
11103 };
11104
8edf1c75 11105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_XYToCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11107 if (SWIG_arg_fail(1)) SWIG_fail;
11108 {
32fe5131 11109 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11110 if (SWIG_arg_fail(2)) SWIG_fail;
11111 }
11112 {
32fe5131 11113 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11114 if (SWIG_arg_fail(3)) SWIG_fail;
11115 }
d14a1e28
RD
11116 {
11117 PyThreadState* __tstate = wxPyBeginAllowThreads();
11118 result = wxGrid_XYToCell(arg1,arg2,arg3);
11119
11120 wxPyEndAllowThreads(__tstate);
11121 if (PyErr_Occurred()) SWIG_fail;
11122 }
11123 {
11124 wxGridCellCoords * resultptr;
32fe5131 11125 resultptr = new wxGridCellCoords(static_cast<wxGridCellCoords & >(result));
2f4c0a16 11126 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
11127 }
11128 return resultobj;
11129 fail:
11130 return NULL;
11131}
11132
11133
c370783e 11134static PyObject *_wrap_Grid_YToRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11135 PyObject *resultobj = NULL;
d14a1e28
RD
11136 wxGrid *arg1 = (wxGrid *) 0 ;
11137 int arg2 ;
11138 int result;
11139 PyObject * obj0 = 0 ;
8edf1c75 11140 PyObject * obj1 = 0 ;
d14a1e28
RD
11141 char *kwnames[] = {
11142 (char *) "self",(char *) "y", NULL
11143 };
11144
8edf1c75 11145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToRow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11147 if (SWIG_arg_fail(1)) SWIG_fail;
11148 {
32fe5131 11149 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11150 if (SWIG_arg_fail(2)) SWIG_fail;
11151 }
d14a1e28
RD
11152 {
11153 PyThreadState* __tstate = wxPyBeginAllowThreads();
11154 result = (int)(arg1)->YToRow(arg2);
11155
11156 wxPyEndAllowThreads(__tstate);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 }
36ed4f51 11159 {
32fe5131 11160 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11161 }
d14a1e28
RD
11162 return resultobj;
11163 fail:
11164 return NULL;
11165}
11166
11167
c370783e 11168static PyObject *_wrap_Grid_XToCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11169 PyObject *resultobj = NULL;
d14a1e28
RD
11170 wxGrid *arg1 = (wxGrid *) 0 ;
11171 int arg2 ;
11172 int result;
11173 PyObject * obj0 = 0 ;
8edf1c75 11174 PyObject * obj1 = 0 ;
d14a1e28
RD
11175 char *kwnames[] = {
11176 (char *) "self",(char *) "x", NULL
11177 };
11178
8edf1c75 11179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToCol",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11181 if (SWIG_arg_fail(1)) SWIG_fail;
11182 {
32fe5131 11183 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11184 if (SWIG_arg_fail(2)) SWIG_fail;
11185 }
d14a1e28
RD
11186 {
11187 PyThreadState* __tstate = wxPyBeginAllowThreads();
11188 result = (int)(arg1)->XToCol(arg2);
11189
11190 wxPyEndAllowThreads(__tstate);
11191 if (PyErr_Occurred()) SWIG_fail;
11192 }
36ed4f51 11193 {
32fe5131 11194 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11195 }
d14a1e28
RD
11196 return resultobj;
11197 fail:
11198 return NULL;
11199}
11200
11201
c370783e 11202static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11203 PyObject *resultobj = NULL;
d14a1e28
RD
11204 wxGrid *arg1 = (wxGrid *) 0 ;
11205 int arg2 ;
11206 int result;
11207 PyObject * obj0 = 0 ;
8edf1c75 11208 PyObject * obj1 = 0 ;
d14a1e28
RD
11209 char *kwnames[] = {
11210 (char *) "self",(char *) "y", NULL
11211 };
11212
8edf1c75 11213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToEdgeOfRow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11215 if (SWIG_arg_fail(1)) SWIG_fail;
11216 {
32fe5131 11217 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11218 if (SWIG_arg_fail(2)) SWIG_fail;
11219 }
d14a1e28
RD
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 result = (int)(arg1)->YToEdgeOfRow(arg2);
11223
11224 wxPyEndAllowThreads(__tstate);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
36ed4f51 11227 {
32fe5131 11228 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11229 }
d14a1e28
RD
11230 return resultobj;
11231 fail:
11232 return NULL;
11233}
11234
11235
c370783e 11236static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11237 PyObject *resultobj = NULL;
d14a1e28
RD
11238 wxGrid *arg1 = (wxGrid *) 0 ;
11239 int arg2 ;
11240 int result;
11241 PyObject * obj0 = 0 ;
8edf1c75 11242 PyObject * obj1 = 0 ;
d14a1e28
RD
11243 char *kwnames[] = {
11244 (char *) "self",(char *) "x", NULL
11245 };
11246
8edf1c75 11247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToEdgeOfCol",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11249 if (SWIG_arg_fail(1)) SWIG_fail;
11250 {
32fe5131 11251 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11252 if (SWIG_arg_fail(2)) SWIG_fail;
11253 }
d14a1e28
RD
11254 {
11255 PyThreadState* __tstate = wxPyBeginAllowThreads();
11256 result = (int)(arg1)->XToEdgeOfCol(arg2);
11257
11258 wxPyEndAllowThreads(__tstate);
11259 if (PyErr_Occurred()) SWIG_fail;
11260 }
36ed4f51 11261 {
32fe5131 11262 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11263 }
d14a1e28
RD
11264 return resultobj;
11265 fail:
11266 return NULL;
11267}
11268
11269
c370783e 11270static PyObject *_wrap_Grid_CellToRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11271 PyObject *resultobj = NULL;
d14a1e28
RD
11272 wxGrid *arg1 = (wxGrid *) 0 ;
11273 int arg2 ;
11274 int arg3 ;
11275 wxRect result;
11276 PyObject * obj0 = 0 ;
8edf1c75
RD
11277 PyObject * obj1 = 0 ;
11278 PyObject * obj2 = 0 ;
d14a1e28
RD
11279 char *kwnames[] = {
11280 (char *) "self",(char *) "row",(char *) "col", NULL
2f4c0a16
RD
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_CellToRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11285 if (SWIG_arg_fail(1)) SWIG_fail;
11286 {
32fe5131 11287 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11288 if (SWIG_arg_fail(2)) SWIG_fail;
11289 }
11290 {
32fe5131 11291 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11292 if (SWIG_arg_fail(3)) SWIG_fail;
11293 }
d14a1e28
RD
11294 {
11295 PyThreadState* __tstate = wxPyBeginAllowThreads();
11296 result = (arg1)->CellToRect(arg2,arg3);
11297
11298 wxPyEndAllowThreads(__tstate);
11299 if (PyErr_Occurred()) SWIG_fail;
11300 }
11301 {
11302 wxRect * resultptr;
32fe5131 11303 resultptr = new wxRect(static_cast<wxRect & >(result));
2f4c0a16 11304 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
11305 }
11306 return resultobj;
11307 fail:
11308 return NULL;
11309}
11310
11311
c370783e 11312static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11313 PyObject *resultobj = NULL;
d14a1e28
RD
11314 wxGrid *arg1 = (wxGrid *) 0 ;
11315 int result;
11316 PyObject * obj0 = 0 ;
11317 char *kwnames[] = {
11318 (char *) "self", NULL
11319 };
11320
11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail;
36ed4f51
RD
11322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11323 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 result = (int)(arg1)->GetGridCursorRow();
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
36ed4f51 11331 {
32fe5131 11332 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11333 }
d14a1e28
RD
11334 return resultobj;
11335 fail:
11336 return NULL;
11337}
11338
11339
c370783e 11340static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11341 PyObject *resultobj = NULL;
d14a1e28
RD
11342 wxGrid *arg1 = (wxGrid *) 0 ;
11343 int result;
11344 PyObject * obj0 = 0 ;
11345 char *kwnames[] = {
11346 (char *) "self", NULL
11347 };
11348
11349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail;
36ed4f51
RD
11350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11351 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 result = (int)(arg1)->GetGridCursorCol();
11355
11356 wxPyEndAllowThreads(__tstate);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 }
36ed4f51 11359 {
32fe5131 11360 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11361 }
d14a1e28
RD
11362 return resultobj;
11363 fail:
11364 return NULL;
11365}
11366
11367
c370783e 11368static PyObject *_wrap_Grid_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11369 PyObject *resultobj = NULL;
d14a1e28
RD
11370 wxGrid *arg1 = (wxGrid *) 0 ;
11371 int arg2 ;
11372 int arg3 ;
b411df4a 11373 bool arg4 = (bool) true ;
d14a1e28
RD
11374 bool result;
11375 PyObject * obj0 = 0 ;
8edf1c75
RD
11376 PyObject * obj1 = 0 ;
11377 PyObject * obj2 = 0 ;
d14a1e28
RD
11378 PyObject * obj3 = 0 ;
11379 char *kwnames[] = {
11380 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
11381 };
11382
8edf1c75 11383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_IsVisible",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
11384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11385 if (SWIG_arg_fail(1)) SWIG_fail;
11386 {
32fe5131 11387 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11388 if (SWIG_arg_fail(2)) SWIG_fail;
11389 }
11390 {
32fe5131 11391 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11392 if (SWIG_arg_fail(3)) SWIG_fail;
11393 }
d14a1e28 11394 if (obj3) {
36ed4f51 11395 {
32fe5131 11396 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
11397 if (SWIG_arg_fail(4)) SWIG_fail;
11398 }
d14a1e28
RD
11399 }
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 result = (bool)(arg1)->IsVisible(arg2,arg3,arg4);
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
fbc46b20
RD
11407 {
11408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11409 }
d14a1e28
RD
11410 return resultobj;
11411 fail:
11412 return NULL;
11413}
11414
11415
c370783e 11416static PyObject *_wrap_Grid_MakeCellVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11417 PyObject *resultobj = NULL;
d14a1e28
RD
11418 wxGrid *arg1 = (wxGrid *) 0 ;
11419 int arg2 ;
11420 int arg3 ;
11421 PyObject * obj0 = 0 ;
8edf1c75
RD
11422 PyObject * obj1 = 0 ;
11423 PyObject * obj2 = 0 ;
d14a1e28
RD
11424 char *kwnames[] = {
11425 (char *) "self",(char *) "row",(char *) "col", NULL
11426 };
11427
8edf1c75 11428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_MakeCellVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11430 if (SWIG_arg_fail(1)) SWIG_fail;
11431 {
32fe5131 11432 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11433 if (SWIG_arg_fail(2)) SWIG_fail;
11434 }
11435 {
32fe5131 11436 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11437 if (SWIG_arg_fail(3)) SWIG_fail;
11438 }
d14a1e28
RD
11439 {
11440 PyThreadState* __tstate = wxPyBeginAllowThreads();
11441 (arg1)->MakeCellVisible(arg2,arg3);
11442
11443 wxPyEndAllowThreads(__tstate);
11444 if (PyErr_Occurred()) SWIG_fail;
11445 }
11446 Py_INCREF(Py_None); resultobj = Py_None;
11447 return resultobj;
11448 fail:
11449 return NULL;
11450}
11451
11452
c370783e 11453static PyObject *_wrap_Grid_SetGridCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11454 PyObject *resultobj = NULL;
d14a1e28
RD
11455 wxGrid *arg1 = (wxGrid *) 0 ;
11456 int arg2 ;
11457 int arg3 ;
11458 PyObject * obj0 = 0 ;
8edf1c75
RD
11459 PyObject * obj1 = 0 ;
11460 PyObject * obj2 = 0 ;
d14a1e28
RD
11461 char *kwnames[] = {
11462 (char *) "self",(char *) "row",(char *) "col", NULL
11463 };
11464
8edf1c75 11465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetGridCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11467 if (SWIG_arg_fail(1)) SWIG_fail;
11468 {
32fe5131 11469 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11470 if (SWIG_arg_fail(2)) SWIG_fail;
11471 }
11472 {
32fe5131 11473 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11474 if (SWIG_arg_fail(3)) SWIG_fail;
11475 }
d14a1e28
RD
11476 {
11477 PyThreadState* __tstate = wxPyBeginAllowThreads();
11478 (arg1)->SetGridCursor(arg2,arg3);
11479
11480 wxPyEndAllowThreads(__tstate);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 }
11483 Py_INCREF(Py_None); resultobj = Py_None;
11484 return resultobj;
11485 fail:
11486 return NULL;
11487}
11488
11489
c370783e 11490static PyObject *_wrap_Grid_MoveCursorUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11491 PyObject *resultobj = NULL;
d14a1e28
RD
11492 wxGrid *arg1 = (wxGrid *) 0 ;
11493 bool arg2 ;
11494 bool result;
11495 PyObject * obj0 = 0 ;
11496 PyObject * obj1 = 0 ;
11497 char *kwnames[] = {
11498 (char *) "self",(char *) "expandSelection", NULL
11499 };
11500
11501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11503 if (SWIG_arg_fail(1)) SWIG_fail;
11504 {
32fe5131 11505 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
11506 if (SWIG_arg_fail(2)) SWIG_fail;
11507 }
d14a1e28
RD
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 result = (bool)(arg1)->MoveCursorUp(arg2);
11511
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
fbc46b20
RD
11515 {
11516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11517 }
d14a1e28
RD
11518 return resultobj;
11519 fail:
11520 return NULL;
11521}
11522
11523
c370783e 11524static PyObject *_wrap_Grid_MoveCursorDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11525 PyObject *resultobj = NULL;
d14a1e28
RD
11526 wxGrid *arg1 = (wxGrid *) 0 ;
11527 bool arg2 ;
11528 bool result;
11529 PyObject * obj0 = 0 ;
11530 PyObject * obj1 = 0 ;
11531 char *kwnames[] = {
11532 (char *) "self",(char *) "expandSelection", NULL
11533 };
11534
11535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11537 if (SWIG_arg_fail(1)) SWIG_fail;
11538 {
32fe5131 11539 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
11540 if (SWIG_arg_fail(2)) SWIG_fail;
11541 }
d14a1e28
RD
11542 {
11543 PyThreadState* __tstate = wxPyBeginAllowThreads();
11544 result = (bool)(arg1)->MoveCursorDown(arg2);
11545
11546 wxPyEndAllowThreads(__tstate);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 }
fbc46b20
RD
11549 {
11550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11551 }
d14a1e28
RD
11552 return resultobj;
11553 fail:
11554 return NULL;
11555}
11556
11557
c370783e 11558static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11559 PyObject *resultobj = NULL;
d14a1e28
RD
11560 wxGrid *arg1 = (wxGrid *) 0 ;
11561 bool arg2 ;
11562 bool result;
11563 PyObject * obj0 = 0 ;
11564 PyObject * obj1 = 0 ;
11565 char *kwnames[] = {
11566 (char *) "self",(char *) "expandSelection", NULL
11567 };
11568
11569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11571 if (SWIG_arg_fail(1)) SWIG_fail;
11572 {
32fe5131 11573 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
11574 if (SWIG_arg_fail(2)) SWIG_fail;
11575 }
d14a1e28
RD
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 result = (bool)(arg1)->MoveCursorLeft(arg2);
11579
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
fbc46b20
RD
11583 {
11584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11585 }
d14a1e28
RD
11586 return resultobj;
11587 fail:
11588 return NULL;
11589}
11590
11591
c370783e 11592static PyObject *_wrap_Grid_MoveCursorRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11593 PyObject *resultobj = NULL;
d14a1e28
RD
11594 wxGrid *arg1 = (wxGrid *) 0 ;
11595 bool arg2 ;
11596 bool result;
11597 PyObject * obj0 = 0 ;
11598 PyObject * obj1 = 0 ;
11599 char *kwnames[] = {
11600 (char *) "self",(char *) "expandSelection", NULL
11601 };
11602
11603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11605 if (SWIG_arg_fail(1)) SWIG_fail;
11606 {
32fe5131 11607 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
11608 if (SWIG_arg_fail(2)) SWIG_fail;
11609 }
d14a1e28
RD
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
11612 result = (bool)(arg1)->MoveCursorRight(arg2);
11613
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 }
fbc46b20
RD
11617 {
11618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11619 }
d14a1e28
RD
11620 return resultobj;
11621 fail:
11622 return NULL;
11623}
11624
11625
c370783e 11626static PyObject *_wrap_Grid_MovePageDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11627 PyObject *resultobj = NULL;
d14a1e28
RD
11628 wxGrid *arg1 = (wxGrid *) 0 ;
11629 bool result;
11630 PyObject * obj0 = 0 ;
11631 char *kwnames[] = {
11632 (char *) "self", NULL
11633 };
11634
11635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail;
36ed4f51
RD
11636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11637 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 result = (bool)(arg1)->MovePageDown();
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
fbc46b20
RD
11645 {
11646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11647 }
d14a1e28
RD
11648 return resultobj;
11649 fail:
11650 return NULL;
11651}
11652
11653
c370783e 11654static PyObject *_wrap_Grid_MovePageUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11655 PyObject *resultobj = NULL;
d14a1e28
RD
11656 wxGrid *arg1 = (wxGrid *) 0 ;
11657 bool result;
11658 PyObject * obj0 = 0 ;
11659 char *kwnames[] = {
11660 (char *) "self", NULL
11661 };
11662
11663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail;
36ed4f51
RD
11664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11665 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11666 {
11667 PyThreadState* __tstate = wxPyBeginAllowThreads();
11668 result = (bool)(arg1)->MovePageUp();
11669
11670 wxPyEndAllowThreads(__tstate);
11671 if (PyErr_Occurred()) SWIG_fail;
11672 }
fbc46b20
RD
11673 {
11674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11675 }
d14a1e28
RD
11676 return resultobj;
11677 fail:
11678 return NULL;
11679}
11680
11681
c370783e 11682static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11683 PyObject *resultobj = NULL;
d14a1e28
RD
11684 wxGrid *arg1 = (wxGrid *) 0 ;
11685 bool arg2 ;
11686 bool result;
11687 PyObject * obj0 = 0 ;
11688 PyObject * obj1 = 0 ;
11689 char *kwnames[] = {
11690 (char *) "self",(char *) "expandSelection", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11695 if (SWIG_arg_fail(1)) SWIG_fail;
11696 {
32fe5131 11697 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
11698 if (SWIG_arg_fail(2)) SWIG_fail;
11699 }
d14a1e28
RD
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 result = (bool)(arg1)->MoveCursorUpBlock(arg2);
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
fbc46b20
RD
11707 {
11708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11709 }
d14a1e28
RD
11710 return resultobj;
11711 fail:
11712 return NULL;
11713}
11714
11715
c370783e 11716static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11717 PyObject *resultobj = NULL;
d14a1e28
RD
11718 wxGrid *arg1 = (wxGrid *) 0 ;
11719 bool arg2 ;
11720 bool result;
11721 PyObject * obj0 = 0 ;
11722 PyObject * obj1 = 0 ;
11723 char *kwnames[] = {
11724 (char *) "self",(char *) "expandSelection", NULL
11725 };
11726
11727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11729 if (SWIG_arg_fail(1)) SWIG_fail;
11730 {
32fe5131 11731 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
11732 if (SWIG_arg_fail(2)) SWIG_fail;
11733 }
d14a1e28
RD
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 result = (bool)(arg1)->MoveCursorDownBlock(arg2);
11737
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
fbc46b20
RD
11741 {
11742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11743 }
d14a1e28
RD
11744 return resultobj;
11745 fail:
11746 return NULL;
11747}
11748
11749
c370783e 11750static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11751 PyObject *resultobj = NULL;
d14a1e28
RD
11752 wxGrid *arg1 = (wxGrid *) 0 ;
11753 bool arg2 ;
11754 bool result;
11755 PyObject * obj0 = 0 ;
11756 PyObject * obj1 = 0 ;
11757 char *kwnames[] = {
11758 (char *) "self",(char *) "expandSelection", NULL
11759 };
11760
11761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11763 if (SWIG_arg_fail(1)) SWIG_fail;
11764 {
32fe5131 11765 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
11766 if (SWIG_arg_fail(2)) SWIG_fail;
11767 }
d14a1e28
RD
11768 {
11769 PyThreadState* __tstate = wxPyBeginAllowThreads();
11770 result = (bool)(arg1)->MoveCursorLeftBlock(arg2);
11771
11772 wxPyEndAllowThreads(__tstate);
11773 if (PyErr_Occurred()) SWIG_fail;
11774 }
fbc46b20
RD
11775 {
11776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11777 }
d14a1e28
RD
11778 return resultobj;
11779 fail:
11780 return NULL;
11781}
11782
11783
c370783e 11784static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11785 PyObject *resultobj = NULL;
d14a1e28
RD
11786 wxGrid *arg1 = (wxGrid *) 0 ;
11787 bool arg2 ;
11788 bool result;
11789 PyObject * obj0 = 0 ;
11790 PyObject * obj1 = 0 ;
11791 char *kwnames[] = {
11792 (char *) "self",(char *) "expandSelection", NULL
11793 };
11794
11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11797 if (SWIG_arg_fail(1)) SWIG_fail;
11798 {
32fe5131 11799 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
11800 if (SWIG_arg_fail(2)) SWIG_fail;
11801 }
d14a1e28
RD
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 result = (bool)(arg1)->MoveCursorRightBlock(arg2);
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
fbc46b20
RD
11809 {
11810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11811 }
d14a1e28
RD
11812 return resultobj;
11813 fail:
11814 return NULL;
11815}
11816
11817
c370783e 11818static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11819 PyObject *resultobj = NULL;
d14a1e28
RD
11820 wxGrid *arg1 = (wxGrid *) 0 ;
11821 int result;
11822 PyObject * obj0 = 0 ;
11823 char *kwnames[] = {
11824 (char *) "self", NULL
11825 };
11826
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
11828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11829 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11830 {
11831 PyThreadState* __tstate = wxPyBeginAllowThreads();
11832 result = (int)(arg1)->GetDefaultRowLabelSize();
11833
11834 wxPyEndAllowThreads(__tstate);
11835 if (PyErr_Occurred()) SWIG_fail;
11836 }
36ed4f51 11837 {
32fe5131 11838 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11839 }
d14a1e28
RD
11840 return resultobj;
11841 fail:
11842 return NULL;
11843}
11844
11845
c370783e 11846static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11847 PyObject *resultobj = NULL;
d14a1e28
RD
11848 wxGrid *arg1 = (wxGrid *) 0 ;
11849 int result;
11850 PyObject * obj0 = 0 ;
11851 char *kwnames[] = {
11852 (char *) "self", NULL
11853 };
11854
11855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
11856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11857 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11858 {
11859 PyThreadState* __tstate = wxPyBeginAllowThreads();
11860 result = (int)(arg1)->GetRowLabelSize();
11861
11862 wxPyEndAllowThreads(__tstate);
11863 if (PyErr_Occurred()) SWIG_fail;
11864 }
36ed4f51 11865 {
32fe5131 11866 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11867 }
d14a1e28
RD
11868 return resultobj;
11869 fail:
11870 return NULL;
11871}
11872
11873
c370783e 11874static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11875 PyObject *resultobj = NULL;
d14a1e28
RD
11876 wxGrid *arg1 = (wxGrid *) 0 ;
11877 int result;
11878 PyObject * obj0 = 0 ;
11879 char *kwnames[] = {
11880 (char *) "self", NULL
11881 };
11882
11883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
11884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11885 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = (int)(arg1)->GetDefaultColLabelSize();
11889
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
36ed4f51 11893 {
32fe5131 11894 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11895 }
d14a1e28
RD
11896 return resultobj;
11897 fail:
11898 return NULL;
11899}
11900
11901
c370783e 11902static PyObject *_wrap_Grid_GetColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11903 PyObject *resultobj = NULL;
d14a1e28
RD
11904 wxGrid *arg1 = (wxGrid *) 0 ;
11905 int result;
11906 PyObject * obj0 = 0 ;
11907 char *kwnames[] = {
11908 (char *) "self", NULL
11909 };
11910
11911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
11912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11913 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11914 {
11915 PyThreadState* __tstate = wxPyBeginAllowThreads();
11916 result = (int)(arg1)->GetColLabelSize();
11917
11918 wxPyEndAllowThreads(__tstate);
11919 if (PyErr_Occurred()) SWIG_fail;
11920 }
36ed4f51 11921 {
32fe5131 11922 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11923 }
d14a1e28
RD
11924 return resultobj;
11925 fail:
11926 return NULL;
11927}
11928
11929
c370783e 11930static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11931 PyObject *resultobj = NULL;
d14a1e28
RD
11932 wxGrid *arg1 = (wxGrid *) 0 ;
11933 wxColour result;
11934 PyObject * obj0 = 0 ;
11935 char *kwnames[] = {
11936 (char *) "self", NULL
11937 };
11938
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
11940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11941 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11942 {
11943 PyThreadState* __tstate = wxPyBeginAllowThreads();
11944 result = (arg1)->GetLabelBackgroundColour();
11945
11946 wxPyEndAllowThreads(__tstate);
11947 if (PyErr_Occurred()) SWIG_fail;
11948 }
11949 {
11950 wxColour * resultptr;
32fe5131 11951 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 11952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11953 }
11954 return resultobj;
11955 fail:
11956 return NULL;
11957}
11958
11959
c370783e 11960static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11961 PyObject *resultobj = NULL;
d14a1e28
RD
11962 wxGrid *arg1 = (wxGrid *) 0 ;
11963 wxColour result;
11964 PyObject * obj0 = 0 ;
11965 char *kwnames[] = {
11966 (char *) "self", NULL
11967 };
11968
11969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
11970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
11971 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11972 {
11973 PyThreadState* __tstate = wxPyBeginAllowThreads();
11974 result = (arg1)->GetLabelTextColour();
11975
11976 wxPyEndAllowThreads(__tstate);
11977 if (PyErr_Occurred()) SWIG_fail;
11978 }
11979 {
11980 wxColour * resultptr;
32fe5131 11981 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 11982 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11983 }
11984 return resultobj;
11985 fail:
11986 return NULL;
11987}
11988
11989
c370783e 11990static PyObject *_wrap_Grid_GetLabelFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11991 PyObject *resultobj = NULL;
d14a1e28
RD
11992 wxGrid *arg1 = (wxGrid *) 0 ;
11993 wxFont result;
11994 PyObject * obj0 = 0 ;
11995 char *kwnames[] = {
11996 (char *) "self", NULL
11997 };
11998
11999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
12000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12001 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12002 {
12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
12004 result = (arg1)->GetLabelFont();
12005
12006 wxPyEndAllowThreads(__tstate);
12007 if (PyErr_Occurred()) SWIG_fail;
12008 }
12009 {
12010 wxFont * resultptr;
32fe5131 12011 resultptr = new wxFont(static_cast<wxFont & >(result));
2f4c0a16 12012 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
12013 }
12014 return resultobj;
12015 fail:
12016 return NULL;
12017}
12018
12019
c370783e 12020static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12021 PyObject *resultobj = NULL;
d14a1e28
RD
12022 wxGrid *arg1 = (wxGrid *) 0 ;
12023 int *arg2 = (int *) 0 ;
12024 int *arg3 = (int *) 0 ;
12025 int temp2 ;
c370783e 12026 int res2 = 0 ;
d14a1e28 12027 int temp3 ;
c370783e 12028 int res3 = 0 ;
d14a1e28
RD
12029 PyObject * obj0 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self", NULL
12032 };
12033
c370783e
RD
12034 arg2 = &temp2; res2 = SWIG_NEWOBJ;
12035 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 12036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
12037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12038 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 (arg1)->GetRowLabelAlignment(arg2,arg3);
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
12047 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
12048 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
12049 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
12050 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
12051 return resultobj;
12052 fail:
12053 return NULL;
12054}
12055
12056
c370783e 12057static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12058 PyObject *resultobj = NULL;
d14a1e28
RD
12059 wxGrid *arg1 = (wxGrid *) 0 ;
12060 int *arg2 = (int *) 0 ;
12061 int *arg3 = (int *) 0 ;
12062 int temp2 ;
c370783e 12063 int res2 = 0 ;
d14a1e28 12064 int temp3 ;
c370783e 12065 int res3 = 0 ;
d14a1e28
RD
12066 PyObject * obj0 = 0 ;
12067 char *kwnames[] = {
12068 (char *) "self", NULL
12069 };
12070
c370783e
RD
12071 arg2 = &temp2; res2 = SWIG_NEWOBJ;
12072 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 12073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
12074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12075 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 (arg1)->GetColLabelAlignment(arg2,arg3);
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
12084 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
12085 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
12086 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
12087 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
12088 return resultobj;
12089 fail:
12090 return NULL;
12091}
12092
12093
c370783e 12094static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12095 PyObject *resultobj = NULL;
d14a1e28
RD
12096 wxGrid *arg1 = (wxGrid *) 0 ;
12097 int result;
12098 PyObject * obj0 = 0 ;
12099 char *kwnames[] = {
12100 (char *) "self", NULL
12101 };
12102
12103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
12104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12105 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12106 {
12107 PyThreadState* __tstate = wxPyBeginAllowThreads();
12108 result = (int)(arg1)->GetColLabelTextOrientation();
12109
12110 wxPyEndAllowThreads(__tstate);
12111 if (PyErr_Occurred()) SWIG_fail;
12112 }
36ed4f51 12113 {
32fe5131 12114 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12115 }
d14a1e28
RD
12116 return resultobj;
12117 fail:
12118 return NULL;
12119}
12120
12121
c370783e 12122static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12123 PyObject *resultobj = NULL;
d14a1e28
RD
12124 wxGrid *arg1 = (wxGrid *) 0 ;
12125 int arg2 ;
12126 wxString result;
12127 PyObject * obj0 = 0 ;
8edf1c75 12128 PyObject * obj1 = 0 ;
d14a1e28
RD
12129 char *kwnames[] = {
12130 (char *) "self",(char *) "row", NULL
12131 };
12132
8edf1c75 12133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12135 if (SWIG_arg_fail(1)) SWIG_fail;
12136 {
32fe5131 12137 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12138 if (SWIG_arg_fail(2)) SWIG_fail;
12139 }
d14a1e28
RD
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 result = (arg1)->GetRowLabelValue(arg2);
12143
12144 wxPyEndAllowThreads(__tstate);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
12147 {
12148#if wxUSE_UNICODE
12149 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12150#else
12151 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12152#endif
12153 }
12154 return resultobj;
12155 fail:
12156 return NULL;
12157}
12158
12159
c370783e 12160static PyObject *_wrap_Grid_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12161 PyObject *resultobj = NULL;
d14a1e28
RD
12162 wxGrid *arg1 = (wxGrid *) 0 ;
12163 int arg2 ;
12164 wxString result;
12165 PyObject * obj0 = 0 ;
8edf1c75 12166 PyObject * obj1 = 0 ;
d14a1e28
RD
12167 char *kwnames[] = {
12168 (char *) "self",(char *) "col", NULL
12169 };
12170
8edf1c75 12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12173 if (SWIG_arg_fail(1)) SWIG_fail;
12174 {
32fe5131 12175 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12176 if (SWIG_arg_fail(2)) SWIG_fail;
12177 }
d14a1e28
RD
12178 {
12179 PyThreadState* __tstate = wxPyBeginAllowThreads();
12180 result = (arg1)->GetColLabelValue(arg2);
12181
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
12185 {
12186#if wxUSE_UNICODE
12187 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12188#else
12189 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12190#endif
12191 }
12192 return resultobj;
12193 fail:
12194 return NULL;
12195}
12196
12197
c370783e 12198static PyObject *_wrap_Grid_GetGridLineColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12199 PyObject *resultobj = NULL;
d14a1e28
RD
12200 wxGrid *arg1 = (wxGrid *) 0 ;
12201 wxColour result;
12202 PyObject * obj0 = 0 ;
12203 char *kwnames[] = {
12204 (char *) "self", NULL
12205 };
12206
12207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
12208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12209 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 result = (arg1)->GetGridLineColour();
12213
12214 wxPyEndAllowThreads(__tstate);
12215 if (PyErr_Occurred()) SWIG_fail;
12216 }
12217 {
12218 wxColour * resultptr;
32fe5131 12219 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 12220 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
12221 }
12222 return resultobj;
12223 fail:
12224 return NULL;
12225}
12226
12227
c370783e 12228static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12229 PyObject *resultobj = NULL;
d14a1e28
RD
12230 wxGrid *arg1 = (wxGrid *) 0 ;
12231 wxColour result;
12232 PyObject * obj0 = 0 ;
12233 char *kwnames[] = {
12234 (char *) "self", NULL
12235 };
12236
12237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
12238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12239 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12240 {
12241 PyThreadState* __tstate = wxPyBeginAllowThreads();
12242 result = (arg1)->GetCellHighlightColour();
12243
12244 wxPyEndAllowThreads(__tstate);
12245 if (PyErr_Occurred()) SWIG_fail;
12246 }
12247 {
12248 wxColour * resultptr;
32fe5131 12249 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 12250 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
12251 }
12252 return resultobj;
12253 fail:
12254 return NULL;
12255}
12256
12257
c370783e 12258static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12259 PyObject *resultobj = NULL;
d14a1e28
RD
12260 wxGrid *arg1 = (wxGrid *) 0 ;
12261 int result;
12262 PyObject * obj0 = 0 ;
12263 char *kwnames[] = {
12264 (char *) "self", NULL
12265 };
12266
12267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
12268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12269 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 result = (int)(arg1)->GetCellHighlightPenWidth();
12273
12274 wxPyEndAllowThreads(__tstate);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
36ed4f51 12277 {
32fe5131 12278 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12279 }
d14a1e28
RD
12280 return resultobj;
12281 fail:
12282 return NULL;
12283}
12284
12285
c370783e 12286static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12287 PyObject *resultobj = NULL;
d14a1e28
RD
12288 wxGrid *arg1 = (wxGrid *) 0 ;
12289 int result;
12290 PyObject * obj0 = 0 ;
12291 char *kwnames[] = {
12292 (char *) "self", NULL
12293 };
12294
12295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
12296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12297 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 result = (int)(arg1)->GetCellHighlightROPenWidth();
12301
12302 wxPyEndAllowThreads(__tstate);
12303 if (PyErr_Occurred()) SWIG_fail;
12304 }
36ed4f51 12305 {
32fe5131 12306 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12307 }
d14a1e28
RD
12308 return resultobj;
12309 fail:
12310 return NULL;
12311}
12312
12313
c370783e 12314static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12315 PyObject *resultobj = NULL;
d14a1e28
RD
12316 wxGrid *arg1 = (wxGrid *) 0 ;
12317 int arg2 ;
12318 PyObject * obj0 = 0 ;
8edf1c75 12319 PyObject * obj1 = 0 ;
d14a1e28
RD
12320 char *kwnames[] = {
12321 (char *) "self",(char *) "width", NULL
12322 };
12323
8edf1c75 12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12326 if (SWIG_arg_fail(1)) SWIG_fail;
12327 {
32fe5131 12328 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12329 if (SWIG_arg_fail(2)) SWIG_fail;
12330 }
d14a1e28
RD
12331 {
12332 PyThreadState* __tstate = wxPyBeginAllowThreads();
12333 (arg1)->SetRowLabelSize(arg2);
12334
12335 wxPyEndAllowThreads(__tstate);
12336 if (PyErr_Occurred()) SWIG_fail;
12337 }
12338 Py_INCREF(Py_None); resultobj = Py_None;
12339 return resultobj;
12340 fail:
12341 return NULL;
12342}
12343
12344
c370783e 12345static PyObject *_wrap_Grid_SetColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12346 PyObject *resultobj = NULL;
d14a1e28
RD
12347 wxGrid *arg1 = (wxGrid *) 0 ;
12348 int arg2 ;
12349 PyObject * obj0 = 0 ;
8edf1c75 12350 PyObject * obj1 = 0 ;
d14a1e28
RD
12351 char *kwnames[] = {
12352 (char *) "self",(char *) "height", NULL
12353 };
12354
8edf1c75 12355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12357 if (SWIG_arg_fail(1)) SWIG_fail;
12358 {
32fe5131 12359 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12360 if (SWIG_arg_fail(2)) SWIG_fail;
12361 }
d14a1e28
RD
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 (arg1)->SetColLabelSize(arg2);
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
12369 Py_INCREF(Py_None); resultobj = Py_None;
12370 return resultobj;
12371 fail:
12372 return NULL;
12373}
12374
12375
c370783e 12376static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12377 PyObject *resultobj = NULL;
d14a1e28
RD
12378 wxGrid *arg1 = (wxGrid *) 0 ;
12379 wxColour *arg2 = 0 ;
12380 wxColour temp2 ;
12381 PyObject * obj0 = 0 ;
12382 PyObject * obj1 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self","arg2", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12390 {
12391 arg2 = &temp2;
12392 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12393 }
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2);
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 }
12401 Py_INCREF(Py_None); resultobj = Py_None;
12402 return resultobj;
12403 fail:
12404 return NULL;
12405}
12406
12407
c370783e 12408static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12409 PyObject *resultobj = NULL;
d14a1e28
RD
12410 wxGrid *arg1 = (wxGrid *) 0 ;
12411 wxColour *arg2 = 0 ;
12412 wxColour temp2 ;
12413 PyObject * obj0 = 0 ;
12414 PyObject * obj1 = 0 ;
12415 char *kwnames[] = {
12416 (char *) "self","arg2", NULL
12417 };
12418
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12421 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12422 {
12423 arg2 = &temp2;
12424 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12425 }
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 (arg1)->SetLabelTextColour((wxColour const &)*arg2);
12429
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
12433 Py_INCREF(Py_None); resultobj = Py_None;
12434 return resultobj;
12435 fail:
12436 return NULL;
12437}
12438
12439
c370783e 12440static PyObject *_wrap_Grid_SetLabelFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12441 PyObject *resultobj = NULL;
d14a1e28
RD
12442 wxGrid *arg1 = (wxGrid *) 0 ;
12443 wxFont *arg2 = 0 ;
12444 PyObject * obj0 = 0 ;
12445 PyObject * obj1 = 0 ;
12446 char *kwnames[] = {
12447 (char *) "self","arg2", NULL
12448 };
12449
12450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12452 if (SWIG_arg_fail(1)) SWIG_fail;
12453 {
12454 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
12455 if (SWIG_arg_fail(2)) SWIG_fail;
12456 if (arg2 == NULL) {
12457 SWIG_null_ref("wxFont");
12458 }
12459 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
12460 }
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 (arg1)->SetLabelFont((wxFont const &)*arg2);
12464
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 Py_INCREF(Py_None); resultobj = Py_None;
12469 return resultobj;
12470 fail:
12471 return NULL;
12472}
12473
12474
c370783e 12475static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12476 PyObject *resultobj = NULL;
d14a1e28
RD
12477 wxGrid *arg1 = (wxGrid *) 0 ;
12478 int arg2 ;
12479 int arg3 ;
12480 PyObject * obj0 = 0 ;
8edf1c75
RD
12481 PyObject * obj1 = 0 ;
12482 PyObject * obj2 = 0 ;
d14a1e28
RD
12483 char *kwnames[] = {
12484 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12485 };
12486
8edf1c75 12487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12489 if (SWIG_arg_fail(1)) SWIG_fail;
12490 {
32fe5131 12491 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12492 if (SWIG_arg_fail(2)) SWIG_fail;
12493 }
12494 {
32fe5131 12495 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12496 if (SWIG_arg_fail(3)) SWIG_fail;
12497 }
d14a1e28
RD
12498 {
12499 PyThreadState* __tstate = wxPyBeginAllowThreads();
12500 (arg1)->SetRowLabelAlignment(arg2,arg3);
12501
12502 wxPyEndAllowThreads(__tstate);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 }
12505 Py_INCREF(Py_None); resultobj = Py_None;
12506 return resultobj;
12507 fail:
12508 return NULL;
12509}
12510
12511
c370783e 12512static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12513 PyObject *resultobj = NULL;
d14a1e28
RD
12514 wxGrid *arg1 = (wxGrid *) 0 ;
12515 int arg2 ;
12516 int arg3 ;
12517 PyObject * obj0 = 0 ;
8edf1c75
RD
12518 PyObject * obj1 = 0 ;
12519 PyObject * obj2 = 0 ;
d14a1e28
RD
12520 char *kwnames[] = {
12521 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12522 };
12523
8edf1c75 12524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12526 if (SWIG_arg_fail(1)) SWIG_fail;
12527 {
32fe5131 12528 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12529 if (SWIG_arg_fail(2)) SWIG_fail;
12530 }
12531 {
32fe5131 12532 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12533 if (SWIG_arg_fail(3)) SWIG_fail;
12534 }
d14a1e28
RD
12535 {
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 (arg1)->SetColLabelAlignment(arg2,arg3);
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
12542 Py_INCREF(Py_None); resultobj = Py_None;
12543 return resultobj;
12544 fail:
12545 return NULL;
12546}
12547
12548
c370783e 12549static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12550 PyObject *resultobj = NULL;
d14a1e28
RD
12551 wxGrid *arg1 = (wxGrid *) 0 ;
12552 int arg2 ;
12553 PyObject * obj0 = 0 ;
8edf1c75 12554 PyObject * obj1 = 0 ;
d14a1e28
RD
12555 char *kwnames[] = {
12556 (char *) "self",(char *) "textOrientation", NULL
12557 };
12558
8edf1c75 12559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12561 if (SWIG_arg_fail(1)) SWIG_fail;
12562 {
32fe5131 12563 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12564 if (SWIG_arg_fail(2)) SWIG_fail;
12565 }
d14a1e28
RD
12566 {
12567 PyThreadState* __tstate = wxPyBeginAllowThreads();
12568 (arg1)->SetColLabelTextOrientation(arg2);
12569
12570 wxPyEndAllowThreads(__tstate);
12571 if (PyErr_Occurred()) SWIG_fail;
12572 }
12573 Py_INCREF(Py_None); resultobj = Py_None;
12574 return resultobj;
12575 fail:
12576 return NULL;
12577}
12578
12579
c370783e 12580static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12581 PyObject *resultobj = NULL;
d14a1e28
RD
12582 wxGrid *arg1 = (wxGrid *) 0 ;
12583 int arg2 ;
12584 wxString *arg3 = 0 ;
b411df4a 12585 bool temp3 = false ;
d14a1e28 12586 PyObject * obj0 = 0 ;
8edf1c75 12587 PyObject * obj1 = 0 ;
d14a1e28
RD
12588 PyObject * obj2 = 0 ;
12589 char *kwnames[] = {
12590 (char *) "self",(char *) "row","arg3", NULL
12591 };
12592
8edf1c75 12593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12595 if (SWIG_arg_fail(1)) SWIG_fail;
12596 {
32fe5131 12597 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12598 if (SWIG_arg_fail(2)) SWIG_fail;
12599 }
d14a1e28
RD
12600 {
12601 arg3 = wxString_in_helper(obj2);
12602 if (arg3 == NULL) SWIG_fail;
b411df4a 12603 temp3 = true;
d14a1e28
RD
12604 }
12605 {
12606 PyThreadState* __tstate = wxPyBeginAllowThreads();
12607 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
12608
12609 wxPyEndAllowThreads(__tstate);
12610 if (PyErr_Occurred()) SWIG_fail;
12611 }
12612 Py_INCREF(Py_None); resultobj = Py_None;
12613 {
12614 if (temp3)
12615 delete arg3;
12616 }
12617 return resultobj;
12618 fail:
12619 {
12620 if (temp3)
12621 delete arg3;
12622 }
12623 return NULL;
12624}
12625
12626
c370783e 12627static PyObject *_wrap_Grid_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12628 PyObject *resultobj = NULL;
d14a1e28
RD
12629 wxGrid *arg1 = (wxGrid *) 0 ;
12630 int arg2 ;
12631 wxString *arg3 = 0 ;
b411df4a 12632 bool temp3 = false ;
d14a1e28 12633 PyObject * obj0 = 0 ;
8edf1c75 12634 PyObject * obj1 = 0 ;
d14a1e28
RD
12635 PyObject * obj2 = 0 ;
12636 char *kwnames[] = {
12637 (char *) "self",(char *) "col","arg3", NULL
12638 };
12639
8edf1c75 12640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12642 if (SWIG_arg_fail(1)) SWIG_fail;
12643 {
32fe5131 12644 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12645 if (SWIG_arg_fail(2)) SWIG_fail;
12646 }
d14a1e28
RD
12647 {
12648 arg3 = wxString_in_helper(obj2);
12649 if (arg3 == NULL) SWIG_fail;
b411df4a 12650 temp3 = true;
d14a1e28
RD
12651 }
12652 {
12653 PyThreadState* __tstate = wxPyBeginAllowThreads();
12654 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
12655
12656 wxPyEndAllowThreads(__tstate);
12657 if (PyErr_Occurred()) SWIG_fail;
12658 }
12659 Py_INCREF(Py_None); resultobj = Py_None;
12660 {
12661 if (temp3)
12662 delete arg3;
12663 }
12664 return resultobj;
12665 fail:
12666 {
12667 if (temp3)
12668 delete arg3;
12669 }
12670 return NULL;
12671}
12672
12673
c370783e 12674static PyObject *_wrap_Grid_SetGridLineColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12675 PyObject *resultobj = NULL;
d14a1e28
RD
12676 wxGrid *arg1 = (wxGrid *) 0 ;
12677 wxColour *arg2 = 0 ;
12678 wxColour temp2 ;
12679 PyObject * obj0 = 0 ;
12680 PyObject * obj1 = 0 ;
12681 char *kwnames[] = {
12682 (char *) "self","arg2", NULL
12683 };
12684
12685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12687 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12688 {
12689 arg2 = &temp2;
12690 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12691 }
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 (arg1)->SetGridLineColour((wxColour const &)*arg2);
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 Py_INCREF(Py_None); resultobj = Py_None;
12700 return resultobj;
12701 fail:
12702 return NULL;
12703}
12704
12705
c370783e 12706static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12707 PyObject *resultobj = NULL;
d14a1e28
RD
12708 wxGrid *arg1 = (wxGrid *) 0 ;
12709 wxColour *arg2 = 0 ;
12710 wxColour temp2 ;
12711 PyObject * obj0 = 0 ;
12712 PyObject * obj1 = 0 ;
12713 char *kwnames[] = {
12714 (char *) "self","arg2", NULL
12715 };
12716
12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12719 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12720 {
12721 arg2 = &temp2;
12722 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12723 }
12724 {
12725 PyThreadState* __tstate = wxPyBeginAllowThreads();
12726 (arg1)->SetCellHighlightColour((wxColour const &)*arg2);
12727
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 Py_INCREF(Py_None); resultobj = Py_None;
12732 return resultobj;
12733 fail:
12734 return NULL;
12735}
12736
12737
c370783e 12738static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12739 PyObject *resultobj = NULL;
d14a1e28
RD
12740 wxGrid *arg1 = (wxGrid *) 0 ;
12741 int arg2 ;
12742 PyObject * obj0 = 0 ;
8edf1c75 12743 PyObject * obj1 = 0 ;
d14a1e28
RD
12744 char *kwnames[] = {
12745 (char *) "self",(char *) "width", NULL
12746 };
12747
8edf1c75 12748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12750 if (SWIG_arg_fail(1)) SWIG_fail;
12751 {
32fe5131 12752 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12753 if (SWIG_arg_fail(2)) SWIG_fail;
12754 }
d14a1e28
RD
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 (arg1)->SetCellHighlightPenWidth(arg2);
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 Py_INCREF(Py_None); resultobj = Py_None;
12763 return resultobj;
12764 fail:
12765 return NULL;
12766}
12767
12768
c370783e 12769static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12770 PyObject *resultobj = NULL;
d14a1e28
RD
12771 wxGrid *arg1 = (wxGrid *) 0 ;
12772 int arg2 ;
12773 PyObject * obj0 = 0 ;
8edf1c75 12774 PyObject * obj1 = 0 ;
d14a1e28
RD
12775 char *kwnames[] = {
12776 (char *) "self",(char *) "width", NULL
12777 };
12778
8edf1c75 12779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12781 if (SWIG_arg_fail(1)) SWIG_fail;
12782 {
32fe5131 12783 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12784 if (SWIG_arg_fail(2)) SWIG_fail;
12785 }
d14a1e28
RD
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 (arg1)->SetCellHighlightROPenWidth(arg2);
12789
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 Py_INCREF(Py_None); resultobj = Py_None;
12794 return resultobj;
12795 fail:
12796 return NULL;
12797}
12798
12799
c370783e 12800static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12801 PyObject *resultobj = NULL;
d14a1e28 12802 wxGrid *arg1 = (wxGrid *) 0 ;
b411df4a 12803 bool arg2 = (bool) true ;
d14a1e28
RD
12804 PyObject * obj0 = 0 ;
12805 PyObject * obj1 = 0 ;
12806 char *kwnames[] = {
12807 (char *) "self",(char *) "enable", NULL
12808 };
12809
12810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12812 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 12813 if (obj1) {
36ed4f51 12814 {
32fe5131 12815 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
12816 if (SWIG_arg_fail(2)) SWIG_fail;
12817 }
d14a1e28
RD
12818 }
12819 {
12820 PyThreadState* __tstate = wxPyBeginAllowThreads();
12821 (arg1)->EnableDragRowSize(arg2);
12822
12823 wxPyEndAllowThreads(__tstate);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 }
12826 Py_INCREF(Py_None); resultobj = Py_None;
12827 return resultobj;
12828 fail:
12829 return NULL;
12830}
12831
12832
c370783e 12833static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12834 PyObject *resultobj = NULL;
d14a1e28
RD
12835 wxGrid *arg1 = (wxGrid *) 0 ;
12836 PyObject * obj0 = 0 ;
12837 char *kwnames[] = {
12838 (char *) "self", NULL
12839 };
12840
12841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
12842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12843 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12844 {
12845 PyThreadState* __tstate = wxPyBeginAllowThreads();
12846 (arg1)->DisableDragRowSize();
12847
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 Py_INCREF(Py_None); resultobj = Py_None;
12852 return resultobj;
12853 fail:
12854 return NULL;
12855}
12856
12857
c370783e 12858static PyObject *_wrap_Grid_CanDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12859 PyObject *resultobj = NULL;
d14a1e28
RD
12860 wxGrid *arg1 = (wxGrid *) 0 ;
12861 bool result;
12862 PyObject * obj0 = 0 ;
12863 char *kwnames[] = {
12864 (char *) "self", NULL
12865 };
12866
12867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
12868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12869 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 result = (bool)(arg1)->CanDragRowSize();
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
fbc46b20
RD
12877 {
12878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12879 }
d14a1e28
RD
12880 return resultobj;
12881 fail:
12882 return NULL;
12883}
12884
12885
c370783e 12886static PyObject *_wrap_Grid_EnableDragColSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12887 PyObject *resultobj = NULL;
d14a1e28 12888 wxGrid *arg1 = (wxGrid *) 0 ;
b411df4a 12889 bool arg2 = (bool) true ;
d14a1e28
RD
12890 PyObject * obj0 = 0 ;
12891 PyObject * obj1 = 0 ;
12892 char *kwnames[] = {
12893 (char *) "self",(char *) "enable", NULL
12894 };
12895
12896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12898 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 12899 if (obj1) {
36ed4f51 12900 {
32fe5131 12901 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
12902 if (SWIG_arg_fail(2)) SWIG_fail;
12903 }
d14a1e28
RD
12904 }
12905 {
12906 PyThreadState* __tstate = wxPyBeginAllowThreads();
12907 (arg1)->EnableDragColSize(arg2);
12908
12909 wxPyEndAllowThreads(__tstate);
12910 if (PyErr_Occurred()) SWIG_fail;
12911 }
12912 Py_INCREF(Py_None); resultobj = Py_None;
12913 return resultobj;
12914 fail:
12915 return NULL;
12916}
12917
12918
c370783e 12919static PyObject *_wrap_Grid_DisableDragColSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12920 PyObject *resultobj = NULL;
d14a1e28
RD
12921 wxGrid *arg1 = (wxGrid *) 0 ;
12922 PyObject * obj0 = 0 ;
12923 char *kwnames[] = {
12924 (char *) "self", NULL
12925 };
12926
12927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
12928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12929 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 (arg1)->DisableDragColSize();
12933
12934 wxPyEndAllowThreads(__tstate);
12935 if (PyErr_Occurred()) SWIG_fail;
12936 }
12937 Py_INCREF(Py_None); resultobj = Py_None;
12938 return resultobj;
12939 fail:
12940 return NULL;
12941}
12942
12943
c370783e 12944static PyObject *_wrap_Grid_CanDragColSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12945 PyObject *resultobj = NULL;
d14a1e28
RD
12946 wxGrid *arg1 = (wxGrid *) 0 ;
12947 bool result;
12948 PyObject * obj0 = 0 ;
12949 char *kwnames[] = {
12950 (char *) "self", NULL
12951 };
12952
12953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
12954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12955 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12956 {
12957 PyThreadState* __tstate = wxPyBeginAllowThreads();
12958 result = (bool)(arg1)->CanDragColSize();
12959
12960 wxPyEndAllowThreads(__tstate);
12961 if (PyErr_Occurred()) SWIG_fail;
12962 }
fbc46b20
RD
12963 {
12964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12965 }
d14a1e28
RD
12966 return resultobj;
12967 fail:
12968 return NULL;
12969}
12970
12971
c370783e 12972static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12973 PyObject *resultobj = NULL;
d14a1e28 12974 wxGrid *arg1 = (wxGrid *) 0 ;
b411df4a 12975 bool arg2 = (bool) true ;
d14a1e28
RD
12976 PyObject * obj0 = 0 ;
12977 PyObject * obj1 = 0 ;
12978 char *kwnames[] = {
12979 (char *) "self",(char *) "enable", NULL
12980 };
12981
12982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
12984 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 12985 if (obj1) {
36ed4f51 12986 {
32fe5131 12987 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
12988 if (SWIG_arg_fail(2)) SWIG_fail;
12989 }
d14a1e28
RD
12990 }
12991 {
12992 PyThreadState* __tstate = wxPyBeginAllowThreads();
12993 (arg1)->EnableDragGridSize(arg2);
12994
12995 wxPyEndAllowThreads(__tstate);
12996 if (PyErr_Occurred()) SWIG_fail;
12997 }
12998 Py_INCREF(Py_None); resultobj = Py_None;
12999 return resultobj;
13000 fail:
13001 return NULL;
13002}
13003
13004
c370783e 13005static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13006 PyObject *resultobj = NULL;
d14a1e28
RD
13007 wxGrid *arg1 = (wxGrid *) 0 ;
13008 PyObject * obj0 = 0 ;
13009 char *kwnames[] = {
13010 (char *) "self", NULL
13011 };
13012
13013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
13014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13015 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
13018 (arg1)->DisableDragGridSize();
13019
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 Py_INCREF(Py_None); resultobj = Py_None;
13024 return resultobj;
13025 fail:
13026 return NULL;
13027}
13028
13029
c370783e 13030static PyObject *_wrap_Grid_CanDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13031 PyObject *resultobj = NULL;
d14a1e28
RD
13032 wxGrid *arg1 = (wxGrid *) 0 ;
13033 bool result;
13034 PyObject * obj0 = 0 ;
13035 char *kwnames[] = {
13036 (char *) "self", NULL
13037 };
13038
13039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
13040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13041 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13042 {
13043 PyThreadState* __tstate = wxPyBeginAllowThreads();
13044 result = (bool)(arg1)->CanDragGridSize();
13045
13046 wxPyEndAllowThreads(__tstate);
13047 if (PyErr_Occurred()) SWIG_fail;
13048 }
fbc46b20
RD
13049 {
13050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13051 }
d14a1e28
RD
13052 return resultobj;
13053 fail:
13054 return NULL;
13055}
13056
13057
c370783e 13058static PyObject *_wrap_Grid_EnableDragCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13059 PyObject *resultobj = NULL;
4cf4100f 13060 wxGrid *arg1 = (wxGrid *) 0 ;
b411df4a 13061 bool arg2 = (bool) true ;
4cf4100f
RD
13062 PyObject * obj0 = 0 ;
13063 PyObject * obj1 = 0 ;
13064 char *kwnames[] = {
13065 (char *) "self",(char *) "enable", NULL
13066 };
13067
13068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragCell",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13070 if (SWIG_arg_fail(1)) SWIG_fail;
4cf4100f 13071 if (obj1) {
36ed4f51 13072 {
32fe5131 13073 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
13074 if (SWIG_arg_fail(2)) SWIG_fail;
13075 }
4cf4100f
RD
13076 }
13077 {
13078 PyThreadState* __tstate = wxPyBeginAllowThreads();
13079 (arg1)->EnableDragCell(arg2);
13080
13081 wxPyEndAllowThreads(__tstate);
13082 if (PyErr_Occurred()) SWIG_fail;
13083 }
13084 Py_INCREF(Py_None); resultobj = Py_None;
13085 return resultobj;
13086 fail:
13087 return NULL;
13088}
13089
13090
c370783e 13091static PyObject *_wrap_Grid_DisableDragCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13092 PyObject *resultobj = NULL;
4cf4100f
RD
13093 wxGrid *arg1 = (wxGrid *) 0 ;
13094 PyObject * obj0 = 0 ;
13095 char *kwnames[] = {
13096 (char *) "self", NULL
13097 };
13098
13099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
13100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13101 if (SWIG_arg_fail(1)) SWIG_fail;
4cf4100f
RD
13102 {
13103 PyThreadState* __tstate = wxPyBeginAllowThreads();
13104 (arg1)->DisableDragCell();
13105
13106 wxPyEndAllowThreads(__tstate);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 }
13109 Py_INCREF(Py_None); resultobj = Py_None;
13110 return resultobj;
13111 fail:
13112 return NULL;
13113}
13114
13115
c370783e 13116static PyObject *_wrap_Grid_CanDragCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13117 PyObject *resultobj = NULL;
4cf4100f
RD
13118 wxGrid *arg1 = (wxGrid *) 0 ;
13119 bool result;
13120 PyObject * obj0 = 0 ;
13121 char *kwnames[] = {
13122 (char *) "self", NULL
13123 };
13124
13125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
13126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13127 if (SWIG_arg_fail(1)) SWIG_fail;
4cf4100f
RD
13128 {
13129 PyThreadState* __tstate = wxPyBeginAllowThreads();
13130 result = (bool)(arg1)->CanDragCell();
13131
13132 wxPyEndAllowThreads(__tstate);
13133 if (PyErr_Occurred()) SWIG_fail;
13134 }
13135 {
13136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13137 }
13138 return resultobj;
13139 fail:
13140 return NULL;
13141}
13142
13143
c370783e 13144static PyObject *_wrap_Grid_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13145 PyObject *resultobj = NULL;
d14a1e28
RD
13146 wxGrid *arg1 = (wxGrid *) 0 ;
13147 int arg2 ;
13148 int arg3 ;
13149 wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ;
13150 PyObject * obj0 = 0 ;
8edf1c75
RD
13151 PyObject * obj1 = 0 ;
13152 PyObject * obj2 = 0 ;
d14a1e28
RD
13153 PyObject * obj3 = 0 ;
13154 char *kwnames[] = {
13155 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
13156 };
13157
8edf1c75 13158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
13159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13160 if (SWIG_arg_fail(1)) SWIG_fail;
13161 {
32fe5131 13162 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13163 if (SWIG_arg_fail(2)) SWIG_fail;
13164 }
13165 {
32fe5131 13166 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13167 if (SWIG_arg_fail(3)) SWIG_fail;
13168 }
13169 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
13170 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
13171 {
13172 PyThreadState* __tstate = wxPyBeginAllowThreads();
13173 (arg1)->SetAttr(arg2,arg3,arg4);
13174
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
13178 Py_INCREF(Py_None); resultobj = Py_None;
13179 return resultobj;
13180 fail:
13181 return NULL;
13182}
13183
13184
c370783e 13185static PyObject *_wrap_Grid_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13186 PyObject *resultobj = NULL;
d14a1e28
RD
13187 wxGrid *arg1 = (wxGrid *) 0 ;
13188 int arg2 ;
13189 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
13190 PyObject * obj0 = 0 ;
8edf1c75 13191 PyObject * obj1 = 0 ;
d14a1e28
RD
13192 PyObject * obj2 = 0 ;
13193 char *kwnames[] = {
13194 (char *) "self",(char *) "row",(char *) "attr", NULL
13195 };
13196
8edf1c75 13197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13199 if (SWIG_arg_fail(1)) SWIG_fail;
13200 {
32fe5131 13201 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13202 if (SWIG_arg_fail(2)) SWIG_fail;
13203 }
13204 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
13205 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 (arg1)->SetRowAttr(arg2,arg3);
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 Py_INCREF(Py_None); resultobj = Py_None;
13214 return resultobj;
13215 fail:
13216 return NULL;
13217}
13218
13219
c370783e 13220static PyObject *_wrap_Grid_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13221 PyObject *resultobj = NULL;
d14a1e28
RD
13222 wxGrid *arg1 = (wxGrid *) 0 ;
13223 int arg2 ;
13224 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
13225 PyObject * obj0 = 0 ;
8edf1c75 13226 PyObject * obj1 = 0 ;
d14a1e28
RD
13227 PyObject * obj2 = 0 ;
13228 char *kwnames[] = {
13229 (char *) "self",(char *) "col",(char *) "attr", NULL
13230 };
13231
8edf1c75 13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13234 if (SWIG_arg_fail(1)) SWIG_fail;
13235 {
32fe5131 13236 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13237 if (SWIG_arg_fail(2)) SWIG_fail;
13238 }
13239 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0);
13240 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
13241 {
13242 PyThreadState* __tstate = wxPyBeginAllowThreads();
13243 (arg1)->SetColAttr(arg2,arg3);
13244
13245 wxPyEndAllowThreads(__tstate);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 }
13248 Py_INCREF(Py_None); resultobj = Py_None;
13249 return resultobj;
13250 fail:
13251 return NULL;
13252}
13253
13254
c370783e 13255static PyObject *_wrap_Grid_GetOrCreateCellAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13256 PyObject *resultobj = NULL;
01ac03ba
RD
13257 wxGrid *arg1 = (wxGrid *) 0 ;
13258 int arg2 ;
13259 int arg3 ;
13260 wxGridCellAttr *result;
13261 PyObject * obj0 = 0 ;
13262 PyObject * obj1 = 0 ;
13263 PyObject * obj2 = 0 ;
13264 char *kwnames[] = {
13265 (char *) "self",(char *) "row",(char *) "col", NULL
13266 };
13267
13268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13270 if (SWIG_arg_fail(1)) SWIG_fail;
13271 {
32fe5131 13272 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13273 if (SWIG_arg_fail(2)) SWIG_fail;
13274 }
13275 {
32fe5131 13276 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13277 if (SWIG_arg_fail(3)) SWIG_fail;
13278 }
01ac03ba
RD
13279 {
13280 PyThreadState* __tstate = wxPyBeginAllowThreads();
13281 result = (wxGridCellAttr *)((wxGrid const *)arg1)->GetOrCreateCellAttr(arg2,arg3);
13282
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 {
7e08d4ef 13287 resultobj = wxPyMake_wxGridCellAttr(result, (bool)0);
01ac03ba
RD
13288 }
13289 return resultobj;
13290 fail:
13291 return NULL;
13292}
13293
13294
c370783e 13295static PyObject *_wrap_Grid_SetColFormatBool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13296 PyObject *resultobj = NULL;
d14a1e28
RD
13297 wxGrid *arg1 = (wxGrid *) 0 ;
13298 int arg2 ;
13299 PyObject * obj0 = 0 ;
8edf1c75 13300 PyObject * obj1 = 0 ;
d14a1e28
RD
13301 char *kwnames[] = {
13302 (char *) "self",(char *) "col", NULL
13303 };
13304
8edf1c75 13305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatBool",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13307 if (SWIG_arg_fail(1)) SWIG_fail;
13308 {
32fe5131 13309 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13310 if (SWIG_arg_fail(2)) SWIG_fail;
13311 }
d14a1e28
RD
13312 {
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 (arg1)->SetColFormatBool(arg2);
13315
13316 wxPyEndAllowThreads(__tstate);
13317 if (PyErr_Occurred()) SWIG_fail;
13318 }
13319 Py_INCREF(Py_None); resultobj = Py_None;
13320 return resultobj;
13321 fail:
13322 return NULL;
13323}
13324
13325
c370783e 13326static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13327 PyObject *resultobj = NULL;
d14a1e28
RD
13328 wxGrid *arg1 = (wxGrid *) 0 ;
13329 int arg2 ;
13330 PyObject * obj0 = 0 ;
8edf1c75 13331 PyObject * obj1 = 0 ;
d14a1e28
RD
13332 char *kwnames[] = {
13333 (char *) "self",(char *) "col", NULL
13334 };
13335
8edf1c75 13336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatNumber",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13338 if (SWIG_arg_fail(1)) SWIG_fail;
13339 {
32fe5131 13340 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13341 if (SWIG_arg_fail(2)) SWIG_fail;
13342 }
d14a1e28
RD
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 (arg1)->SetColFormatNumber(arg2);
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
13350 Py_INCREF(Py_None); resultobj = Py_None;
13351 return resultobj;
13352 fail:
13353 return NULL;
13354}
13355
13356
c370783e 13357static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13358 PyObject *resultobj = NULL;
d14a1e28
RD
13359 wxGrid *arg1 = (wxGrid *) 0 ;
13360 int arg2 ;
13361 int arg3 = (int) -1 ;
13362 int arg4 = (int) -1 ;
13363 PyObject * obj0 = 0 ;
8edf1c75
RD
13364 PyObject * obj1 = 0 ;
13365 PyObject * obj2 = 0 ;
13366 PyObject * obj3 = 0 ;
d14a1e28
RD
13367 char *kwnames[] = {
13368 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
13369 };
13370
8edf1c75 13371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
13372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13373 if (SWIG_arg_fail(1)) SWIG_fail;
13374 {
32fe5131 13375 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13376 if (SWIG_arg_fail(2)) SWIG_fail;
13377 }
8edf1c75 13378 if (obj2) {
36ed4f51 13379 {
32fe5131 13380 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13381 if (SWIG_arg_fail(3)) SWIG_fail;
13382 }
8edf1c75
RD
13383 }
13384 if (obj3) {
36ed4f51 13385 {
32fe5131 13386 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
13387 if (SWIG_arg_fail(4)) SWIG_fail;
13388 }
8edf1c75 13389 }
d14a1e28
RD
13390 {
13391 PyThreadState* __tstate = wxPyBeginAllowThreads();
13392 (arg1)->SetColFormatFloat(arg2,arg3,arg4);
13393
13394 wxPyEndAllowThreads(__tstate);
13395 if (PyErr_Occurred()) SWIG_fail;
13396 }
13397 Py_INCREF(Py_None); resultobj = Py_None;
13398 return resultobj;
13399 fail:
13400 return NULL;
13401}
13402
13403
c370783e 13404static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13405 PyObject *resultobj = NULL;
d14a1e28
RD
13406 wxGrid *arg1 = (wxGrid *) 0 ;
13407 int arg2 ;
13408 wxString *arg3 = 0 ;
b411df4a 13409 bool temp3 = false ;
d14a1e28 13410 PyObject * obj0 = 0 ;
8edf1c75 13411 PyObject * obj1 = 0 ;
d14a1e28
RD
13412 PyObject * obj2 = 0 ;
13413 char *kwnames[] = {
13414 (char *) "self",(char *) "col",(char *) "typeName", NULL
13415 };
13416
8edf1c75 13417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColFormatCustom",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13419 if (SWIG_arg_fail(1)) SWIG_fail;
13420 {
32fe5131 13421 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13422 if (SWIG_arg_fail(2)) SWIG_fail;
13423 }
d14a1e28
RD
13424 {
13425 arg3 = wxString_in_helper(obj2);
13426 if (arg3 == NULL) SWIG_fail;
b411df4a 13427 temp3 = true;
d14a1e28
RD
13428 }
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3);
13432
13433 wxPyEndAllowThreads(__tstate);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 }
13436 Py_INCREF(Py_None); resultobj = Py_None;
13437 {
13438 if (temp3)
13439 delete arg3;
13440 }
13441 return resultobj;
13442 fail:
13443 {
13444 if (temp3)
13445 delete arg3;
13446 }
13447 return NULL;
13448}
13449
13450
c370783e 13451static PyObject *_wrap_Grid_EnableGridLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13452 PyObject *resultobj = NULL;
d14a1e28 13453 wxGrid *arg1 = (wxGrid *) 0 ;
b411df4a 13454 bool arg2 = (bool) true ;
d14a1e28
RD
13455 PyObject * obj0 = 0 ;
13456 PyObject * obj1 = 0 ;
13457 char *kwnames[] = {
13458 (char *) "self",(char *) "enable", NULL
13459 };
13460
13461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13463 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13464 if (obj1) {
36ed4f51 13465 {
32fe5131 13466 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
13467 if (SWIG_arg_fail(2)) SWIG_fail;
13468 }
d14a1e28
RD
13469 }
13470 {
13471 PyThreadState* __tstate = wxPyBeginAllowThreads();
13472 (arg1)->EnableGridLines(arg2);
13473
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 Py_INCREF(Py_None); resultobj = Py_None;
13478 return resultobj;
13479 fail:
13480 return NULL;
13481}
13482
13483
c370783e 13484static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13485 PyObject *resultobj = NULL;
d14a1e28
RD
13486 wxGrid *arg1 = (wxGrid *) 0 ;
13487 bool result;
13488 PyObject * obj0 = 0 ;
13489 char *kwnames[] = {
13490 (char *) "self", NULL
13491 };
13492
13493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail;
36ed4f51
RD
13494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13495 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13496 {
13497 PyThreadState* __tstate = wxPyBeginAllowThreads();
13498 result = (bool)(arg1)->GridLinesEnabled();
13499
13500 wxPyEndAllowThreads(__tstate);
13501 if (PyErr_Occurred()) SWIG_fail;
13502 }
fbc46b20
RD
13503 {
13504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13505 }
d14a1e28
RD
13506 return resultobj;
13507 fail:
13508 return NULL;
13509}
13510
13511
c370783e 13512static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13513 PyObject *resultobj = NULL;
d14a1e28
RD
13514 wxGrid *arg1 = (wxGrid *) 0 ;
13515 int result;
13516 PyObject * obj0 = 0 ;
13517 char *kwnames[] = {
13518 (char *) "self", NULL
13519 };
13520
13521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
13522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13523 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 result = (int)(arg1)->GetDefaultRowSize();
13527
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
36ed4f51 13531 {
32fe5131 13532 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13533 }
d14a1e28
RD
13534 return resultobj;
13535 fail:
13536 return NULL;
13537}
13538
13539
c370783e 13540static PyObject *_wrap_Grid_GetRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13541 PyObject *resultobj = NULL;
d14a1e28
RD
13542 wxGrid *arg1 = (wxGrid *) 0 ;
13543 int arg2 ;
13544 int result;
13545 PyObject * obj0 = 0 ;
8edf1c75 13546 PyObject * obj1 = 0 ;
d14a1e28
RD
13547 char *kwnames[] = {
13548 (char *) "self",(char *) "row", NULL
13549 };
13550
8edf1c75 13551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13553 if (SWIG_arg_fail(1)) SWIG_fail;
13554 {
32fe5131 13555 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13556 if (SWIG_arg_fail(2)) SWIG_fail;
13557 }
d14a1e28
RD
13558 {
13559 PyThreadState* __tstate = wxPyBeginAllowThreads();
13560 result = (int)(arg1)->GetRowSize(arg2);
13561
13562 wxPyEndAllowThreads(__tstate);
13563 if (PyErr_Occurred()) SWIG_fail;
13564 }
36ed4f51 13565 {
32fe5131 13566 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13567 }
d14a1e28
RD
13568 return resultobj;
13569 fail:
13570 return NULL;
13571}
13572
13573
c370783e 13574static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13575 PyObject *resultobj = NULL;
d14a1e28
RD
13576 wxGrid *arg1 = (wxGrid *) 0 ;
13577 int result;
13578 PyObject * obj0 = 0 ;
13579 char *kwnames[] = {
13580 (char *) "self", NULL
13581 };
13582
13583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
13584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13585 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13586 {
13587 PyThreadState* __tstate = wxPyBeginAllowThreads();
13588 result = (int)(arg1)->GetDefaultColSize();
13589
13590 wxPyEndAllowThreads(__tstate);
13591 if (PyErr_Occurred()) SWIG_fail;
13592 }
36ed4f51 13593 {
32fe5131 13594 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13595 }
d14a1e28
RD
13596 return resultobj;
13597 fail:
13598 return NULL;
13599}
13600
13601
c370783e 13602static PyObject *_wrap_Grid_GetColSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13603 PyObject *resultobj = NULL;
d14a1e28
RD
13604 wxGrid *arg1 = (wxGrid *) 0 ;
13605 int arg2 ;
13606 int result;
13607 PyObject * obj0 = 0 ;
8edf1c75 13608 PyObject * obj1 = 0 ;
d14a1e28
RD
13609 char *kwnames[] = {
13610 (char *) "self",(char *) "col", NULL
13611 };
13612
8edf1c75 13613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13615 if (SWIG_arg_fail(1)) SWIG_fail;
13616 {
32fe5131 13617 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13618 if (SWIG_arg_fail(2)) SWIG_fail;
13619 }
d14a1e28
RD
13620 {
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 result = (int)(arg1)->GetColSize(arg2);
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
36ed4f51 13627 {
32fe5131 13628 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13629 }
d14a1e28
RD
13630 return resultobj;
13631 fail:
13632 return NULL;
13633}
13634
13635
c370783e 13636static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13637 PyObject *resultobj = NULL;
d14a1e28
RD
13638 wxGrid *arg1 = (wxGrid *) 0 ;
13639 wxColour result;
13640 PyObject * obj0 = 0 ;
13641 char *kwnames[] = {
13642 (char *) "self", NULL
13643 };
13644
13645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
13646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13647 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13648 {
13649 PyThreadState* __tstate = wxPyBeginAllowThreads();
13650 result = (arg1)->GetDefaultCellBackgroundColour();
13651
13652 wxPyEndAllowThreads(__tstate);
13653 if (PyErr_Occurred()) SWIG_fail;
13654 }
13655 {
13656 wxColour * resultptr;
32fe5131 13657 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 13658 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13659 }
13660 return resultobj;
13661 fail:
13662 return NULL;
13663}
13664
13665
c370783e 13666static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13667 PyObject *resultobj = NULL;
d14a1e28
RD
13668 wxGrid *arg1 = (wxGrid *) 0 ;
13669 int arg2 ;
13670 int arg3 ;
13671 wxColour result;
13672 PyObject * obj0 = 0 ;
8edf1c75
RD
13673 PyObject * obj1 = 0 ;
13674 PyObject * obj2 = 0 ;
d14a1e28
RD
13675 char *kwnames[] = {
13676 (char *) "self",(char *) "row",(char *) "col", NULL
13677 };
13678
8edf1c75 13679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13681 if (SWIG_arg_fail(1)) SWIG_fail;
13682 {
32fe5131 13683 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13684 if (SWIG_arg_fail(2)) SWIG_fail;
13685 }
13686 {
32fe5131 13687 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13688 if (SWIG_arg_fail(3)) SWIG_fail;
13689 }
d14a1e28
RD
13690 {
13691 PyThreadState* __tstate = wxPyBeginAllowThreads();
13692 result = (arg1)->GetCellBackgroundColour(arg2,arg3);
13693
13694 wxPyEndAllowThreads(__tstate);
13695 if (PyErr_Occurred()) SWIG_fail;
13696 }
13697 {
13698 wxColour * resultptr;
32fe5131 13699 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 13700 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13701 }
13702 return resultobj;
13703 fail:
13704 return NULL;
13705}
13706
13707
c370783e 13708static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13709 PyObject *resultobj = NULL;
d14a1e28
RD
13710 wxGrid *arg1 = (wxGrid *) 0 ;
13711 wxColour result;
13712 PyObject * obj0 = 0 ;
13713 char *kwnames[] = {
13714 (char *) "self", NULL
13715 };
13716
13717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
13718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13719 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13720 {
13721 PyThreadState* __tstate = wxPyBeginAllowThreads();
13722 result = (arg1)->GetDefaultCellTextColour();
13723
13724 wxPyEndAllowThreads(__tstate);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 }
13727 {
13728 wxColour * resultptr;
32fe5131 13729 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 13730 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13731 }
13732 return resultobj;
13733 fail:
13734 return NULL;
13735}
13736
13737
c370783e 13738static PyObject *_wrap_Grid_GetCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13739 PyObject *resultobj = NULL;
d14a1e28
RD
13740 wxGrid *arg1 = (wxGrid *) 0 ;
13741 int arg2 ;
13742 int arg3 ;
13743 wxColour result;
13744 PyObject * obj0 = 0 ;
8edf1c75
RD
13745 PyObject * obj1 = 0 ;
13746 PyObject * obj2 = 0 ;
d14a1e28
RD
13747 char *kwnames[] = {
13748 (char *) "self",(char *) "row",(char *) "col", NULL
13749 };
13750
8edf1c75 13751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13753 if (SWIG_arg_fail(1)) SWIG_fail;
13754 {
32fe5131 13755 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13756 if (SWIG_arg_fail(2)) SWIG_fail;
13757 }
13758 {
32fe5131 13759 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13760 if (SWIG_arg_fail(3)) SWIG_fail;
13761 }
d14a1e28
RD
13762 {
13763 PyThreadState* __tstate = wxPyBeginAllowThreads();
13764 result = (arg1)->GetCellTextColour(arg2,arg3);
13765
13766 wxPyEndAllowThreads(__tstate);
13767 if (PyErr_Occurred()) SWIG_fail;
13768 }
13769 {
13770 wxColour * resultptr;
32fe5131 13771 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 13772 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13773 }
13774 return resultobj;
13775 fail:
13776 return NULL;
13777}
13778
13779
c370783e 13780static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13781 PyObject *resultobj = NULL;
d14a1e28
RD
13782 wxGrid *arg1 = (wxGrid *) 0 ;
13783 wxFont result;
13784 PyObject * obj0 = 0 ;
13785 char *kwnames[] = {
13786 (char *) "self", NULL
13787 };
13788
13789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
13790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13791 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13792 {
13793 PyThreadState* __tstate = wxPyBeginAllowThreads();
13794 result = (arg1)->GetDefaultCellFont();
13795
13796 wxPyEndAllowThreads(__tstate);
13797 if (PyErr_Occurred()) SWIG_fail;
13798 }
13799 {
13800 wxFont * resultptr;
32fe5131 13801 resultptr = new wxFont(static_cast<wxFont & >(result));
2f4c0a16 13802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
13803 }
13804 return resultobj;
13805 fail:
13806 return NULL;
13807}
13808
13809
c370783e 13810static PyObject *_wrap_Grid_GetCellFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13811 PyObject *resultobj = NULL;
d14a1e28
RD
13812 wxGrid *arg1 = (wxGrid *) 0 ;
13813 int arg2 ;
13814 int arg3 ;
13815 wxFont result;
13816 PyObject * obj0 = 0 ;
8edf1c75
RD
13817 PyObject * obj1 = 0 ;
13818 PyObject * obj2 = 0 ;
d14a1e28
RD
13819 char *kwnames[] = {
13820 (char *) "self",(char *) "row",(char *) "col", NULL
13821 };
13822
8edf1c75 13823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13825 if (SWIG_arg_fail(1)) SWIG_fail;
13826 {
32fe5131 13827 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13828 if (SWIG_arg_fail(2)) SWIG_fail;
13829 }
13830 {
32fe5131 13831 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13832 if (SWIG_arg_fail(3)) SWIG_fail;
13833 }
d14a1e28
RD
13834 {
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 result = (arg1)->GetCellFont(arg2,arg3);
13837
13838 wxPyEndAllowThreads(__tstate);
13839 if (PyErr_Occurred()) SWIG_fail;
13840 }
13841 {
13842 wxFont * resultptr;
32fe5131 13843 resultptr = new wxFont(static_cast<wxFont & >(result));
2f4c0a16 13844 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
13845 }
13846 return resultobj;
13847 fail:
13848 return NULL;
13849}
13850
13851
c370783e 13852static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13853 PyObject *resultobj = NULL;
d14a1e28
RD
13854 wxGrid *arg1 = (wxGrid *) 0 ;
13855 int *arg2 = (int *) 0 ;
13856 int *arg3 = (int *) 0 ;
13857 int temp2 ;
c370783e 13858 int res2 = 0 ;
d14a1e28 13859 int temp3 ;
c370783e 13860 int res3 = 0 ;
d14a1e28
RD
13861 PyObject * obj0 = 0 ;
13862 char *kwnames[] = {
13863 (char *) "self", NULL
13864 };
13865
c370783e
RD
13866 arg2 = &temp2; res2 = SWIG_NEWOBJ;
13867 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 13868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
13869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13870 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13871 {
13872 PyThreadState* __tstate = wxPyBeginAllowThreads();
13873 (arg1)->GetDefaultCellAlignment(arg2,arg3);
13874
13875 wxPyEndAllowThreads(__tstate);
13876 if (PyErr_Occurred()) SWIG_fail;
13877 }
13878 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
13879 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
13880 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
13881 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
13882 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
13883 return resultobj;
13884 fail:
13885 return NULL;
13886}
13887
13888
c370783e 13889static PyObject *_wrap_Grid_GetCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13890 PyObject *resultobj = NULL;
d14a1e28
RD
13891 wxGrid *arg1 = (wxGrid *) 0 ;
13892 int arg2 ;
13893 int arg3 ;
13894 int *arg4 = (int *) 0 ;
13895 int *arg5 = (int *) 0 ;
13896 int temp4 ;
c370783e 13897 int res4 = 0 ;
d14a1e28 13898 int temp5 ;
c370783e 13899 int res5 = 0 ;
d14a1e28 13900 PyObject * obj0 = 0 ;
8edf1c75
RD
13901 PyObject * obj1 = 0 ;
13902 PyObject * obj2 = 0 ;
d14a1e28
RD
13903 char *kwnames[] = {
13904 (char *) "self",(char *) "row",(char *) "col", NULL
13905 };
13906
c370783e
RD
13907 arg4 = &temp4; res4 = SWIG_NEWOBJ;
13908 arg5 = &temp5; res5 = SWIG_NEWOBJ;
8edf1c75 13909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13911 if (SWIG_arg_fail(1)) SWIG_fail;
13912 {
32fe5131 13913 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13914 if (SWIG_arg_fail(2)) SWIG_fail;
13915 }
13916 {
32fe5131 13917 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13918 if (SWIG_arg_fail(3)) SWIG_fail;
13919 }
d14a1e28
RD
13920 {
13921 PyThreadState* __tstate = wxPyBeginAllowThreads();
13922 (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5);
13923
13924 wxPyEndAllowThreads(__tstate);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
13927 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
13928 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
13929 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
13930 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
13931 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
13932 return resultobj;
13933 fail:
13934 return NULL;
13935}
13936
13937
c370783e 13938static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13939 PyObject *resultobj = NULL;
d14a1e28
RD
13940 wxGrid *arg1 = (wxGrid *) 0 ;
13941 bool result;
13942 PyObject * obj0 = 0 ;
13943 char *kwnames[] = {
13944 (char *) "self", NULL
13945 };
13946
13947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail;
36ed4f51
RD
13948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13949 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13950 {
13951 PyThreadState* __tstate = wxPyBeginAllowThreads();
13952 result = (bool)(arg1)->GetDefaultCellOverflow();
13953
13954 wxPyEndAllowThreads(__tstate);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
fbc46b20
RD
13957 {
13958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13959 }
d14a1e28
RD
13960 return resultobj;
13961 fail:
13962 return NULL;
13963}
13964
13965
c370783e 13966static PyObject *_wrap_Grid_GetCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13967 PyObject *resultobj = NULL;
d14a1e28
RD
13968 wxGrid *arg1 = (wxGrid *) 0 ;
13969 int arg2 ;
13970 int arg3 ;
13971 bool result;
13972 PyObject * obj0 = 0 ;
8edf1c75
RD
13973 PyObject * obj1 = 0 ;
13974 PyObject * obj2 = 0 ;
d14a1e28
RD
13975 char *kwnames[] = {
13976 (char *) "self",(char *) "row",(char *) "col", NULL
13977 };
13978
8edf1c75 13979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellOverflow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
13981 if (SWIG_arg_fail(1)) SWIG_fail;
13982 {
32fe5131 13983 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13984 if (SWIG_arg_fail(2)) SWIG_fail;
13985 }
13986 {
32fe5131 13987 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13988 if (SWIG_arg_fail(3)) SWIG_fail;
13989 }
d14a1e28
RD
13990 {
13991 PyThreadState* __tstate = wxPyBeginAllowThreads();
13992 result = (bool)(arg1)->GetCellOverflow(arg2,arg3);
13993
13994 wxPyEndAllowThreads(__tstate);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 }
fbc46b20
RD
13997 {
13998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13999 }
d14a1e28
RD
14000 return resultobj;
14001 fail:
14002 return NULL;
14003}
14004
14005
c370783e 14006static PyObject *_wrap_Grid_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14007 PyObject *resultobj = NULL;
d14a1e28
RD
14008 wxGrid *arg1 = (wxGrid *) 0 ;
14009 int arg2 ;
14010 int arg3 ;
14011 int *arg4 = (int *) 0 ;
14012 int *arg5 = (int *) 0 ;
14013 int temp4 ;
c370783e 14014 int res4 = 0 ;
d14a1e28 14015 int temp5 ;
c370783e 14016 int res5 = 0 ;
d14a1e28 14017 PyObject * obj0 = 0 ;
8edf1c75
RD
14018 PyObject * obj1 = 0 ;
14019 PyObject * obj2 = 0 ;
d14a1e28
RD
14020 char *kwnames[] = {
14021 (char *) "self",(char *) "row",(char *) "col", NULL
14022 };
14023
c370783e
RD
14024 arg4 = &temp4; res4 = SWIG_NEWOBJ;
14025 arg5 = &temp5; res5 = SWIG_NEWOBJ;
8edf1c75 14026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14028 if (SWIG_arg_fail(1)) SWIG_fail;
14029 {
32fe5131 14030 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14031 if (SWIG_arg_fail(2)) SWIG_fail;
14032 }
14033 {
32fe5131 14034 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14035 if (SWIG_arg_fail(3)) SWIG_fail;
14036 }
d14a1e28
RD
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 (arg1)->GetCellSize(arg2,arg3,arg4,arg5);
14040
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
14044 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
14045 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
14046 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
14047 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
14048 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
14049 return resultobj;
14050 fail:
14051 return NULL;
14052}
14053
14054
c370783e 14055static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14056 PyObject *resultobj = NULL;
d14a1e28
RD
14057 wxGrid *arg1 = (wxGrid *) 0 ;
14058 int arg2 ;
b411df4a 14059 bool arg3 = (bool) false ;
d14a1e28 14060 PyObject * obj0 = 0 ;
8edf1c75 14061 PyObject * obj1 = 0 ;
d14a1e28
RD
14062 PyObject * obj2 = 0 ;
14063 char *kwnames[] = {
14064 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
14065 };
14066
8edf1c75 14067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14069 if (SWIG_arg_fail(1)) SWIG_fail;
14070 {
32fe5131 14071 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14072 if (SWIG_arg_fail(2)) SWIG_fail;
14073 }
d14a1e28 14074 if (obj2) {
36ed4f51 14075 {
32fe5131 14076 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
14077 if (SWIG_arg_fail(3)) SWIG_fail;
14078 }
d14a1e28
RD
14079 }
14080 {
14081 PyThreadState* __tstate = wxPyBeginAllowThreads();
14082 (arg1)->SetDefaultRowSize(arg2,arg3);
14083
14084 wxPyEndAllowThreads(__tstate);
14085 if (PyErr_Occurred()) SWIG_fail;
14086 }
14087 Py_INCREF(Py_None); resultobj = Py_None;
14088 return resultobj;
14089 fail:
14090 return NULL;
14091}
14092
14093
c370783e 14094static PyObject *_wrap_Grid_SetRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14095 PyObject *resultobj = NULL;
d14a1e28
RD
14096 wxGrid *arg1 = (wxGrid *) 0 ;
14097 int arg2 ;
14098 int arg3 ;
14099 PyObject * obj0 = 0 ;
8edf1c75
RD
14100 PyObject * obj1 = 0 ;
14101 PyObject * obj2 = 0 ;
d14a1e28
RD
14102 char *kwnames[] = {
14103 (char *) "self",(char *) "row",(char *) "height", NULL
14104 };
14105
8edf1c75 14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14108 if (SWIG_arg_fail(1)) SWIG_fail;
14109 {
32fe5131 14110 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14111 if (SWIG_arg_fail(2)) SWIG_fail;
14112 }
14113 {
32fe5131 14114 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14115 if (SWIG_arg_fail(3)) SWIG_fail;
14116 }
d14a1e28
RD
14117 {
14118 PyThreadState* __tstate = wxPyBeginAllowThreads();
14119 (arg1)->SetRowSize(arg2,arg3);
14120
14121 wxPyEndAllowThreads(__tstate);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 Py_INCREF(Py_None); resultobj = Py_None;
14125 return resultobj;
14126 fail:
14127 return NULL;
14128}
14129
14130
c370783e 14131static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14132 PyObject *resultobj = NULL;
d14a1e28
RD
14133 wxGrid *arg1 = (wxGrid *) 0 ;
14134 int arg2 ;
b411df4a 14135 bool arg3 = (bool) false ;
d14a1e28 14136 PyObject * obj0 = 0 ;
8edf1c75 14137 PyObject * obj1 = 0 ;
d14a1e28
RD
14138 PyObject * obj2 = 0 ;
14139 char *kwnames[] = {
14140 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
14141 };
14142
8edf1c75 14143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14145 if (SWIG_arg_fail(1)) SWIG_fail;
14146 {
32fe5131 14147 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14148 if (SWIG_arg_fail(2)) SWIG_fail;
14149 }
d14a1e28 14150 if (obj2) {
36ed4f51 14151 {
32fe5131 14152 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
14153 if (SWIG_arg_fail(3)) SWIG_fail;
14154 }
d14a1e28
RD
14155 }
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 (arg1)->SetDefaultColSize(arg2,arg3);
14159
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 Py_INCREF(Py_None); resultobj = Py_None;
14164 return resultobj;
14165 fail:
14166 return NULL;
14167}
14168
14169
c370783e 14170static PyObject *_wrap_Grid_SetColSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14171 PyObject *resultobj = NULL;
d14a1e28
RD
14172 wxGrid *arg1 = (wxGrid *) 0 ;
14173 int arg2 ;
14174 int arg3 ;
14175 PyObject * obj0 = 0 ;
8edf1c75
RD
14176 PyObject * obj1 = 0 ;
14177 PyObject * obj2 = 0 ;
d14a1e28
RD
14178 char *kwnames[] = {
14179 (char *) "self",(char *) "col",(char *) "width", NULL
14180 };
14181
8edf1c75 14182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14184 if (SWIG_arg_fail(1)) SWIG_fail;
14185 {
32fe5131 14186 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14187 if (SWIG_arg_fail(2)) SWIG_fail;
14188 }
14189 {
32fe5131 14190 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14191 if (SWIG_arg_fail(3)) SWIG_fail;
14192 }
d14a1e28
RD
14193 {
14194 PyThreadState* __tstate = wxPyBeginAllowThreads();
14195 (arg1)->SetColSize(arg2,arg3);
14196
14197 wxPyEndAllowThreads(__tstate);
14198 if (PyErr_Occurred()) SWIG_fail;
14199 }
14200 Py_INCREF(Py_None); resultobj = Py_None;
14201 return resultobj;
14202 fail:
14203 return NULL;
14204}
14205
14206
c370783e 14207static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14208 PyObject *resultobj = NULL;
d14a1e28
RD
14209 wxGrid *arg1 = (wxGrid *) 0 ;
14210 int arg2 ;
b411df4a 14211 bool arg3 = (bool) true ;
d14a1e28 14212 PyObject * obj0 = 0 ;
8edf1c75 14213 PyObject * obj1 = 0 ;
d14a1e28
RD
14214 PyObject * obj2 = 0 ;
14215 char *kwnames[] = {
14216 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
14217 };
14218
8edf1c75 14219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14221 if (SWIG_arg_fail(1)) SWIG_fail;
14222 {
32fe5131 14223 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14224 if (SWIG_arg_fail(2)) SWIG_fail;
14225 }
d14a1e28 14226 if (obj2) {
36ed4f51 14227 {
32fe5131 14228 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
14229 if (SWIG_arg_fail(3)) SWIG_fail;
14230 }
d14a1e28
RD
14231 }
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 (arg1)->AutoSizeColumn(arg2,arg3);
14235
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 Py_INCREF(Py_None); resultobj = Py_None;
14240 return resultobj;
14241 fail:
14242 return NULL;
14243}
14244
14245
c370783e 14246static PyObject *_wrap_Grid_AutoSizeRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14247 PyObject *resultobj = NULL;
d14a1e28
RD
14248 wxGrid *arg1 = (wxGrid *) 0 ;
14249 int arg2 ;
b411df4a 14250 bool arg3 = (bool) true ;
d14a1e28 14251 PyObject * obj0 = 0 ;
8edf1c75 14252 PyObject * obj1 = 0 ;
d14a1e28
RD
14253 PyObject * obj2 = 0 ;
14254 char *kwnames[] = {
14255 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
14256 };
14257
8edf1c75 14258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14260 if (SWIG_arg_fail(1)) SWIG_fail;
14261 {
32fe5131 14262 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14263 if (SWIG_arg_fail(2)) SWIG_fail;
14264 }
d14a1e28 14265 if (obj2) {
36ed4f51 14266 {
32fe5131 14267 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
14268 if (SWIG_arg_fail(3)) SWIG_fail;
14269 }
d14a1e28
RD
14270 }
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 (arg1)->AutoSizeRow(arg2,arg3);
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 Py_INCREF(Py_None); resultobj = Py_None;
14279 return resultobj;
14280 fail:
14281 return NULL;
14282}
14283
14284
c370783e 14285static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14286 PyObject *resultobj = NULL;
d14a1e28 14287 wxGrid *arg1 = (wxGrid *) 0 ;
b411df4a 14288 bool arg2 = (bool) true ;
d14a1e28
RD
14289 PyObject * obj0 = 0 ;
14290 PyObject * obj1 = 0 ;
14291 char *kwnames[] = {
14292 (char *) "self",(char *) "setAsMin", NULL
14293 };
14294
14295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14297 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 14298 if (obj1) {
36ed4f51 14299 {
32fe5131 14300 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
14301 if (SWIG_arg_fail(2)) SWIG_fail;
14302 }
d14a1e28
RD
14303 }
14304 {
14305 PyThreadState* __tstate = wxPyBeginAllowThreads();
14306 (arg1)->AutoSizeColumns(arg2);
14307
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 Py_INCREF(Py_None); resultobj = Py_None;
14312 return resultobj;
14313 fail:
14314 return NULL;
14315}
14316
14317
c370783e 14318static PyObject *_wrap_Grid_AutoSizeRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14319 PyObject *resultobj = NULL;
d14a1e28 14320 wxGrid *arg1 = (wxGrid *) 0 ;
b411df4a 14321 bool arg2 = (bool) true ;
d14a1e28
RD
14322 PyObject * obj0 = 0 ;
14323 PyObject * obj1 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self",(char *) "setAsMin", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14330 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 14331 if (obj1) {
36ed4f51 14332 {
32fe5131 14333 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
14334 if (SWIG_arg_fail(2)) SWIG_fail;
14335 }
d14a1e28
RD
14336 }
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 (arg1)->AutoSizeRows(arg2);
14340
14341 wxPyEndAllowThreads(__tstate);
14342 if (PyErr_Occurred()) SWIG_fail;
14343 }
14344 Py_INCREF(Py_None); resultobj = Py_None;
14345 return resultobj;
14346 fail:
14347 return NULL;
14348}
14349
14350
c370783e 14351static PyObject *_wrap_Grid_AutoSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14352 PyObject *resultobj = NULL;
d14a1e28
RD
14353 wxGrid *arg1 = (wxGrid *) 0 ;
14354 PyObject * obj0 = 0 ;
14355 char *kwnames[] = {
14356 (char *) "self", NULL
14357 };
14358
14359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
14360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14362 {
14363 PyThreadState* __tstate = wxPyBeginAllowThreads();
14364 (arg1)->AutoSize();
14365
14366 wxPyEndAllowThreads(__tstate);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 }
14369 Py_INCREF(Py_None); resultobj = Py_None;
14370 return resultobj;
14371 fail:
14372 return NULL;
14373}
14374
14375
c370783e 14376static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14377 PyObject *resultobj = NULL;
d14a1e28
RD
14378 wxGrid *arg1 = (wxGrid *) 0 ;
14379 int arg2 ;
14380 PyObject * obj0 = 0 ;
8edf1c75 14381 PyObject * obj1 = 0 ;
d14a1e28
RD
14382 char *kwnames[] = {
14383 (char *) "self",(char *) "row", NULL
14384 };
14385
8edf1c75 14386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14388 if (SWIG_arg_fail(1)) SWIG_fail;
14389 {
32fe5131 14390 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14391 if (SWIG_arg_fail(2)) SWIG_fail;
14392 }
d14a1e28
RD
14393 {
14394 PyThreadState* __tstate = wxPyBeginAllowThreads();
14395 (arg1)->AutoSizeRowLabelSize(arg2);
14396
14397 wxPyEndAllowThreads(__tstate);
14398 if (PyErr_Occurred()) SWIG_fail;
14399 }
14400 Py_INCREF(Py_None); resultobj = Py_None;
14401 return resultobj;
14402 fail:
14403 return NULL;
14404}
14405
14406
c370783e 14407static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14408 PyObject *resultobj = NULL;
d14a1e28
RD
14409 wxGrid *arg1 = (wxGrid *) 0 ;
14410 int arg2 ;
14411 PyObject * obj0 = 0 ;
8edf1c75 14412 PyObject * obj1 = 0 ;
d14a1e28
RD
14413 char *kwnames[] = {
14414 (char *) "self",(char *) "col", NULL
14415 };
14416
8edf1c75 14417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14419 if (SWIG_arg_fail(1)) SWIG_fail;
14420 {
32fe5131 14421 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14422 if (SWIG_arg_fail(2)) SWIG_fail;
14423 }
d14a1e28
RD
14424 {
14425 PyThreadState* __tstate = wxPyBeginAllowThreads();
14426 (arg1)->AutoSizeColLabelSize(arg2);
14427
14428 wxPyEndAllowThreads(__tstate);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 }
14431 Py_INCREF(Py_None); resultobj = Py_None;
14432 return resultobj;
14433 fail:
14434 return NULL;
14435}
14436
14437
c370783e 14438static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14439 PyObject *resultobj = NULL;
d14a1e28
RD
14440 wxGrid *arg1 = (wxGrid *) 0 ;
14441 int arg2 ;
14442 int arg3 ;
14443 PyObject * obj0 = 0 ;
8edf1c75
RD
14444 PyObject * obj1 = 0 ;
14445 PyObject * obj2 = 0 ;
d14a1e28
RD
14446 char *kwnames[] = {
14447 (char *) "self",(char *) "col",(char *) "width", NULL
14448 };
14449
8edf1c75 14450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColMinimalWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14452 if (SWIG_arg_fail(1)) SWIG_fail;
14453 {
32fe5131 14454 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14455 if (SWIG_arg_fail(2)) SWIG_fail;
14456 }
14457 {
32fe5131 14458 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14459 if (SWIG_arg_fail(3)) SWIG_fail;
14460 }
d14a1e28
RD
14461 {
14462 PyThreadState* __tstate = wxPyBeginAllowThreads();
14463 (arg1)->SetColMinimalWidth(arg2,arg3);
14464
14465 wxPyEndAllowThreads(__tstate);
14466 if (PyErr_Occurred()) SWIG_fail;
14467 }
14468 Py_INCREF(Py_None); resultobj = Py_None;
14469 return resultobj;
14470 fail:
14471 return NULL;
14472}
14473
14474
c370783e 14475static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14476 PyObject *resultobj = NULL;
d14a1e28
RD
14477 wxGrid *arg1 = (wxGrid *) 0 ;
14478 int arg2 ;
14479 int arg3 ;
14480 PyObject * obj0 = 0 ;
8edf1c75
RD
14481 PyObject * obj1 = 0 ;
14482 PyObject * obj2 = 0 ;
d14a1e28
RD
14483 char *kwnames[] = {
14484 (char *) "self",(char *) "row",(char *) "width", NULL
14485 };
14486
8edf1c75 14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14489 if (SWIG_arg_fail(1)) SWIG_fail;
14490 {
32fe5131 14491 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14492 if (SWIG_arg_fail(2)) SWIG_fail;
14493 }
14494 {
32fe5131 14495 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14496 if (SWIG_arg_fail(3)) SWIG_fail;
14497 }
d14a1e28
RD
14498 {
14499 PyThreadState* __tstate = wxPyBeginAllowThreads();
14500 (arg1)->SetRowMinimalHeight(arg2,arg3);
14501
14502 wxPyEndAllowThreads(__tstate);
14503 if (PyErr_Occurred()) SWIG_fail;
14504 }
14505 Py_INCREF(Py_None); resultobj = Py_None;
14506 return resultobj;
14507 fail:
14508 return NULL;
14509}
14510
14511
c370783e 14512static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14513 PyObject *resultobj = NULL;
d14a1e28
RD
14514 wxGrid *arg1 = (wxGrid *) 0 ;
14515 int arg2 ;
14516 PyObject * obj0 = 0 ;
8edf1c75 14517 PyObject * obj1 = 0 ;
d14a1e28
RD
14518 char *kwnames[] = {
14519 (char *) "self",(char *) "width", NULL
14520 };
14521
8edf1c75 14522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14524 if (SWIG_arg_fail(1)) SWIG_fail;
14525 {
32fe5131 14526 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14527 if (SWIG_arg_fail(2)) SWIG_fail;
14528 }
d14a1e28
RD
14529 {
14530 PyThreadState* __tstate = wxPyBeginAllowThreads();
14531 (arg1)->SetColMinimalAcceptableWidth(arg2);
14532
14533 wxPyEndAllowThreads(__tstate);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 Py_INCREF(Py_None); resultobj = Py_None;
14537 return resultobj;
14538 fail:
14539 return NULL;
14540}
14541
14542
c370783e 14543static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14544 PyObject *resultobj = NULL;
d14a1e28
RD
14545 wxGrid *arg1 = (wxGrid *) 0 ;
14546 int arg2 ;
14547 PyObject * obj0 = 0 ;
8edf1c75 14548 PyObject * obj1 = 0 ;
d14a1e28
RD
14549 char *kwnames[] = {
14550 (char *) "self",(char *) "width", NULL
14551 };
14552
8edf1c75 14553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14555 if (SWIG_arg_fail(1)) SWIG_fail;
14556 {
32fe5131 14557 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14558 if (SWIG_arg_fail(2)) SWIG_fail;
14559 }
d14a1e28
RD
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 (arg1)->SetRowMinimalAcceptableHeight(arg2);
14563
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 Py_INCREF(Py_None); resultobj = Py_None;
14568 return resultobj;
14569 fail:
14570 return NULL;
14571}
14572
14573
c370783e 14574static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14575 PyObject *resultobj = NULL;
d14a1e28
RD
14576 wxGrid *arg1 = (wxGrid *) 0 ;
14577 int result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
14584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth();
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
36ed4f51 14593 {
32fe5131 14594 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 14595 }
d14a1e28
RD
14596 return resultobj;
14597 fail:
14598 return NULL;
14599}
14600
14601
c370783e 14602static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14603 PyObject *resultobj = NULL;
d14a1e28
RD
14604 wxGrid *arg1 = (wxGrid *) 0 ;
14605 int result;
14606 PyObject * obj0 = 0 ;
14607 char *kwnames[] = {
14608 (char *) "self", NULL
14609 };
14610
14611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
14612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14613 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight();
14617
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
36ed4f51 14621 {
32fe5131 14622 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 14623 }
d14a1e28
RD
14624 return resultobj;
14625 fail:
14626 return NULL;
14627}
14628
14629
c370783e 14630static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14631 PyObject *resultobj = NULL;
d14a1e28
RD
14632 wxGrid *arg1 = (wxGrid *) 0 ;
14633 wxColour *arg2 = 0 ;
14634 wxColour temp2 ;
14635 PyObject * obj0 = 0 ;
14636 PyObject * obj1 = 0 ;
14637 char *kwnames[] = {
14638 (char *) "self","arg2", NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14643 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14644 {
14645 arg2 = &temp2;
14646 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14647 }
14648 {
14649 PyThreadState* __tstate = wxPyBeginAllowThreads();
14650 (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2);
14651
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 Py_INCREF(Py_None); resultobj = Py_None;
14656 return resultobj;
14657 fail:
14658 return NULL;
14659}
14660
14661
c370783e 14662static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14663 PyObject *resultobj = NULL;
d14a1e28
RD
14664 wxGrid *arg1 = (wxGrid *) 0 ;
14665 int arg2 ;
14666 int arg3 ;
14667 wxColour *arg4 = 0 ;
14668 wxColour temp4 ;
14669 PyObject * obj0 = 0 ;
8edf1c75
RD
14670 PyObject * obj1 = 0 ;
14671 PyObject * obj2 = 0 ;
d14a1e28
RD
14672 PyObject * obj3 = 0 ;
14673 char *kwnames[] = {
14674 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14675 };
14676
8edf1c75 14677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
14678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14679 if (SWIG_arg_fail(1)) SWIG_fail;
14680 {
32fe5131 14681 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14682 if (SWIG_arg_fail(2)) SWIG_fail;
14683 }
14684 {
32fe5131 14685 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14686 if (SWIG_arg_fail(3)) SWIG_fail;
14687 }
d14a1e28
RD
14688 {
14689 arg4 = &temp4;
14690 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
14691 }
14692 {
14693 PyThreadState* __tstate = wxPyBeginAllowThreads();
14694 (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4);
14695
14696 wxPyEndAllowThreads(__tstate);
14697 if (PyErr_Occurred()) SWIG_fail;
14698 }
14699 Py_INCREF(Py_None); resultobj = Py_None;
14700 return resultobj;
14701 fail:
14702 return NULL;
14703}
14704
14705
c370783e 14706static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14707 PyObject *resultobj = NULL;
d14a1e28
RD
14708 wxGrid *arg1 = (wxGrid *) 0 ;
14709 wxColour *arg2 = 0 ;
14710 wxColour temp2 ;
14711 PyObject * obj0 = 0 ;
14712 PyObject * obj1 = 0 ;
14713 char *kwnames[] = {
14714 (char *) "self","arg2", NULL
14715 };
14716
14717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14719 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14720 {
14721 arg2 = &temp2;
14722 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14723 }
14724 {
14725 PyThreadState* __tstate = wxPyBeginAllowThreads();
14726 (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2);
14727
14728 wxPyEndAllowThreads(__tstate);
14729 if (PyErr_Occurred()) SWIG_fail;
14730 }
14731 Py_INCREF(Py_None); resultobj = Py_None;
14732 return resultobj;
14733 fail:
14734 return NULL;
14735}
14736
14737
c370783e 14738static PyObject *_wrap_Grid_SetCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14739 PyObject *resultobj = NULL;
d14a1e28
RD
14740 wxGrid *arg1 = (wxGrid *) 0 ;
14741 int arg2 ;
14742 int arg3 ;
14743 wxColour *arg4 = 0 ;
14744 wxColour temp4 ;
14745 PyObject * obj0 = 0 ;
8edf1c75
RD
14746 PyObject * obj1 = 0 ;
14747 PyObject * obj2 = 0 ;
d14a1e28
RD
14748 PyObject * obj3 = 0 ;
14749 char *kwnames[] = {
14750 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14751 };
14752
8edf1c75 14753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellTextColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
14754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14755 if (SWIG_arg_fail(1)) SWIG_fail;
14756 {
32fe5131 14757 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14758 if (SWIG_arg_fail(2)) SWIG_fail;
14759 }
14760 {
32fe5131 14761 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14762 if (SWIG_arg_fail(3)) SWIG_fail;
14763 }
d14a1e28
RD
14764 {
14765 arg4 = &temp4;
14766 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
14767 }
14768 {
14769 PyThreadState* __tstate = wxPyBeginAllowThreads();
14770 (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4);
14771
14772 wxPyEndAllowThreads(__tstate);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 }
14775 Py_INCREF(Py_None); resultobj = Py_None;
14776 return resultobj;
14777 fail:
14778 return NULL;
14779}
14780
14781
c370783e 14782static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14783 PyObject *resultobj = NULL;
d14a1e28
RD
14784 wxGrid *arg1 = (wxGrid *) 0 ;
14785 wxFont *arg2 = 0 ;
14786 PyObject * obj0 = 0 ;
14787 PyObject * obj1 = 0 ;
14788 char *kwnames[] = {
14789 (char *) "self","arg2", NULL
14790 };
14791
14792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14794 if (SWIG_arg_fail(1)) SWIG_fail;
14795 {
14796 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
14797 if (SWIG_arg_fail(2)) SWIG_fail;
14798 if (arg2 == NULL) {
14799 SWIG_null_ref("wxFont");
14800 }
14801 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
14802 }
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 (arg1)->SetDefaultCellFont((wxFont const &)*arg2);
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 Py_INCREF(Py_None); resultobj = Py_None;
14811 return resultobj;
14812 fail:
14813 return NULL;
14814}
14815
14816
c370783e 14817static PyObject *_wrap_Grid_SetCellFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14818 PyObject *resultobj = NULL;
d14a1e28
RD
14819 wxGrid *arg1 = (wxGrid *) 0 ;
14820 int arg2 ;
14821 int arg3 ;
14822 wxFont *arg4 = 0 ;
14823 PyObject * obj0 = 0 ;
8edf1c75
RD
14824 PyObject * obj1 = 0 ;
14825 PyObject * obj2 = 0 ;
d14a1e28
RD
14826 PyObject * obj3 = 0 ;
14827 char *kwnames[] = {
14828 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
14829 };
14830
2f4c0a16 14831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellFont",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
14832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14833 if (SWIG_arg_fail(1)) SWIG_fail;
14834 {
32fe5131 14835 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14836 if (SWIG_arg_fail(2)) SWIG_fail;
14837 }
14838 {
32fe5131 14839 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14840 if (SWIG_arg_fail(3)) SWIG_fail;
14841 }
14842 {
14843 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
14844 if (SWIG_arg_fail(4)) SWIG_fail;
14845 if (arg4 == NULL) {
14846 SWIG_null_ref("wxFont");
14847 }
14848 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
14849 }
14850 {
14851 PyThreadState* __tstate = wxPyBeginAllowThreads();
14852 (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4);
14853
14854 wxPyEndAllowThreads(__tstate);
14855 if (PyErr_Occurred()) SWIG_fail;
14856 }
14857 Py_INCREF(Py_None); resultobj = Py_None;
14858 return resultobj;
14859 fail:
14860 return NULL;
14861}
14862
14863
c370783e 14864static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14865 PyObject *resultobj = NULL;
d14a1e28
RD
14866 wxGrid *arg1 = (wxGrid *) 0 ;
14867 int arg2 ;
14868 int arg3 ;
14869 PyObject * obj0 = 0 ;
8edf1c75
RD
14870 PyObject * obj1 = 0 ;
14871 PyObject * obj2 = 0 ;
d14a1e28
RD
14872 char *kwnames[] = {
14873 (char *) "self",(char *) "horiz",(char *) "vert", NULL
14874 };
14875
8edf1c75 14876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14878 if (SWIG_arg_fail(1)) SWIG_fail;
14879 {
32fe5131 14880 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14881 if (SWIG_arg_fail(2)) SWIG_fail;
14882 }
14883 {
32fe5131 14884 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14885 if (SWIG_arg_fail(3)) SWIG_fail;
14886 }
d14a1e28
RD
14887 {
14888 PyThreadState* __tstate = wxPyBeginAllowThreads();
14889 (arg1)->SetDefaultCellAlignment(arg2,arg3);
14890
14891 wxPyEndAllowThreads(__tstate);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 }
14894 Py_INCREF(Py_None); resultobj = Py_None;
14895 return resultobj;
14896 fail:
14897 return NULL;
14898}
14899
14900
c370783e 14901static PyObject *_wrap_Grid_SetCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14902 PyObject *resultobj = NULL;
d14a1e28
RD
14903 wxGrid *arg1 = (wxGrid *) 0 ;
14904 int arg2 ;
14905 int arg3 ;
14906 int arg4 ;
14907 int arg5 ;
14908 PyObject * obj0 = 0 ;
8edf1c75
RD
14909 PyObject * obj1 = 0 ;
14910 PyObject * obj2 = 0 ;
14911 PyObject * obj3 = 0 ;
14912 PyObject * obj4 = 0 ;
d14a1e28
RD
14913 char *kwnames[] = {
14914 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
14915 };
14916
8edf1c75 14917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellAlignment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
14918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14919 if (SWIG_arg_fail(1)) SWIG_fail;
14920 {
32fe5131 14921 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14922 if (SWIG_arg_fail(2)) SWIG_fail;
14923 }
14924 {
32fe5131 14925 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14926 if (SWIG_arg_fail(3)) SWIG_fail;
14927 }
14928 {
32fe5131 14929 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
14930 if (SWIG_arg_fail(4)) SWIG_fail;
14931 }
14932 {
32fe5131 14933 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
14934 if (SWIG_arg_fail(5)) SWIG_fail;
14935 }
d14a1e28
RD
14936 {
14937 PyThreadState* __tstate = wxPyBeginAllowThreads();
14938 (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5);
14939
14940 wxPyEndAllowThreads(__tstate);
14941 if (PyErr_Occurred()) SWIG_fail;
14942 }
14943 Py_INCREF(Py_None); resultobj = Py_None;
14944 return resultobj;
14945 fail:
14946 return NULL;
14947}
14948
14949
c370783e 14950static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14951 PyObject *resultobj = NULL;
d14a1e28
RD
14952 wxGrid *arg1 = (wxGrid *) 0 ;
14953 bool arg2 ;
14954 PyObject * obj0 = 0 ;
14955 PyObject * obj1 = 0 ;
14956 char *kwnames[] = {
14957 (char *) "self",(char *) "allow", NULL
14958 };
14959
14960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14962 if (SWIG_arg_fail(1)) SWIG_fail;
14963 {
32fe5131 14964 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
14965 if (SWIG_arg_fail(2)) SWIG_fail;
14966 }
d14a1e28
RD
14967 {
14968 PyThreadState* __tstate = wxPyBeginAllowThreads();
14969 (arg1)->SetDefaultCellOverflow(arg2);
14970
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 Py_INCREF(Py_None); resultobj = Py_None;
14975 return resultobj;
14976 fail:
14977 return NULL;
14978}
14979
14980
c370783e 14981static PyObject *_wrap_Grid_SetCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14982 PyObject *resultobj = NULL;
d14a1e28
RD
14983 wxGrid *arg1 = (wxGrid *) 0 ;
14984 int arg2 ;
14985 int arg3 ;
14986 bool arg4 ;
14987 PyObject * obj0 = 0 ;
8edf1c75
RD
14988 PyObject * obj1 = 0 ;
14989 PyObject * obj2 = 0 ;
d14a1e28
RD
14990 PyObject * obj3 = 0 ;
14991 char *kwnames[] = {
14992 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
14993 };
14994
8edf1c75 14995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellOverflow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
14996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
14997 if (SWIG_arg_fail(1)) SWIG_fail;
14998 {
32fe5131 14999 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15000 if (SWIG_arg_fail(2)) SWIG_fail;
15001 }
15002 {
32fe5131 15003 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15004 if (SWIG_arg_fail(3)) SWIG_fail;
15005 }
15006 {
32fe5131 15007 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
15008 if (SWIG_arg_fail(4)) SWIG_fail;
15009 }
d14a1e28
RD
15010 {
15011 PyThreadState* __tstate = wxPyBeginAllowThreads();
15012 (arg1)->SetCellOverflow(arg2,arg3,arg4);
15013
15014 wxPyEndAllowThreads(__tstate);
15015 if (PyErr_Occurred()) SWIG_fail;
15016 }
15017 Py_INCREF(Py_None); resultobj = Py_None;
15018 return resultobj;
15019 fail:
15020 return NULL;
15021}
15022
15023
c370783e 15024static PyObject *_wrap_Grid_SetCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15025 PyObject *resultobj = NULL;
d14a1e28
RD
15026 wxGrid *arg1 = (wxGrid *) 0 ;
15027 int arg2 ;
15028 int arg3 ;
15029 int arg4 ;
15030 int arg5 ;
15031 PyObject * obj0 = 0 ;
8edf1c75
RD
15032 PyObject * obj1 = 0 ;
15033 PyObject * obj2 = 0 ;
15034 PyObject * obj3 = 0 ;
15035 PyObject * obj4 = 0 ;
d14a1e28
RD
15036 char *kwnames[] = {
15037 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
15038 };
15039
8edf1c75 15040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
15041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15042 if (SWIG_arg_fail(1)) SWIG_fail;
15043 {
32fe5131 15044 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15045 if (SWIG_arg_fail(2)) SWIG_fail;
15046 }
15047 {
32fe5131 15048 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15049 if (SWIG_arg_fail(3)) SWIG_fail;
15050 }
15051 {
32fe5131 15052 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
15053 if (SWIG_arg_fail(4)) SWIG_fail;
15054 }
15055 {
32fe5131 15056 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
15057 if (SWIG_arg_fail(5)) SWIG_fail;
15058 }
d14a1e28
RD
15059 {
15060 PyThreadState* __tstate = wxPyBeginAllowThreads();
15061 (arg1)->SetCellSize(arg2,arg3,arg4,arg5);
15062
15063 wxPyEndAllowThreads(__tstate);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 Py_INCREF(Py_None); resultobj = Py_None;
15067 return resultobj;
15068 fail:
15069 return NULL;
15070}
15071
15072
c370783e 15073static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15074 PyObject *resultobj = NULL;
d14a1e28
RD
15075 wxGrid *arg1 = (wxGrid *) 0 ;
15076 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
15077 PyObject * obj0 = 0 ;
15078 PyObject * obj1 = 0 ;
15079 char *kwnames[] = {
15080 (char *) "self",(char *) "renderer", NULL
15081 };
15082
15083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15085 if (SWIG_arg_fail(1)) SWIG_fail;
15086 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellRenderer, SWIG_POINTER_EXCEPTION | 0);
15087 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15088 {
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 (arg1)->SetDefaultRenderer(arg2);
15091
15092 wxPyEndAllowThreads(__tstate);
15093 if (PyErr_Occurred()) SWIG_fail;
15094 }
15095 Py_INCREF(Py_None); resultobj = Py_None;
15096 return resultobj;
15097 fail:
15098 return NULL;
15099}
15100
15101
c370783e 15102static PyObject *_wrap_Grid_SetCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15103 PyObject *resultobj = NULL;
d14a1e28
RD
15104 wxGrid *arg1 = (wxGrid *) 0 ;
15105 int arg2 ;
15106 int arg3 ;
15107 wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ;
15108 PyObject * obj0 = 0 ;
8edf1c75
RD
15109 PyObject * obj1 = 0 ;
15110 PyObject * obj2 = 0 ;
d14a1e28
RD
15111 PyObject * obj3 = 0 ;
15112 char *kwnames[] = {
15113 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
15114 };
15115
8edf1c75 15116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
15117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15118 if (SWIG_arg_fail(1)) SWIG_fail;
15119 {
32fe5131 15120 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15121 if (SWIG_arg_fail(2)) SWIG_fail;
15122 }
15123 {
32fe5131 15124 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15125 if (SWIG_arg_fail(3)) SWIG_fail;
15126 }
15127 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGridCellRenderer, SWIG_POINTER_EXCEPTION | 0);
15128 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 (arg1)->SetCellRenderer(arg2,arg3,arg4);
15132
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 Py_INCREF(Py_None); resultobj = Py_None;
15137 return resultobj;
15138 fail:
15139 return NULL;
15140}
15141
15142
c370783e 15143static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15144 PyObject *resultobj = NULL;
d14a1e28
RD
15145 wxGrid *arg1 = (wxGrid *) 0 ;
15146 wxGridCellRenderer *result;
15147 PyObject * obj0 = 0 ;
15148 char *kwnames[] = {
15149 (char *) "self", NULL
15150 };
15151
15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail;
36ed4f51
RD
15153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15154 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15155 {
15156 PyThreadState* __tstate = wxPyBeginAllowThreads();
15157 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer();
15158
15159 wxPyEndAllowThreads(__tstate);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
15162 {
7e08d4ef 15163 resultobj = wxPyMake_wxGridCellRenderer(result, (bool)0);
d14a1e28
RD
15164 }
15165 return resultobj;
15166 fail:
15167 return NULL;
15168}
15169
15170
c370783e 15171static PyObject *_wrap_Grid_GetCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15172 PyObject *resultobj = NULL;
d14a1e28
RD
15173 wxGrid *arg1 = (wxGrid *) 0 ;
15174 int arg2 ;
15175 int arg3 ;
15176 wxGridCellRenderer *result;
15177 PyObject * obj0 = 0 ;
8edf1c75
RD
15178 PyObject * obj1 = 0 ;
15179 PyObject * obj2 = 0 ;
d14a1e28
RD
15180 char *kwnames[] = {
15181 (char *) "self",(char *) "row",(char *) "col", NULL
15182 };
15183
8edf1c75 15184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellRenderer",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15186 if (SWIG_arg_fail(1)) SWIG_fail;
15187 {
32fe5131 15188 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15189 if (SWIG_arg_fail(2)) SWIG_fail;
15190 }
15191 {
32fe5131 15192 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15193 if (SWIG_arg_fail(3)) SWIG_fail;
15194 }
d14a1e28
RD
15195 {
15196 PyThreadState* __tstate = wxPyBeginAllowThreads();
15197 result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3);
15198
15199 wxPyEndAllowThreads(__tstate);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 }
15202 {
7e08d4ef 15203 resultobj = wxPyMake_wxGridCellRenderer(result, (bool)0);
d14a1e28
RD
15204 }
15205 return resultobj;
15206 fail:
15207 return NULL;
15208}
15209
15210
c370783e 15211static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15212 PyObject *resultobj = NULL;
d14a1e28
RD
15213 wxGrid *arg1 = (wxGrid *) 0 ;
15214 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
15215 PyObject * obj0 = 0 ;
15216 PyObject * obj1 = 0 ;
15217 char *kwnames[] = {
15218 (char *) "self",(char *) "editor", NULL
15219 };
15220
15221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15223 if (SWIG_arg_fail(1)) SWIG_fail;
15224 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
15225 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15226 {
15227 PyThreadState* __tstate = wxPyBeginAllowThreads();
15228 (arg1)->SetDefaultEditor(arg2);
15229
15230 wxPyEndAllowThreads(__tstate);
15231 if (PyErr_Occurred()) SWIG_fail;
15232 }
15233 Py_INCREF(Py_None); resultobj = Py_None;
15234 return resultobj;
15235 fail:
15236 return NULL;
15237}
15238
15239
c370783e 15240static PyObject *_wrap_Grid_SetCellEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15241 PyObject *resultobj = NULL;
d14a1e28
RD
15242 wxGrid *arg1 = (wxGrid *) 0 ;
15243 int arg2 ;
15244 int arg3 ;
15245 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
15246 PyObject * obj0 = 0 ;
8edf1c75
RD
15247 PyObject * obj1 = 0 ;
15248 PyObject * obj2 = 0 ;
d14a1e28
RD
15249 PyObject * obj3 = 0 ;
15250 char *kwnames[] = {
15251 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
15252 };
15253
8edf1c75 15254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
15255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15256 if (SWIG_arg_fail(1)) SWIG_fail;
15257 {
32fe5131 15258 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15259 if (SWIG_arg_fail(2)) SWIG_fail;
15260 }
15261 {
32fe5131 15262 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15263 if (SWIG_arg_fail(3)) SWIG_fail;
15264 }
15265 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
15266 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
15267 {
15268 PyThreadState* __tstate = wxPyBeginAllowThreads();
15269 (arg1)->SetCellEditor(arg2,arg3,arg4);
15270
15271 wxPyEndAllowThreads(__tstate);
15272 if (PyErr_Occurred()) SWIG_fail;
15273 }
15274 Py_INCREF(Py_None); resultobj = Py_None;
15275 return resultobj;
15276 fail:
15277 return NULL;
15278}
15279
15280
c370783e 15281static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15282 PyObject *resultobj = NULL;
d14a1e28
RD
15283 wxGrid *arg1 = (wxGrid *) 0 ;
15284 wxGridCellEditor *result;
15285 PyObject * obj0 = 0 ;
15286 char *kwnames[] = {
15287 (char *) "self", NULL
15288 };
15289
15290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail;
36ed4f51
RD
15291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15292 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15293 {
15294 PyThreadState* __tstate = wxPyBeginAllowThreads();
15295 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor();
15296
15297 wxPyEndAllowThreads(__tstate);
15298 if (PyErr_Occurred()) SWIG_fail;
15299 }
15300 {
7e08d4ef 15301 resultobj = wxPyMake_wxGridCellEditor(result, (bool)0);
d14a1e28
RD
15302 }
15303 return resultobj;
15304 fail:
15305 return NULL;
15306}
15307
15308
c370783e 15309static PyObject *_wrap_Grid_GetCellEditor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15310 PyObject *resultobj = NULL;
d14a1e28
RD
15311 wxGrid *arg1 = (wxGrid *) 0 ;
15312 int arg2 ;
15313 int arg3 ;
15314 wxGridCellEditor *result;
15315 PyObject * obj0 = 0 ;
8edf1c75
RD
15316 PyObject * obj1 = 0 ;
15317 PyObject * obj2 = 0 ;
d14a1e28
RD
15318 char *kwnames[] = {
15319 (char *) "self",(char *) "row",(char *) "col", NULL
15320 };
15321
8edf1c75 15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellEditor",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15324 if (SWIG_arg_fail(1)) SWIG_fail;
15325 {
32fe5131 15326 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15327 if (SWIG_arg_fail(2)) SWIG_fail;
15328 }
15329 {
32fe5131 15330 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15331 if (SWIG_arg_fail(3)) SWIG_fail;
15332 }
d14a1e28
RD
15333 {
15334 PyThreadState* __tstate = wxPyBeginAllowThreads();
15335 result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3);
15336
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 {
7e08d4ef 15341 resultobj = wxPyMake_wxGridCellEditor(result, (bool)0);
d14a1e28
RD
15342 }
15343 return resultobj;
15344 fail:
15345 return NULL;
15346}
15347
15348
c370783e 15349static PyObject *_wrap_Grid_GetCellValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15350 PyObject *resultobj = NULL;
d14a1e28
RD
15351 wxGrid *arg1 = (wxGrid *) 0 ;
15352 int arg2 ;
15353 int arg3 ;
15354 wxString result;
15355 PyObject * obj0 = 0 ;
8edf1c75
RD
15356 PyObject * obj1 = 0 ;
15357 PyObject * obj2 = 0 ;
d14a1e28
RD
15358 char *kwnames[] = {
15359 (char *) "self",(char *) "row",(char *) "col", NULL
15360 };
15361
8edf1c75 15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15364 if (SWIG_arg_fail(1)) SWIG_fail;
15365 {
32fe5131 15366 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15367 if (SWIG_arg_fail(2)) SWIG_fail;
15368 }
15369 {
32fe5131 15370 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15371 if (SWIG_arg_fail(3)) SWIG_fail;
15372 }
d14a1e28
RD
15373 {
15374 PyThreadState* __tstate = wxPyBeginAllowThreads();
15375 result = (arg1)->GetCellValue(arg2,arg3);
15376
15377 wxPyEndAllowThreads(__tstate);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 }
15380 {
15381#if wxUSE_UNICODE
15382 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15383#else
15384 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15385#endif
15386 }
15387 return resultobj;
15388 fail:
15389 return NULL;
15390}
15391
15392
c370783e 15393static PyObject *_wrap_Grid_SetCellValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15394 PyObject *resultobj = NULL;
d14a1e28
RD
15395 wxGrid *arg1 = (wxGrid *) 0 ;
15396 int arg2 ;
15397 int arg3 ;
15398 wxString *arg4 = 0 ;
b411df4a 15399 bool temp4 = false ;
d14a1e28 15400 PyObject * obj0 = 0 ;
8edf1c75
RD
15401 PyObject * obj1 = 0 ;
15402 PyObject * obj2 = 0 ;
d14a1e28
RD
15403 PyObject * obj3 = 0 ;
15404 char *kwnames[] = {
15405 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
15406 };
15407
8edf1c75 15408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
15409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15410 if (SWIG_arg_fail(1)) SWIG_fail;
15411 {
32fe5131 15412 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15413 if (SWIG_arg_fail(2)) SWIG_fail;
15414 }
15415 {
32fe5131 15416 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15417 if (SWIG_arg_fail(3)) SWIG_fail;
15418 }
d14a1e28
RD
15419 {
15420 arg4 = wxString_in_helper(obj3);
15421 if (arg4 == NULL) SWIG_fail;
b411df4a 15422 temp4 = true;
d14a1e28
RD
15423 }
15424 {
15425 PyThreadState* __tstate = wxPyBeginAllowThreads();
15426 (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4);
15427
15428 wxPyEndAllowThreads(__tstate);
15429 if (PyErr_Occurred()) SWIG_fail;
15430 }
15431 Py_INCREF(Py_None); resultobj = Py_None;
15432 {
15433 if (temp4)
15434 delete arg4;
15435 }
15436 return resultobj;
15437 fail:
15438 {
15439 if (temp4)
15440 delete arg4;
15441 }
15442 return NULL;
15443}
15444
15445
c370783e 15446static PyObject *_wrap_Grid_IsReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15447 PyObject *resultobj = NULL;
d14a1e28
RD
15448 wxGrid *arg1 = (wxGrid *) 0 ;
15449 int arg2 ;
15450 int arg3 ;
15451 bool result;
15452 PyObject * obj0 = 0 ;
8edf1c75
RD
15453 PyObject * obj1 = 0 ;
15454 PyObject * obj2 = 0 ;
d14a1e28
RD
15455 char *kwnames[] = {
15456 (char *) "self",(char *) "row",(char *) "col", NULL
15457 };
15458
8edf1c75 15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsReadOnly",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15461 if (SWIG_arg_fail(1)) SWIG_fail;
15462 {
32fe5131 15463 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15464 if (SWIG_arg_fail(2)) SWIG_fail;
15465 }
15466 {
32fe5131 15467 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15468 if (SWIG_arg_fail(3)) SWIG_fail;
15469 }
d14a1e28
RD
15470 {
15471 PyThreadState* __tstate = wxPyBeginAllowThreads();
15472 result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3);
15473
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
fbc46b20
RD
15477 {
15478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15479 }
d14a1e28
RD
15480 return resultobj;
15481 fail:
15482 return NULL;
15483}
15484
15485
c370783e 15486static PyObject *_wrap_Grid_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15487 PyObject *resultobj = NULL;
d14a1e28
RD
15488 wxGrid *arg1 = (wxGrid *) 0 ;
15489 int arg2 ;
15490 int arg3 ;
b411df4a 15491 bool arg4 = (bool) true ;
d14a1e28 15492 PyObject * obj0 = 0 ;
8edf1c75
RD
15493 PyObject * obj1 = 0 ;
15494 PyObject * obj2 = 0 ;
d14a1e28
RD
15495 PyObject * obj3 = 0 ;
15496 char *kwnames[] = {
15497 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
15498 };
15499
8edf1c75 15500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_SetReadOnly",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
15501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15502 if (SWIG_arg_fail(1)) SWIG_fail;
15503 {
32fe5131 15504 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15505 if (SWIG_arg_fail(2)) SWIG_fail;
15506 }
15507 {
32fe5131 15508 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15509 if (SWIG_arg_fail(3)) SWIG_fail;
15510 }
d14a1e28 15511 if (obj3) {
36ed4f51 15512 {
32fe5131 15513 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
15514 if (SWIG_arg_fail(4)) SWIG_fail;
15515 }
d14a1e28
RD
15516 }
15517 {
15518 PyThreadState* __tstate = wxPyBeginAllowThreads();
15519 (arg1)->SetReadOnly(arg2,arg3,arg4);
15520
15521 wxPyEndAllowThreads(__tstate);
15522 if (PyErr_Occurred()) SWIG_fail;
15523 }
15524 Py_INCREF(Py_None); resultobj = Py_None;
15525 return resultobj;
15526 fail:
15527 return NULL;
15528}
15529
15530
c370783e 15531static PyObject *_wrap_Grid_SelectRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15532 PyObject *resultobj = NULL;
d14a1e28
RD
15533 wxGrid *arg1 = (wxGrid *) 0 ;
15534 int arg2 ;
b411df4a 15535 bool arg3 = (bool) false ;
d14a1e28 15536 PyObject * obj0 = 0 ;
8edf1c75 15537 PyObject * obj1 = 0 ;
d14a1e28
RD
15538 PyObject * obj2 = 0 ;
15539 char *kwnames[] = {
15540 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
15541 };
15542
8edf1c75 15543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15545 if (SWIG_arg_fail(1)) SWIG_fail;
15546 {
32fe5131 15547 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15548 if (SWIG_arg_fail(2)) SWIG_fail;
15549 }
d14a1e28 15550 if (obj2) {
36ed4f51 15551 {
32fe5131 15552 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
15553 if (SWIG_arg_fail(3)) SWIG_fail;
15554 }
d14a1e28
RD
15555 }
15556 {
15557 PyThreadState* __tstate = wxPyBeginAllowThreads();
15558 (arg1)->SelectRow(arg2,arg3);
15559
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 Py_INCREF(Py_None); resultobj = Py_None;
15564 return resultobj;
15565 fail:
15566 return NULL;
15567}
15568
15569
c370783e 15570static PyObject *_wrap_Grid_SelectCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15571 PyObject *resultobj = NULL;
d14a1e28
RD
15572 wxGrid *arg1 = (wxGrid *) 0 ;
15573 int arg2 ;
b411df4a 15574 bool arg3 = (bool) false ;
d14a1e28 15575 PyObject * obj0 = 0 ;
8edf1c75 15576 PyObject * obj1 = 0 ;
d14a1e28
RD
15577 PyObject * obj2 = 0 ;
15578 char *kwnames[] = {
15579 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
15580 };
15581
8edf1c75 15582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15584 if (SWIG_arg_fail(1)) SWIG_fail;
15585 {
32fe5131 15586 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15587 if (SWIG_arg_fail(2)) SWIG_fail;
15588 }
d14a1e28 15589 if (obj2) {
36ed4f51 15590 {
32fe5131 15591 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
15592 if (SWIG_arg_fail(3)) SWIG_fail;
15593 }
d14a1e28
RD
15594 }
15595 {
15596 PyThreadState* __tstate = wxPyBeginAllowThreads();
15597 (arg1)->SelectCol(arg2,arg3);
15598
15599 wxPyEndAllowThreads(__tstate);
15600 if (PyErr_Occurred()) SWIG_fail;
15601 }
15602 Py_INCREF(Py_None); resultobj = Py_None;
15603 return resultobj;
15604 fail:
15605 return NULL;
15606}
15607
15608
c370783e 15609static PyObject *_wrap_Grid_SelectBlock(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15610 PyObject *resultobj = NULL;
d14a1e28
RD
15611 wxGrid *arg1 = (wxGrid *) 0 ;
15612 int arg2 ;
15613 int arg3 ;
15614 int arg4 ;
15615 int arg5 ;
b411df4a 15616 bool arg6 = (bool) false ;
d14a1e28 15617 PyObject * obj0 = 0 ;
8edf1c75
RD
15618 PyObject * obj1 = 0 ;
15619 PyObject * obj2 = 0 ;
15620 PyObject * obj3 = 0 ;
15621 PyObject * obj4 = 0 ;
d14a1e28
RD
15622 PyObject * obj5 = 0 ;
15623 char *kwnames[] = {
15624 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
15625 };
15626
8edf1c75 15627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Grid_SelectBlock",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
15628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15629 if (SWIG_arg_fail(1)) SWIG_fail;
15630 {
32fe5131 15631 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15632 if (SWIG_arg_fail(2)) SWIG_fail;
15633 }
15634 {
32fe5131 15635 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15636 if (SWIG_arg_fail(3)) SWIG_fail;
15637 }
15638 {
32fe5131 15639 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
15640 if (SWIG_arg_fail(4)) SWIG_fail;
15641 }
15642 {
32fe5131 15643 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
15644 if (SWIG_arg_fail(5)) SWIG_fail;
15645 }
d14a1e28 15646 if (obj5) {
36ed4f51 15647 {
32fe5131 15648 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
36ed4f51
RD
15649 if (SWIG_arg_fail(6)) SWIG_fail;
15650 }
d14a1e28
RD
15651 }
15652 {
15653 PyThreadState* __tstate = wxPyBeginAllowThreads();
15654 (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6);
15655
15656 wxPyEndAllowThreads(__tstate);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
15659 Py_INCREF(Py_None); resultobj = Py_None;
15660 return resultobj;
15661 fail:
15662 return NULL;
15663}
15664
15665
c370783e 15666static PyObject *_wrap_Grid_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15667 PyObject *resultobj = NULL;
d14a1e28
RD
15668 wxGrid *arg1 = (wxGrid *) 0 ;
15669 PyObject * obj0 = 0 ;
15670 char *kwnames[] = {
15671 (char *) "self", NULL
15672 };
15673
15674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
15675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15676 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15677 {
15678 PyThreadState* __tstate = wxPyBeginAllowThreads();
15679 (arg1)->SelectAll();
15680
15681 wxPyEndAllowThreads(__tstate);
15682 if (PyErr_Occurred()) SWIG_fail;
15683 }
15684 Py_INCREF(Py_None); resultobj = Py_None;
15685 return resultobj;
15686 fail:
15687 return NULL;
15688}
15689
15690
c370783e 15691static PyObject *_wrap_Grid_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15692 PyObject *resultobj = NULL;
d14a1e28
RD
15693 wxGrid *arg1 = (wxGrid *) 0 ;
15694 bool result;
15695 PyObject * obj0 = 0 ;
15696 char *kwnames[] = {
15697 (char *) "self", NULL
15698 };
15699
15700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
15701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15702 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15703 {
15704 PyThreadState* __tstate = wxPyBeginAllowThreads();
15705 result = (bool)(arg1)->IsSelection();
15706
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
fbc46b20
RD
15710 {
15711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15712 }
d14a1e28
RD
15713 return resultobj;
15714 fail:
15715 return NULL;
15716}
15717
15718
c370783e 15719static PyObject *_wrap_Grid_ClearSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15720 PyObject *resultobj = NULL;
d14a1e28
RD
15721 wxGrid *arg1 = (wxGrid *) 0 ;
15722 PyObject * obj0 = 0 ;
15723 char *kwnames[] = {
15724 (char *) "self", NULL
15725 };
15726
15727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
15728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15729 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15730 {
15731 PyThreadState* __tstate = wxPyBeginAllowThreads();
15732 (arg1)->ClearSelection();
15733
15734 wxPyEndAllowThreads(__tstate);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 }
15737 Py_INCREF(Py_None); resultobj = Py_None;
15738 return resultobj;
15739 fail:
15740 return NULL;
15741}
15742
15743
c370783e 15744static PyObject *_wrap_Grid_IsInSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15745 PyObject *resultobj = NULL;
d14a1e28
RD
15746 wxGrid *arg1 = (wxGrid *) 0 ;
15747 int arg2 ;
15748 int arg3 ;
15749 bool result;
15750 PyObject * obj0 = 0 ;
8edf1c75
RD
15751 PyObject * obj1 = 0 ;
15752 PyObject * obj2 = 0 ;
d14a1e28
RD
15753 char *kwnames[] = {
15754 (char *) "self",(char *) "row",(char *) "col", NULL
15755 };
15756
8edf1c75 15757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsInSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15759 if (SWIG_arg_fail(1)) SWIG_fail;
15760 {
32fe5131 15761 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15762 if (SWIG_arg_fail(2)) SWIG_fail;
15763 }
15764 {
32fe5131 15765 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15766 if (SWIG_arg_fail(3)) SWIG_fail;
15767 }
d14a1e28
RD
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 result = (bool)(arg1)->IsInSelection(arg2,arg3);
15771
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
fbc46b20
RD
15775 {
15776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15777 }
d14a1e28
RD
15778 return resultobj;
15779 fail:
15780 return NULL;
15781}
15782
15783
c370783e 15784static PyObject *_wrap_Grid_GetSelectedCells(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15785 PyObject *resultobj = NULL;
d14a1e28
RD
15786 wxGrid *arg1 = (wxGrid *) 0 ;
15787 wxGridCellCoordsArray result;
15788 PyObject * obj0 = 0 ;
15789 char *kwnames[] = {
15790 (char *) "self", NULL
15791 };
15792
15793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail;
36ed4f51
RD
15794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15795 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15796 {
15797 PyThreadState* __tstate = wxPyBeginAllowThreads();
15798 result = ((wxGrid const *)arg1)->GetSelectedCells();
15799
15800 wxPyEndAllowThreads(__tstate);
15801 if (PyErr_Occurred()) SWIG_fail;
15802 }
15803 {
15804 resultobj = wxGridCellCoordsArray_helper(result);
15805 }
15806 return resultobj;
15807 fail:
15808 return NULL;
15809}
15810
15811
c370783e 15812static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15813 PyObject *resultobj = NULL;
d14a1e28
RD
15814 wxGrid *arg1 = (wxGrid *) 0 ;
15815 wxGridCellCoordsArray result;
15816 PyObject * obj0 = 0 ;
15817 char *kwnames[] = {
15818 (char *) "self", NULL
15819 };
15820
15821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail;
36ed4f51
RD
15822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15823 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft();
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 {
15832 resultobj = wxGridCellCoordsArray_helper(result);
15833 }
15834 return resultobj;
15835 fail:
15836 return NULL;
15837}
15838
15839
c370783e 15840static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15841 PyObject *resultobj = NULL;
d14a1e28
RD
15842 wxGrid *arg1 = (wxGrid *) 0 ;
15843 wxGridCellCoordsArray result;
15844 PyObject * obj0 = 0 ;
15845 char *kwnames[] = {
15846 (char *) "self", NULL
15847 };
15848
15849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail;
36ed4f51
RD
15850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15851 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15852 {
15853 PyThreadState* __tstate = wxPyBeginAllowThreads();
15854 result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight();
15855
15856 wxPyEndAllowThreads(__tstate);
15857 if (PyErr_Occurred()) SWIG_fail;
15858 }
15859 {
15860 resultobj = wxGridCellCoordsArray_helper(result);
15861 }
15862 return resultobj;
15863 fail:
15864 return NULL;
15865}
15866
15867
c370783e 15868static PyObject *_wrap_Grid_GetSelectedRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15869 PyObject *resultobj = NULL;
d14a1e28
RD
15870 wxGrid *arg1 = (wxGrid *) 0 ;
15871 wxArrayInt result;
15872 PyObject * obj0 = 0 ;
15873 char *kwnames[] = {
15874 (char *) "self", NULL
15875 };
15876
15877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail;
36ed4f51
RD
15878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15879 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15880 {
15881 PyThreadState* __tstate = wxPyBeginAllowThreads();
15882 result = ((wxGrid const *)arg1)->GetSelectedRows();
15883
15884 wxPyEndAllowThreads(__tstate);
15885 if (PyErr_Occurred()) SWIG_fail;
15886 }
15887 {
15888 resultobj = PyList_New(0);
15889 size_t idx;
15890 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
15891 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
15892 PyList_Append(resultobj, val);
15893 Py_DECREF(val);
15894 }
15895 }
15896 return resultobj;
15897 fail:
15898 return NULL;
15899}
15900
15901
c370783e 15902static PyObject *_wrap_Grid_GetSelectedCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15903 PyObject *resultobj = NULL;
d14a1e28
RD
15904 wxGrid *arg1 = (wxGrid *) 0 ;
15905 wxArrayInt result;
15906 PyObject * obj0 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail;
36ed4f51
RD
15912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15913 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15914 {
15915 PyThreadState* __tstate = wxPyBeginAllowThreads();
15916 result = ((wxGrid const *)arg1)->GetSelectedCols();
15917
15918 wxPyEndAllowThreads(__tstate);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
15921 {
15922 resultobj = PyList_New(0);
15923 size_t idx;
15924 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
15925 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
15926 PyList_Append(resultobj, val);
15927 Py_DECREF(val);
15928 }
15929 }
15930 return resultobj;
15931 fail:
15932 return NULL;
15933}
15934
15935
c370783e 15936static PyObject *_wrap_Grid_DeselectRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15937 PyObject *resultobj = NULL;
d14a1e28
RD
15938 wxGrid *arg1 = (wxGrid *) 0 ;
15939 int arg2 ;
15940 PyObject * obj0 = 0 ;
8edf1c75 15941 PyObject * obj1 = 0 ;
d14a1e28
RD
15942 char *kwnames[] = {
15943 (char *) "self",(char *) "row", NULL
15944 };
15945
8edf1c75 15946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectRow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15948 if (SWIG_arg_fail(1)) SWIG_fail;
15949 {
32fe5131 15950 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15951 if (SWIG_arg_fail(2)) SWIG_fail;
15952 }
d14a1e28
RD
15953 {
15954 PyThreadState* __tstate = wxPyBeginAllowThreads();
15955 (arg1)->DeselectRow(arg2);
15956
15957 wxPyEndAllowThreads(__tstate);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 }
15960 Py_INCREF(Py_None); resultobj = Py_None;
15961 return resultobj;
15962 fail:
15963 return NULL;
15964}
15965
15966
c370783e 15967static PyObject *_wrap_Grid_DeselectCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15968 PyObject *resultobj = NULL;
d14a1e28
RD
15969 wxGrid *arg1 = (wxGrid *) 0 ;
15970 int arg2 ;
15971 PyObject * obj0 = 0 ;
8edf1c75 15972 PyObject * obj1 = 0 ;
d14a1e28
RD
15973 char *kwnames[] = {
15974 (char *) "self",(char *) "col", NULL
15975 };
15976
8edf1c75 15977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectCol",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
15979 if (SWIG_arg_fail(1)) SWIG_fail;
15980 {
32fe5131 15981 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15982 if (SWIG_arg_fail(2)) SWIG_fail;
15983 }
d14a1e28
RD
15984 {
15985 PyThreadState* __tstate = wxPyBeginAllowThreads();
15986 (arg1)->DeselectCol(arg2);
15987
15988 wxPyEndAllowThreads(__tstate);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 }
15991 Py_INCREF(Py_None); resultobj = Py_None;
15992 return resultobj;
15993 fail:
15994 return NULL;
15995}
15996
15997
c370783e 15998static PyObject *_wrap_Grid_DeselectCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15999 PyObject *resultobj = NULL;
d14a1e28
RD
16000 wxGrid *arg1 = (wxGrid *) 0 ;
16001 int arg2 ;
16002 int arg3 ;
16003 PyObject * obj0 = 0 ;
8edf1c75
RD
16004 PyObject * obj1 = 0 ;
16005 PyObject * obj2 = 0 ;
d14a1e28
RD
16006 char *kwnames[] = {
16007 (char *) "self",(char *) "row",(char *) "col", NULL
16008 };
16009
8edf1c75 16010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DeselectCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16012 if (SWIG_arg_fail(1)) SWIG_fail;
16013 {
32fe5131 16014 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16015 if (SWIG_arg_fail(2)) SWIG_fail;
16016 }
16017 {
32fe5131 16018 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
16019 if (SWIG_arg_fail(3)) SWIG_fail;
16020 }
d14a1e28
RD
16021 {
16022 PyThreadState* __tstate = wxPyBeginAllowThreads();
16023 (arg1)->DeselectCell(arg2,arg3);
16024
16025 wxPyEndAllowThreads(__tstate);
16026 if (PyErr_Occurred()) SWIG_fail;
16027 }
16028 Py_INCREF(Py_None); resultobj = Py_None;
16029 return resultobj;
16030 fail:
16031 return NULL;
16032}
16033
16034
c370783e 16035static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16036 PyObject *resultobj = NULL;
d14a1e28
RD
16037 wxGrid *arg1 = (wxGrid *) 0 ;
16038 wxGridCellCoords *arg2 = 0 ;
16039 wxGridCellCoords *arg3 = 0 ;
16040 wxRect result;
16041 wxGridCellCoords temp2 ;
16042 wxGridCellCoords temp3 ;
16043 PyObject * obj0 = 0 ;
16044 PyObject * obj1 = 0 ;
16045 PyObject * obj2 = 0 ;
16046 char *kwnames[] = {
16047 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
16048 };
16049
16050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16052 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16053 {
16054 arg2 = &temp2;
16055 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
16056 }
16057 {
16058 arg3 = &temp3;
16059 if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail;
16060 }
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3);
16064
16065 wxPyEndAllowThreads(__tstate);
16066 if (PyErr_Occurred()) SWIG_fail;
16067 }
16068 {
16069 wxRect * resultptr;
32fe5131 16070 resultptr = new wxRect(static_cast<wxRect & >(result));
2f4c0a16 16071 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16072 }
16073 return resultobj;
16074 fail:
16075 return NULL;
16076}
16077
16078
c370783e 16079static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16080 PyObject *resultobj = NULL;
d14a1e28
RD
16081 wxGrid *arg1 = (wxGrid *) 0 ;
16082 wxColour result;
16083 PyObject * obj0 = 0 ;
16084 char *kwnames[] = {
16085 (char *) "self", NULL
16086 };
16087
16088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail;
36ed4f51
RD
16089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16090 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16091 {
16092 PyThreadState* __tstate = wxPyBeginAllowThreads();
16093 result = ((wxGrid const *)arg1)->GetSelectionBackground();
16094
16095 wxPyEndAllowThreads(__tstate);
16096 if (PyErr_Occurred()) SWIG_fail;
16097 }
16098 {
16099 wxColour * resultptr;
32fe5131 16100 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 16101 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
16102 }
16103 return resultobj;
16104 fail:
16105 return NULL;
16106}
16107
16108
c370783e 16109static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16110 PyObject *resultobj = NULL;
d14a1e28
RD
16111 wxGrid *arg1 = (wxGrid *) 0 ;
16112 wxColour result;
16113 PyObject * obj0 = 0 ;
16114 char *kwnames[] = {
16115 (char *) "self", NULL
16116 };
16117
16118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail;
36ed4f51
RD
16119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16120 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16121 {
16122 PyThreadState* __tstate = wxPyBeginAllowThreads();
16123 result = ((wxGrid const *)arg1)->GetSelectionForeground();
16124
16125 wxPyEndAllowThreads(__tstate);
16126 if (PyErr_Occurred()) SWIG_fail;
16127 }
16128 {
16129 wxColour * resultptr;
32fe5131 16130 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 16131 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
16132 }
16133 return resultobj;
16134 fail:
16135 return NULL;
16136}
16137
16138
c370783e 16139static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16140 PyObject *resultobj = NULL;
d14a1e28
RD
16141 wxGrid *arg1 = (wxGrid *) 0 ;
16142 wxColour *arg2 = 0 ;
16143 wxColour temp2 ;
16144 PyObject * obj0 = 0 ;
16145 PyObject * obj1 = 0 ;
16146 char *kwnames[] = {
16147 (char *) "self",(char *) "c", NULL
16148 };
16149
16150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16152 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16153 {
16154 arg2 = &temp2;
16155 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16156 }
16157 {
16158 PyThreadState* __tstate = wxPyBeginAllowThreads();
16159 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
16160
16161 wxPyEndAllowThreads(__tstate);
16162 if (PyErr_Occurred()) SWIG_fail;
16163 }
16164 Py_INCREF(Py_None); resultobj = Py_None;
16165 return resultobj;
16166 fail:
16167 return NULL;
16168}
16169
16170
c370783e 16171static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16172 PyObject *resultobj = NULL;
d14a1e28
RD
16173 wxGrid *arg1 = (wxGrid *) 0 ;
16174 wxColour *arg2 = 0 ;
16175 wxColour temp2 ;
16176 PyObject * obj0 = 0 ;
16177 PyObject * obj1 = 0 ;
16178 char *kwnames[] = {
16179 (char *) "self",(char *) "c", NULL
16180 };
16181
16182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16184 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16185 {
16186 arg2 = &temp2;
16187 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16188 }
16189 {
16190 PyThreadState* __tstate = wxPyBeginAllowThreads();
16191 (arg1)->SetSelectionForeground((wxColour const &)*arg2);
16192
16193 wxPyEndAllowThreads(__tstate);
16194 if (PyErr_Occurred()) SWIG_fail;
16195 }
16196 Py_INCREF(Py_None); resultobj = Py_None;
16197 return resultobj;
16198 fail:
16199 return NULL;
16200}
16201
16202
c370783e 16203static PyObject *_wrap_Grid_RegisterDataType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16204 PyObject *resultobj = NULL;
d14a1e28
RD
16205 wxGrid *arg1 = (wxGrid *) 0 ;
16206 wxString *arg2 = 0 ;
16207 wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
16208 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
b411df4a 16209 bool temp2 = false ;
d14a1e28
RD
16210 PyObject * obj0 = 0 ;
16211 PyObject * obj1 = 0 ;
16212 PyObject * obj2 = 0 ;
16213 PyObject * obj3 = 0 ;
16214 char *kwnames[] = {
16215 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
16216 };
16217
16218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
16219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16220 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16221 {
16222 arg2 = wxString_in_helper(obj1);
16223 if (arg2 == NULL) SWIG_fail;
b411df4a 16224 temp2 = true;
d14a1e28 16225 }
36ed4f51
RD
16226 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellRenderer, SWIG_POINTER_EXCEPTION | 0);
16227 if (SWIG_arg_fail(3)) SWIG_fail;
16228 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0);
16229 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
16230 {
16231 PyThreadState* __tstate = wxPyBeginAllowThreads();
16232 (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4);
16233
16234 wxPyEndAllowThreads(__tstate);
16235 if (PyErr_Occurred()) SWIG_fail;
16236 }
16237 Py_INCREF(Py_None); resultobj = Py_None;
16238 {
16239 if (temp2)
16240 delete arg2;
16241 }
16242 return resultobj;
16243 fail:
16244 {
16245 if (temp2)
16246 delete arg2;
16247 }
16248 return NULL;
16249}
16250
16251
c370783e 16252static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16253 PyObject *resultobj = NULL;
d14a1e28
RD
16254 wxGrid *arg1 = (wxGrid *) 0 ;
16255 int arg2 ;
16256 int arg3 ;
16257 wxGridCellEditor *result;
16258 PyObject * obj0 = 0 ;
8edf1c75
RD
16259 PyObject * obj1 = 0 ;
16260 PyObject * obj2 = 0 ;
d14a1e28
RD
16261 char *kwnames[] = {
16262 (char *) "self",(char *) "row",(char *) "col", NULL
16263 };
16264
8edf1c75 16265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16267 if (SWIG_arg_fail(1)) SWIG_fail;
16268 {
32fe5131 16269 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16270 if (SWIG_arg_fail(2)) SWIG_fail;
16271 }
16272 {
32fe5131 16273 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
16274 if (SWIG_arg_fail(3)) SWIG_fail;
16275 }
d14a1e28
RD
16276 {
16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
16278 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3);
16279
16280 wxPyEndAllowThreads(__tstate);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
16283 {
7e08d4ef 16284 resultobj = wxPyMake_wxGridCellEditor(result, (bool)0);
d14a1e28
RD
16285 }
16286 return resultobj;
16287 fail:
16288 return NULL;
16289}
16290
16291
c370783e 16292static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16293 PyObject *resultobj = NULL;
d14a1e28
RD
16294 wxGrid *arg1 = (wxGrid *) 0 ;
16295 int arg2 ;
16296 int arg3 ;
16297 wxGridCellRenderer *result;
16298 PyObject * obj0 = 0 ;
8edf1c75
RD
16299 PyObject * obj1 = 0 ;
16300 PyObject * obj2 = 0 ;
d14a1e28
RD
16301 char *kwnames[] = {
16302 (char *) "self",(char *) "row",(char *) "col", NULL
16303 };
16304
8edf1c75 16305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16307 if (SWIG_arg_fail(1)) SWIG_fail;
16308 {
32fe5131 16309 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16310 if (SWIG_arg_fail(2)) SWIG_fail;
16311 }
16312 {
32fe5131 16313 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
16314 if (SWIG_arg_fail(3)) SWIG_fail;
16315 }
d14a1e28
RD
16316 {
16317 PyThreadState* __tstate = wxPyBeginAllowThreads();
16318 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3);
16319
16320 wxPyEndAllowThreads(__tstate);
16321 if (PyErr_Occurred()) SWIG_fail;
16322 }
16323 {
7e08d4ef 16324 resultobj = wxPyMake_wxGridCellRenderer(result, (bool)0);
d14a1e28
RD
16325 }
16326 return resultobj;
16327 fail:
16328 return NULL;
16329}
16330
16331
c370783e 16332static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16333 PyObject *resultobj = NULL;
d14a1e28
RD
16334 wxGrid *arg1 = (wxGrid *) 0 ;
16335 wxString *arg2 = 0 ;
16336 wxGridCellEditor *result;
b411df4a 16337 bool temp2 = false ;
d14a1e28
RD
16338 PyObject * obj0 = 0 ;
16339 PyObject * obj1 = 0 ;
16340 char *kwnames[] = {
16341 (char *) "self",(char *) "typeName", NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16346 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16347 {
16348 arg2 = wxString_in_helper(obj1);
16349 if (arg2 == NULL) SWIG_fail;
b411df4a 16350 temp2 = true;
d14a1e28
RD
16351 }
16352 {
16353 PyThreadState* __tstate = wxPyBeginAllowThreads();
16354 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2);
16355
16356 wxPyEndAllowThreads(__tstate);
16357 if (PyErr_Occurred()) SWIG_fail;
16358 }
16359 {
7e08d4ef 16360 resultobj = wxPyMake_wxGridCellEditor(result, (bool)0);
d14a1e28
RD
16361 }
16362 {
16363 if (temp2)
16364 delete arg2;
16365 }
16366 return resultobj;
16367 fail:
16368 {
16369 if (temp2)
16370 delete arg2;
16371 }
16372 return NULL;
16373}
16374
16375
c370783e 16376static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16377 PyObject *resultobj = NULL;
d14a1e28
RD
16378 wxGrid *arg1 = (wxGrid *) 0 ;
16379 wxString *arg2 = 0 ;
16380 wxGridCellRenderer *result;
b411df4a 16381 bool temp2 = false ;
d14a1e28
RD
16382 PyObject * obj0 = 0 ;
16383 PyObject * obj1 = 0 ;
16384 char *kwnames[] = {
16385 (char *) "self",(char *) "typeName", NULL
16386 };
16387
16388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16390 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16391 {
16392 arg2 = wxString_in_helper(obj1);
16393 if (arg2 == NULL) SWIG_fail;
b411df4a 16394 temp2 = true;
d14a1e28
RD
16395 }
16396 {
16397 PyThreadState* __tstate = wxPyBeginAllowThreads();
16398 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2);
16399
16400 wxPyEndAllowThreads(__tstate);
16401 if (PyErr_Occurred()) SWIG_fail;
16402 }
16403 {
7e08d4ef 16404 resultobj = wxPyMake_wxGridCellRenderer(result, (bool)0);
d14a1e28
RD
16405 }
16406 {
16407 if (temp2)
16408 delete arg2;
16409 }
16410 return resultobj;
16411 fail:
16412 {
16413 if (temp2)
16414 delete arg2;
16415 }
16416 return NULL;
16417}
16418
16419
c370783e 16420static PyObject *_wrap_Grid_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16421 PyObject *resultobj = NULL;
d14a1e28
RD
16422 wxGrid *arg1 = (wxGrid *) 0 ;
16423 int arg2 ;
16424 int arg3 ;
16425 PyObject * obj0 = 0 ;
8edf1c75
RD
16426 PyObject * obj1 = 0 ;
16427 PyObject * obj2 = 0 ;
d14a1e28
RD
16428 char *kwnames[] = {
16429 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
16430 };
16431
8edf1c75 16432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16434 if (SWIG_arg_fail(1)) SWIG_fail;
16435 {
32fe5131 16436 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16437 if (SWIG_arg_fail(2)) SWIG_fail;
16438 }
16439 {
32fe5131 16440 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
16441 if (SWIG_arg_fail(3)) SWIG_fail;
16442 }
d14a1e28
RD
16443 {
16444 PyThreadState* __tstate = wxPyBeginAllowThreads();
16445 (arg1)->SetMargins(arg2,arg3);
16446
16447 wxPyEndAllowThreads(__tstate);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 }
16450 Py_INCREF(Py_None); resultobj = Py_None;
16451 return resultobj;
16452 fail:
16453 return NULL;
16454}
16455
16456
c370783e 16457static PyObject *_wrap_Grid_GetGridWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16458 PyObject *resultobj = NULL;
d14a1e28
RD
16459 wxGrid *arg1 = (wxGrid *) 0 ;
16460 wxWindow *result;
16461 PyObject * obj0 = 0 ;
16462 char *kwnames[] = {
16463 (char *) "self", NULL
16464 };
16465
16466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
16467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16468 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16469 {
16470 PyThreadState* __tstate = wxPyBeginAllowThreads();
16471 result = (wxWindow *)(arg1)->GetGridWindow();
16472
16473 wxPyEndAllowThreads(__tstate);
16474 if (PyErr_Occurred()) SWIG_fail;
16475 }
16476 {
412d302d 16477 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16478 }
16479 return resultobj;
16480 fail:
16481 return NULL;
16482}
16483
16484
c370783e 16485static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16486 PyObject *resultobj = NULL;
d14a1e28
RD
16487 wxGrid *arg1 = (wxGrid *) 0 ;
16488 wxWindow *result;
16489 PyObject * obj0 = 0 ;
16490 char *kwnames[] = {
16491 (char *) "self", NULL
16492 };
16493
16494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
16495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16496 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16497 {
16498 PyThreadState* __tstate = wxPyBeginAllowThreads();
16499 result = (wxWindow *)(arg1)->GetGridRowLabelWindow();
16500
16501 wxPyEndAllowThreads(__tstate);
16502 if (PyErr_Occurred()) SWIG_fail;
16503 }
16504 {
412d302d 16505 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16506 }
16507 return resultobj;
16508 fail:
16509 return NULL;
16510}
16511
16512
c370783e 16513static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16514 PyObject *resultobj = NULL;
d14a1e28
RD
16515 wxGrid *arg1 = (wxGrid *) 0 ;
16516 wxWindow *result;
16517 PyObject * obj0 = 0 ;
16518 char *kwnames[] = {
16519 (char *) "self", NULL
16520 };
16521
16522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
16523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16524 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16525 {
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
16527 result = (wxWindow *)(arg1)->GetGridColLabelWindow();
16528
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 {
412d302d 16533 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16534 }
16535 return resultobj;
16536 fail:
16537 return NULL;
16538}
16539
16540
c370783e 16541static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16542 PyObject *resultobj = NULL;
d14a1e28
RD
16543 wxGrid *arg1 = (wxGrid *) 0 ;
16544 wxWindow *result;
16545 PyObject * obj0 = 0 ;
16546 char *kwnames[] = {
16547 (char *) "self", NULL
16548 };
16549
16550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
16551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16552 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16553 {
16554 PyThreadState* __tstate = wxPyBeginAllowThreads();
16555 result = (wxWindow *)(arg1)->GetGridCornerLabelWindow();
16556
16557 wxPyEndAllowThreads(__tstate);
16558 if (PyErr_Occurred()) SWIG_fail;
16559 }
16560 {
412d302d 16561 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16562 }
16563 return resultobj;
16564 fail:
16565 return NULL;
16566}
16567
16568
070c48b4 16569static PyObject *_wrap_Grid_SetScrollLineX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16570 PyObject *resultobj = NULL;
070c48b4
RD
16571 wxGrid *arg1 = (wxGrid *) 0 ;
16572 int arg2 ;
16573 PyObject * obj0 = 0 ;
16574 PyObject * obj1 = 0 ;
16575 char *kwnames[] = {
16576 (char *) "self",(char *) "x", NULL
16577 };
16578
16579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetScrollLineX",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16581 if (SWIG_arg_fail(1)) SWIG_fail;
16582 {
32fe5131 16583 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16584 if (SWIG_arg_fail(2)) SWIG_fail;
16585 }
070c48b4
RD
16586 {
16587 PyThreadState* __tstate = wxPyBeginAllowThreads();
16588 (arg1)->SetScrollLineX(arg2);
16589
16590 wxPyEndAllowThreads(__tstate);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 }
16593 Py_INCREF(Py_None); resultobj = Py_None;
16594 return resultobj;
16595 fail:
16596 return NULL;
16597}
16598
16599
16600static PyObject *_wrap_Grid_SetScrollLineY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16601 PyObject *resultobj = NULL;
070c48b4
RD
16602 wxGrid *arg1 = (wxGrid *) 0 ;
16603 int arg2 ;
16604 PyObject * obj0 = 0 ;
16605 PyObject * obj1 = 0 ;
16606 char *kwnames[] = {
16607 (char *) "self",(char *) "y", NULL
16608 };
16609
16610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetScrollLineY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16612 if (SWIG_arg_fail(1)) SWIG_fail;
16613 {
32fe5131 16614 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16615 if (SWIG_arg_fail(2)) SWIG_fail;
16616 }
070c48b4
RD
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
16619 (arg1)->SetScrollLineY(arg2);
16620
16621 wxPyEndAllowThreads(__tstate);
16622 if (PyErr_Occurred()) SWIG_fail;
16623 }
16624 Py_INCREF(Py_None); resultobj = Py_None;
16625 return resultobj;
16626 fail:
16627 return NULL;
16628}
16629
16630
16631static PyObject *_wrap_Grid_GetScrollLineX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16632 PyObject *resultobj = NULL;
070c48b4
RD
16633 wxGrid *arg1 = (wxGrid *) 0 ;
16634 int result;
16635 PyObject * obj0 = 0 ;
16636 char *kwnames[] = {
16637 (char *) "self", NULL
16638 };
16639
16640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetScrollLineX",kwnames,&obj0)) goto fail;
36ed4f51
RD
16641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16642 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
16643 {
16644 PyThreadState* __tstate = wxPyBeginAllowThreads();
16645 result = (int)((wxGrid const *)arg1)->GetScrollLineX();
16646
16647 wxPyEndAllowThreads(__tstate);
16648 if (PyErr_Occurred()) SWIG_fail;
16649 }
36ed4f51 16650 {
32fe5131 16651 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16652 }
070c48b4
RD
16653 return resultobj;
16654 fail:
16655 return NULL;
16656}
16657
16658
16659static PyObject *_wrap_Grid_GetScrollLineY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16660 PyObject *resultobj = NULL;
070c48b4
RD
16661 wxGrid *arg1 = (wxGrid *) 0 ;
16662 int result;
16663 PyObject * obj0 = 0 ;
16664 char *kwnames[] = {
16665 (char *) "self", NULL
16666 };
16667
16668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetScrollLineY",kwnames,&obj0)) goto fail;
36ed4f51
RD
16669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16670 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
16671 {
16672 PyThreadState* __tstate = wxPyBeginAllowThreads();
16673 result = (int)((wxGrid const *)arg1)->GetScrollLineY();
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
36ed4f51 16678 {
32fe5131 16679 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16680 }
070c48b4
RD
16681 return resultobj;
16682 fail:
16683 return NULL;
16684}
16685
16686
16687static PyObject *_wrap_Grid_GetScrollX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16688 PyObject *resultobj = NULL;
070c48b4
RD
16689 wxGrid *arg1 = (wxGrid *) 0 ;
16690 int arg2 ;
16691 int result;
16692 PyObject * obj0 = 0 ;
16693 PyObject * obj1 = 0 ;
16694 char *kwnames[] = {
16695 (char *) "self",(char *) "x", NULL
16696 };
16697
16698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetScrollX",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail;
16701 {
32fe5131 16702 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16703 if (SWIG_arg_fail(2)) SWIG_fail;
16704 }
070c48b4
RD
16705 {
16706 PyThreadState* __tstate = wxPyBeginAllowThreads();
16707 result = (int)((wxGrid const *)arg1)->GetScrollX(arg2);
16708
16709 wxPyEndAllowThreads(__tstate);
16710 if (PyErr_Occurred()) SWIG_fail;
16711 }
36ed4f51 16712 {
32fe5131 16713 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16714 }
070c48b4
RD
16715 return resultobj;
16716 fail:
16717 return NULL;
16718}
16719
16720
16721static PyObject *_wrap_Grid_GetScrollY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16722 PyObject *resultobj = NULL;
070c48b4
RD
16723 wxGrid *arg1 = (wxGrid *) 0 ;
16724 int arg2 ;
16725 int result;
16726 PyObject * obj0 = 0 ;
16727 PyObject * obj1 = 0 ;
16728 char *kwnames[] = {
16729 (char *) "self",(char *) "y", NULL
16730 };
16731
16732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetScrollY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16734 if (SWIG_arg_fail(1)) SWIG_fail;
16735 {
32fe5131 16736 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16737 if (SWIG_arg_fail(2)) SWIG_fail;
16738 }
070c48b4
RD
16739 {
16740 PyThreadState* __tstate = wxPyBeginAllowThreads();
16741 result = (int)((wxGrid const *)arg1)->GetScrollY(arg2);
16742
16743 wxPyEndAllowThreads(__tstate);
16744 if (PyErr_Occurred()) SWIG_fail;
16745 }
36ed4f51 16746 {
32fe5131 16747 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16748 }
070c48b4
RD
16749 return resultobj;
16750 fail:
16751 return NULL;
16752}
16753
16754
c370783e 16755static PyObject *_wrap_Grid_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16756 PyObject *resultobj = NULL;
36ed4f51 16757 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16758 wxVisualAttributes result;
16759 PyObject * obj0 = 0 ;
16760 char *kwnames[] = {
16761 (char *) "variant", NULL
16762 };
16763
16764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16765 if (obj0) {
36ed4f51 16766 {
32fe5131 16767 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
16768 if (SWIG_arg_fail(1)) SWIG_fail;
16769 }
f20a2e1f
RD
16770 }
16771 {
0439c23b 16772 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 16773 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 16774 result = wxGrid::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
16775
16776 wxPyEndAllowThreads(__tstate);
110da5b0 16777 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16778 }
16779 {
16780 wxVisualAttributes * resultptr;
32fe5131 16781 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
16782 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16783 }
16784 return resultobj;
16785 fail:
16786 return NULL;
16787}
16788
16789
c370783e 16790static PyObject * Grid_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16791 PyObject *obj;
16792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16793 SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj);
16794 Py_INCREF(obj);
16795 return Py_BuildValue((char *)"");
16796}
c370783e 16797static PyObject *_wrap_new_GridEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16798 PyObject *resultobj = NULL;
d14a1e28
RD
16799 int arg1 ;
16800 wxEventType arg2 ;
16801 wxGrid *arg3 = (wxGrid *) 0 ;
16802 int arg4 = (int) -1 ;
16803 int arg5 = (int) -1 ;
16804 int arg6 = (int) -1 ;
16805 int arg7 = (int) -1 ;
b411df4a
RD
16806 bool arg8 = (bool) true ;
16807 bool arg9 = (bool) false ;
16808 bool arg10 = (bool) false ;
16809 bool arg11 = (bool) false ;
16810 bool arg12 = (bool) false ;
d14a1e28 16811 wxGridEvent *result;
8edf1c75
RD
16812 PyObject * obj0 = 0 ;
16813 PyObject * obj1 = 0 ;
d14a1e28 16814 PyObject * obj2 = 0 ;
8edf1c75
RD
16815 PyObject * obj3 = 0 ;
16816 PyObject * obj4 = 0 ;
16817 PyObject * obj5 = 0 ;
16818 PyObject * obj6 = 0 ;
d14a1e28
RD
16819 PyObject * obj7 = 0 ;
16820 PyObject * obj8 = 0 ;
16821 PyObject * obj9 = 0 ;
16822 PyObject * obj10 = 0 ;
16823 PyObject * obj11 = 0 ;
16824 char *kwnames[] = {
16825 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "x",(char *) "y",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
16826 };
16827
8edf1c75 16828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOOOO:new_GridEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) goto fail;
36ed4f51 16829 {
32fe5131 16830 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
16831 if (SWIG_arg_fail(1)) SWIG_fail;
16832 }
16833 {
32fe5131 16834 arg2 = static_cast<wxEventType >(SWIG_As_int(obj1));
36ed4f51
RD
16835 if (SWIG_arg_fail(2)) SWIG_fail;
16836 }
16837 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
16838 if (SWIG_arg_fail(3)) SWIG_fail;
8edf1c75 16839 if (obj3) {
36ed4f51 16840 {
32fe5131 16841 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
16842 if (SWIG_arg_fail(4)) SWIG_fail;
16843 }
8edf1c75
RD
16844 }
16845 if (obj4) {
36ed4f51 16846 {
32fe5131 16847 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
16848 if (SWIG_arg_fail(5)) SWIG_fail;
16849 }
8edf1c75
RD
16850 }
16851 if (obj5) {
36ed4f51 16852 {
32fe5131 16853 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
16854 if (SWIG_arg_fail(6)) SWIG_fail;
16855 }
8edf1c75
RD
16856 }
16857 if (obj6) {
36ed4f51 16858 {
32fe5131 16859 arg7 = static_cast<int >(SWIG_As_int(obj6));
36ed4f51
RD
16860 if (SWIG_arg_fail(7)) SWIG_fail;
16861 }
8edf1c75 16862 }
d14a1e28 16863 if (obj7) {
36ed4f51 16864 {
32fe5131 16865 arg8 = static_cast<bool >(SWIG_As_bool(obj7));
36ed4f51
RD
16866 if (SWIG_arg_fail(8)) SWIG_fail;
16867 }
d14a1e28
RD
16868 }
16869 if (obj8) {
36ed4f51 16870 {
32fe5131 16871 arg9 = static_cast<bool >(SWIG_As_bool(obj8));
36ed4f51
RD
16872 if (SWIG_arg_fail(9)) SWIG_fail;
16873 }
d14a1e28
RD
16874 }
16875 if (obj9) {
36ed4f51 16876 {
32fe5131 16877 arg10 = static_cast<bool >(SWIG_As_bool(obj9));
36ed4f51
RD
16878 if (SWIG_arg_fail(10)) SWIG_fail;
16879 }
d14a1e28
RD
16880 }
16881 if (obj10) {
36ed4f51 16882 {
32fe5131 16883 arg11 = static_cast<bool >(SWIG_As_bool(obj10));
36ed4f51
RD
16884 if (SWIG_arg_fail(11)) SWIG_fail;
16885 }
d14a1e28
RD
16886 }
16887 if (obj11) {
36ed4f51 16888 {
32fe5131 16889 arg12 = static_cast<bool >(SWIG_As_bool(obj11));
36ed4f51
RD
16890 if (SWIG_arg_fail(12)) SWIG_fail;
16891 }
d14a1e28
RD
16892 }
16893 {
16894 PyThreadState* __tstate = wxPyBeginAllowThreads();
16895 result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
16896
16897 wxPyEndAllowThreads(__tstate);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 }
2f4c0a16 16900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEvent, 1);
d14a1e28
RD
16901 return resultobj;
16902 fail:
16903 return NULL;
16904}
16905
16906
c370783e 16907static PyObject *_wrap_GridEvent_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16908 PyObject *resultobj = NULL;
d14a1e28
RD
16909 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
16910 int result;
16911 PyObject * obj0 = 0 ;
16912 char *kwnames[] = {
16913 (char *) "self", NULL
16914 };
16915
16916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail;
36ed4f51
RD
16917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEvent, SWIG_POINTER_EXCEPTION | 0);
16918 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16919 {
16920 PyThreadState* __tstate = wxPyBeginAllowThreads();
16921 result = (int)(arg1)->GetRow();
16922
16923 wxPyEndAllowThreads(__tstate);
16924 if (PyErr_Occurred()) SWIG_fail;
16925 }
36ed4f51 16926 {
32fe5131 16927 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16928 }
d14a1e28
RD
16929 return resultobj;
16930 fail:
16931 return NULL;
16932}
16933
16934
c370783e 16935static PyObject *_wrap_GridEvent_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16936 PyObject *resultobj = NULL;
d14a1e28
RD
16937 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
16938 int result;
16939 PyObject * obj0 = 0 ;
16940 char *kwnames[] = {
16941 (char *) "self", NULL
16942 };
16943
16944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail;
36ed4f51
RD
16945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEvent, SWIG_POINTER_EXCEPTION | 0);
16946 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
16949 result = (int)(arg1)->GetCol();
16950
16951 wxPyEndAllowThreads(__tstate);
16952 if (PyErr_Occurred()) SWIG_fail;
16953 }
36ed4f51 16954 {
32fe5131 16955 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16956 }
d14a1e28
RD
16957 return resultobj;
16958 fail:
16959 return NULL;
16960}
16961
16962
c370783e 16963static PyObject *_wrap_GridEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16964 PyObject *resultobj = NULL;
d14a1e28
RD
16965 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
16966 wxPoint result;
16967 PyObject * obj0 = 0 ;
16968 char *kwnames[] = {
16969 (char *) "self", NULL
16970 };
16971
16972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
16973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEvent, SWIG_POINTER_EXCEPTION | 0);
16974 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16975 {
16976 PyThreadState* __tstate = wxPyBeginAllowThreads();
16977 result = (arg1)->GetPosition();
16978
16979 wxPyEndAllowThreads(__tstate);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
16982 {
16983 wxPoint * resultptr;
32fe5131 16984 resultptr = new wxPoint(static_cast<wxPoint & >(result));
2f4c0a16 16985 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16986 }
16987 return resultobj;
16988 fail:
16989 return NULL;
16990}
16991
16992
c370783e 16993static PyObject *_wrap_GridEvent_Selecting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16994 PyObject *resultobj = NULL;
d14a1e28
RD
16995 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
16996 bool result;
16997 PyObject * obj0 = 0 ;
16998 char *kwnames[] = {
16999 (char *) "self", NULL
17000 };
17001
17002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail;
36ed4f51
RD
17003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEvent, SWIG_POINTER_EXCEPTION | 0);
17004 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17005 {
17006 PyThreadState* __tstate = wxPyBeginAllowThreads();
17007 result = (bool)(arg1)->Selecting();
17008
17009 wxPyEndAllowThreads(__tstate);
17010 if (PyErr_Occurred()) SWIG_fail;
17011 }
fbc46b20
RD
17012 {
17013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17014 }
d14a1e28
RD
17015 return resultobj;
17016 fail:
17017 return NULL;
17018}
17019
17020
c370783e 17021static PyObject *_wrap_GridEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17022 PyObject *resultobj = NULL;
d14a1e28
RD
17023 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
17024 bool result;
17025 PyObject * obj0 = 0 ;
17026 char *kwnames[] = {
17027 (char *) "self", NULL
17028 };
17029
17030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail;
36ed4f51
RD
17031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEvent, SWIG_POINTER_EXCEPTION | 0);
17032 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17033 {
17034 PyThreadState* __tstate = wxPyBeginAllowThreads();
17035 result = (bool)(arg1)->ControlDown();
17036
17037 wxPyEndAllowThreads(__tstate);
17038 if (PyErr_Occurred()) SWIG_fail;
17039 }
fbc46b20
RD
17040 {
17041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17042 }
d14a1e28
RD
17043 return resultobj;
17044 fail:
17045 return NULL;
17046}
17047
17048
c370783e 17049static PyObject *_wrap_GridEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17050 PyObject *resultobj = NULL;
d14a1e28
RD
17051 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
17052 bool result;
17053 PyObject * obj0 = 0 ;
17054 char *kwnames[] = {
17055 (char *) "self", NULL
17056 };
17057
17058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail;
36ed4f51
RD
17059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEvent, SWIG_POINTER_EXCEPTION | 0);
17060 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17061 {
17062 PyThreadState* __tstate = wxPyBeginAllowThreads();
17063 result = (bool)(arg1)->MetaDown();
17064
17065 wxPyEndAllowThreads(__tstate);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
fbc46b20
RD
17068 {
17069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17070 }
d14a1e28
RD
17071 return resultobj;
17072 fail:
17073 return NULL;
17074}
17075
17076
c370783e 17077static PyObject *_wrap_GridEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17078 PyObject *resultobj = NULL;
d14a1e28
RD
17079 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
17080 bool result;
17081 PyObject * obj0 = 0 ;
17082 char *kwnames[] = {
17083 (char *) "self", NULL
17084 };
17085
17086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail;
36ed4f51
RD
17087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEvent, SWIG_POINTER_EXCEPTION | 0);
17088 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17089 {
17090 PyThreadState* __tstate = wxPyBeginAllowThreads();
17091 result = (bool)(arg1)->ShiftDown();
17092
17093 wxPyEndAllowThreads(__tstate);
17094 if (PyErr_Occurred()) SWIG_fail;
17095 }
fbc46b20
RD
17096 {
17097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17098 }
d14a1e28
RD
17099 return resultobj;
17100 fail:
17101 return NULL;
17102}
17103
17104
c370783e 17105static PyObject *_wrap_GridEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17106 PyObject *resultobj = NULL;
d14a1e28
RD
17107 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
17108 bool result;
17109 PyObject * obj0 = 0 ;
17110 char *kwnames[] = {
17111 (char *) "self", NULL
17112 };
17113
17114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail;
36ed4f51
RD
17115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEvent, SWIG_POINTER_EXCEPTION | 0);
17116 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17117 {
17118 PyThreadState* __tstate = wxPyBeginAllowThreads();
17119 result = (bool)(arg1)->AltDown();
17120
17121 wxPyEndAllowThreads(__tstate);
17122 if (PyErr_Occurred()) SWIG_fail;
17123 }
fbc46b20
RD
17124 {
17125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17126 }
d14a1e28
RD
17127 return resultobj;
17128 fail:
17129 return NULL;
17130}
17131
17132
c370783e 17133static PyObject * GridEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17134 PyObject *obj;
17135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17136 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj);
17137 Py_INCREF(obj);
17138 return Py_BuildValue((char *)"");
17139}
c370783e 17140static PyObject *_wrap_new_GridSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17141 PyObject *resultobj = NULL;
d14a1e28
RD
17142 int arg1 ;
17143 wxEventType arg2 ;
17144 wxGrid *arg3 = (wxGrid *) 0 ;
17145 int arg4 = (int) -1 ;
17146 int arg5 = (int) -1 ;
17147 int arg6 = (int) -1 ;
b411df4a
RD
17148 bool arg7 = (bool) false ;
17149 bool arg8 = (bool) false ;
17150 bool arg9 = (bool) false ;
17151 bool arg10 = (bool) false ;
d14a1e28 17152 wxGridSizeEvent *result;
8edf1c75
RD
17153 PyObject * obj0 = 0 ;
17154 PyObject * obj1 = 0 ;
d14a1e28 17155 PyObject * obj2 = 0 ;
8edf1c75
RD
17156 PyObject * obj3 = 0 ;
17157 PyObject * obj4 = 0 ;
17158 PyObject * obj5 = 0 ;
d14a1e28
RD
17159 PyObject * obj6 = 0 ;
17160 PyObject * obj7 = 0 ;
17161 PyObject * obj8 = 0 ;
17162 PyObject * obj9 = 0 ;
17163 char *kwnames[] = {
17164 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17165 };
17166
8edf1c75 17167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51 17168 {
32fe5131 17169 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
17170 if (SWIG_arg_fail(1)) SWIG_fail;
17171 }
17172 {
32fe5131 17173 arg2 = static_cast<wxEventType >(SWIG_As_int(obj1));
36ed4f51
RD
17174 if (SWIG_arg_fail(2)) SWIG_fail;
17175 }
17176 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
17177 if (SWIG_arg_fail(3)) SWIG_fail;
8edf1c75 17178 if (obj3) {
36ed4f51 17179 {
32fe5131 17180 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
17181 if (SWIG_arg_fail(4)) SWIG_fail;
17182 }
8edf1c75
RD
17183 }
17184 if (obj4) {
36ed4f51 17185 {
32fe5131 17186 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
17187 if (SWIG_arg_fail(5)) SWIG_fail;
17188 }
8edf1c75
RD
17189 }
17190 if (obj5) {
36ed4f51 17191 {
32fe5131 17192 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
17193 if (SWIG_arg_fail(6)) SWIG_fail;
17194 }
8edf1c75 17195 }
d14a1e28 17196 if (obj6) {
36ed4f51 17197 {
32fe5131 17198 arg7 = static_cast<bool >(SWIG_As_bool(obj6));
36ed4f51
RD
17199 if (SWIG_arg_fail(7)) SWIG_fail;
17200 }
d14a1e28
RD
17201 }
17202 if (obj7) {
36ed4f51 17203 {
32fe5131 17204 arg8 = static_cast<bool >(SWIG_As_bool(obj7));
36ed4f51
RD
17205 if (SWIG_arg_fail(8)) SWIG_fail;
17206 }
d14a1e28
RD
17207 }
17208 if (obj8) {
36ed4f51 17209 {
32fe5131 17210 arg9 = static_cast<bool >(SWIG_As_bool(obj8));
36ed4f51
RD
17211 if (SWIG_arg_fail(9)) SWIG_fail;
17212 }
d14a1e28
RD
17213 }
17214 if (obj9) {
36ed4f51 17215 {
32fe5131 17216 arg10 = static_cast<bool >(SWIG_As_bool(obj9));
36ed4f51
RD
17217 if (SWIG_arg_fail(10)) SWIG_fail;
17218 }
d14a1e28
RD
17219 }
17220 {
17221 PyThreadState* __tstate = wxPyBeginAllowThreads();
17222 result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
17223
17224 wxPyEndAllowThreads(__tstate);
17225 if (PyErr_Occurred()) SWIG_fail;
17226 }
2f4c0a16 17227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizeEvent, 1);
d14a1e28
RD
17228 return resultobj;
17229 fail:
17230 return NULL;
17231}
17232
17233
c370783e 17234static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17235 PyObject *resultobj = NULL;
d14a1e28
RD
17236 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
17237 int result;
17238 PyObject * obj0 = 0 ;
17239 char *kwnames[] = {
17240 (char *) "self", NULL
17241 };
17242
17243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail;
36ed4f51
RD
17244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizeEvent, SWIG_POINTER_EXCEPTION | 0);
17245 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17246 {
17247 PyThreadState* __tstate = wxPyBeginAllowThreads();
17248 result = (int)(arg1)->GetRowOrCol();
17249
17250 wxPyEndAllowThreads(__tstate);
17251 if (PyErr_Occurred()) SWIG_fail;
17252 }
36ed4f51 17253 {
32fe5131 17254 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 17255 }
d14a1e28
RD
17256 return resultobj;
17257 fail:
17258 return NULL;
17259}
17260
17261
c370783e 17262static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17263 PyObject *resultobj = NULL;
d14a1e28
RD
17264 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
17265 wxPoint result;
17266 PyObject * obj0 = 0 ;
17267 char *kwnames[] = {
17268 (char *) "self", NULL
17269 };
17270
17271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
17272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizeEvent, SWIG_POINTER_EXCEPTION | 0);
17273 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17274 {
17275 PyThreadState* __tstate = wxPyBeginAllowThreads();
17276 result = (arg1)->GetPosition();
17277
17278 wxPyEndAllowThreads(__tstate);
17279 if (PyErr_Occurred()) SWIG_fail;
17280 }
17281 {
17282 wxPoint * resultptr;
32fe5131 17283 resultptr = new wxPoint(static_cast<wxPoint & >(result));
2f4c0a16 17284 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
17285 }
17286 return resultobj;
17287 fail:
17288 return NULL;
17289}
17290
17291
c370783e 17292static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17293 PyObject *resultobj = NULL;
d14a1e28
RD
17294 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
17295 bool result;
17296 PyObject * obj0 = 0 ;
17297 char *kwnames[] = {
17298 (char *) "self", NULL
17299 };
17300
17301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail;
36ed4f51
RD
17302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizeEvent, SWIG_POINTER_EXCEPTION | 0);
17303 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17304 {
17305 PyThreadState* __tstate = wxPyBeginAllowThreads();
17306 result = (bool)(arg1)->ControlDown();
17307
17308 wxPyEndAllowThreads(__tstate);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
fbc46b20
RD
17311 {
17312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17313 }
d14a1e28
RD
17314 return resultobj;
17315 fail:
17316 return NULL;
17317}
17318
17319
c370783e 17320static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17321 PyObject *resultobj = NULL;
d14a1e28
RD
17322 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
17323 bool result;
17324 PyObject * obj0 = 0 ;
17325 char *kwnames[] = {
17326 (char *) "self", NULL
17327 };
17328
17329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail;
36ed4f51
RD
17330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizeEvent, SWIG_POINTER_EXCEPTION | 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17332 {
17333 PyThreadState* __tstate = wxPyBeginAllowThreads();
17334 result = (bool)(arg1)->MetaDown();
17335
17336 wxPyEndAllowThreads(__tstate);
17337 if (PyErr_Occurred()) SWIG_fail;
17338 }
fbc46b20
RD
17339 {
17340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17341 }
d14a1e28
RD
17342 return resultobj;
17343 fail:
17344 return NULL;
17345}
17346
17347
c370783e 17348static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17349 PyObject *resultobj = NULL;
d14a1e28
RD
17350 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
17351 bool result;
17352 PyObject * obj0 = 0 ;
17353 char *kwnames[] = {
17354 (char *) "self", NULL
17355 };
17356
17357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail;
36ed4f51
RD
17358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizeEvent, SWIG_POINTER_EXCEPTION | 0);
17359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17360 {
17361 PyThreadState* __tstate = wxPyBeginAllowThreads();
17362 result = (bool)(arg1)->ShiftDown();
17363
17364 wxPyEndAllowThreads(__tstate);
17365 if (PyErr_Occurred()) SWIG_fail;
17366 }
fbc46b20
RD
17367 {
17368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17369 }
d14a1e28
RD
17370 return resultobj;
17371 fail:
17372 return NULL;
17373}
17374
17375
c370783e 17376static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17377 PyObject *resultobj = NULL;
d14a1e28
RD
17378 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
17379 bool result;
17380 PyObject * obj0 = 0 ;
17381 char *kwnames[] = {
17382 (char *) "self", NULL
17383 };
17384
17385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail;
36ed4f51
RD
17386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizeEvent, SWIG_POINTER_EXCEPTION | 0);
17387 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17388 {
17389 PyThreadState* __tstate = wxPyBeginAllowThreads();
17390 result = (bool)(arg1)->AltDown();
17391
17392 wxPyEndAllowThreads(__tstate);
17393 if (PyErr_Occurred()) SWIG_fail;
17394 }
fbc46b20
RD
17395 {
17396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17397 }
d14a1e28
RD
17398 return resultobj;
17399 fail:
17400 return NULL;
17401}
17402
17403
c370783e 17404static PyObject * GridSizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17405 PyObject *obj;
17406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17407 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj);
17408 Py_INCREF(obj);
17409 return Py_BuildValue((char *)"");
17410}
c370783e 17411static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17412 PyObject *resultobj = NULL;
d14a1e28
RD
17413 int arg1 ;
17414 wxEventType arg2 ;
17415 wxGrid *arg3 = (wxGrid *) 0 ;
17416 wxGridCellCoords *arg4 = 0 ;
17417 wxGridCellCoords *arg5 = 0 ;
b411df4a
RD
17418 bool arg6 = (bool) true ;
17419 bool arg7 = (bool) false ;
17420 bool arg8 = (bool) false ;
17421 bool arg9 = (bool) false ;
17422 bool arg10 = (bool) false ;
d14a1e28
RD
17423 wxGridRangeSelectEvent *result;
17424 wxGridCellCoords temp4 ;
17425 wxGridCellCoords temp5 ;
8edf1c75
RD
17426 PyObject * obj0 = 0 ;
17427 PyObject * obj1 = 0 ;
d14a1e28
RD
17428 PyObject * obj2 = 0 ;
17429 PyObject * obj3 = 0 ;
17430 PyObject * obj4 = 0 ;
17431 PyObject * obj5 = 0 ;
17432 PyObject * obj6 = 0 ;
17433 PyObject * obj7 = 0 ;
17434 PyObject * obj8 = 0 ;
17435 PyObject * obj9 = 0 ;
17436 char *kwnames[] = {
17437 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
17438 };
17439
8edf1c75 17440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51 17441 {
32fe5131 17442 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
17443 if (SWIG_arg_fail(1)) SWIG_fail;
17444 }
17445 {
32fe5131 17446 arg2 = static_cast<wxEventType >(SWIG_As_int(obj1));
36ed4f51
RD
17447 if (SWIG_arg_fail(2)) SWIG_fail;
17448 }
17449 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0);
17450 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
17451 {
17452 arg4 = &temp4;
17453 if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail;
17454 }
17455 {
17456 arg5 = &temp5;
17457 if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail;
17458 }
17459 if (obj5) {
36ed4f51 17460 {
32fe5131 17461 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
36ed4f51
RD
17462 if (SWIG_arg_fail(6)) SWIG_fail;
17463 }
d14a1e28
RD
17464 }
17465 if (obj6) {
36ed4f51 17466 {
32fe5131 17467 arg7 = static_cast<bool >(SWIG_As_bool(obj6));
36ed4f51
RD
17468 if (SWIG_arg_fail(7)) SWIG_fail;
17469 }
d14a1e28
RD
17470 }
17471 if (obj7) {
36ed4f51 17472 {
32fe5131 17473 arg8 = static_cast<bool >(SWIG_As_bool(obj7));
36ed4f51
RD
17474 if (SWIG_arg_fail(8)) SWIG_fail;
17475 }
d14a1e28
RD
17476 }
17477 if (obj8) {
36ed4f51 17478 {
32fe5131 17479 arg9 = static_cast<bool >(SWIG_As_bool(obj8));
36ed4f51
RD
17480 if (SWIG_arg_fail(9)) SWIG_fail;
17481 }
d14a1e28
RD
17482 }
17483 if (obj9) {
36ed4f51 17484 {
32fe5131 17485 arg10 = static_cast<bool >(SWIG_As_bool(obj9));
36ed4f51
RD
17486 if (SWIG_arg_fail(10)) SWIG_fail;
17487 }
d14a1e28
RD
17488 }
17489 {
17490 PyThreadState* __tstate = wxPyBeginAllowThreads();
17491 result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10);
17492
17493 wxPyEndAllowThreads(__tstate);
17494 if (PyErr_Occurred()) SWIG_fail;
17495 }
2f4c0a16 17496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridRangeSelectEvent, 1);
d14a1e28
RD
17497 return resultobj;
17498 fail:
17499 return NULL;
17500}
17501
17502
c370783e 17503static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17504 PyObject *resultobj = NULL;
d14a1e28
RD
17505 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
17506 wxGridCellCoords result;
17507 PyObject * obj0 = 0 ;
17508 char *kwnames[] = {
17509 (char *) "self", NULL
17510 };
17511
17512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail;
36ed4f51
RD
17513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridRangeSelectEvent, SWIG_POINTER_EXCEPTION | 0);
17514 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17515 {
17516 PyThreadState* __tstate = wxPyBeginAllowThreads();
17517 result = (arg1)->GetTopLeftCoords();
17518
17519 wxPyEndAllowThreads(__tstate);
17520 if (PyErr_Occurred()) SWIG_fail;
17521 }
17522 {
17523 wxGridCellCoords * resultptr;
32fe5131 17524 resultptr = new wxGridCellCoords(static_cast<wxGridCellCoords & >(result));
2f4c0a16 17525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
17526 }
17527 return resultobj;
17528 fail:
17529 return NULL;
17530}
17531
17532
c370783e 17533static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17534 PyObject *resultobj = NULL;
d14a1e28
RD
17535 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
17536 wxGridCellCoords result;
17537 PyObject * obj0 = 0 ;
17538 char *kwnames[] = {
17539 (char *) "self", NULL
17540 };
17541
17542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail;
36ed4f51
RD
17543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridRangeSelectEvent, SWIG_POINTER_EXCEPTION | 0);
17544 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17545 {
17546 PyThreadState* __tstate = wxPyBeginAllowThreads();
17547 result = (arg1)->GetBottomRightCoords();
17548
17549 wxPyEndAllowThreads(__tstate);
17550 if (PyErr_Occurred()) SWIG_fail;
17551 }
17552 {
17553 wxGridCellCoords * resultptr;
32fe5131 17554 resultptr = new wxGridCellCoords(static_cast<wxGridCellCoords & >(result));
2f4c0a16 17555 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
17556 }
17557 return resultobj;
17558 fail:
17559 return NULL;
17560}
17561
17562
c370783e 17563static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17564 PyObject *resultobj = NULL;
d14a1e28
RD
17565 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
17566 int result;
17567 PyObject * obj0 = 0 ;
17568 char *kwnames[] = {
17569 (char *) "self", NULL
17570 };
17571
17572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail;
36ed4f51
RD
17573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridRangeSelectEvent, SWIG_POINTER_EXCEPTION | 0);
17574 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17575 {
17576 PyThreadState* __tstate = wxPyBeginAllowThreads();
17577 result = (int)(arg1)->GetTopRow();
17578
17579 wxPyEndAllowThreads(__tstate);
17580 if (PyErr_Occurred()) SWIG_fail;
17581 }
36ed4f51 17582 {
32fe5131 17583 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 17584 }
d14a1e28
RD
17585 return resultobj;
17586 fail:
17587 return NULL;
17588}
17589
17590
c370783e 17591static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17592 PyObject *resultobj = NULL;
d14a1e28
RD
17593 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
17594 int result;
17595 PyObject * obj0 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self", NULL
17598 };
17599
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail;
36ed4f51
RD
17601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridRangeSelectEvent, SWIG_POINTER_EXCEPTION | 0);
17602 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 result = (int)(arg1)->GetBottomRow();
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
36ed4f51 17610 {
32fe5131 17611 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 17612 }
d14a1e28
RD
17613 return resultobj;
17614 fail:
17615 return NULL;
17616}
17617
17618
c370783e 17619static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17620 PyObject *resultobj = NULL;
d14a1e28
RD
17621 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
17622 int result;
17623 PyObject * obj0 = 0 ;
17624 char *kwnames[] = {
17625 (char *) "self", NULL
17626 };
17627
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail;
36ed4f51
RD
17629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridRangeSelectEvent, SWIG_POINTER_EXCEPTION | 0);
17630 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 result = (int)(arg1)->GetLeftCol();
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
36ed4f51 17638 {
32fe5131 17639 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 17640 }
d14a1e28
RD
17641 return resultobj;
17642 fail:
17643 return NULL;
17644}
17645
17646
c370783e 17647static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17648 PyObject *resultobj = NULL;
d14a1e28
RD
17649 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
17650 int result;
17651 PyObject * obj0 = 0 ;
17652 char *kwnames[] = {
17653 (char *) "self", NULL
17654 };
17655
17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail;
36ed4f51
RD
17657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridRangeSelectEvent, SWIG_POINTER_EXCEPTION | 0);
17658 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17659 {
17660 PyThreadState* __tstate = wxPyBeginAllowThreads();
17661 result = (int)(arg1)->GetRightCol();
17662
17663 wxPyEndAllowThreads(__tstate);
17664 if (PyErr_Occurred()) SWIG_fail;
17665 }
36ed4f51 17666 {
32fe5131 17667 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 17668 }
d14a1e28
RD
17669 return resultobj;
17670 fail:
17671 return NULL;
17672}
17673
17674
c370783e 17675static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17676 PyObject *resultobj = NULL;
d14a1e28
RD
17677 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
17678 bool result;
17679 PyObject * obj0 = 0 ;
17680 char *kwnames[] = {
17681 (char *) "self", NULL
17682 };
17683
17684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail;
36ed4f51
RD
17685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridRangeSelectEvent, SWIG_POINTER_EXCEPTION | 0);
17686 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 result = (bool)(arg1)->Selecting();
17690
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
fbc46b20
RD
17694 {
17695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17696 }
d14a1e28
RD
17697 return resultobj;
17698 fail:
17699 return NULL;
17700}
17701
17702
c370783e 17703static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17704 PyObject *resultobj = NULL;
d14a1e28
RD
17705 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
17706 bool result;
17707 PyObject * obj0 = 0 ;
17708 char *kwnames[] = {
17709 (char *) "self", NULL
17710 };
17711
17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail;
36ed4f51
RD
17713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridRangeSelectEvent, SWIG_POINTER_EXCEPTION | 0);
17714 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 result = (bool)(arg1)->ControlDown();
17718
17719 wxPyEndAllowThreads(__tstate);
17720 if (PyErr_Occurred()) SWIG_fail;
17721 }
fbc46b20
RD
17722 {
17723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17724 }
d14a1e28
RD
17725 return resultobj;
17726 fail:
17727 return NULL;
17728}
17729
17730
c370783e 17731static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17732 PyObject *resultobj = NULL;
d14a1e28
RD
17733 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
17734 bool result;
17735 PyObject * obj0 = 0 ;
17736 char *kwnames[] = {
17737 (char *) "self", NULL
17738 };
17739
17740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail;
36ed4f51
RD
17741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridRangeSelectEvent, SWIG_POINTER_EXCEPTION | 0);
17742 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 result = (bool)(arg1)->MetaDown();
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
fbc46b20
RD
17750 {
17751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17752 }
d14a1e28
RD
17753 return resultobj;
17754 fail:
17755 return NULL;
17756}
17757
17758
c370783e 17759static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17760 PyObject *resultobj = NULL;
d14a1e28
RD
17761 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
17762 bool result;
17763 PyObject * obj0 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail;
36ed4f51
RD
17769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridRangeSelectEvent, SWIG_POINTER_EXCEPTION | 0);
17770 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17771 {
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
17773 result = (bool)(arg1)->ShiftDown();
17774
17775 wxPyEndAllowThreads(__tstate);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 }
fbc46b20
RD
17778 {
17779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17780 }
d14a1e28
RD
17781 return resultobj;
17782 fail:
17783 return NULL;
17784}
17785
17786
c370783e 17787static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17788 PyObject *resultobj = NULL;
d14a1e28
RD
17789 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
17790 bool result;
17791 PyObject * obj0 = 0 ;
17792 char *kwnames[] = {
17793 (char *) "self", NULL
17794 };
17795
17796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail;
36ed4f51
RD
17797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridRangeSelectEvent, SWIG_POINTER_EXCEPTION | 0);
17798 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 result = (bool)(arg1)->AltDown();
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
fbc46b20
RD
17806 {
17807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17808 }
d14a1e28
RD
17809 return resultobj;
17810 fail:
17811 return NULL;
17812}
17813
17814
c370783e 17815static PyObject * GridRangeSelectEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17816 PyObject *obj;
17817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17818 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj);
17819 Py_INCREF(obj);
17820 return Py_BuildValue((char *)"");
17821}
c370783e 17822static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17823 PyObject *resultobj = NULL;
d14a1e28
RD
17824 int arg1 ;
17825 wxEventType arg2 ;
17826 wxObject *arg3 = (wxObject *) 0 ;
17827 int arg4 ;
17828 int arg5 ;
17829 wxControl *arg6 = (wxControl *) 0 ;
17830 wxGridEditorCreatedEvent *result;
8edf1c75
RD
17831 PyObject * obj0 = 0 ;
17832 PyObject * obj1 = 0 ;
d14a1e28 17833 PyObject * obj2 = 0 ;
8edf1c75
RD
17834 PyObject * obj3 = 0 ;
17835 PyObject * obj4 = 0 ;
d14a1e28
RD
17836 PyObject * obj5 = 0 ;
17837 char *kwnames[] = {
17838 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
17839 };
17840
8edf1c75 17841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51 17842 {
32fe5131 17843 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
17844 if (SWIG_arg_fail(1)) SWIG_fail;
17845 }
17846 {
32fe5131 17847 arg2 = static_cast<wxEventType >(SWIG_As_int(obj1));
36ed4f51
RD
17848 if (SWIG_arg_fail(2)) SWIG_fail;
17849 }
17850 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
17851 if (SWIG_arg_fail(3)) SWIG_fail;
17852 {
32fe5131 17853 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
17854 if (SWIG_arg_fail(4)) SWIG_fail;
17855 }
17856 {
32fe5131 17857 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
17858 if (SWIG_arg_fail(5)) SWIG_fail;
17859 }
17860 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
17861 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6);
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
2f4c0a16 17869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEditorCreatedEvent, 1);
d14a1e28
RD
17870 return resultobj;
17871 fail:
17872 return NULL;
17873}
17874
17875
c370783e 17876static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17877 PyObject *resultobj = NULL;
d14a1e28
RD
17878 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
17879 int result;
17880 PyObject * obj0 = 0 ;
17881 char *kwnames[] = {
17882 (char *) "self", NULL
17883 };
17884
17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail;
36ed4f51
RD
17886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEditorCreatedEvent, SWIG_POINTER_EXCEPTION | 0);
17887 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17888 {
17889 PyThreadState* __tstate = wxPyBeginAllowThreads();
17890 result = (int)(arg1)->GetRow();
17891
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
36ed4f51 17895 {
32fe5131 17896 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 17897 }
d14a1e28
RD
17898 return resultobj;
17899 fail:
17900 return NULL;
17901}
17902
17903
c370783e 17904static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17905 PyObject *resultobj = NULL;
d14a1e28
RD
17906 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
17907 int result;
17908 PyObject * obj0 = 0 ;
17909 char *kwnames[] = {
17910 (char *) "self", NULL
17911 };
17912
17913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail;
36ed4f51
RD
17914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEditorCreatedEvent, SWIG_POINTER_EXCEPTION | 0);
17915 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17916 {
17917 PyThreadState* __tstate = wxPyBeginAllowThreads();
17918 result = (int)(arg1)->GetCol();
17919
17920 wxPyEndAllowThreads(__tstate);
17921 if (PyErr_Occurred()) SWIG_fail;
17922 }
36ed4f51 17923 {
32fe5131 17924 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 17925 }
d14a1e28
RD
17926 return resultobj;
17927 fail:
17928 return NULL;
17929}
17930
17931
c370783e 17932static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17933 PyObject *resultobj = NULL;
d14a1e28
RD
17934 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
17935 wxControl *result;
17936 PyObject * obj0 = 0 ;
17937 char *kwnames[] = {
17938 (char *) "self", NULL
17939 };
17940
17941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
17942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEditorCreatedEvent, SWIG_POINTER_EXCEPTION | 0);
17943 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17944 {
17945 PyThreadState* __tstate = wxPyBeginAllowThreads();
17946 result = (wxControl *)(arg1)->GetControl();
17947
17948 wxPyEndAllowThreads(__tstate);
17949 if (PyErr_Occurred()) SWIG_fail;
17950 }
17951 {
412d302d 17952 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17953 }
17954 return resultobj;
17955 fail:
17956 return NULL;
17957}
17958
17959
c370783e 17960static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17961 PyObject *resultobj = NULL;
d14a1e28
RD
17962 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
17963 int arg2 ;
17964 PyObject * obj0 = 0 ;
8edf1c75 17965 PyObject * obj1 = 0 ;
d14a1e28
RD
17966 char *kwnames[] = {
17967 (char *) "self",(char *) "row", NULL
17968 };
17969
8edf1c75 17970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEditorCreatedEvent, SWIG_POINTER_EXCEPTION | 0);
17972 if (SWIG_arg_fail(1)) SWIG_fail;
17973 {
32fe5131 17974 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
17975 if (SWIG_arg_fail(2)) SWIG_fail;
17976 }
d14a1e28
RD
17977 {
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 (arg1)->SetRow(arg2);
17980
17981 wxPyEndAllowThreads(__tstate);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
17984 Py_INCREF(Py_None); resultobj = Py_None;
17985 return resultobj;
17986 fail:
17987 return NULL;
17988}
17989
17990
c370783e 17991static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17992 PyObject *resultobj = NULL;
d14a1e28
RD
17993 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
17994 int arg2 ;
17995 PyObject * obj0 = 0 ;
8edf1c75 17996 PyObject * obj1 = 0 ;
d14a1e28
RD
17997 char *kwnames[] = {
17998 (char *) "self",(char *) "col", NULL
17999 };
18000
8edf1c75 18001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEditorCreatedEvent, SWIG_POINTER_EXCEPTION | 0);
18003 if (SWIG_arg_fail(1)) SWIG_fail;
18004 {
32fe5131 18005 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
18006 if (SWIG_arg_fail(2)) SWIG_fail;
18007 }
d14a1e28
RD
18008 {
18009 PyThreadState* __tstate = wxPyBeginAllowThreads();
18010 (arg1)->SetCol(arg2);
18011
18012 wxPyEndAllowThreads(__tstate);
18013 if (PyErr_Occurred()) SWIG_fail;
18014 }
18015 Py_INCREF(Py_None); resultobj = Py_None;
18016 return resultobj;
18017 fail:
18018 return NULL;
18019}
18020
18021
c370783e 18022static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18023 PyObject *resultobj = NULL;
d14a1e28
RD
18024 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
18025 wxControl *arg2 = (wxControl *) 0 ;
18026 PyObject * obj0 = 0 ;
18027 PyObject * obj1 = 0 ;
18028 char *kwnames[] = {
18029 (char *) "self",(char *) "ctrl", NULL
18030 };
18031
18032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEditorCreatedEvent, SWIG_POINTER_EXCEPTION | 0);
18034 if (SWIG_arg_fail(1)) SWIG_fail;
18035 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
18036 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
18037 {
18038 PyThreadState* __tstate = wxPyBeginAllowThreads();
18039 (arg1)->SetControl(arg2);
18040
18041 wxPyEndAllowThreads(__tstate);
18042 if (PyErr_Occurred()) SWIG_fail;
18043 }
18044 Py_INCREF(Py_None); resultobj = Py_None;
18045 return resultobj;
18046 fail:
18047 return NULL;
18048}
18049
18050
c370783e 18051static PyObject * GridEditorCreatedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18052 PyObject *obj;
18053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18054 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj);
18055 Py_INCREF(obj);
18056 return Py_BuildValue((char *)"");
18057}
18058static PyMethodDef SwigMethods[] = {
36ed4f51
RD
18059 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
18060 { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS, NULL},
18061 { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS, NULL},
18062 { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS, NULL},
18063 { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
18064 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
18065 { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
18066 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS, NULL},
18067 { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18068 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166 18069 { (char *)"PyGridCellRenderer_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
18070 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS, NULL},
18071 { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18072 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS, NULL},
18073 { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18074 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS, NULL},
18075 { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18076 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
18077 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
18078 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS, NULL},
18079 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS, NULL},
18080 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS, NULL},
18081 { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18082 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS, NULL},
18083 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18084 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS, NULL},
18085 { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18086 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS, NULL},
18087 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18088 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS, NULL},
18089 { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
18090 { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS, NULL},
18091 { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
18092 { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS, NULL},
18093 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18094 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18095 { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS, NULL},
18096 { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS, NULL},
18097 { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS, NULL},
18098 { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS, NULL},
18099 { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS, NULL},
18100 { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS, NULL},
18101 { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS, NULL},
18102 { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
18103 { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
18104 { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS, NULL},
18105 { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS, NULL},
18106 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS, NULL},
18107 { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS, NULL},
18108 { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS, NULL},
18109 { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS, NULL},
18110 { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
18111 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS, NULL},
18112 { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18113 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
18114 { (char *)"PyGridCellEditor_SetSize", (PyCFunction) _wrap_PyGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
18115 { (char *)"PyGridCellEditor_Show", (PyCFunction) _wrap_PyGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS, NULL},
18116 { (char *)"PyGridCellEditor_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS, NULL},
18117 { (char *)"PyGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS, NULL},
18118 { (char *)"PyGridCellEditor_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS, NULL},
18119 { (char *)"PyGridCellEditor_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS, NULL},
18120 { (char *)"PyGridCellEditor_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS, NULL},
18121 { (char *)"PyGridCellEditor_Destroy", (PyCFunction) _wrap_PyGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
18122 { (char *)"PyGridCellEditor_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
18123 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS, NULL},
18124 { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18125 { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
18126 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS, NULL},
18127 { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18128 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
18129 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS, NULL},
18130 { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18131 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
18132 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS, NULL},
18133 { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18134 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
18135 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS, NULL},
18136 { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18137 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
18138 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS, NULL},
18139 { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18140 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
18141 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS, NULL},
18142 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18143 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
18144 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS, NULL},
18145 { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
18146 { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18147 { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
18148 { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS, NULL},
18149 { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS, NULL},
18150 { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS, NULL},
18151 { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
18152 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
18153 { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
18154 { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
18155 { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
18156 { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS, NULL},
18157 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
18158 { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18159 { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18160 { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS, NULL},
18161 { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
18162 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
18163 { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
18164 { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
18165 { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18166 { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18167 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS, NULL},
18168 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS, NULL},
18169 { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
18170 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
18171 { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
18172 { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
18173 { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
18174 { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS, NULL},
18175 { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18176 { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18177 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
18178 { (char *)"GridCellAttr_GetKind", (PyCFunction) _wrap_GridCellAttr_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
18179 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18180 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS, NULL},
18181 { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS, NULL},
18182 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
18183 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18184 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18185 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18186 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18187 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS, NULL},
18188 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS, NULL},
18189 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS, NULL},
18190 { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS, NULL},
18191 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
18192 { (char *)"PyGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18193 { (char *)"PyGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18194 { (char *)"PyGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18195 { (char *)"PyGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
18196 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS, NULL},
18197 { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
18198 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS, NULL},
18199 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS, NULL},
18200 { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS, NULL},
18201 { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS, NULL},
18202 { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS, NULL},
18203 { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS, NULL},
18204 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS, NULL},
18205 { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
18206 { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
18207 { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS, NULL},
18208 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS, NULL},
18209 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS, NULL},
18210 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS, NULL},
18211 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS, NULL},
18212 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS, NULL},
18213 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS, NULL},
18214 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS, NULL},
18215 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS, NULL},
18216 { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
18217 { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS, NULL},
18218 { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS, NULL},
18219 { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS, NULL},
18220 { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS, NULL},
18221 { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS, NULL},
18222 { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS, NULL},
18223 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL},
18224 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL},
18225 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL},
18226 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL},
18227 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
18228 { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18229 { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18230 { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18231 { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18232 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS, NULL},
18233 { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS, NULL},
18234 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
18235 { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
18236 { (char *)"PyGridTableBase_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS, NULL},
18237 { (char *)"PyGridTableBase_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS, NULL},
18238 { (char *)"PyGridTableBase_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS, NULL},
18239 { (char *)"PyGridTableBase_Clear", (PyCFunction) _wrap_PyGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
18240 { (char *)"PyGridTableBase_InsertRows", (PyCFunction) _wrap_PyGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS, NULL},
18241 { (char *)"PyGridTableBase_AppendRows", (PyCFunction) _wrap_PyGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS, NULL},
18242 { (char *)"PyGridTableBase_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS, NULL},
18243 { (char *)"PyGridTableBase_InsertCols", (PyCFunction) _wrap_PyGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS, NULL},
18244 { (char *)"PyGridTableBase_AppendCols", (PyCFunction) _wrap_PyGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS, NULL},
18245 { (char *)"PyGridTableBase_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS, NULL},
18246 { (char *)"PyGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL},
18247 { (char *)"PyGridTableBase_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL},
18248 { (char *)"PyGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL},
18249 { (char *)"PyGridTableBase_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL},
18250 { (char *)"PyGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
18251 { (char *)"PyGridTableBase_GetAttr", (PyCFunction) _wrap_PyGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18252 { (char *)"PyGridTableBase_SetAttr", (PyCFunction) _wrap_PyGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18253 { (char *)"PyGridTableBase_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18254 { (char *)"PyGridTableBase_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
18255 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS, NULL},
18256 { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS, NULL},
18257 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS, NULL},
18258 { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS, NULL},
18259 { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS, NULL},
18260 { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS, NULL},
18261 { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS, NULL},
18262 { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
18263 { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
18264 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS, NULL},
18265 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS, NULL},
18266 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS, NULL},
18267 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS, NULL},
18268 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS, NULL},
18269 { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS, NULL},
18270 { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS, NULL},
18271 { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS, NULL},
18272 { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS, NULL},
18273 { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS, NULL},
18274 { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS, NULL},
18275 { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS, NULL},
18276 { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
18277 { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
18278 { (char *)"GridCellCoords_Get", (PyCFunction) _wrap_GridCellCoords_Get, METH_VARARGS | METH_KEYWORDS, NULL},
18279 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS, NULL},
18280 { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS, NULL},
18281 { (char *)"new_PreGrid", (PyCFunction) _wrap_new_PreGrid, METH_VARARGS | METH_KEYWORDS, NULL},
18282 { (char *)"Grid_Create", (PyCFunction) _wrap_Grid_Create, METH_VARARGS | METH_KEYWORDS, NULL},
18283 { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS, NULL},
18284 { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
18285 { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
18286 { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS, NULL},
18287 { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS, NULL},
18288 { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS, NULL},
18289 { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS, NULL},
18290 { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS, NULL},
18291 { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS, NULL},
18292 { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS, NULL},
18293 { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS, NULL},
18294 { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS, NULL},
18295 { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS, NULL},
18296 { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS, NULL},
18297 { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS, NULL},
18298 { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
18299 { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
18300 { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS, NULL},
18301 { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS, NULL},
18302 { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS, NULL},
18303 { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS, NULL},
18304 { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS, NULL},
18305 { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
18306 { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS, NULL},
18307 { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
18308 { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
18309 { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS, NULL},
18310 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
18311 { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS, NULL},
18312 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
18313 { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
18314 { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
18315 { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS, NULL},
18316 { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS, NULL},
18317 { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS, NULL},
18318 { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS, NULL},
18319 { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS, NULL},
18320 { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS, NULL},
18321 { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS, NULL},
18322 { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS, NULL},
18323 { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS, NULL},
18324 { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
18325 { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS, NULL},
18326 { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS, NULL},
18327 { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS, NULL},
18328 { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS, NULL},
18329 { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS, NULL},
18330 { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS, NULL},
18331 { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS, NULL},
18332 { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS, NULL},
18333 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS, NULL},
18334 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS, NULL},
18335 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS, NULL},
18336 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS, NULL},
18337 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS, NULL},
18338 { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS, NULL},
18339 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS, NULL},
18340 { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS, NULL},
18341 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
18342 { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
18343 { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS, NULL},
18344 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
18345 { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
18346 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
18347 { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL},
18348 { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL},
18349 { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS, NULL},
18350 { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL},
18351 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS, NULL},
18352 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS, NULL},
18353 { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS, NULL},
18354 { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS, NULL},
18355 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
18356 { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
18357 { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS, NULL},
18358 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
18359 { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
18360 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
18361 { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL},
18362 { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL},
18363 { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS, NULL},
18364 { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL},
18365 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS, NULL},
18366 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS, NULL},
18367 { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS, NULL},
18368 { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS, NULL},
18369 { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS, NULL},
18370 { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS, NULL},
18371 { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS, NULL},
18372 { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS, NULL},
18373 { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS, NULL},
18374 { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS, NULL},
18375 { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS, NULL},
18376 { (char *)"Grid_EnableDragCell", (PyCFunction) _wrap_Grid_EnableDragCell, METH_VARARGS | METH_KEYWORDS, NULL},
18377 { (char *)"Grid_DisableDragCell", (PyCFunction) _wrap_Grid_DisableDragCell, METH_VARARGS | METH_KEYWORDS, NULL},
18378 { (char *)"Grid_CanDragCell", (PyCFunction) _wrap_Grid_CanDragCell, METH_VARARGS | METH_KEYWORDS, NULL},
18379 { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18380 { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18381 { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18382 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction) _wrap_Grid_GetOrCreateCellAttr, METH_VARARGS | METH_KEYWORDS, NULL},
18383 { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS, NULL},
18384 { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS, NULL},
18385 { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS, NULL},
18386 { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS, NULL},
18387 { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS, NULL},
18388 { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
18389 { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS, NULL},
18390 { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS, NULL},
18391 { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS, NULL},
18392 { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS, NULL},
18393 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
18394 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
18395 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
18396 { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
18397 { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS, NULL},
18398 { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS, NULL},
18399 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
18400 { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
18401 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS, NULL},
18402 { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS, NULL},
18403 { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS, NULL},
18404 { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS, NULL},
18405 { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS, NULL},
18406 { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS, NULL},
18407 { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS, NULL},
18408 { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
18409 { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS, NULL},
18410 { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS, NULL},
18411 { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS, NULL},
18412 { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS, NULL},
18413 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS, NULL},
18414 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS, NULL},
18415 { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
18416 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
18417 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS, NULL},
18418 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS, NULL},
18419 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS, NULL},
18420 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS, NULL},
18421 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
18422 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
18423 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
18424 { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
18425 { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS, NULL},
18426 { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS, NULL},
18427 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
18428 { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
18429 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS, NULL},
18430 { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS, NULL},
18431 { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS, NULL},
18432 { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18433 { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18434 { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18435 { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
18436 { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18437 { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18438 { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18439 { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS, NULL},
18440 { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS, NULL},
18441 { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS, NULL},
18442 { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
18443 { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
18444 { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS, NULL},
18445 { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS, NULL},
18446 { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS, NULL},
18447 { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
18448 { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL},
18449 { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS, NULL},
18450 { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS, NULL},
18451 { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS, NULL},
18452 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
18453 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
18454 { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS, NULL},
18455 { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS, NULL},
18456 { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS, NULL},
18457 { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS, NULL},
18458 { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS, NULL},
18459 { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS, NULL},
18460 { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
18461 { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS, NULL},
18462 { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
18463 { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS, NULL},
18464 { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS, NULL},
18465 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS, NULL},
18466 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS, NULL},
18467 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS, NULL},
18468 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS, NULL},
18469 { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
18470 { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS, NULL},
18471 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS, NULL},
18472 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS, NULL},
18473 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS, NULL},
18474 { (char *)"Grid_SetScrollLineX", (PyCFunction) _wrap_Grid_SetScrollLineX, METH_VARARGS | METH_KEYWORDS, NULL},
18475 { (char *)"Grid_SetScrollLineY", (PyCFunction) _wrap_Grid_SetScrollLineY, METH_VARARGS | METH_KEYWORDS, NULL},
18476 { (char *)"Grid_GetScrollLineX", (PyCFunction) _wrap_Grid_GetScrollLineX, METH_VARARGS | METH_KEYWORDS, NULL},
18477 { (char *)"Grid_GetScrollLineY", (PyCFunction) _wrap_Grid_GetScrollLineY, METH_VARARGS | METH_KEYWORDS, NULL},
18478 { (char *)"Grid_GetScrollX", (PyCFunction) _wrap_Grid_GetScrollX, METH_VARARGS | METH_KEYWORDS, NULL},
18479 { (char *)"Grid_GetScrollY", (PyCFunction) _wrap_Grid_GetScrollY, METH_VARARGS | METH_KEYWORDS, NULL},
18480 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction) _wrap_Grid_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
18481 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS, NULL},
18482 { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS, NULL},
18483 { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS, NULL},
18484 { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS, NULL},
18485 { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
18486 { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS, NULL},
18487 { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
18488 { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
18489 { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
18490 { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL},
18491 { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS, NULL},
18492 { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
18493 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS, NULL},
18494 { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
18495 { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
18496 { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
18497 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
18498 { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL},
18499 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS, NULL},
18500 { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS, NULL},
18501 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS, NULL},
18502 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS, NULL},
18503 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS, NULL},
18504 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS, NULL},
18505 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS, NULL},
18506 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS, NULL},
18507 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS, NULL},
18508 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
18509 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
18510 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
18511 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL},
18512 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS, NULL},
18513 { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
18514 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS, NULL},
18515 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS, NULL},
18516 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
18517 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS, NULL},
18518 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS, NULL},
18519 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS, NULL},
18520 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS, NULL},
c370783e 18521 { NULL, NULL, 0, NULL }
d14a1e28
RD
18522};
18523
18524
18525/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18526
18527static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) {
18528 return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x));
18529}
18530static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) {
18531 return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x));
18532}
18533static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) {
18534 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
18535}
18536static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) {
18537 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
18538}
18539static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) {
18540 return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x));
18541}
18542static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) {
18543 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
18544}
18545static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) {
18546 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
18547}
18548static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) {
18549 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
18550}
18551static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) {
18552 return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
18553}
18554static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) {
18555 return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
18556}
18557static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) {
18558 return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
18559}
18560static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) {
18561 return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
18562}
18563static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) {
18564 return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
18565}
18566static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
18567 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
18568}
18569static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
18570 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
18571}
a2482628
RD
18572static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
18573 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18574}
d14a1e28
RD
18575static void *_p_wxGridTo_p_wxPanel(void *x) {
18576 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x));
18577}
18578static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
18579 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18580}
18581static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
18582 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18583}
18584static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
18585 return (void *)((wxPanel *) ((wxPyPanel *) x));
18586}
18587static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
18588 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
18589}
18590static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
18591 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
18592}
18593static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
18594 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18595}
18596static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) {
18597 return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x));
18598}
18599static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) {
18600 return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
18601}
18602static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
18603 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
18604}
18605static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) {
18606 return (void *)((wxNotifyEvent *) ((wxGridEvent *) x));
18607}
a2482628
RD
18608static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
18609 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18610}
d14a1e28
RD
18611static void *_p_wxGridTo_p_wxScrolledWindow(void *x) {
18612 return (void *)((wxScrolledWindow *) ((wxGrid *) x));
18613}
18614static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
18615 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
18616}
18617static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
18618 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18619}
18620static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
18621 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18622}
18623static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
18624 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
18625}
18626static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
18627 return (void *)((wxWindow *) ((wxMenuBar *) x));
18628}
18629static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
18630 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18631}
18632static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
18633 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18634}
18635static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
18636 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18637}
070c48b4
RD
18638static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
18639 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18640}
d14a1e28
RD
18641static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
18642 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18643}
18644static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
18645 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18646}
18647static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
18648 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18649}
18650static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
18651 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18652}
18653static void *_p_wxPanelTo_p_wxWindow(void *x) {
18654 return (void *)((wxWindow *) ((wxPanel *) x));
18655}
18656static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
18657 return (void *)((wxWindow *) ((wxStatusBar *) x));
18658}
d14a1e28
RD
18659static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
18660 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
18661}
18662static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
18663 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
18664}
18665static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
18666 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18667}
18668static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
18669 return (void *)((wxWindow *) ((wxPopupWindow *) x));
18670}
18671static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
18672 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
18673}
18674static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
18675 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
18676}
18677static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
18678 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
18679}
18680static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
18681 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
18682}
18683static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
18684 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
18685}
18686static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
18687 return (void *)((wxWindow *) ((wxSashWindow *) x));
18688}
070c48b4
RD
18689static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
18690 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
18691}
a2482628
RD
18692static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
18693 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18694}
d14a1e28
RD
18695static void *_p_wxControlTo_p_wxWindow(void *x) {
18696 return (void *)((wxWindow *) ((wxControl *) x));
18697}
18698static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
18699 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18700}
18701static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
18702 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18703}
18704static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
18705 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18706}
18707static void *_p_wxGridTo_p_wxWindow(void *x) {
18708 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
18709}
18710static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
18711 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
18712}
18713static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
18714 return (void *)((wxWindow *) ((wxPyWindow *) x));
18715}
18716static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
18717 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18718}
18719static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
18720 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18721}
18722static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
18723 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18724}
18725static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
18726 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
18727}
18728static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
18729 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18730}
18731static void *_p_wxFrameTo_p_wxWindow(void *x) {
18732 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
18733}
18734static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
18735 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18736}
18737static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
18738 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18739}
18740static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
18741 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18742}
18743static void *_p_wxDialogTo_p_wxWindow(void *x) {
18744 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
18745}
d14a1e28
RD
18746static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
18747 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18748}
18749static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
18750 return (void *)((wxControl *) ((wxControlWithItems *) x));
18751}
18752static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
18753 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
18754}
18755static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
18756 return (void *)((wxEvent *) ((wxMenuEvent *) x));
18757}
18758static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
18759 return (void *)((wxEvent *) ((wxCloseEvent *) x));
18760}
18761static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
18762 return (void *)((wxEvent *) ((wxMouseEvent *) x));
18763}
18764static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
18765 return (void *)((wxEvent *) ((wxEraseEvent *) x));
18766}
18767static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
18768 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
18769}
18770static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
18771 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
18772}
18773static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
18774 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
18775}
18776static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
18777 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
18778}
18779static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
18780 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
18781}
18782static void *_p_wxPyEventTo_p_wxEvent(void *x) {
18783 return (void *)((wxEvent *) ((wxPyEvent *) x));
18784}
18785static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
18786 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
18787}
18788static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
18789 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
18790}
18791static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) {
18792 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
18793}
18794static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
18795 return (void *)((wxEvent *) ((wxIdleEvent *) x));
18796}
18797static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
18798 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
18799}
18800static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
18801 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
18802}
18803static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
18804 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
18805}
18806static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
18807 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
18808}
18809static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
18810 return (void *)((wxEvent *) ((wxActivateEvent *) x));
18811}
18812static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
18813 return (void *)((wxEvent *) ((wxSizeEvent *) x));
18814}
18815static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
18816 return (void *)((wxEvent *) ((wxMoveEvent *) x));
18817}
53aa7709
RD
18818static void *_p_wxDateEventTo_p_wxEvent(void *x) {
18819 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
18820}
d14a1e28
RD
18821static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) {
18822 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
18823}
18824static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
18825 return (void *)((wxEvent *) ((wxPaintEvent *) x));
18826}
18827static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
18828 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
18829}
18830static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
18831 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
18832}
18833static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
18834 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
18835}
18836static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
18837 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
18838}
18839static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
18840 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18841}
18842static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
18843 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
18844}
18845static void *_p_wxGridEventTo_p_wxEvent(void *x) {
18846 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
18847}
18848static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) {
18849 return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
18850}
18851static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
18852 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
18853}
18854static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
18855 return (void *)((wxEvent *) ((wxFocusEvent *) x));
18856}
18857static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
18858 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
18859}
18860static void *_p_wxSashEventTo_p_wxEvent(void *x) {
18861 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
18862}
18863static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
18864 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18865}
18866static void *_p_wxShowEventTo_p_wxEvent(void *x) {
18867 return (void *)((wxEvent *) ((wxShowEvent *) x));
18868}
18869static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
18870 return (void *)((wxEvent *) ((wxCommandEvent *) x));
18871}
18872static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
18873 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
18874}
18875static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
18876 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18877}
18878static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
18879 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
18880}
18881static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
18882 return (void *)((wxEvent *) ((wxKeyEvent *) x));
18883}
18884static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
18885 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
18886}
18887static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
18888 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
18889}
18890static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
18891 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
18892}
18893static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
18894 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18895}
18896static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
18897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18898}
18899static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
18900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18901}
18902static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
18903 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
18904}
18905static void *_p_wxSizerItemTo_p_wxObject(void *x) {
18906 return (void *)((wxObject *) ((wxSizerItem *) x));
18907}
18908static void *_p_wxScrollEventTo_p_wxObject(void *x) {
18909 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
18910}
18911static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
18912 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
18913}
18914static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
18915 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
18916}
18917static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
18918 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
18919}
18920static void *_p_wxSizerTo_p_wxObject(void *x) {
18921 return (void *)((wxObject *) ((wxSizer *) x));
18922}
18923static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
18924 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
18925}
18926static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
18927 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
18928}
18929static void *_p_wxPyPanelTo_p_wxObject(void *x) {
18930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18931}
18932static void *_p_wxEventTo_p_wxObject(void *x) {
18933 return (void *)((wxObject *) ((wxEvent *) x));
18934}
18935static void *_p_wxFontDataTo_p_wxObject(void *x) {
18936 return (void *)((wxObject *) ((wxFontData *) x));
18937}
18938static void *_p_wxPrintDataTo_p_wxObject(void *x) {
18939 return (void *)((wxObject *) ((wxPrintData *) x));
18940}
18941static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
18942 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
18943}
18944static void *_p_wxGridSizerTo_p_wxObject(void *x) {
18945 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
18946}
18947static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
18948 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
18949}
18950static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
18951 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
18952}
84f85550
RD
18953static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
18954 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
18955}
18956static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
18957 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
18958}
18959static void *_p_wxGridStringTableTo_p_wxObject(void *x) {
18960 return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x));
18961}
18962static void *_p_wxPaintEventTo_p_wxObject(void *x) {
18963 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
18964}
18965static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
18966 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
18967}
18968static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
18969 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
18970}
18971static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
18972 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
18973}
18974static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
18975 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18976}
18977static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
18978 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
18979}
18980static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
18981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18982}
18983static void *_p_wxGridEventTo_p_wxObject(void *x) {
18984 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
18985}
18986static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) {
18987 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
18988}
18989static void *_p_wxControlTo_p_wxObject(void *x) {
18990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
18991}
18992static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
18993 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
18994}
18995static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
18996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
18997}
18998static void *_p_wxFSFileTo_p_wxObject(void *x) {
18999 return (void *)((wxObject *) ((wxFSFile *) x));
19000}
19001static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
19002 return (void *)((wxObject *) ((wxFindReplaceData *) x));
19003}
19004static void *_p_wxGridTo_p_wxObject(void *x) {
19005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
19006}
19007static void *_p_wxPySizerTo_p_wxObject(void *x) {
19008 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
19009}
19010static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
19011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
19012}
19013static void *_p_wxColourDataTo_p_wxObject(void *x) {
19014 return (void *)((wxObject *) ((wxColourData *) x));
19015}
19016static void *_p_wxPyEventTo_p_wxObject(void *x) {
19017 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
19018}
19019static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
19020 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
19021}
19022static void *_p_wxPyWindowTo_p_wxObject(void *x) {
19023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
19024}
19025static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
19026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
19027}
19028static void *_p_wxFileDialogTo_p_wxObject(void *x) {
19029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
19030}
19031static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
19032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
19033}
19034static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
19035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
19036}
19037static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
19038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
19039}
070c48b4
RD
19040static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
19041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
19042}
d14a1e28
RD
19043static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
19044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
19045}
19046static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
19047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
19048}
19049static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
19050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
19051}
19052static void *_p_wxShowEventTo_p_wxObject(void *x) {
19053 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
19054}
19055static void *_p_wxPrinterTo_p_wxObject(void *x) {
19056 return (void *)((wxObject *) ((wxPrinter *) x));
19057}
19058static void *_p_wxMenuItemTo_p_wxObject(void *x) {
19059 return (void *)((wxObject *) ((wxMenuItem *) x));
19060}
53aa7709
RD
19061static void *_p_wxDateEventTo_p_wxObject(void *x) {
19062 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
19063}
d14a1e28
RD
19064static void *_p_wxIdleEventTo_p_wxObject(void *x) {
19065 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
19066}
19067static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
19068 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
19069}
19070static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
19071 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
19072}
19073static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
19074 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
19075}
19076static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
19077 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
19078}
19079static void *_p_wxSizeEventTo_p_wxObject(void *x) {
19080 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
19081}
19082static void *_p_wxMoveEventTo_p_wxObject(void *x) {
19083 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
19084}
19085static void *_p_wxActivateEventTo_p_wxObject(void *x) {
19086 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
19087}
19088static void *_p_wxGridSizeEventTo_p_wxObject(void *x) {
19089 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
19090}
d14a1e28
RD
19091static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
19092 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
19093}
19094static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
19095 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
19096}
19097static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
19098 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
19099}
19100static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
19101 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
19102}
19103static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
19104 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
19105}
19106static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
19107 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
19108}
19109static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
19110 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
19111}
19112static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
19113 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
19114}
19115static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
19116 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
19117}
943e8dfd
RD
19118static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
19119 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
19120}
d14a1e28
RD
19121static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
19122 return (void *)((wxObject *) ((wxImageHandler *) x));
19123}
943e8dfd
RD
19124static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
19125 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
19126}
d14a1e28
RD
19127static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
19128 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
19129}
19130static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
19131 return (void *)((wxObject *) ((wxEvtHandler *) x));
19132}
19133static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
19134 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
19135}
19136static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) {
19137 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
19138}
19139static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
19140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
19141}
19142static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
19143 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
19144}
51b83b37
RD
19145static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
19146 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
19147}
d14a1e28
RD
19148static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
19149 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
19150}
19151static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
19152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
19153}
19154static void *_p_wxImageTo_p_wxObject(void *x) {
19155 return (void *)((wxObject *) ((wxImage *) x));
19156}
19157static void *_p_wxFrameTo_p_wxObject(void *x) {
19158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
19159}
19160static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
19161 return (void *)((wxObject *) ((wxPyPrintout *) x));
19162}
19163static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
19164 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
19165}
19166static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
19167 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
19168}
19169static void *_p_wxStatusBarTo_p_wxObject(void *x) {
19170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
19171}
19172static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
19173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
19174}
19175static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
19176 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
19177}
19178static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
19179 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
19180}
19181static void *_p_wxKeyEventTo_p_wxObject(void *x) {
19182 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
19183}
d14a1e28
RD
19184static void *_p_wxWindowTo_p_wxObject(void *x) {
19185 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
19186}
19187static void *_p_wxMenuTo_p_wxObject(void *x) {
19188 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
19189}
19190static void *_p_wxMenuBarTo_p_wxObject(void *x) {
19191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
19192}
41f1cec7
RD
19193static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
19194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
19195}
d14a1e28
RD
19196static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
19197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
19198}
19199static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
19200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
19201}
19202static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
19203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
19204}
19205static void *_p_wxSashWindowTo_p_wxObject(void *x) {
19206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
19207}
19208static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
19209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
19210}
19211static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
19212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
19213}
19214static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
19215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
19216}
19217static void *_p_wxTipWindowTo_p_wxObject(void *x) {
19218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
19219}
19220static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
19221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
19222}
19223static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
19224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
19225}
a2482628
RD
19226static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
19227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
19228}
d14a1e28
RD
19229static void *_p_wxSashEventTo_p_wxObject(void *x) {
19230 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
19231}
19232static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
19233 return (void *)((wxObject *) ((wxPrintPreview *) x));
19234}
19235static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
19236 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
19237}
19238static void *_p_wxPanelTo_p_wxObject(void *x) {
19239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
19240}
19241static void *_p_wxDialogTo_p_wxObject(void *x) {
19242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
19243}
19244static void *_p_wxColourDialogTo_p_wxObject(void *x) {
19245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
19246}
19247static void *_p_wxDirDialogTo_p_wxObject(void *x) {
19248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
19249}
19250static void *_p_wxFontDialogTo_p_wxObject(void *x) {
19251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
19252}
19253static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 19254 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
19255}
19256static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
fc71d09b 19257 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
19258}
19259static void *_p_wxFileSystemTo_p_wxObject(void *x) {
19260 return (void *)((wxObject *) ((wxFileSystem *) x));
19261}
19262static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
19263 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
19264}
19265static void *_p_wxMenuEventTo_p_wxObject(void *x) {
19266 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
19267}
19268static void *_p_wxPyAppTo_p_wxObject(void *x) {
19269 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
19270}
19271static void *_p_wxCloseEventTo_p_wxObject(void *x) {
19272 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
19273}
19274static void *_p_wxMouseEventTo_p_wxObject(void *x) {
19275 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
19276}
19277static void *_p_wxEraseEventTo_p_wxObject(void *x) {
19278 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
19279}
19280static void *_p_wxGridTableBaseTo_p_wxObject(void *x) {
19281 return (void *)((wxObject *) ((wxGridTableBase *) x));
19282}
19283static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) {
19284 return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x));
19285}
19286static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
19287 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
19288}
19289static void *_p_wxCommandEventTo_p_wxObject(void *x) {
19290 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
19291}
19292static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
19293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
19294}
19295static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
19296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
19297}
19298static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
19299 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
19300}
19301static void *_p_wxFocusEventTo_p_wxObject(void *x) {
19302 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
19303}
19304static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
19305 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
19306}
19307static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
19308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
19309}
19310static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
19311 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
19312}
19313static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
19314 return (void *)((wxObject *) ((wxPrintDialogData *) x));
19315}
19316static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
19317 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
19318}
19319static void *_p_wxValidatorTo_p_wxObject(void *x) {
19320 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
19321}
19322static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
19323 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
19324}
19325static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
19326 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
19327}
19328static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
19329 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
19330}
19331static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
19332 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
19333}
19334static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
19335 return (void *)((wxEvtHandler *) ((wxValidator *) x));
19336}
19337static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
19338 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
19339}
19340static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
19341 return (void *)((wxEvtHandler *) ((wxMenu *) x));
19342}
070c48b4
RD
19343static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
19344 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
19345}
d14a1e28
RD
19346static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
19347 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
19348}
19349static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
19350 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
19351}
19352static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
19353 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
19354}
19355static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
19356 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
19357}
19358static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
19359 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
19360}
19361static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
19362 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
19363}
19364static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
19365 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
19366}
19367static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
19368 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
19369}
19370static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
19371 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
19372}
19373static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
19374 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
19375}
19376static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
19377 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
19378}
19379static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
19380 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
19381}
19382static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
19383 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
19384}
19385static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
19386 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
19387}
19388static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
19389 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
19390}
19391static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
19392 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
19393}
19394static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
19395 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
19396}
19397static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
19398 return (void *)((wxEvtHandler *) ((wxWindow *) x));
19399}
19400static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
19401 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
19402}
19403static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
19404 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
19405}
19406static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
19407 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
19408}
a2482628
RD
19409static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
19410 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
19411}
d14a1e28
RD
19412static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
19413 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
19414}
19415static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
19416 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
19417}
19418static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
19419 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
19420}
19421static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
19422 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
19423}
19424static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
19425 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
19426}
19427static void *_p_wxGridTo_p_wxEvtHandler(void *x) {
19428 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
19429}
19430static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
19431 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
19432}
19433static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
19434 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
19435}
19436static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
19437 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
19438}
19439static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
19440 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
19441}
19442static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
19443 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
19444}
19445static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
19446 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
19447}
19448static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
19449 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
19450}
84f85550
RD
19451static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
19452 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
19453}
19454static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
19455 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
19456}
d14a1e28
RD
19457static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
19458 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
19459}
19460static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
19461 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
19462}
19463static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
19464 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
19465}
070c48b4
RD
19466static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
19467 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
19468}
d14a1e28
RD
19469static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
19470 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
19471}
19472static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) {
19473 return (void *)((wxGridTableBase *) ((wxGridStringTable *) x));
19474}
19475static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) {
19476 return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x));
19477}
19478static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) {
19479 return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x));
19480}
19481static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) {
19482 return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x));
19483}
19484static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) {
19485 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
19486}
19487static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) {
19488 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
19489}
19490static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) {
19491 return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x));
19492}
19493static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) {
19494 return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x));
19495}
19496static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) {
19497 return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
19498}
19499static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) {
19500 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
19501}
19502static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) {
19503 return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
19504}
19505static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) {
19506 return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
19507}
19508static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) {
19509 return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
19510}
19511static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
19512 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
19513}
19514static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
19515 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
19516}
19517static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
19518 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
19519}
19520static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
19521 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
19522}
19523static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
19524 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
19525}
19526static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
19527 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
19528}
19529static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
19530 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
19531}
d14a1e28
RD
19532static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) {
19533 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x));
19534}
53aa7709
RD
19535static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
19536 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
19537}
d14a1e28
RD
19538static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
19539 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
19540}
53aa7709
RD
19541static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) {
19542 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
19543}
d14a1e28
RD
19544static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) {
19545 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x));
19546}
19547static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) {
19548 return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
19549}
19550static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
19551 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
19552}
19553static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
19554 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
19555}
19556static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
19557 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
19558}
19559static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) {
19560 return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x));
19561}
19562static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) {
19563 return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
19564}
32fe5131
RD
19565static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
19566static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
19567static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
19568static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0};
19569static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
19570static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
19571static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
19572static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
19573static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
19574static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
19575static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0};
19576static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
19577static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0};
19578static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
19579static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
19580static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
19581static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
19582static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
19583static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
19584static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0};
19585static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
19586static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
19587static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
19588static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
19589static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
19590static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
19591static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
19592static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
19593static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
19594static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
19595static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
19596static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
19597static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
19598static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
19599static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
19600static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
19601static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
19602static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
19603static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
19604static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
19605static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
19606static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
19607static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
19608static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
19609static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
19610static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
19611static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
19612static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
19613static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
19614static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
19615static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
19616static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
19617static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
19618static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
19619static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
19620static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0};
19621static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0};
19622static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0};
19623static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
19624static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
19625static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
19626static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0};
19627static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0};
19628static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
19629static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0};
19630static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
19631static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0};
19632static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
19633static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
19634static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0};
19635static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0};
19636static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
19637static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
19638static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0};
19639static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0};
19640static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0};
19641static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0};
19642static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
19643static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
19644static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
19645static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0};
19646static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
19647static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0};
19648static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0};
19649static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
19650static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0};
19651static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0};
19652static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
19653static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0};
19654static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
19655static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0};
19656static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
19657static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0};
19658static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0};
19659static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0};
19660static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0};
19661static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0};
19662static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
19663static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0};
19664static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
19665static swig_type_info _swigt__p_wxGrid = {"_p_wxGrid", "wxGrid *", 0, 0, 0};
19666static swig_type_info _swigt__p_wxGridCellAttr = {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, 0};
19667static swig_type_info _swigt__p_wxGridCellAttrProvider = {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, 0};
19668static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor = {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, 0};
19669static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer = {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, 0};
19670static swig_type_info _swigt__p_wxGridCellBoolEditor = {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, 0};
19671static swig_type_info _swigt__p_wxGridCellBoolRenderer = {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, 0};
19672static swig_type_info _swigt__p_wxGridCellChoiceEditor = {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, 0};
19673static swig_type_info _swigt__p_wxGridCellCoords = {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, 0};
19674static swig_type_info _swigt__p_wxGridCellDateTimeRenderer = {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, 0};
19675static swig_type_info _swigt__p_wxGridCellEditor = {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, 0};
19676static swig_type_info _swigt__p_wxGridCellEnumEditor = {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, 0};
19677static swig_type_info _swigt__p_wxGridCellEnumRenderer = {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, 0};
19678static swig_type_info _swigt__p_wxGridCellFloatEditor = {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, 0};
19679static swig_type_info _swigt__p_wxGridCellFloatRenderer = {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, 0};
19680static swig_type_info _swigt__p_wxGridCellNumberEditor = {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, 0};
19681static swig_type_info _swigt__p_wxGridCellNumberRenderer = {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, 0};
19682static swig_type_info _swigt__p_wxGridCellRenderer = {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, 0};
19683static swig_type_info _swigt__p_wxGridCellStringRenderer = {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, 0};
19684static swig_type_info _swigt__p_wxGridCellTextEditor = {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, 0};
19685static swig_type_info _swigt__p_wxGridEditorCreatedEvent = {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, 0};
19686static swig_type_info _swigt__p_wxGridEvent = {"_p_wxGridEvent", "wxGridEvent *", 0, 0, 0};
19687static swig_type_info _swigt__p_wxGridRangeSelectEvent = {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, 0};
19688static swig_type_info _swigt__p_wxGridSizeEvent = {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, 0};
19689static swig_type_info _swigt__p_wxGridStringTable = {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, 0};
19690static swig_type_info _swigt__p_wxGridTableBase = {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, 0};
19691static swig_type_info _swigt__p_wxGridTableMessage = {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, 0};
19692static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
19693static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
19694static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
19695static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
19696static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
19697static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
19698static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
19699static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
19700static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
19701static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
19702static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
19703static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0};
19704static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0};
19705static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
19706static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
19707static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
19708static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
19709static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0};
19710static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
19711static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0};
19712static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0};
19713static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
19714static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
19715static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
19716static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
19717static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
19718static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
19719static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
19720static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
19721static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
19722static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
19723static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
19724static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
19725static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
19726static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
19727static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
19728static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
19729static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
19730static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0};
19731static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0};
19732static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0};
19733static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0};
19734static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0};
19735static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
19736static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0};
19737static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0};
19738static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
19739static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
19740static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
19741static swig_type_info _swigt__p_wxPyGridCellAttrProvider = {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, 0};
19742static swig_type_info _swigt__p_wxPyGridCellEditor = {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, 0};
19743static swig_type_info _swigt__p_wxPyGridCellRenderer = {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, 0};
19744static swig_type_info _swigt__p_wxPyGridTableBase = {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, 0};
19745static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
19746static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
19747static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
19748static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
19749static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
19750static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
19751static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
19752static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
19753static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
19754
19755static swig_type_info *swig_type_initial[] = {
19756 &_swigt__p_char,
19757 &_swigt__p_form_ops_t,
19758 &_swigt__p_int,
19759 &_swigt__p_long,
19760 &_swigt__p_unsigned_char,
19761 &_swigt__p_unsigned_int,
19762 &_swigt__p_unsigned_long,
19763 &_swigt__p_wxANIHandler,
19764 &_swigt__p_wxAcceleratorTable,
19765 &_swigt__p_wxActivateEvent,
19766 &_swigt__p_wxArrayString,
19767 &_swigt__p_wxBMPHandler,
19768 &_swigt__p_wxBoxSizer,
19769 &_swigt__p_wxCURHandler,
19770 &_swigt__p_wxCalculateLayoutEvent,
19771 &_swigt__p_wxChildFocusEvent,
19772 &_swigt__p_wxCloseEvent,
19773 &_swigt__p_wxColour,
19774 &_swigt__p_wxColourData,
19775 &_swigt__p_wxColourDialog,
19776 &_swigt__p_wxCommandEvent,
19777 &_swigt__p_wxContextMenuEvent,
19778 &_swigt__p_wxControl,
19779 &_swigt__p_wxControlWithItems,
19780 &_swigt__p_wxDC,
19781 &_swigt__p_wxDateEvent,
19782 &_swigt__p_wxDialog,
19783 &_swigt__p_wxDirDialog,
19784 &_swigt__p_wxDisplayChangedEvent,
19785 &_swigt__p_wxDropFilesEvent,
19786 &_swigt__p_wxDuplexMode,
19787 &_swigt__p_wxEraseEvent,
19788 &_swigt__p_wxEvent,
19789 &_swigt__p_wxEvtHandler,
19790 &_swigt__p_wxFSFile,
19791 &_swigt__p_wxFileDialog,
19792 &_swigt__p_wxFileSystem,
19793 &_swigt__p_wxFindDialogEvent,
19794 &_swigt__p_wxFindReplaceData,
19795 &_swigt__p_wxFindReplaceDialog,
19796 &_swigt__p_wxFlexGridSizer,
19797 &_swigt__p_wxFocusEvent,
19798 &_swigt__p_wxFont,
19799 &_swigt__p_wxFontData,
19800 &_swigt__p_wxFontDialog,
19801 &_swigt__p_wxFrame,
19802 &_swigt__p_wxGBSizerItem,
19803 &_swigt__p_wxGIFHandler,
19804 &_swigt__p_wxGrid,
19805 &_swigt__p_wxGridBagSizer,
19806 &_swigt__p_wxGridCellAttr,
19807 &_swigt__p_wxGridCellAttrProvider,
19808 &_swigt__p_wxGridCellAutoWrapStringEditor,
19809 &_swigt__p_wxGridCellAutoWrapStringRenderer,
19810 &_swigt__p_wxGridCellBoolEditor,
19811 &_swigt__p_wxGridCellBoolRenderer,
19812 &_swigt__p_wxGridCellChoiceEditor,
19813 &_swigt__p_wxGridCellCoords,
19814 &_swigt__p_wxGridCellDateTimeRenderer,
19815 &_swigt__p_wxGridCellEditor,
19816 &_swigt__p_wxGridCellEnumEditor,
19817 &_swigt__p_wxGridCellEnumRenderer,
19818 &_swigt__p_wxGridCellFloatEditor,
19819 &_swigt__p_wxGridCellFloatRenderer,
19820 &_swigt__p_wxGridCellNumberEditor,
19821 &_swigt__p_wxGridCellNumberRenderer,
19822 &_swigt__p_wxGridCellRenderer,
19823 &_swigt__p_wxGridCellStringRenderer,
19824 &_swigt__p_wxGridCellTextEditor,
19825 &_swigt__p_wxGridEditorCreatedEvent,
19826 &_swigt__p_wxGridEvent,
19827 &_swigt__p_wxGridRangeSelectEvent,
19828 &_swigt__p_wxGridSizeEvent,
19829 &_swigt__p_wxGridSizer,
19830 &_swigt__p_wxGridStringTable,
19831 &_swigt__p_wxGridTableBase,
19832 &_swigt__p_wxGridTableMessage,
19833 &_swigt__p_wxICOHandler,
19834 &_swigt__p_wxIconizeEvent,
19835 &_swigt__p_wxIdleEvent,
19836 &_swigt__p_wxImage,
19837 &_swigt__p_wxImageHandler,
19838 &_swigt__p_wxIndividualLayoutConstraint,
19839 &_swigt__p_wxInitDialogEvent,
19840 &_swigt__p_wxJPEGHandler,
19841 &_swigt__p_wxKeyEvent,
19842 &_swigt__p_wxLayoutAlgorithm,
19843 &_swigt__p_wxLayoutConstraints,
19844 &_swigt__p_wxMDIChildFrame,
19845 &_swigt__p_wxMDIClientWindow,
19846 &_swigt__p_wxMDIParentFrame,
19847 &_swigt__p_wxMaximizeEvent,
19848 &_swigt__p_wxMenu,
19849 &_swigt__p_wxMenuBar,
19850 &_swigt__p_wxMenuEvent,
19851 &_swigt__p_wxMenuItem,
19852 &_swigt__p_wxMessageDialog,
19853 &_swigt__p_wxMiniFrame,
19854 &_swigt__p_wxMouseCaptureChangedEvent,
19855 &_swigt__p_wxMouseEvent,
19856 &_swigt__p_wxMoveEvent,
19857 &_swigt__p_wxMultiChoiceDialog,
19858 &_swigt__p_wxNavigationKeyEvent,
19859 &_swigt__p_wxNcPaintEvent,
19860 &_swigt__p_wxNotifyEvent,
19861 &_swigt__p_wxObject,
19862 &_swigt__p_wxPCXHandler,
19863 &_swigt__p_wxPNGHandler,
19864 &_swigt__p_wxPNMHandler,
19865 &_swigt__p_wxPageSetupDialog,
19866 &_swigt__p_wxPageSetupDialogData,
19867 &_swigt__p_wxPaintEvent,
19868 &_swigt__p_wxPaletteChangedEvent,
19869 &_swigt__p_wxPanel,
19870 &_swigt__p_wxPaperSize,
19871 &_swigt__p_wxPasswordEntryDialog,
19872 &_swigt__p_wxPoint,
19873 &_swigt__p_wxPopupWindow,
19874 &_swigt__p_wxPreviewCanvas,
19875 &_swigt__p_wxPreviewControlBar,
19876 &_swigt__p_wxPreviewFrame,
19877 &_swigt__p_wxPrintData,
19878 &_swigt__p_wxPrintDialog,
19879 &_swigt__p_wxPrintDialogData,
19880 &_swigt__p_wxPrintPreview,
19881 &_swigt__p_wxPrinter,
19882 &_swigt__p_wxProgressDialog,
19883 &_swigt__p_wxPyApp,
19884 &_swigt__p_wxPyCommandEvent,
19885 &_swigt__p_wxPyEvent,
19886 &_swigt__p_wxPyGridCellAttrProvider,
19887 &_swigt__p_wxPyGridCellEditor,
19888 &_swigt__p_wxPyGridCellRenderer,
19889 &_swigt__p_wxPyGridTableBase,
19890 &_swigt__p_wxPyHtmlListBox,
19891 &_swigt__p_wxPyImageHandler,
19892 &_swigt__p_wxPyPanel,
19893 &_swigt__p_wxPyPopupTransientWindow,
19894 &_swigt__p_wxPyPreviewControlBar,
19895 &_swigt__p_wxPyPreviewFrame,
19896 &_swigt__p_wxPyPrintPreview,
19897 &_swigt__p_wxPyPrintout,
19898 &_swigt__p_wxPyScrolledWindow,
19899 &_swigt__p_wxPySizer,
19900 &_swigt__p_wxPyTaskBarIcon,
19901 &_swigt__p_wxPyVListBox,
19902 &_swigt__p_wxPyVScrolledWindow,
19903 &_swigt__p_wxPyValidator,
19904 &_swigt__p_wxPyWindow,
19905 &_swigt__p_wxQueryLayoutInfoEvent,
19906 &_swigt__p_wxQueryNewPaletteEvent,
19907 &_swigt__p_wxRect,
19908 &_swigt__p_wxSashEvent,
19909 &_swigt__p_wxSashLayoutWindow,
19910 &_swigt__p_wxSashWindow,
19911 &_swigt__p_wxScrollEvent,
19912 &_swigt__p_wxScrollWinEvent,
19913 &_swigt__p_wxScrolledWindow,
19914 &_swigt__p_wxSetCursorEvent,
19915 &_swigt__p_wxShowEvent,
19916 &_swigt__p_wxSingleChoiceDialog,
19917 &_swigt__p_wxSize,
19918 &_swigt__p_wxSizeEvent,
19919 &_swigt__p_wxSizer,
19920 &_swigt__p_wxSizerItem,
19921 &_swigt__p_wxSplashScreen,
19922 &_swigt__p_wxSplashScreenWindow,
19923 &_swigt__p_wxSplitterEvent,
19924 &_swigt__p_wxSplitterWindow,
19925 &_swigt__p_wxStaticBoxSizer,
19926 &_swigt__p_wxStatusBar,
19927 &_swigt__p_wxStdDialogButtonSizer,
19928 &_swigt__p_wxString,
19929 &_swigt__p_wxSysColourChangedEvent,
19930 &_swigt__p_wxTIFFHandler,
19931 &_swigt__p_wxTaskBarIconEvent,
19932 &_swigt__p_wxTextEntryDialog,
19933 &_swigt__p_wxTipWindow,
19934 &_swigt__p_wxTopLevelWindow,
19935 &_swigt__p_wxUpdateUIEvent,
19936 &_swigt__p_wxValidator,
19937 &_swigt__p_wxVisualAttributes,
19938 &_swigt__p_wxWindow,
19939 &_swigt__p_wxWindowCreateEvent,
19940 &_swigt__p_wxWindowDestroyEvent,
19941 &_swigt__p_wxXPMHandler,
19942 &_swigt__ptrdiff_t,
19943 &_swigt__std__ptrdiff_t,
19944 &_swigt__unsigned_int,
19945};
19946
19947static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
19948static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
19949static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
19950static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
19951static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
19952static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
19953static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
19954static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
19955static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
19956static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
19957static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
19958static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
19959static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
19960static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
19961static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19962static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19963static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
19964static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
19965static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19966static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
19967static 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}};
19968static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
19969static 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}};
19970static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
19971static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
19972static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19973static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
19974static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
19975static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
19976static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
19977static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19978static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
19979static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
19980static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
19981static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
19982static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19983static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19984static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
19985static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19986static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
19987static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19988static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19989static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19990static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19991static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19992static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19993static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
19994static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19995static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
19996static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
19997static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19998static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
19999static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
20000static 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}};
20001static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
20002static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
20003static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
20004static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
20005static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
20006static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
20007static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
20008static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
20009static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
20010static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
20011static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
20012static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
20013static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
20014static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
20015static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
20016static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
20017static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
20018static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
20019static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
20020static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
20021static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
20022static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
20023static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
20024static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
20025static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
20026static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
20027static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
20028static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
20029static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
20030static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
20031static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
20032static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
20033static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
20034static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
20035static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
20036static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
20037static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
20038static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
20039static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
20040static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
20041static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
20042static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
20043static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
20044static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
20045static 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}};
20046static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
20047static swig_cast_info _swigc__p_wxGrid[] = { {&_swigt__p_wxGrid, 0, 0, 0},{0, 0, 0, 0}};
20048static swig_cast_info _swigc__p_wxGridCellAttr[] = { {&_swigt__p_wxGridCellAttr, 0, 0, 0},{0, 0, 0, 0}};
20049static 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}};
20050static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor[] = { {&_swigt__p_wxGridCellAutoWrapStringEditor, 0, 0, 0},{0, 0, 0, 0}};
20051static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer[] = { {&_swigt__p_wxGridCellAutoWrapStringRenderer, 0, 0, 0},{0, 0, 0, 0}};
20052static swig_cast_info _swigc__p_wxGridCellBoolEditor[] = { {&_swigt__p_wxGridCellBoolEditor, 0, 0, 0},{0, 0, 0, 0}};
20053static swig_cast_info _swigc__p_wxGridCellBoolRenderer[] = { {&_swigt__p_wxGridCellBoolRenderer, 0, 0, 0},{0, 0, 0, 0}};
20054static 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}};
20055static swig_cast_info _swigc__p_wxGridCellCoords[] = { {&_swigt__p_wxGridCellCoords, 0, 0, 0},{0, 0, 0, 0}};
20056static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer[] = { {&_swigt__p_wxGridCellDateTimeRenderer, 0, 0, 0},{0, 0, 0, 0}};
20057static 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}};
20058static swig_cast_info _swigc__p_wxGridCellEnumEditor[] = { {&_swigt__p_wxGridCellEnumEditor, 0, 0, 0},{0, 0, 0, 0}};
20059static swig_cast_info _swigc__p_wxGridCellEnumRenderer[] = { {&_swigt__p_wxGridCellEnumRenderer, 0, 0, 0},{0, 0, 0, 0}};
20060static swig_cast_info _swigc__p_wxGridCellFloatEditor[] = { {&_swigt__p_wxGridCellFloatEditor, 0, 0, 0},{0, 0, 0, 0}};
20061static swig_cast_info _swigc__p_wxGridCellFloatRenderer[] = { {&_swigt__p_wxGridCellFloatRenderer, 0, 0, 0},{0, 0, 0, 0}};
20062static swig_cast_info _swigc__p_wxGridCellNumberEditor[] = { {&_swigt__p_wxGridCellNumberEditor, 0, 0, 0},{0, 0, 0, 0}};
20063static swig_cast_info _swigc__p_wxGridCellNumberRenderer[] = { {&_swigt__p_wxGridCellNumberRenderer, 0, 0, 0},{0, 0, 0, 0}};
20064static 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}};
20065static 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}};
20066static 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}};
20067static swig_cast_info _swigc__p_wxGridEditorCreatedEvent[] = { {&_swigt__p_wxGridEditorCreatedEvent, 0, 0, 0},{0, 0, 0, 0}};
20068static swig_cast_info _swigc__p_wxGridEvent[] = { {&_swigt__p_wxGridEvent, 0, 0, 0},{0, 0, 0, 0}};
20069static swig_cast_info _swigc__p_wxGridRangeSelectEvent[] = { {&_swigt__p_wxGridRangeSelectEvent, 0, 0, 0},{0, 0, 0, 0}};
20070static swig_cast_info _swigc__p_wxGridSizeEvent[] = { {&_swigt__p_wxGridSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
20071static swig_cast_info _swigc__p_wxGridStringTable[] = { {&_swigt__p_wxGridStringTable, 0, 0, 0},{0, 0, 0, 0}};
20072static 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}};
20073static swig_cast_info _swigc__p_wxGridTableMessage[] = { {&_swigt__p_wxGridTableMessage, 0, 0, 0},{0, 0, 0, 0}};
20074static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
20075static 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}};
20076static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
20077static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
20078static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
20079static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
20080static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
20081static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
20082static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
20083static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
20084static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
20085static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
20086static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
20087static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
20088static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
20089static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
20090static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
20091static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
20092static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
20093static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
20094static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
20095static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
20096static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
20097static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
20098static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
20099static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
20100static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
20101static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
20102static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
20103static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
20104static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
20105static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
20106static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
20107static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
20108static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
20109static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
20110static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
20111static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
20112static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
20113static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
20114static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
20115static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
20116static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
20117static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
20118static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
20119static 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}};
20120static 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}};
20121static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
20122static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
20123static swig_cast_info _swigc__p_wxPyGridCellAttrProvider[] = { {&_swigt__p_wxPyGridCellAttrProvider, 0, 0, 0},{0, 0, 0, 0}};
20124static swig_cast_info _swigc__p_wxPyGridCellEditor[] = { {&_swigt__p_wxPyGridCellEditor, 0, 0, 0},{0, 0, 0, 0}};
20125static swig_cast_info _swigc__p_wxPyGridCellRenderer[] = { {&_swigt__p_wxPyGridCellRenderer, 0, 0, 0},{0, 0, 0, 0}};
20126static swig_cast_info _swigc__p_wxPyGridTableBase[] = { {&_swigt__p_wxPyGridTableBase, 0, 0, 0},{0, 0, 0, 0}};
20127static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
20128static 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}};
20129static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
20130static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
20131static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
20132static 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}};
20133static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
20134static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
20135static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
20136
20137static swig_cast_info *swig_cast_initial[] = {
20138 _swigc__p_char,
20139 _swigc__p_form_ops_t,
20140 _swigc__p_int,
20141 _swigc__p_long,
20142 _swigc__p_unsigned_char,
20143 _swigc__p_unsigned_int,
20144 _swigc__p_unsigned_long,
20145 _swigc__p_wxANIHandler,
20146 _swigc__p_wxAcceleratorTable,
20147 _swigc__p_wxActivateEvent,
20148 _swigc__p_wxArrayString,
20149 _swigc__p_wxBMPHandler,
20150 _swigc__p_wxBoxSizer,
20151 _swigc__p_wxCURHandler,
20152 _swigc__p_wxCalculateLayoutEvent,
20153 _swigc__p_wxChildFocusEvent,
20154 _swigc__p_wxCloseEvent,
20155 _swigc__p_wxColour,
20156 _swigc__p_wxColourData,
20157 _swigc__p_wxColourDialog,
20158 _swigc__p_wxCommandEvent,
20159 _swigc__p_wxContextMenuEvent,
20160 _swigc__p_wxControl,
20161 _swigc__p_wxControlWithItems,
20162 _swigc__p_wxDC,
20163 _swigc__p_wxDateEvent,
20164 _swigc__p_wxDialog,
20165 _swigc__p_wxDirDialog,
20166 _swigc__p_wxDisplayChangedEvent,
20167 _swigc__p_wxDropFilesEvent,
20168 _swigc__p_wxDuplexMode,
20169 _swigc__p_wxEraseEvent,
20170 _swigc__p_wxEvent,
20171 _swigc__p_wxEvtHandler,
20172 _swigc__p_wxFSFile,
20173 _swigc__p_wxFileDialog,
20174 _swigc__p_wxFileSystem,
20175 _swigc__p_wxFindDialogEvent,
20176 _swigc__p_wxFindReplaceData,
20177 _swigc__p_wxFindReplaceDialog,
20178 _swigc__p_wxFlexGridSizer,
20179 _swigc__p_wxFocusEvent,
20180 _swigc__p_wxFont,
20181 _swigc__p_wxFontData,
20182 _swigc__p_wxFontDialog,
20183 _swigc__p_wxFrame,
20184 _swigc__p_wxGBSizerItem,
20185 _swigc__p_wxGIFHandler,
20186 _swigc__p_wxGrid,
20187 _swigc__p_wxGridBagSizer,
20188 _swigc__p_wxGridCellAttr,
20189 _swigc__p_wxGridCellAttrProvider,
20190 _swigc__p_wxGridCellAutoWrapStringEditor,
20191 _swigc__p_wxGridCellAutoWrapStringRenderer,
20192 _swigc__p_wxGridCellBoolEditor,
20193 _swigc__p_wxGridCellBoolRenderer,
20194 _swigc__p_wxGridCellChoiceEditor,
20195 _swigc__p_wxGridCellCoords,
20196 _swigc__p_wxGridCellDateTimeRenderer,
20197 _swigc__p_wxGridCellEditor,
20198 _swigc__p_wxGridCellEnumEditor,
20199 _swigc__p_wxGridCellEnumRenderer,
20200 _swigc__p_wxGridCellFloatEditor,
20201 _swigc__p_wxGridCellFloatRenderer,
20202 _swigc__p_wxGridCellNumberEditor,
20203 _swigc__p_wxGridCellNumberRenderer,
20204 _swigc__p_wxGridCellRenderer,
20205 _swigc__p_wxGridCellStringRenderer,
20206 _swigc__p_wxGridCellTextEditor,
20207 _swigc__p_wxGridEditorCreatedEvent,
20208 _swigc__p_wxGridEvent,
20209 _swigc__p_wxGridRangeSelectEvent,
20210 _swigc__p_wxGridSizeEvent,
20211 _swigc__p_wxGridSizer,
20212 _swigc__p_wxGridStringTable,
20213 _swigc__p_wxGridTableBase,
20214 _swigc__p_wxGridTableMessage,
20215 _swigc__p_wxICOHandler,
20216 _swigc__p_wxIconizeEvent,
20217 _swigc__p_wxIdleEvent,
20218 _swigc__p_wxImage,
20219 _swigc__p_wxImageHandler,
20220 _swigc__p_wxIndividualLayoutConstraint,
20221 _swigc__p_wxInitDialogEvent,
20222 _swigc__p_wxJPEGHandler,
20223 _swigc__p_wxKeyEvent,
20224 _swigc__p_wxLayoutAlgorithm,
20225 _swigc__p_wxLayoutConstraints,
20226 _swigc__p_wxMDIChildFrame,
20227 _swigc__p_wxMDIClientWindow,
20228 _swigc__p_wxMDIParentFrame,
20229 _swigc__p_wxMaximizeEvent,
20230 _swigc__p_wxMenu,
20231 _swigc__p_wxMenuBar,
20232 _swigc__p_wxMenuEvent,
20233 _swigc__p_wxMenuItem,
20234 _swigc__p_wxMessageDialog,
20235 _swigc__p_wxMiniFrame,
20236 _swigc__p_wxMouseCaptureChangedEvent,
20237 _swigc__p_wxMouseEvent,
20238 _swigc__p_wxMoveEvent,
20239 _swigc__p_wxMultiChoiceDialog,
20240 _swigc__p_wxNavigationKeyEvent,
20241 _swigc__p_wxNcPaintEvent,
20242 _swigc__p_wxNotifyEvent,
20243 _swigc__p_wxObject,
20244 _swigc__p_wxPCXHandler,
20245 _swigc__p_wxPNGHandler,
20246 _swigc__p_wxPNMHandler,
20247 _swigc__p_wxPageSetupDialog,
20248 _swigc__p_wxPageSetupDialogData,
20249 _swigc__p_wxPaintEvent,
20250 _swigc__p_wxPaletteChangedEvent,
20251 _swigc__p_wxPanel,
20252 _swigc__p_wxPaperSize,
20253 _swigc__p_wxPasswordEntryDialog,
20254 _swigc__p_wxPoint,
20255 _swigc__p_wxPopupWindow,
20256 _swigc__p_wxPreviewCanvas,
20257 _swigc__p_wxPreviewControlBar,
20258 _swigc__p_wxPreviewFrame,
20259 _swigc__p_wxPrintData,
20260 _swigc__p_wxPrintDialog,
20261 _swigc__p_wxPrintDialogData,
20262 _swigc__p_wxPrintPreview,
20263 _swigc__p_wxPrinter,
20264 _swigc__p_wxProgressDialog,
20265 _swigc__p_wxPyApp,
20266 _swigc__p_wxPyCommandEvent,
20267 _swigc__p_wxPyEvent,
20268 _swigc__p_wxPyGridCellAttrProvider,
20269 _swigc__p_wxPyGridCellEditor,
20270 _swigc__p_wxPyGridCellRenderer,
20271 _swigc__p_wxPyGridTableBase,
20272 _swigc__p_wxPyHtmlListBox,
20273 _swigc__p_wxPyImageHandler,
20274 _swigc__p_wxPyPanel,
20275 _swigc__p_wxPyPopupTransientWindow,
20276 _swigc__p_wxPyPreviewControlBar,
20277 _swigc__p_wxPyPreviewFrame,
20278 _swigc__p_wxPyPrintPreview,
20279 _swigc__p_wxPyPrintout,
20280 _swigc__p_wxPyScrolledWindow,
20281 _swigc__p_wxPySizer,
20282 _swigc__p_wxPyTaskBarIcon,
20283 _swigc__p_wxPyVListBox,
20284 _swigc__p_wxPyVScrolledWindow,
20285 _swigc__p_wxPyValidator,
20286 _swigc__p_wxPyWindow,
20287 _swigc__p_wxQueryLayoutInfoEvent,
20288 _swigc__p_wxQueryNewPaletteEvent,
20289 _swigc__p_wxRect,
20290 _swigc__p_wxSashEvent,
20291 _swigc__p_wxSashLayoutWindow,
20292 _swigc__p_wxSashWindow,
20293 _swigc__p_wxScrollEvent,
20294 _swigc__p_wxScrollWinEvent,
20295 _swigc__p_wxScrolledWindow,
20296 _swigc__p_wxSetCursorEvent,
20297 _swigc__p_wxShowEvent,
20298 _swigc__p_wxSingleChoiceDialog,
20299 _swigc__p_wxSize,
20300 _swigc__p_wxSizeEvent,
20301 _swigc__p_wxSizer,
20302 _swigc__p_wxSizerItem,
20303 _swigc__p_wxSplashScreen,
20304 _swigc__p_wxSplashScreenWindow,
20305 _swigc__p_wxSplitterEvent,
20306 _swigc__p_wxSplitterWindow,
20307 _swigc__p_wxStaticBoxSizer,
20308 _swigc__p_wxStatusBar,
20309 _swigc__p_wxStdDialogButtonSizer,
20310 _swigc__p_wxString,
20311 _swigc__p_wxSysColourChangedEvent,
20312 _swigc__p_wxTIFFHandler,
20313 _swigc__p_wxTaskBarIconEvent,
20314 _swigc__p_wxTextEntryDialog,
20315 _swigc__p_wxTipWindow,
20316 _swigc__p_wxTopLevelWindow,
20317 _swigc__p_wxUpdateUIEvent,
20318 _swigc__p_wxValidator,
20319 _swigc__p_wxVisualAttributes,
20320 _swigc__p_wxWindow,
20321 _swigc__p_wxWindowCreateEvent,
20322 _swigc__p_wxWindowDestroyEvent,
20323 _swigc__p_wxXPMHandler,
20324 _swigc__ptrdiff_t,
20325 _swigc__std__ptrdiff_t,
20326 _swigc__unsigned_int,
d14a1e28
RD
20327};
20328
20329
20330/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20331
20332static swig_const_info swig_const_table[] = {
2f4c0a16
RD
20333{ SWIG_PY_POINTER, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char},
20334{ SWIG_PY_POINTER, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char},
20335{ SWIG_PY_POINTER, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char},
20336{ SWIG_PY_POINTER, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char},
20337{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char},
20338{ SWIG_PY_POINTER, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char},
20339{ SWIG_PY_POINTER, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char},
20340{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char},
20341{ SWIG_PY_POINTER, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char},
c370783e 20342{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
20343
20344#ifdef __cplusplus
20345}
20346#endif
32fe5131
RD
20347/*************************************************************************
20348 * Type initialization:
20349 * This problem is tough by the requirement that no dynamic
20350 * memory is used. Also, since swig_type_info structures store pointers to
20351 * swig_cast_info structures and swig_cast_info structures store pointers back
20352 * to swig_type_info structures, we need some lookup code at initialization.
20353 * The idea is that swig generates all the structures that are needed.
20354 * The runtime then collects these partially filled structures.
20355 * The SWIG_InitializeModule function takes these initial arrays out of
20356 * swig_module, and does all the lookup, filling in the swig_module.types
20357 * array with the correct data and linking the correct swig_cast_info
20358 * structures together.
20359
20360 * The generated swig_type_info structures are assigned staticly to an initial
20361 * array. We just loop though that array, and handle each type individually.
20362 * First we lookup if this type has been already loaded, and if so, use the
20363 * loaded structure instead of the generated one. Then we have to fill in the
20364 * cast linked list. The cast data is initially stored in something like a
20365 * two-dimensional array. Each row corresponds to a type (there are the same
20366 * number of rows as there are in the swig_type_initial array). Each entry in
20367 * a column is one of the swig_cast_info structures for that type.
20368 * The cast_initial array is actually an array of arrays, because each row has
20369 * a variable number of columns. So to actually build the cast linked list,
20370 * we find the array of casts associated with the type, and loop through it
20371 * adding the casts to the list. The one last trick we need to do is making
20372 * sure the type pointer in the swig_cast_info struct is correct.
20373
20374 * First off, we lookup the cast->type name to see if it is already loaded.
20375 * There are three cases to handle:
20376 * 1) If the cast->type has already been loaded AND the type we are adding
20377 * casting info to has not been loaded (it is in this module), THEN we
20378 * replace the cast->type pointer with the type pointer that has already
20379 * been loaded.
20380 * 2) If BOTH types (the one we are adding casting info to, and the
20381 * cast->type) are loaded, THEN the cast info has already been loaded by
20382 * the previous module so we just ignore it.
20383 * 3) Finally, if cast->type has not already been loaded, then we add that
20384 * swig_cast_info to the linked list (because the cast->type) pointer will
20385 * be correct.
20386**/
20387
20388#ifdef __cplusplus
20389extern "C" {
20390#if 0
20391} /* c-mode */
20392#endif
20393#endif
20394
20395#if 0
20396#define SWIGRUNTIME_DEBUG
20397#endif
20398
20399SWIGRUNTIME void
20400SWIG_InitializeModule(void *clientdata) {
20401 size_t i;
20402 swig_module_info *module_head;
20403 static int init_run = 0;
20404
20405 clientdata = clientdata;
20406
20407 if (init_run) return;
20408 init_run = 1;
20409
20410 /* Initialize the swig_module */
20411 swig_module.type_initial = swig_type_initial;
20412 swig_module.cast_initial = swig_cast_initial;
20413
20414 /* Try and load any already created modules */
20415 module_head = SWIG_GetModule(clientdata);
20416 if (module_head) {
20417 swig_module.next = module_head->next;
20418 module_head->next = &swig_module;
20419 } else {
20420 /* This is the first module loaded */
20421 swig_module.next = &swig_module;
20422 SWIG_SetModule(clientdata, &swig_module);
20423 }
20424
20425 /* Now work on filling in swig_module.types */
20426#ifdef SWIGRUNTIME_DEBUG
20427 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
20428#endif
20429 for (i = 0; i < swig_module.size; ++i) {
20430 swig_type_info *type = 0;
20431 swig_type_info *ret;
20432 swig_cast_info *cast;
20433
20434#ifdef SWIGRUNTIME_DEBUG
20435 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
20436#endif
20437
20438 /* if there is another module already loaded */
20439 if (swig_module.next != &swig_module) {
20440 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
20441 }
20442 if (type) {
20443 /* Overwrite clientdata field */
20444#ifdef SWIGRUNTIME_DEBUG
20445 printf("SWIG_InitializeModule: found type %s\n", type->name);
20446#endif
20447 if (swig_module.type_initial[i]->clientdata) {
20448 type->clientdata = swig_module.type_initial[i]->clientdata;
20449#ifdef SWIGRUNTIME_DEBUG
20450 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
20451#endif
20452 }
20453 } else {
20454 type = swig_module.type_initial[i];
20455 }
20456
20457 /* Insert casting types */
20458 cast = swig_module.cast_initial[i];
20459 while (cast->type) {
20460 /* Don't need to add information already in the list */
20461 ret = 0;
20462#ifdef SWIGRUNTIME_DEBUG
20463 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
20464#endif
20465 if (swig_module.next != &swig_module) {
20466 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
20467#ifdef SWIGRUNTIME_DEBUG
20468 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
20469#endif
20470 }
20471 if (ret) {
20472 if (type == swig_module.type_initial[i]) {
20473#ifdef SWIGRUNTIME_DEBUG
20474 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
20475#endif
20476 cast->type = ret;
20477 ret = 0;
20478 } else {
20479 /* Check for casting already in the list */
20480 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
20481#ifdef SWIGRUNTIME_DEBUG
20482 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
20483#endif
20484 if (!ocast) ret = 0;
20485 }
20486 }
20487
20488 if (!ret) {
20489#ifdef SWIGRUNTIME_DEBUG
20490 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
20491#endif
20492 if (type->cast) {
20493 type->cast->prev = cast;
20494 cast->next = type->cast;
20495 }
20496 type->cast = cast;
20497 }
20498 cast++;
20499 }
20500 /* Set entry in modules->types array equal to the type */
20501 swig_module.types[i] = type;
20502 }
20503 swig_module.types[i] = 0;
20504
20505#ifdef SWIGRUNTIME_DEBUG
20506 printf("**** SWIG_InitializeModule: Cast List ******\n");
20507 for (i = 0; i < swig_module.size; ++i) {
20508 int j = 0;
20509 swig_cast_info *cast = swig_module.cast_initial[i];
20510 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
20511 while (cast->type) {
20512 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
20513 cast++;
20514 ++j;
20515 }
20516 printf("---- Total casts: %d\n",j);
20517 }
20518 printf("**** SWIG_InitializeModule: Cast List ******\n");
20519#endif
20520}
20521
20522/* This function will propagate the clientdata field of type to
20523* any new swig_type_info structures that have been added into the list
20524* of equivalent types. It is like calling
20525* SWIG_TypeClientData(type, clientdata) a second time.
20526*/
20527SWIGRUNTIME void
20528SWIG_PropagateClientData(void) {
20529 size_t i;
20530 swig_cast_info *equiv;
20531 static int init_run = 0;
20532
20533 if (init_run) return;
20534 init_run = 1;
20535
20536 for (i = 0; i < swig_module.size; i++) {
20537 if (swig_module.types[i]->clientdata) {
20538 equiv = swig_module.types[i]->cast;
20539 while (equiv) {
20540 if (!equiv->converter) {
20541 if (equiv->type && !equiv->type->clientdata)
20542 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
20543 }
20544 equiv = equiv->next;
20545 }
20546 }
20547 }
20548}
20549
20550#ifdef __cplusplus
20551#if 0
20552{
20553 /* c-mode */
20554#endif
20555}
20556#endif
20557
d14a1e28 20558
36ed4f51
RD
20559
20560#ifdef __cplusplus
20561extern "C" {
20562#endif
20563
20564 /* Python-specific SWIG API */
20565#define SWIG_newvarlink() SWIG_Python_newvarlink()
20566#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20567#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20568
20569 /* -----------------------------------------------------------------------------
20570 * global variable support code.
20571 * ----------------------------------------------------------------------------- */
20572
20573 typedef struct swig_globalvar {
20574 char *name; /* Name of global variable */
32fe5131 20575 PyObject *(*get_attr)(void); /* Return the current value */
36ed4f51
RD
20576 int (*set_attr)(PyObject *); /* Set the value */
20577 struct swig_globalvar *next;
20578 } swig_globalvar;
20579
20580 typedef struct swig_varlinkobject {
20581 PyObject_HEAD
20582 swig_globalvar *vars;
20583 } swig_varlinkobject;
20584
32fe5131 20585 SWIGINTERN PyObject *
36ed4f51
RD
20586 swig_varlink_repr(swig_varlinkobject *v) {
20587 v = v;
20588 return PyString_FromString("<Swig global variables>");
20589 }
20590
32fe5131 20591 SWIGINTERN int
36ed4f51
RD
20592 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
20593 swig_globalvar *var;
20594 flags = flags;
20595 fprintf(fp,"Swig global variables { ");
20596 for (var = v->vars; var; var=var->next) {
20597 fprintf(fp,"%s", var->name);
20598 if (var->next) fprintf(fp,", ");
20599 }
20600 fprintf(fp," }\n");
20601 return 0;
20602 }
20603
32fe5131 20604 SWIGINTERN PyObject *
36ed4f51
RD
20605 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
20606 swig_globalvar *var = v->vars;
20607 while (var) {
20608 if (strcmp(var->name,n) == 0) {
20609 return (*var->get_attr)();
20610 }
20611 var = var->next;
20612 }
20613 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20614 return NULL;
20615 }
20616
32fe5131 20617 SWIGINTERN int
36ed4f51
RD
20618 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
20619 swig_globalvar *var = v->vars;
20620 while (var) {
20621 if (strcmp(var->name,n) == 0) {
20622 return (*var->set_attr)(p);
20623 }
20624 var = var->next;
20625 }
20626 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20627 return 1;
20628 }
20629
32fe5131
RD
20630 SWIGINTERN PyTypeObject*
20631 swig_varlink_type(void) {
20632 static char varlink__doc__[] = "Swig var link object";
20633 static PyTypeObject varlink_type
20634#if !defined(__cplusplus)
20635 ;
20636 static int type_init = 0;
20637 if (!type_init) {
20638 PyTypeObject tmp
20639#endif
20640 = {
20641 PyObject_HEAD_INIT(&PyType_Type)
20642 0, /* Number of items in variable part (ob_size) */
20643 (char *)"swigvarlink", /* Type name (tp_name) */
20644 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
20645 0, /* Itemsize (tp_itemsize) */
20646 0, /* Deallocator (tp_dealloc) */
20647 (printfunc) swig_varlink_print, /* Print (tp_print) */
20648 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
20649 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
20650 0, /* tp_compare */
20651 (reprfunc) swig_varlink_repr, /* tp_repr */
20652 0, /* tp_as_number */
20653 0, /* tp_as_sequence */
20654 0, /* tp_as_mapping */
20655 0, /* tp_hash */
20656 0, /* tp_call */
20657 0, /* tp_str */
20658 0, /* tp_getattro */
20659 0, /* tp_setattro */
20660 0, /* tp_as_buffer */
20661 0, /* tp_flags */
20662 varlink__doc__, /* tp_doc */
36ed4f51 20663#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
20664 0, /* tp_traverse */
20665 0, /* tp_clear */
36ed4f51
RD
20666#endif
20667#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
20668 0, /* tp_richcompare */
20669 0, /* tp_weaklistoffset */
36ed4f51
RD
20670#endif
20671#if PY_VERSION_HEX >= 0x02020000
32fe5131 20672 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36ed4f51
RD
20673#endif
20674#if PY_VERSION_HEX >= 0x02030000
32fe5131 20675 0, /* tp_del */
36ed4f51
RD
20676#endif
20677#ifdef COUNT_ALLOCS
32fe5131 20678 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 20679#endif
32fe5131
RD
20680 };
20681#if !defined(__cplusplus)
20682 varlink_type = tmp;
20683 type_init = 1;
20684 }
20685#endif
20686 return &varlink_type;
20687 }
36ed4f51
RD
20688
20689 /* Create a variable linking object for use later */
32fe5131 20690 SWIGINTERN PyObject *
36ed4f51 20691 SWIG_Python_newvarlink(void) {
32fe5131
RD
20692 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
20693 if (result) {
20694 result->vars = 0;
20695 }
36ed4f51
RD
20696 return ((PyObject*) result);
20697 }
20698
32fe5131 20699 SWIGINTERN void
36ed4f51 20700 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
20701 swig_varlinkobject *v = (swig_varlinkobject *) p;
20702 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
20703 if (gv) {
20704 size_t size = strlen(name)+1;
20705 gv->name = (char *)malloc(size);
20706 if (gv->name) {
20707 strncpy(gv->name,name,size);
20708 gv->get_attr = get_attr;
20709 gv->set_attr = set_attr;
20710 gv->next = v->vars;
20711 }
20712 }
36ed4f51
RD
20713 v->vars = gv;
20714 }
20715
20716 /* -----------------------------------------------------------------------------
20717 * constants/methods manipulation
20718 * ----------------------------------------------------------------------------- */
20719
20720 /* Install Constants */
32fe5131 20721 SWIGINTERN void
36ed4f51
RD
20722 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
20723 PyObject *obj = 0;
20724 size_t i;
32fe5131 20725 for (i = 0; constants[i].type; ++i) {
36ed4f51
RD
20726 switch(constants[i].type) {
20727 case SWIG_PY_INT:
20728 obj = PyInt_FromLong(constants[i].lvalue);
20729 break;
20730 case SWIG_PY_FLOAT:
20731 obj = PyFloat_FromDouble(constants[i].dvalue);
20732 break;
20733 case SWIG_PY_STRING:
20734 if (constants[i].pvalue) {
20735 obj = PyString_FromString((char *) constants[i].pvalue);
20736 } else {
20737 Py_INCREF(Py_None);
20738 obj = Py_None;
20739 }
20740 break;
20741 case SWIG_PY_POINTER:
20742 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
20743 break;
20744 case SWIG_PY_BINARY:
20745 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
20746 break;
20747 default:
20748 obj = 0;
20749 break;
20750 }
20751 if (obj) {
20752 PyDict_SetItemString(d,constants[i].name,obj);
20753 Py_DECREF(obj);
20754 }
20755 }
20756 }
20757
20758 /* -----------------------------------------------------------------------------*/
20759 /* Fix SwigMethods to carry the callback ptrs when needed */
20760 /* -----------------------------------------------------------------------------*/
20761
32fe5131 20762 SWIGINTERN void
36ed4f51
RD
20763 SWIG_Python_FixMethods(PyMethodDef *methods,
20764 swig_const_info *const_table,
20765 swig_type_info **types,
20766 swig_type_info **types_initial) {
20767 size_t i;
20768 for (i = 0; methods[i].ml_name; ++i) {
20769 char *c = methods[i].ml_doc;
20770 if (c && (c = strstr(c, "swig_ptr: "))) {
20771 int j;
20772 swig_const_info *ci = 0;
20773 char *name = c + 10;
32fe5131 20774 for (j = 0; const_table[j].type; ++j) {
36ed4f51
RD
20775 if (strncmp(const_table[j].name, name,
20776 strlen(const_table[j].name)) == 0) {
20777 ci = &(const_table[j]);
20778 break;
20779 }
20780 }
20781 if (ci) {
20782 size_t shift = (ci->ptype) - types;
20783 swig_type_info *ty = types_initial[shift];
20784 size_t ldoc = (c - methods[i].ml_doc);
20785 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
20786 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
20787 if (ndoc) {
20788 char *buff = ndoc;
20789 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
20790 if (ptr) {
20791 strncpy(buff, methods[i].ml_doc, ldoc);
20792 buff += ldoc;
20793 strncpy(buff, "swig_ptr: ", 10);
20794 buff += 10;
20795 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
20796 methods[i].ml_doc = ndoc;
20797 }
20798 }
36ed4f51
RD
20799 }
20800 }
20801 }
20802 }
20803
20804 /* -----------------------------------------------------------------------------*
20805 * Initialize type list
20806 * -----------------------------------------------------------------------------*/
20807
36ed4f51
RD
20808#ifdef __cplusplus
20809}
20810#endif
20811
20812/* -----------------------------------------------------------------------------*
20813 * Partial Init method
20814 * -----------------------------------------------------------------------------*/
20815
d14a1e28
RD
20816#ifdef __cplusplus
20817extern "C"
20818#endif
32fe5131 20819SWIGEXPORT void SWIG_init(void) {
d14a1e28 20820 static PyObject *SWIG_globals = 0;
d14a1e28 20821 PyObject *m, *d;
d14a1e28 20822 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
20823
20824 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 20825 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
36ed4f51 20826
d14a1e28
RD
20827 m = Py_InitModule((char *) SWIG_name, SwigMethods);
20828 d = PyModule_GetDict(m);
20829
32fe5131 20830 SWIG_InitializeModule(0);
d14a1e28
RD
20831 SWIG_InstallConstants(d,swig_const_table);
20832
2f4c0a16
RD
20833 PyDict_SetItemString(d,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
20834 PyDict_SetItemString(d,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
20835 PyDict_SetItemString(d,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
20836 PyDict_SetItemString(d,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
20837 PyDict_SetItemString(d,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
20838 PyDict_SetItemString(d,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
20839 PyDict_SetItemString(d,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
20840 PyDict_SetItemString(d,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
20841 PyDict_SetItemString(d,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
fef4c27a 20842 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
d14a1e28
RD
20843 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
20844 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
36ed4f51 20845 {
32fe5131 20846 PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_NUMBER_ROWS)));
36ed4f51
RD
20847 }
20848 {
32fe5131 20849 PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_NUMBER_COLS)));
36ed4f51
RD
20850 }
20851 {
32fe5131 20852 PyDict_SetItemString(d,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_ROW_HEIGHT)));
36ed4f51
RD
20853 }
20854 {
32fe5131 20855 PyDict_SetItemString(d,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_COL_WIDTH)));
36ed4f51
RD
20856 }
20857 {
32fe5131 20858 PyDict_SetItemString(d,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_COL_LABEL_HEIGHT)));
36ed4f51
RD
20859 }
20860 {
32fe5131 20861 PyDict_SetItemString(d,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_ROW_LABEL_WIDTH)));
36ed4f51
RD
20862 }
20863 {
32fe5131 20864 PyDict_SetItemString(d,"GRID_LABEL_EDGE_ZONE", SWIG_From_int(static_cast<int >(wxGRID_LABEL_EDGE_ZONE)));
36ed4f51
RD
20865 }
20866 {
32fe5131 20867 PyDict_SetItemString(d,"GRID_MIN_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxGRID_MIN_ROW_HEIGHT)));
36ed4f51
RD
20868 }
20869 {
32fe5131 20870 PyDict_SetItemString(d,"GRID_MIN_COL_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_MIN_COL_WIDTH)));
36ed4f51
RD
20871 }
20872 {
32fe5131 20873 PyDict_SetItemString(d,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int(static_cast<int >(wxGRID_DEFAULT_SCROLLBAR_WIDTH)));
36ed4f51
RD
20874 }
20875 {
32fe5131 20876 PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_From_int(static_cast<int >(wxGridCellAttr::Any)));
36ed4f51
RD
20877 }
20878 {
32fe5131 20879 PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_From_int(static_cast<int >(wxGridCellAttr::Default)));
36ed4f51
RD
20880 }
20881 {
32fe5131 20882 PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_From_int(static_cast<int >(wxGridCellAttr::Cell)));
36ed4f51
RD
20883 }
20884 {
32fe5131 20885 PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_From_int(static_cast<int >(wxGridCellAttr::Row)));
36ed4f51
RD
20886 }
20887 {
32fe5131 20888 PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_From_int(static_cast<int >(wxGridCellAttr::Col)));
36ed4f51
RD
20889 }
20890 {
32fe5131 20891 PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_From_int(static_cast<int >(wxGridCellAttr::Merged)));
36ed4f51
RD
20892 }
20893 {
32fe5131 20894 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int(static_cast<int >(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES)));
36ed4f51
RD
20895 }
20896 {
32fe5131 20897 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int(static_cast<int >(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES)));
36ed4f51
RD
20898 }
20899 {
32fe5131 20900 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_ROWS_INSERTED)));
36ed4f51
RD
20901 }
20902 {
32fe5131 20903 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_ROWS_APPENDED)));
36ed4f51
RD
20904 }
20905 {
32fe5131 20906 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_ROWS_DELETED)));
36ed4f51
RD
20907 }
20908 {
32fe5131 20909 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED)));
36ed4f51
RD
20910 }
20911 {
32fe5131 20912 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED)));
36ed4f51
RD
20913 }
20914 {
32fe5131 20915 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int(static_cast<int >(wxGRIDTABLE_NOTIFY_COLS_DELETED)));
36ed4f51
RD
20916 }
20917 {
32fe5131 20918 PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_From_int(static_cast<int >(wxGrid::wxGridSelectCells)));
36ed4f51
RD
20919 }
20920 {
32fe5131 20921 PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_From_int(static_cast<int >(wxGrid::wxGridSelectRows)));
36ed4f51
RD
20922 }
20923 {
32fe5131 20924 PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_From_int(static_cast<int >(wxGrid::wxGridSelectColumns)));
36ed4f51 20925 }
d14a1e28
RD
20926 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
20927 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
20928 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
20929 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK));
20930 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK));
20931 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK));
20932 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK));
20933 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK));
20934 PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE));
20935 PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE));
20936 PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT));
20937 PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE));
20938 PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL));
20939 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN));
20940 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN));
20941 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED));
4cf4100f 20942 PyDict_SetItemString(d, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG));
d14a1e28
RD
20943
20944
20945}
20946